summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll6
-rw-r--r--llvm/test/Transforms/InstCombine/add.ll2
-rw-r--r--llvm/test/Transforms/InstCombine/rem.ll2
-rw-r--r--llvm/test/Transforms/InstCombine/vec_shuffle.ll4
4 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll b/llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll
index 7f79091321d..6e459308824 100644
--- a/llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll
+++ b/llvm/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll
@@ -26,9 +26,9 @@ cond_true: ; preds = %bb2
br label %bb
cond_next: ; preds = %bb2
- %tmp = getelementptr [5 x i8]* @foo, i32 0, i32 %i.0 ; <i8*> [#uses=1]
- %tmp = load i8* %tmp ; <i8> [#uses=1]
- %tmp5 = icmp eq i8 %tmp, 0 ; <i1> [#uses=1]
+ %tmp2 = getelementptr [5 x i8]* @foo, i32 0, i32 %i.0 ; <i8*> [#uses=1]
+ %tmp3 = load i8* %tmp2 ; <i8> [#uses=1]
+ %tmp5 = icmp eq i8 %tmp3, 0 ; <i1> [#uses=1]
br i1 %tmp5, label %bb6, label %bb
bb6: ; preds = %cond_next
diff --git a/llvm/test/Transforms/InstCombine/add.ll b/llvm/test/Transforms/InstCombine/add.ll
index 033743c64f3..aa12a99bdc0 100644
--- a/llvm/test/Transforms/InstCombine/add.ll
+++ b/llvm/test/Transforms/InstCombine/add.ll
@@ -241,7 +241,7 @@ ubyte %test34(ubyte %A) {
ret ubyte %C
}
-int %test34(int %a) { ;; -> -1
+int %test35(int %a) { ;; -> -1
%tmpnot = xor int %a, -1
%tmp2 = add int %tmpnot, %a
ret int %tmp2
diff --git a/llvm/test/Transforms/InstCombine/rem.ll b/llvm/test/Transforms/InstCombine/rem.ll
index ccb358de4d8..00705aa4750 100644
--- a/llvm/test/Transforms/InstCombine/rem.ll
+++ b/llvm/test/Transforms/InstCombine/rem.ll
@@ -20,7 +20,7 @@ uint %test3(uint %A) {
ret uint %B
}
-bool %test3(int %A) {
+bool %test3a(int %A) {
%B = rem int %A, -8 ; & 7
%C = setne int %B, 0
ret bool %C
diff --git a/llvm/test/Transforms/InstCombine/vec_shuffle.ll b/llvm/test/Transforms/InstCombine/vec_shuffle.ll
index a8c83afe73c..a53903a05f0 100644
--- a/llvm/test/Transforms/InstCombine/vec_shuffle.ll
+++ b/llvm/test/Transforms/InstCombine/vec_shuffle.ll
@@ -35,8 +35,8 @@ define i32 @test5(<4 x i32> %X) {
}
define float @test6(<4 x float> %X) {
- %X = bitcast <4 x float> %X to <4 x i32>
- %tmp152.i53899.i = shufflevector <4 x i32> %X, <4 x i32> undef, <4 x i32> zeroinitializer
+ %X1 = bitcast <4 x float> %X to <4 x i32>
+ %tmp152.i53899.i = shufflevector <4 x i32> %X1, <4 x i32> undef, <4 x i32> zeroinitializer
%tmp152.i53900.i = bitcast <4 x i32> %tmp152.i53899.i to <4 x float>
%tmp34 = extractelement <4 x float> %tmp152.i53900.i, i32 0
ret float %tmp34
OpenPOWER on IntegriCloud