mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
edc3c3d0fc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7043 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
240 B
LLVM
12 lines
240 B
LLVM
; 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
|
|
}
|