Commit Graph

579 Commits

Author SHA1 Message Date
Andrew Lenharth
0ddae493e9 catch another constant
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30533 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-20 15:04:55 +00:00
Chris Lattner
72475c04ed new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30516 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-20 06:40:37 +00:00
Rafael Espindola
71f3b94fa8 Implement a MachineFunctionPass to fix the mul instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30485 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-19 15:49:25 +00:00
Chris Lattner
a5faa83d44 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30378 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-14 21:10:06 +00:00
Chris Lattner
0f5e9b99fc The sense of this branch was backwards
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30296 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-13 17:58:57 +00:00
Chris Lattner
c635d712a0 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30289 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-13 05:59:25 +00:00
Chris Lattner
94c8d3b5e5 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30287 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-13 04:43:26 +00:00
Chris Lattner
06f7ee9133 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30282 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-13 03:21:27 +00:00
Evan Cheng
23f8497724 Rename a test-not-cmp.ll to cmp-test.ll; add a test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30243 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-11 02:33:29 +00:00
Chris Lattner
6a26847715 add a testcase for this commit: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050606/026673.html
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30238 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-10 18:52:25 +00:00
Rafael Espindola
0a200600e7 implement shl and sra
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30191 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-08 17:36:23 +00:00
Rafael Espindola
e246fd953e fix select.ll to always test a select node
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30187 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-08 12:52:50 +00:00
Rafael Espindola
5c2aa0a4d8 implement unconditional branches
fix select.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30186 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-08 12:47:03 +00:00
Evan Cheng
fa12482d0c New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30179 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-08 07:24:20 +00:00
Evan Cheng
e119691885 Add a new test case for 'undef' shuffles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30172 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-08 01:54:32 +00:00
Chris Lattner
81fe06a112 This fails
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30148 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-07 17:43:59 +00:00
Chris Lattner
5aa0307315 New testcase for a switch lowering bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30141 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-07 01:59:05 +00:00
Chris Lattner
07240e04ab testcase, ensure this never breaks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30137 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-06 21:54:59 +00:00
Chris Lattner
c39d194499 make this harder
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30120 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-05 20:27:06 +00:00
Rafael Espindola
3a02f020eb add support for returning 64bit values
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30103 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-04 19:05:01 +00:00
Rafael Espindola
bc4cec9a62 add the SETULT condition code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30067 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-03 13:19:16 +00:00
Chris Lattner
6cfca76349 Testcase (distilled from crafty) that crashed the local RA on X86.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30063 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-03 07:14:47 +00:00
Rafael Espindola
5f450d2948 add more condition codes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30056 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-02 20:24:25 +00:00
Evan Cheng
467782c160 Another "cyclic DAG" test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30043 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-01 23:50:17 +00:00
Chris Lattner
d3233eeff2 Bugfix for recent coallescer crash
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29990 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-30 23:03:35 +00:00
Chris Lattner
734d811723 new testcase for pr687
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29967 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-29 23:09:59 +00:00
Evan Cheng
bb0a23a137 This is also a 32-bit only test. x86-64 would pass fp parameters through XMM registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29964 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-29 22:01:39 +00:00
Evan Cheng
e091c8ba72 Fix test case so it passes on x86-64.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29963 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-29 21:49:58 +00:00
Evan Cheng
f3b7f6b9e4 Undo xfail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29958 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-29 18:49:41 +00:00
Chris Lattner
1c548b645b Move this test from Codegen/PowerPC to CodeGen/Generic. It fails on ia64,
but that's not the ppc backend's fault.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29914 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-27 20:52:00 +00:00
Evan Cheng
275697b486 Improved codegen due to Chris' live interval joining changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29899 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-26 07:38:36 +00:00
Rafael Espindola
389dae20ea test case for varargs functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29877 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-25 17:57:36 +00:00
Rafael Espindola
687bc49d1a initial support for branches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29854 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-24 13:45:55 +00:00
Rafael Espindola
d520dd7a24 run llc with -march=arm in select.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29821 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-22 16:19:54 +00:00
Chris Lattner
0af617fa32 This passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29813 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-22 06:43:24 +00:00
Reid Spencer
20486a5fc7 Use the correct syntax.
Note to self: test before committing things!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29810 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-22 05:40:51 +00:00
Reid Spencer
d989e6dcc9 Add a simple RUN line so this doesn't always fail. XFAIL this until
Rafael can get a chance to fix it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29809 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-22 05:37:43 +00:00
Rafael Espindola
3c000bf817 initial support for select
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29802 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-21 22:00:32 +00:00
Bill Wendling
d36d03bf2d Added a check so that if we have two machine instructions in this form
MOV R0, R1
    MOV R1, R0

the second machine instruction is removed. Added a regression test.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29792 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-21 07:33:33 +00:00
Chris Lattner
31c8e1d6aa Temporarily xfail this test, evan will look at it in a week or so.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29760 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-18 00:18:38 +00:00
Rafael Espindola
f3a335cedf add a "load effective address"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29748 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-17 17:09:40 +00:00
Evan Cheng
b8f9723a91 Another cyclic dag test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29742 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-17 00:00:46 +00:00
Chris Lattner
d039da9b41 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29714 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-15 23:45:28 +00:00
Rafael Espindola
61369da0e5 select code like
ldr rx, [ry, #offset]


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29664 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-14 19:01:24 +00:00
Chris Lattner
84ff46b0d9 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29606 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-11 16:46:38 +00:00
Rafael Espindola
7a53bd0890 fix the spill code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29583 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-09 16:41:12 +00:00
Rafael Espindola
1a00946817 initial support for variable number of arguments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29567 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-08 13:02:29 +00:00
Evan Cheng
080e187dfb New test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29558 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-07 23:58:47 +00:00
Rafael Espindola
341b864c8d use a 'register pressure reducing' scheduler
make sure only one move is used in a hello world


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29520 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-04 12:48:42 +00:00
Jim Laskey
c0131f8788 Applying for all.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29512 91177308-0d34-0410-b5e6-96231b3b80d8
2006-08-03 20:56:35 +00:00