[llvm-commits] CVS: llvm/test/Regression/Jello/2003-08-03-CallArgLiveRanges.llx
Chris Lattner
lattner at cs.uiuc.edu
Mon Aug 4 00:05:41 PDT 2003
Changes in directory llvm/test/Regression/Jello:
2003-08-03-CallArgLiveRanges.llx added (r1.1)
---
Log message:
New testcase
---
Diffs of the changes:
Index: llvm/test/Regression/Jello/2003-08-03-CallArgLiveRanges.llx
diff -c /dev/null llvm/test/Regression/Jello/2003-08-03-CallArgLiveRanges.llx:1.1
*** /dev/null Sun Aug 3 21:11:15 2003
--- llvm/test/Regression/Jello/2003-08-03-CallArgLiveRanges.llx Sun Aug 3 21:11:05 2003
***************
*** 0 ****
--- 1,15 ----
+ ; The old instruction selector used to load all arguments to a call up in
+ ; registers, then start pushing them all onto the stack. This is bad news as
+ ; it makes a ton of annoying overlapping live ranges. This code should not
+ ; cause spills!
+ ;
+ ; RUN: as < %s | lli -stats 2>&1 | not grep spilled
+
+ target endian = little
+ target pointersize = 32
+
+ int %test(int, int, int, int, int, int, int, int, int, int) { ret int 0 }
+ int %main() {
+ %X = call int %test(int 1, int 2, int 3, int 4, int 5, int 6, int 7, int 8, int 9, int 10)
+ ret int %X
+ }
More information about the llvm-commits
mailing list