diff options
author | Hao Liu <Hao.Liu@arm.com> | 2013-05-13 02:07:05 +0000 |
---|---|---|
committer | Hao Liu <Hao.Liu@arm.com> | 2013-05-13 02:07:05 +0000 |
commit | 3778c04b2e3bc879cb7f175ba4d42f23fb9cef76 (patch) | |
tree | d362021d1e3028b1154e3b8473dd3eecaba168e8 /test | |
parent | 4a971705bc6030dc2e4338b3cd5cffa2e0f88b7b (diff) | |
download | external_llvm-3778c04b2e3bc879cb7f175ba4d42f23fb9cef76.zip external_llvm-3778c04b2e3bc879cb7f175ba4d42f23fb9cef76.tar.gz external_llvm-3778c04b2e3bc879cb7f175ba4d42f23fb9cef76.tar.bz2 |
Fix PR15950 A bug in DAG Combiner about undef mask
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/2013-05-13-DAGCombiner-undef-mask.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/2013-05-13-DAGCombiner-undef-mask.ll b/test/CodeGen/ARM/2013-05-13-DAGCombiner-undef-mask.ll new file mode 100644 index 0000000..8f6709e --- /dev/null +++ b/test/CodeGen/ARM/2013-05-13-DAGCombiner-undef-mask.ll @@ -0,0 +1,10 @@ +; RUN: llc < %s +target triple = "armv7-none-linux-gnueabi" + +define <3 x i64> @shuffle(i1 %dec1, i1 %dec0, <3 x i64> %b) { +entry: + %.sink = select i1 %dec1, <3 x i64> %b, <3 x i64> zeroinitializer + %.sink15 = select i1 %dec0, <3 x i64> %b, <3 x i64> zeroinitializer + %vecinit7 = shufflevector <3 x i64> %.sink, <3 x i64> %.sink15, <3 x i32> <i32 0, i32 4, i32 undef> + ret <3 x i64> %vecinit7 +} |