llvm.org GIT mirror llvm / 314286f
new testcase for PR1845 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45795 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 12 years ago
1 changed file(s) with 11 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc
1 ; PR1845
2
3 define void @boolVectorSelect(<4 x i1>* %boolVectorPtr) {
4 Body:
5 %castPtr = bitcast <4 x i1>* %boolVectorPtr to <4 x i1>*
6 %someBools = load <4 x i1>* %castPtr, align 1 ; <<4 x i1>>
7 %internal = alloca <4 x i1>, align 16 ; <<4 x i1>*> [#uses=1]
8 store <4 x i1> %someBools, <4 x i1>* %internal, align 1
9 ret void
10 }