summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/bitcast-sext-vector.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine/bitcast-sext-vector.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/bitcast-sext-vector.ll11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/test/Transforms/InstCombine/bitcast-sext-vector.ll b/llvm/test/Transforms/InstCombine/bitcast-sext-vector.ll
deleted file mode 100644
index d70bdbaf372..00000000000
--- a/llvm/test/Transforms/InstCombine/bitcast-sext-vector.ll
+++ /dev/null
@@ -1,11 +0,0 @@
-; RUN: opt < %s -instcombine -S | FileCheck %s
-; CHECK: sext
-; Don't fold zero/sign extensions with a bitcast between a vector and scalar.
-
-define i32 @t(<4 x i8> %src1, <4 x i8> %src2) nounwind readonly {
-entry:
- %cmp = icmp eq <4 x i8> %src1, %src2; <<4 x i1>> [#uses=1]
- %sext = sext <4 x i1> %cmp to <4 x i8>
- %val = bitcast <4 x i8> %sext to i32
- ret i32 %val
-}
OpenPOWER on IntegriCloud