Commit Graph

50 Commits

Author SHA1 Message Date
Chris Lattner
3d2da9a426 new testcase, this should turn into zap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30874 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-11 05:10:19 +00:00
Andrew Lenharth
82c3d8f81a Jimptables working again on alpha.
As a bonus, use the GOT node instead of the AlphaISD::GOT for internal stuff.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30873 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-11 04:29:42 +00:00
Chris Lattner
2f239b9289 Both of these functions should turn into cmpbge instructions, even though
the second has an and of 254 not 255.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30870 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-11 03:59:48 +00:00
Chris Lattner
67afa13980 new testcase for zap generation, from the alpha readme
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30865 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-11 01:47:08 +00:00
Chris Lattner
d68d2c312a xfail this until andrew has a chance to implement the alpha TM method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30833 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-09 17:34:40 +00:00
Andrew Lenharth
666ad1f8cf Check that jump tables wind up in the rodata section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30747 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-05 03:27:52 +00:00
Andrew Lenharth
758f89c690 Fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30596 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-25 14:04:53 +00:00
Andrew Lenharth
b08659d2e5 basic jump table test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30592 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-24 19:42:02 +00:00
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
4de62eadf4 This is fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29098 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-11 01:39:30 +00:00
Chris Lattner
3c8c1639b6 Xfail this
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29040 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-07 04:43:24 +00:00
Andrew Lenharth
ddb1304660 Legalize does not handle this correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28991 91177308-0d34-0410-b5e6-96231b3b80d8
2006-07-03 22:46:02 +00:00
Andrew Lenharth
1a93f1c0ea Added regression that breaks gcc4 build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28358 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-17 19:23:31 +00:00
Andrew Lenharth
ab04e8c5ee fix this for the more restrictive linkage
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27667 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:52:32 +00:00
Chris Lattner
d8200069fa This test fails and I don't know why, xfail it until andrew gets a chance to
look at it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27660 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 17:19:34 +00:00
Tanya Lattner
9727555859 Added the ability to xfail based on llvmgcc version
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27635 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-12 21:57:40 +00:00
Chris Lattner
cecc3ebcc8 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27401 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-04 17:38:31 +00:00
Andrew Lenharth
87e021de4f test powers of 2
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27369 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-03 04:14:39 +00:00
Andrew Lenharth
0fb79fa078 test some more mul by constant removal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27366 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-03 03:16:09 +00:00
Andrew Lenharth
f80d2f61af Make sure mul by constant 5 is turned into a s4addq
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27365 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-02 21:47:07 +00:00
Reid Spencer
2676f83776 Tired of wading through cvs's list ? files that are generated when building
with srcdir = objdir to see what's okay and what's cruft. So, in goes a
bunch of .cvsignore files to shut cvs up about known output from running
"make check".


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27009 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 23:41:57 +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
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
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
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
Andrew Lenharth
097c6e18a3 this is fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25370 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-16 21:22:42 +00:00
Chris Lattner
84b26b600d Fix these testcases :(
Apparently Andrew hasn't implemented ReadCycleCounter in the new isel and
renamed ornot to eqv


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25360 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-16 16:34:39 +00:00
Andrew Lenharth
fe67ca209f Change this regression so andi is not a valid codegen of it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25056 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-01 22:14:31 +00:00
Andrew Lenharth
51b8d54922 continued readcyclecounter support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24300 91177308-0d34-0410-b5e6-96231b3b80d8
2005-11-11 16:47:30 +00:00
Andrew Lenharth
542f2df2fa more specific tests of subtarget stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23570 91177308-0d34-0410-b5e6-96231b3b80d8
2005-09-30 20:30:24 +00:00
Andrew Lenharth
4b429fcf25 make sure we always handle small negatives well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22503 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-22 21:53:35 +00:00
Chris Lattner
0c8781dabb new testcase for PR593
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22418 91177308-0d34-0410-b5e6-96231b3b80d8
2005-07-13 01:57:39 +00:00
Chris Lattner
eb99a451e8 this passes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22000 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-14 02:35:38 +00:00
Andrew Lenharth
3cfc4011bd fix regression tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21963 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 19:49:02 +00:00
John Criswell
1e497fe3dc These tests are currently expected to fail.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21941 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 17:36:00 +00:00
Chris Lattner
e0f395b25f let dj run this
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21935 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 15:44:55 +00:00
Andrew Lenharth
7c644405fe fixed test case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21934 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-13 15:42:07 +00:00
Andrew Lenharth
50d435f3a7 Legalize for CTLZ generates a ctpop, but this ctpop is not expanded.
This is bad.  It is generated if you are ctlz a type that is not
legal for the arch (aka ctlz of bytes on alpha legalize fine).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21867 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-11 17:23:41 +00:00
Andrew Lenharth
e8aebf79e1 comment fix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21685 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-04 15:56:34 +00:00
Andrew Lenharth
d3942b4701 see if the legalize code propery compensates for the additional zeros introduced
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21684 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-04 15:51:07 +00:00
Andrew Lenharth
1419711ece added a use of ctpop to debug stuff with
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21681 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-04 15:20:16 +00:00
Andrew Lenharth
80563ff1a5 added a random and mask test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21301 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-14 16:17:49 +00:00
Andrew Lenharth
eecbf30e9c regression case for faster call sequence
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21284 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-13 16:16:01 +00:00
Andrew Lenharth
f701697101 check that casts still use zap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21283 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-13 13:00:16 +00:00
Andrew Lenharth
003e68e442 added s4addl matching test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21277 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-13 04:41:06 +00:00
Andrew Lenharth
a844b017a6 oops
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21155 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-08 16:55:15 +00:00
Andrew Lenharth
b8a5d63b18 added some tests to check stupid pattern matching mistakes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21154 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-08 16:46:44 +00:00
Andrew Lenharth
0b5031abd4 match case change in codegen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21141 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-07 17:47:00 +00:00
Andrew Lenharth
3a46221d0b simplified
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21119 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-06 20:59:03 +00:00
Andrew Lenharth
0def226064 added first alpha codegen regression test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21117 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-06 20:39:17 +00:00