[llvm-commits] CVS: llvm/test/Regression/Jello/test-loadstore.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Dec 13 03:29:01 PST 2002
Changes in directory llvm/test/Regression/Jello:
test-loadstore.ll updated: 1.2 -> 1.3
---
Log message:
lib/Target/X86/InstSelectSimple.cpp: Start counting arguments with 2,
because arguments start two stack slots off of EBP. Break out of the
for loop once the argument is found. Increment the counter at the end
of the loop instead of the beginning. Use addRegOffset and compute
the scale * index part at compile time instead of using the fancy
load instruction. Just because an instruction set has wacky addressing
modes doesn't mean we ought to use them (at least, if you believe Dave
Patterson).
lib/Target/X86/X86InstrBuilder.h: Add some comments.
test/Regression/Jello/test-loadstore.ll: Let main return int 0.
---
Diffs of the changes:
Index: llvm/test/Regression/Jello/test-loadstore.ll
diff -u llvm/test/Regression/Jello/test-loadstore.ll:1.2 llvm/test/Regression/Jello/test-loadstore.ll:1.3
--- llvm/test/Regression/Jello/test-loadstore.ll:1.2 Wed Dec 4 11:15:07 2002
+++ llvm/test/Regression/Jello/test-loadstore.ll Fri Dec 13 03:28:50 2002
@@ -11,10 +11,10 @@
ret void
}
-void %main() {
+int %main() {
%A = alloca sbyte
%B = alloca short
%C = alloca int
call void %test(sbyte* %A, short* %B, int* %C)
- ret void
+ ret int 0
}
More information about the llvm-commits
mailing list