mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 02:33:33 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7043 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
487bc8f7fb
commit
edc3c3d0fc
11
test/Transforms/GlobalDCE/2003-07-01-SelfReference.ll
Normal file
11
test/Transforms/GlobalDCE/2003-07-01-SelfReference.ll
Normal file
@ -0,0 +1,11 @@
|
||||
; distilled from 255.vortex
|
||||
; RUN: as < %s | opt -globaldce | dis | not grep testfunc
|
||||
|
||||
implementation
|
||||
|
||||
declare bool()* %getfunc()
|
||||
internal bool %testfunc() {
|
||||
%F = call bool()*()* %getfunc()
|
||||
%c = seteq bool()* %F, %testfunc
|
||||
ret bool %c
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user