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

Unified Diff: tests_lit/llvm2ice_tests/cond-br-same-target.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/commutativity.ll ('k') | tests_lit/llvm2ice_tests/contract.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/cond-br-same-target.ll
diff --git a/tests_lit/llvm2ice_tests/cond-br-same-target.ll b/tests_lit/llvm2ice_tests/cond-br-same-target.ll
index 6863b1f7ae9052f42fa0eba3a5c9748f39d32203..f4a387661b3d5cdd81fe0b3eba10fbd0866cff0a 100644
--- a/tests_lit/llvm2ice_tests/cond-br-same-target.ll
+++ b/tests_lit/llvm2ice_tests/cond-br-same-target.ll
@@ -4,7 +4,7 @@
; RUN: %p2i -i %s --insts | FileCheck %s
-define void @f(i32 %foo, i32 %bar) {
+define internal void @f(i32 %foo, i32 %bar) {
entry:
%c = icmp ult i32 %foo, %bar
br i1 %c, label %block, label %block
@@ -14,7 +14,7 @@ block:
; Note that the branch is converted to an unconditional branch.
-; CHECK: define void @f(i32 %foo, i32 %bar) {
+; CHECK: define internal void @f(i32 %foo, i32 %bar) {
; CHECK-NEXT: entry:
; CHECK-NEXT: %c = icmp ult i32 %foo, %bar
; CHECK-NEXT: br label %block
« no previous file with comments | « tests_lit/llvm2ice_tests/commutativity.ll ('k') | tests_lit/llvm2ice_tests/contract.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698