repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
ScalarRepl
/
2009-05-08-I1Crash.ll
blob
aa3487b27707d88697395974ef2f56d2af468773
1
; RUN: opt < %s -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
}