summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine')
-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
3 files changed, 4 insertions, 4 deletions
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