From d896e242993fd04c013dda8987c232cdcab63dd4 Mon Sep 17 00:00:00 2001 From: Nadav Rotem Date: Sun, 15 Jul 2012 20:27:43 +0000 Subject: Teach getTargetVShiftNode about TargetConstant nodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160234 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2012-07-15-tconst_shl.ll | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/CodeGen/X86/2012-07-15-tconst_shl.ll (limited to 'test/CodeGen/X86/2012-07-15-tconst_shl.ll') 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 0000000000..46eca7644e --- /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> + %B9 = lshr <16 x i32> zeroinitializer, %Shuff7 + ret <16 x i32> %B9 +} -- cgit v1.2.3