summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/widen_cast-6.ll
blob: 386f749a506618c6ffbbfa929457c36e3dbe4605 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s -march=x86 -mattr=+sse41 -disable-mmx -o %t
; 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
}
OpenPOWER on IntegriCloud