mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 12:08:25 +00:00
08991c716a
value. Adjust other code to deal with that correctly. Make DAGTypeLegalizer::PromoteIntRes_EXTRACT_VECTOR_ELT take advantage of this new flexibility to simplify the code and make it deal with unusual vectors (like <4 x i1>) correctly. Fixes PR3037. llvm-svn: 75176
9 lines
263 B
LLVM
9 lines
263 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 -disable-mmx
|
|
|
|
define void @test2(<2 x i32> %A, <2 x i32> %B, <2 x i32>* %C) nounwind {
|
|
%D = icmp sgt <2 x i32> %A, %B
|
|
%E = zext <2 x i1> %D to <2 x i32>
|
|
store <2 x i32> %E, <2 x i32>* %C
|
|
ret void
|
|
}
|