projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix PR2029
[oota-llvm.git]
/
test
/
Transforms
/
GlobalDCE
/
2003-07-01-SelfReference.ll
1
; distilled from 255.vortex
2
; RUN: llvm-upgrade < %s | llvm-as | opt -globaldce | llvm-dis | not grep testfunc
3
4
implementation
5
6
declare bool()* %getfunc()
7
internal bool %testfunc() {
8
%F = call bool()*()* %getfunc()
9
%c = seteq bool()* %F, %testfunc
10
ret bool %c
11
}