Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Unified Diff: tests_lit/llvm2ice_tests/sdiv.ll

Issue 1387963002: Make sure that all globals are internal, except for "start" functions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix new tests. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests_lit/llvm2ice_tests/rng.ll ('k') | tests_lit/llvm2ice_tests/select-opt.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/sdiv.ll
diff --git a/tests_lit/llvm2ice_tests/sdiv.ll b/tests_lit/llvm2ice_tests/sdiv.ll
index 43ed0739b8dfe60a38a73b8fdac2fc648fdb6f95..cac138e8a89e7a1a8aa47d0a751e0aed408f5900 100644
--- a/tests_lit/llvm2ice_tests/sdiv.ll
+++ b/tests_lit/llvm2ice_tests/sdiv.ll
@@ -4,7 +4,7 @@
; RUN: %p2i -i %s --filetype=obj --disassemble --args -O2 | FileCheck %s
; RUN: %p2i -i %s --filetype=obj --disassemble --args -Om1 | FileCheck %s
-define i32 @sdiv_i8(i32 %a.i32, i32 %b.i32) {
+define internal i32 @sdiv_i8(i32 %a.i32, i32 %b.i32) {
entry:
%a = trunc i32 %a.i32 to i8
%b = trunc i32 %b.i32 to i8
@@ -16,7 +16,7 @@ entry:
; CHECK: idiv
}
-define i32 @sdiv_i16(i32 %a.i32, i32 %b.i32) {
+define internal i32 @sdiv_i16(i32 %a.i32, i32 %b.i32) {
entry:
%a = trunc i32 %a.i32 to i16
%b = trunc i32 %b.i32 to i16
@@ -28,7 +28,7 @@ entry:
; CHECK: idiv
}
-define i32 @sdiv_i32(i32 %a, i32 %b) {
+define internal i32 @sdiv_i32(i32 %a, i32 %b) {
entry:
%res = sdiv i32 %a, %b
ret i32 %res
@@ -37,7 +37,7 @@ entry:
; CHECK: idiv
}
-define i32 @srem_i8(i32 %a.i32, i32 %b.i32) {
+define internal i32 @srem_i8(i32 %a.i32, i32 %b.i32) {
entry:
%a = trunc i32 %a.i32 to i8
%b = trunc i32 %b.i32 to i8
@@ -49,7 +49,7 @@ entry:
; CHECK: idiv
}
-define i32 @srem_i16(i32 %a.i32, i32 %b.i32) {
+define internal i32 @srem_i16(i32 %a.i32, i32 %b.i32) {
entry:
%a = trunc i32 %a.i32 to i16
%b = trunc i32 %b.i32 to i16
@@ -61,7 +61,7 @@ entry:
; CHECK: idiv
}
-define i32 @srem_i32(i32 %a, i32 %b) {
+define internal i32 @srem_i32(i32 %a, i32 %b) {
entry:
%res = srem i32 %a, %b
ret i32 %res
« no previous file with comments | « tests_lit/llvm2ice_tests/rng.ll ('k') | tests_lit/llvm2ice_tests/select-opt.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698