summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/sext-2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine/sext-2.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/sext-2.ll14
1 files changed, 0 insertions, 14 deletions
diff --git a/llvm/test/Transforms/InstCombine/sext-2.ll b/llvm/test/Transforms/InstCombine/sext-2.ll
deleted file mode 100644
index 39d4a3c3d56..00000000000
--- a/llvm/test/Transforms/InstCombine/sext-2.ll
+++ /dev/null
@@ -1,14 +0,0 @@
-; Checks to see that instcombine can handle a sign extension of i1
-
-; RUN: opt < %s -instcombine -S | FileCheck %s
-
-define void @test(<2 x i16> %srcA, <2 x i16> %srcB, <2 x i16>* %dst) nounwind {
-entry:
-; CHECK-NOT: tmask
-; CHECK: ret
- %cmp = icmp eq <2 x i16> %srcB, %srcA;
- %sext = sext <2 x i1> %cmp to <2 x i16>;
- %tmask = ashr <2 x i16> %sext, <i16 15, i16 15> ;
- store <2 x i16> %tmask, <2 x i16>* %dst;
- ret void
-}
OpenPOWER on IntegriCloud