mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
314286f6bd
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45795 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
405 B
LLVM
12 lines
405 B
LLVM
; RUN: llvm-as < %s | llc
|
|
; 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
|
|
}
|