diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2002-12-13 09:28:50 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2002-12-13 09:28:50 +0000 |
commit | ed6902ca8991b895025a9a11ddeb200e7b5ae6ae (patch) | |
tree | 7075a93d01972f93bf9cf01c7575db84c32fc7aa /test/ExecutionEngine/test-loadstore.ll | |
parent | 95780cccef3f6630a912aba9e2241819d7a00ba4 (diff) | |
download | external_llvm-ed6902ca8991b895025a9a11ddeb200e7b5ae6ae.zip external_llvm-ed6902ca8991b895025a9a11ddeb200e7b5ae6ae.tar.gz external_llvm-ed6902ca8991b895025a9a11ddeb200e7b5ae6ae.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4999 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/ExecutionEngine/test-loadstore.ll')
-rw-r--r-- | test/ExecutionEngine/test-loadstore.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ExecutionEngine/test-loadstore.ll b/test/ExecutionEngine/test-loadstore.ll index 936aa5f..f301e66 100644 --- a/test/ExecutionEngine/test-loadstore.ll +++ b/test/ExecutionEngine/test-loadstore.ll @@ -11,10 +11,10 @@ void %test(sbyte* %P, short* %P, int* %P) { 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 } |