projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Canonicalize boolean +/- a constant to a select.
[oota-llvm.git]
/
test
/
Transforms
/
RaiseAllocations
/
2004-11-08-FreeUseCrash.ll
1
; RUN: llvm-as < %s | opt -raiseallocs -disable-output
2
3
define void @main() {
4
%tmp.13 = call i32 (...)* @free( i32 32 ) ; <i32> [#uses=1]
5
%tmp.14 = inttoptr i32 %tmp.13 to i32* ; <i32*> [#uses=0]
6
ret void
7
}
8
9
declare i32 @free(...)
10