repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
Transforms
/
ScalarRepl
/
2009-05-08-I1Crash.ll
blob
0a604e9dcc3c529b5d756643d178e5892ca58013
1
; RUN: llvm-as < %s | opt -scalarrepl | llvm-dis
2
; PR4146
3
4
%wrapper = type { i1 }
5
6
define void @f() {
7
entry:
8
%w = alloca %wrapper, align 8 ; <%wrapper*> [#uses=1]
9
%0 = getelementptr %wrapper* %w, i64 0, i32 0 ; <i1*>
10
store i1 true, i1* %0
11
ret void
12
}