forked from OSchip/llvm-project
Testcase for PR337, which was reduced by Reid Spencer.
llvm-svn: 13443
This commit is contained in:
parent
45e25d8295
commit
60ef22da3d
|
@ -0,0 +1,15 @@
|
|||
; RUN: llvm-as < %s | lli
|
||||
|
||||
%global_long_1 = linkonce global long 7
|
||||
%global_long_2 = linkonce global long 49
|
||||
|
||||
implementation ; Functions:
|
||||
|
||||
int %main() {
|
||||
%l1 = load long* %global_long_1
|
||||
%l2 = load long* %global_long_2
|
||||
%cond = setle long %l1, %l2
|
||||
%cast2 = cast bool %cond to int
|
||||
%RV = sub int 1, %cast2
|
||||
ret int %RV
|
||||
}
|
Loading…
Reference in New Issue