[llvm-commits] [llvm] r91783 - /llvm/trunk/test/Transforms/GVN/rle-phi-translate.ll

Chris Lattner sabre at nondot.org
Sat Dec 19 12:44:44 PST 2009


Author: lattner
Date: Sat Dec 19 14:44:43 2009
New Revision: 91783

URL: http://llvm.org/viewvc/llvm-project?rev=91783&view=rev
Log:
fix inconsistent use of tabs

Modified:
    llvm/trunk/test/Transforms/GVN/rle-phi-translate.ll

Modified: llvm/trunk/test/Transforms/GVN/rle-phi-translate.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GVN/rle-phi-translate.ll?rev=91783&r1=91782&r2=91783&view=diff

==============================================================================
--- llvm/trunk/test/Transforms/GVN/rle-phi-translate.ll (original)
+++ llvm/trunk/test/Transforms/GVN/rle-phi-translate.ll Sat Dec 19 14:44:43 2009
@@ -38,77 +38,77 @@
 define i8 @test2(i1 %cond, i32* %b, i32* %c) nounwind {
 ; CHECK: @test2
 entry:
-	br i1 %cond, label %bb, label %bb1
+  br i1 %cond, label %bb, label %bb1
 
 bb:
   %b1 = bitcast i32* %b to i8*
   store i8 4, i8* %b1
-	br label %bb2
+  br label %bb2
 
 bb1:
   %c1 = bitcast i32* %c to i8*
   store i8 92, i8* %c1
-	br label %bb2
+  br label %bb2
 
 bb2:
-	%d = phi i32* [ %c, %bb1 ], [ %b, %bb ]
+  %d = phi i32* [ %c, %bb1 ], [ %b, %bb ]
   %d1 = bitcast i32* %d to i8*
-	%dv = load i8* %d1
+  %dv = load i8* %d1
 ; CHECK: %dv = phi i8 [ 92, %bb1 ], [ 4, %bb ]
 ; CHECK-NOT: load
 ; CHECK: ret i8 %dv
-	ret i8 %dv
+  ret i8 %dv
 }
 
 define i32 @test3(i1 %cond, i32* %b, i32* %c) nounwind {
 ; CHECK: @test3
 entry:
-	br i1 %cond, label %bb, label %bb1
+  br i1 %cond, label %bb, label %bb1
 
 bb:
   %b1 = getelementptr i32* %b, i32 17
   store i32 4, i32* %b1
-	br label %bb2
+  br label %bb2
 
 bb1:
   %c1 = getelementptr i32* %c, i32 7
   store i32 82, i32* %c1
-	br label %bb2
+  br label %bb2
 
 bb2:
-	%d = phi i32* [ %c, %bb1 ], [ %b, %bb ]
-	%i = phi i32 [ 7, %bb1 ], [ 17, %bb ]
+  %d = phi i32* [ %c, %bb1 ], [ %b, %bb ]
+  %i = phi i32 [ 7, %bb1 ], [ 17, %bb ]
   %d1 = getelementptr i32* %d, i32 %i
-	%dv = load i32* %d1
+  %dv = load i32* %d1
 ; CHECK: %dv = phi i32 [ 82, %bb1 ], [ 4, %bb ]
 ; CHECK-NOT: load
 ; CHECK: ret i32 %dv
-	ret i32 %dv
+  ret i32 %dv
 }
 
 ; PR5313
 define i32 @test4(i1 %cond, i32* %b, i32* %c) nounwind {
 ; CHECK: @test4
 entry:
-	br i1 %cond, label %bb, label %bb1
+  br i1 %cond, label %bb, label %bb1
 
 bb:
   store i32 4, i32* %b
-	br label %bb2
+  br label %bb2
 
 bb1:
   %c1 = getelementptr i32* %c, i32 7
   store i32 82, i32* %c1
-	br label %bb2
+  br label %bb2
 
 bb2:
-	%d = phi i32* [ %c, %bb1 ], [ %b, %bb ]
-	%i = phi i32 [ 7, %bb1 ], [ 0, %bb ]
+  %d = phi i32* [ %c, %bb1 ], [ %b, %bb ]
+  %i = phi i32 [ 7, %bb1 ], [ 0, %bb ]
   %d1 = getelementptr i32* %d, i32 %i
-	%dv = load i32* %d1
+  %dv = load i32* %d1
 ; CHECK: %dv = phi i32 [ 82, %bb1 ], [ 4, %bb ]
 ; CHECK-NOT: load
 ; CHECK: ret i32 %dv
-	ret i32 %dv
+  ret i32 %dv
 }
 





More information about the llvm-commits mailing list