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

Unified Diff: tests_lit/llvm2ice_tests/loop-nest-depth.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/load.ll ('k') | tests_lit/llvm2ice_tests/nacl-atomic-cmpxchg-optimization.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/loop-nest-depth.ll
diff --git a/tests_lit/llvm2ice_tests/loop-nest-depth.ll b/tests_lit/llvm2ice_tests/loop-nest-depth.ll
index 16a017e42ce0b8038744415b232cbdd5901e2677..8baf4350a32d6d05ff9aea21efac36d1db772ec3 100644
--- a/tests_lit/llvm2ice_tests/loop-nest-depth.ll
+++ b/tests_lit/llvm2ice_tests/loop-nest-depth.ll
@@ -6,7 +6,7 @@
; RUN: %p2i --filetype=obj --disassemble -i %s --args -O2 --verbose=loop \
; RUN: --threads=0 | FileCheck %s
-define void @test_single_loop(i32 %a32) {
+define internal void @test_single_loop(i32 %a32) {
entry:
%a = trunc i32 %a32 to i1
br label %loop0
@@ -31,7 +31,7 @@ out:
; CHECK-NEXT: LoopNestDepth = 0
; CHECK-LABEL: Before RMW
-define void @test_single_loop_with_continue(i32 %a32, i32 %b32) {
+define internal void @test_single_loop_with_continue(i32 %a32, i32 %b32) {
entry:
%a = trunc i32 %a32 to i1
%b = trunc i32 %b32 to i1
@@ -61,7 +61,7 @@ out:
; CHECK-NEXT: LoopNestDepth = 0
; CHECK-LABEL: Before RMW
-define void @test_multiple_exits(i32 %a32, i32 %b32) {
+define internal void @test_multiple_exits(i32 %a32, i32 %b32) {
entry:
%a = trunc i32 %a32 to i1
%b = trunc i32 %b32 to i1
@@ -91,7 +91,7 @@ out: ; <---+
; CHECK-NEXT: LoopNestDepth = 0
; CHECK-LABEL: Before RMW
-define void @test_two_nested_loops(i32 %a32, i32 %b32) {
+define internal void @test_two_nested_loops(i32 %a32, i32 %b32) {
entry:
%a = trunc i32 %a32 to i1
%b = trunc i32 %b32 to i1
@@ -125,7 +125,8 @@ out:
; CHECK-NEXT: LoopNestDepth = 0
; CHECK-LABEL: Before RMW
-define void @test_two_nested_loops_with_continue(i32 %a32, i32 %b32, i32 %c32) {
+define internal void @test_two_nested_loops_with_continue(i32 %a32, i32 %b32,
+ i32 %c32) {
entry:
%a = trunc i32 %a32 to i1
%b = trunc i32 %b32 to i1
@@ -164,7 +165,7 @@ out:
; CHECK-NEXT: LoopNestDepth = 0
; CHECK-LABEL: Before RMW
-define void @test_multiple_nested_loops(i32 %a32, i32 %b32) {
+define internal void @test_multiple_nested_loops(i32 %a32, i32 %b32) {
entry:
%a = trunc i32 %a32 to i1
%b = trunc i32 %b32 to i1
@@ -210,7 +211,7 @@ out:
; CHECK-NEXT: LoopNestDepth = 0
; CHECK-LABEL: Before RMW
-define void @test_three_nested_loops(i32 %a32, i32 %b32, i32 %c32) {
+define internal void @test_three_nested_loops(i32 %a32, i32 %b32, i32 %c32) {
entry:
%a = trunc i32 %a32 to i1
%b = trunc i32 %b32 to i1
@@ -253,7 +254,7 @@ out:
; CHECK-NEXT: LoopNestDepth = 0
; CHECK-LABEL: Before RMW
-define void @test_diamond(i32 %a32) {
+define internal void @test_diamond(i32 %a32) {
entry:
%a = trunc i32 %a32 to i1
br i1 %a, label %left, label %right
« no previous file with comments | « tests_lit/llvm2ice_tests/load.ll ('k') | tests_lit/llvm2ice_tests/nacl-atomic-cmpxchg-optimization.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698