Commit Graph

360 Commits

Author SHA1 Message Date
Evan Cheng
e9eded1c25 Add a test case for (store (op (load ..) ..) ..) folding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26656 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-09 19:04:30 +00:00
Chris Lattner
88b48c36e2 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26534 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-04 23:31:49 +00:00
Evan Cheng
e5d5595d36 Add another test case for instruction scheduling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26507 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-03 18:58:09 +00:00
Chris Lattner
472c0ebea4 Remove these testcases. These intrinsics are going away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26478 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-03 00:16:23 +00:00
Evan Cheng
d180ac1109 Add a regression test for bug 478.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26471 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-02 21:48:34 +00:00
Chris Lattner
358d5afcbd new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26458 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-01 21:46:53 +00:00
Chris Lattner
2471403423 load (x|y) -> load (x+y) iff x and y have no common bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26449 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-01 07:13:56 +00:00
Chris Lattner
c607fa8665 new testcase. These functions shouldn't touch the stack if stfiwx use
is enabled.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26446 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-01 05:49:05 +00:00
Chris Lattner
257bedbeaf new testcase. There should be no accesses to the stack for these functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26444 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-01 04:56:33 +00:00
Chris Lattner
cf6a9fbd9b new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26439 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-01 03:43:38 +00:00
Evan Cheng
ce531a4eff Add a test case for left shift by 1. We should not be using lea for this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26431 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-28 23:57:45 +00:00
Chris Lattner
7adf72a5e4 evan's recent x86 isel improvements have fixed this, though not in the way
originally envisioned :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26422 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-28 16:39:56 +00:00
Chris Lattner
c7d855ea2e new testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26420 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-28 06:54:19 +00:00
Chris Lattner
71f5dfa8e9 Reenable this
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26391 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-27 01:00:12 +00:00
Chris Lattner
cfdbb7caa8 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26387 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-27 00:20:23 +00:00
Evan Cheng
9394514ede New test case: use lea for imul by some constants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26378 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-25 10:16:10 +00:00
Evan Cheng
c6d80a4ecf lea.ll is XFAIL until we implement convertToThreeAddress.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26377 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-25 10:15:22 +00:00
Chris Lattner
05b53740e2 this fails, mark it as such
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26370 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-25 08:18:43 +00:00
Evan Cheng
4ba9cd53ba Add a test case for 'lea'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26322 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-23 00:12:12 +00:00
Nate Begeman
b1d3c15c3c A few final (for now) tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26267 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-17 21:38:45 +00:00
Nate Begeman
3bd5403920 Yet another test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26266 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-17 21:32:46 +00:00
Nate Begeman
d44d3d5fc3 New tests!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26265 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-17 21:22:08 +00:00
Nate Begeman
8ec18177da Fix a comment sabre noticed :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26257 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-17 06:24:31 +00:00
Nate Begeman
b5fefc732c A couple new regression tests to make sure we always pattern match the new
opcodes on ppc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26256 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-17 06:16:56 +00:00
Jim Laskey
19fd628e5c Code sufficiently protected against this test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26213 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-15 17:20:59 +00:00
Andrew Lenharth
bd7c22cdcc test for improved zap discovery
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26147 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-13 18:52:01 +00:00
Chris Lattner
3b6059285b this passes now, due to Nate's recent efforts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26140 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-13 07:26:36 +00:00
Chris Lattner
d1157dd535 Reduce this testcase a bit more, with the help of llvm-extract and some hand tweaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26139 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-13 07:02:50 +00:00
Evan Cheng
50b5c2ebd9 Added a test case for a libcall insertion bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26137 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-12 10:24:00 +00:00
Chris Lattner
2d99c81ff0 this apparently passes on linux
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26082 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-09 07:12:13 +00:00
Jim Laskey
e35eed2944 Disable this test for the time being as debug is brought up to speed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26063 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-08 18:17:06 +00:00
Chris Lattner
e1070166e7 These were moved to ../SPARC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25987 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-05 05:53:48 +00:00
Chris Lattner
7ce1bbf05d move V8 testcases here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25986 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-05 05:52:55 +00:00
Evan Cheng
a5229887cf Added a (store (op (load ...) ...) ...) folding test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25933 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-03 06:46:41 +00:00
Chris Lattner
29dd2d7d15 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25897 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-02 06:35:38 +00:00
Andrew Lenharth
10d7f9a33f test cmov immediate form
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25881 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-01 19:36:52 +00:00
Chris Lattner
faa60106f1 new testcase for the 'ret double folding with load' opzn
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25868 91177308-0d34-0410-b5e6-96231b3b80d8
2006-02-01 01:45:02 +00:00
Evan Cheng
a80ea033d1 Don't generate (or setp, setae) for SETUGE. Simply flip the operands around and
generate SETULT instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25823 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-30 23:39:40 +00:00
Chris Lattner
a0bb4f749a new testcase for the 'C++' failures last night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25820 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-30 22:43:10 +00:00
Chris Lattner
d7e9f30a22 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25813 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-30 06:11:36 +00:00
Evan Cheng
992694418b Use Intel assembly syntax to look for ST
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25713 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-27 22:51:51 +00:00
Evan Cheng
69c543709d X86 dag isel is now (soon) the default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25699 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-27 21:15:22 +00:00
Evan Cheng
9bd79b17ef These are fp stack test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25698 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-27 21:14:23 +00:00
Evan Cheng
8cb1e2b6f4 XFAIL tailcall test cases until it's implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25697 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-27 21:13:27 +00:00
Andrew Lenharth
c20dee3566 added a couple test cases, including the new vaarg breakage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25648 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-26 17:43:42 +00:00
Chris Lattner
9706e63251 Testcase that failed due to a legalizer bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25537 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 07:30:14 +00:00
Chris Lattner
32814a58e4 this option is gone, the dag isel is the default now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25536 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 07:21:12 +00:00
Chris Lattner
60dda07913 new testcase that crashes llc for ppc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25495 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-21 04:25:07 +00:00
Evan Cheng
52b8b5982f Added a load folding bug test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25472 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-20 01:12:23 +00:00
Andrew Lenharth
1cdd5c6e11 a reduced test case, the GlobalAddress is never legalized
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25427 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-18 22:59:33 +00:00