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

Unified Diff: tests_lit/llvm2ice_tests/randomize-pool-immediate-basic.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/prune_unreachable.ll ('k') | tests_lit/llvm2ice_tests/randomize-regalloc.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/randomize-pool-immediate-basic.ll
diff --git a/tests_lit/llvm2ice_tests/randomize-pool-immediate-basic.ll b/tests_lit/llvm2ice_tests/randomize-pool-immediate-basic.ll
index ef7de4f83243d9768f52b6b928ef03e6056360a2..a5d2eb41725514c18caaed321ce2f14d73746eef 100644
--- a/tests_lit/llvm2ice_tests/randomize-pool-immediate-basic.ll
+++ b/tests_lit/llvm2ice_tests/randomize-pool-immediate-basic.ll
@@ -19,7 +19,7 @@
; RUN: | FileCheck %s --check-prefix=POOLING
-define i32 @add_arg_plus_200000(i32 %arg) {
+define internal i32 @add_arg_plus_200000(i32 %arg) {
entry:
%res = add i32 200000, %arg
ret i32 %res
@@ -36,7 +36,7 @@ entry:
; POOLING: mov e{{[a-z]*}},DWORD PTR ds:0x0 {{[0-9a-f]*}}: R_386_32 .L$i32$00030d40
}
-define float @load_arg_plus_200000(float* %arg) {
+define internal float @load_arg_plus_200000(float* %arg) {
entry:
%arg.int = ptrtoint float* %arg to i32
%addr.int = add i32 %arg.int, 200000
@@ -53,7 +53,7 @@ entry:
; POOLING: mov e{{[a-z]*}},DWORD PTR ds:0x0 {{[0-9a-f]*}}: R_386_32 .L$i32$00030d40
}
-define i64 @add_arg_plus_64bits(i32 %arg) {
+define internal i64 @add_arg_plus_64bits(i32 %arg) {
entry:
%0 = sext i32 %arg to i64
%res = add i64 90000000000, %0
@@ -73,7 +73,7 @@ entry:
; POOLING: mov e{{[a-z]*}},DWORD PTR ds:0x0 {{[0-9a-f]*}}: R_386_32 .L$i32$f46b0400
}
-define i64 @load_arg_plus_64bits(i64* %arg) {
+define internal i64 @load_arg_plus_64bits(i64* %arg) {
entry:
%arg.int = ptrtoint i64* %arg to i32
%arg.new = add i32 %arg.int, 90000
« no previous file with comments | « tests_lit/llvm2ice_tests/prune_unreachable.ll ('k') | tests_lit/llvm2ice_tests/randomize-regalloc.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698