Chromium Code Reviews

Unified Diff: tests_lit/llvm2ice_tests/div_legalization.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.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « tests_lit/llvm2ice_tests/convert.ll ('k') | tests_lit/llvm2ice_tests/ebp_args.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/div_legalization.ll
diff --git a/tests_lit/llvm2ice_tests/div_legalization.ll b/tests_lit/llvm2ice_tests/div_legalization.ll
index dec388daf9a7f5978b4ef606d0386d0f6f216811..b4832d1ea97f2c8cfa9e4bdc88311accd924f7da 100644
--- a/tests_lit/llvm2ice_tests/div_legalization.ll
+++ b/tests_lit/llvm2ice_tests/div_legalization.ll
@@ -4,7 +4,7 @@
; RUN: %p2i --filetype=obj --disassemble -i %s --args -O2 | FileCheck %s
; RUN: %p2i --filetype=obj --disassemble -i %s --args -Om1 | FileCheck %s
-define i32 @Sdiv_const8_b(i8 %a) {
+define internal i32 @Sdiv_const8_b(i8 %a) {
; CHECK-LABEL: Sdiv_const8_b
entry:
%div = sdiv i8 %a, 12
@@ -14,7 +14,7 @@ entry:
ret i32 %div_ext
}
-define i32 @Sdiv_const16_b(i16 %a) {
+define internal i32 @Sdiv_const16_b(i16 %a) {
; CHECK-LABEL: Sdiv_const16_b
entry:
%div = sdiv i16 %a, 1234
@@ -24,7 +24,7 @@ entry:
ret i32 %div_ext
}
-define i32 @Sdiv_const32_b(i32 %a) {
+define internal i32 @Sdiv_const32_b(i32 %a) {
; CHECK-LABEL: Sdiv_const32_b
entry:
%div = sdiv i32 %a, 1234
@@ -33,7 +33,7 @@ entry:
ret i32 %div
}
-define i32 @Srem_const_b(i32 %a) {
+define internal i32 @Srem_const_b(i32 %a) {
; CHECK-LABEL: Srem_const_b
entry:
%rem = srem i32 %a, 2345
@@ -42,7 +42,7 @@ entry:
ret i32 %rem
}
-define i32 @Udiv_const_b(i32 %a) {
+define internal i32 @Udiv_const_b(i32 %a) {
; CHECK-LABEL: Udiv_const_b
entry:
%div = udiv i32 %a, 3456
@@ -51,7 +51,7 @@ entry:
ret i32 %div
}
-define i32 @Urem_const_b(i32 %a) {
+define internal i32 @Urem_const_b(i32 %a) {
; CHECK-LABEL: Urem_const_b
entry:
%rem = urem i32 %a, 4567
« no previous file with comments | « tests_lit/llvm2ice_tests/convert.ll ('k') | tests_lit/llvm2ice_tests/ebp_args.ll » ('j') | no next file with comments »

Powered by Google App Engine