diff options
Diffstat (limited to 'test/CodeGen/X86/widen_cast-6.ll')
-rw-r--r-- | test/CodeGen/X86/widen_cast-6.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/widen_cast-6.ll b/test/CodeGen/X86/widen_cast-6.ll new file mode 100644 index 000000000000..0fa1b7a7604a --- /dev/null +++ b/test/CodeGen/X86/widen_cast-6.ll @@ -0,0 +1,10 @@ +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse41 -disable-mmx -o %t -f +; RUN: grep movd %t | count 1 + +; Test bit convert that requires widening in the operand. + +define i32 @return_v2hi() nounwind { +entry: + %retval12 = bitcast <2 x i16> zeroinitializer to i32 ; <i32> [#uses=1] + ret i32 %retval12 +} |