YouCompleteMe/cpp/llvm/test/CodeGen/X86/widen_cast-6.ll

11 lines
268 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: llc < %s -march=x86 -mattr=+sse41 | FileCheck %s
; CHECK: movd
; 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
}