repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Adjust how NEON shifts are lowered
[llvm-core.git]
/
test
/
Transforms
/
GlobalDCE
/
2003-07-01-SelfReference.ll
blob
0b1b2792453e1c367ab7532a9c9ba7863c0885d3
1
; distilled from 255.vortex
2
; RUN: opt < %s -globaldce -S | FileCheck %s
3
4
; CHECK-NOT: testfunc
5
6
declare i1 ()* @getfunc()
7
8
define internal i1 @testfunc() {
9
%F = call i1 ()* () @getfunc( ) ; <i1 ()*> [#uses=1]
10
%c = icmp eq i1 ()* %F, @testfunc ; <i1> [#uses=1]
11
ret i1 %c
12
}
13