diff options
author | Nadav Rotem <nadav.rotem@intel.com> | 2012-07-15 20:27:43 +0000 |
---|---|---|
committer | Nadav Rotem <nadav.rotem@intel.com> | 2012-07-15 20:27:43 +0000 |
commit | d896e242993fd04c013dda8987c232cdcab63dd4 (patch) | |
tree | 6c40d775c38381578691afb0551b04c3174ac2ff /test/CodeGen/X86 | |
parent | a2a179dd7dd007a8589afea72b8722224986c3bd (diff) | |
download | external_llvm-d896e242993fd04c013dda8987c232cdcab63dd4.zip external_llvm-d896e242993fd04c013dda8987c232cdcab63dd4.tar.gz external_llvm-d896e242993fd04c013dda8987c232cdcab63dd4.tar.bz2 |
Teach getTargetVShiftNode about TargetConstant nodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r-- | test/CodeGen/X86/2012-07-15-tconst_shl.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2012-07-15-tconst_shl.ll b/test/CodeGen/X86/2012-07-15-tconst_shl.ll new file mode 100644 index 0000000..46eca76 --- /dev/null +++ b/test/CodeGen/X86/2012-07-15-tconst_shl.ll @@ -0,0 +1,9 @@ +; RUN: llc < %s -march=x86-64 -mcpu=corei7 -mattr=+avx2 +; make sure that we are not crashing. + +define <16 x i32> @autogen_SD34717() { +BB: + %Shuff7 = shufflevector <16 x i32> zeroinitializer, <16 x i32> zeroinitializer, <16 x i32> <i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 undef, i32 22, i32 24, i32 26, i32 28, i32 30, i32 undef> + %B9 = lshr <16 x i32> zeroinitializer, %Shuff7 + ret <16 x i32> %B9 +} |