diff options
author | Paul Redmond <paul.redmond@intel.com> | 2012-12-11 00:36:43 +0000 |
---|---|---|
committer | Paul Redmond <paul.redmond@intel.com> | 2012-12-11 00:36:43 +0000 |
commit | 0a0990af1c525b0f16c4e7989eae8e3324ddf95a (patch) | |
tree | 77ce30b296211705e2fa14259687426ab0ce61f7 /test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll | |
parent | 77f06d93b96d373f1e1d00f3a28c143c8d1562ec (diff) | |
download | llvm-0a0990af1c525b0f16c4e7989eae8e3324ddf95a.tar.gz llvm-0a0990af1c525b0f16c4e7989eae8e3324ddf95a.tar.bz2 llvm-0a0990af1c525b0f16c4e7989eae8e3324ddf95a.tar.xz |
move X86-specific test
This test case uses -mcpu=corei7 so it belongs in CodeGen/X86
Reviewed by: Nadav
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll')
-rw-r--r-- | test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll b/test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll new file mode 100644 index 0000000000..078f1b05c3 --- /dev/null +++ b/test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll @@ -0,0 +1,8 @@ +; RUN: llc < %s -march=x86 -mcpu=corei7 +; We don't care about the output, just that it doesn't crash + +define <1 x i1> @buildvec_promote() { + %cmp = icmp ule <1 x i32> undef, undef + %sel = select i1 undef, <1 x i1> undef, <1 x i1> %cmp + ret <1 x i1> %sel +} |