Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 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 | } |