projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Renamed `as' => `llvm-as', `dis' => `llvm-dis', `link' => `llvm-link'.
[oota-llvm.git]
/
test
/
Transforms
/
GlobalDCE
/
2003-07-01-SelfReference.ll
1
; distilled from 255.vortex
2
; RUN: llvm-as < %s | 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
}