mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-15 04:20:27 +00:00
Testcase for PR337, which was reduced by Reid Spencer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
44ff57a56b
commit
02eac39359
15
test/CodeGen/Generic/2004-05-09-LiveVarPartialRegister.llx
Normal file
15
test/CodeGen/Generic/2004-05-09-LiveVarPartialRegister.llx
Normal file
@ -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…
x
Reference in New Issue
Block a user