1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/CodeGen/Generic/bool-vector.ll
2009-09-09 00:09:15 +00:00

12 lines
395 B
LLVM

; RUN: llc < %s
; PR1845
define void @boolVectorSelect(<4 x i1>* %boolVectorPtr) {
Body:
%castPtr = bitcast <4 x i1>* %boolVectorPtr to <4 x i1>*
%someBools = load <4 x i1>* %castPtr, align 1 ; <<4 x i1>>
%internal = alloca <4 x i1>, align 16 ; <<4 x i1>*> [#uses=1]
store <4 x i1> %someBools, <4 x i1>* %internal, align 1
ret void
}