Added test case for PR22678 (check CONCAT_VECTORS DAG combiner pass doesn't introduce illegal types)

llvm-svn: 230386
This commit is contained in:
Simon Pilgrim 2015-02-24 21:46:23 +00:00
parent a50178c23e
commit b1468daf00
1 changed files with 8 additions and 0 deletions

View File

@ -27,6 +27,14 @@ entry:
ret void
}
; PR22678
; Check CONCAT_VECTORS DAG combiner pass doesn't introduce illegal types.
define void @test_pr22678() {
%1 = fptoui <16 x float> undef to <16 x i8>
store <16 x i8> %1, <16 x i8>* undef
ret void
}
; Radar 8407927: Make sure that VMOVRRD gets optimized away when the result is
; converted back to be used as a vector type.
; CHECK-LABEL: test_vmovrrd_combine: