1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 14:32:51 +01:00
Commit Graph

1773 Commits

Author SHA1 Message Date
Chris Lattner
5f65574a0f fix buggy test
llvm-svn: 21937
2005-05-13 15:51:31 +00:00
Chris Lattner
54ac7e9e84 Fix buggy test
llvm-svn: 21936
2005-05-13 15:48:41 +00:00
Chris Lattner
6e96e6e431 let dj run this
llvm-svn: 21935
2005-05-13 15:44:55 +00:00
Andrew Lenharth
385f6bd18f fixed test case
llvm-svn: 21934
2005-05-13 15:42:07 +00:00
Chris Lattner
ff43e72218 disable this test for now.
llvm-svn: 21920
2005-05-13 04:51:58 +00:00
Chris Lattner
827d1b2e40 add a correct run line
llvm-svn: 21918
2005-05-13 04:20:57 +00:00
Chris Lattner
d1170afe2c reg test
llvm-svn: 21914
2005-05-12 23:09:04 +00:00
John Criswell
99562cfa9d Fix this test on Solaris.
Solaris grep is more traditional and (AFAIK) does not support regexs.
Also, single quotes should disable all shell interpretation, so no
backslashes should be needed (and, in fact, keep Solaris from working).

llvm-svn: 21902
2005-05-12 21:06:05 +00:00
Nate Begeman
71bcc67a0f Add testcase for legalizing ISD::CTTZ efficiently. On PPC, ctlz(int) is
now codegen'd as this:

        addi r2, r3, -1
        andc r2, r2, r3
        cntlzw r2, r2
        subfic r3, r2, 32
        blr

llvm-svn: 21881
2005-05-11 23:45:54 +00:00
John Criswell
55937aba69 Regression test for PR#563.
llvm-svn: 21879
2005-05-11 21:47:35 +00:00
Andrew Lenharth
b908893bab 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).

llvm-svn: 21867
2005-05-11 17:23:41 +00:00
Chris Lattner
c1273fc0b9 include the other bit count intrinsics
llvm-svn: 21863
2005-05-11 05:31:01 +00:00
Chris Lattner
4e9ebbc98d new testcase
llvm-svn: 21854
2005-05-11 04:22:47 +00:00
Chris Lattner
877248c8a3 new testcase for PR562
llvm-svn: 21849
2005-05-10 22:32:29 +00:00
Chris Lattner
c1064620ef new testcase
llvm-svn: 21837
2005-05-10 00:33:36 +00:00
Chris Lattner
1693833459 testcase I've had in my tree
llvm-svn: 21832
2005-05-09 21:21:10 +00:00
John Criswell
5bac82113e Tell tblgen exactly where to find the include file.
llvm-svn: 21822
2005-05-09 19:32:08 +00:00
Chris Lattner
c9077e4177 new testcase
llvm-svn: 21819
2005-05-09 17:09:31 +00:00
Chris Lattner
e91ac6383d tweak test to accept the (good) code emitted by the pattern isel
llvm-svn: 21812
2005-05-09 05:54:27 +00:00
Chris Lattner
540a321165 New testcase
llvm-svn: 21808
2005-05-09 04:54:18 +00:00
Chris Lattner
86997483e2 New testcase that crashes the pattern isel
llvm-svn: 21800
2005-05-09 03:36:11 +00:00
Chris Lattner
d1969cf8c2 New testacse for information exposed by the 'tail' call marker.
llvm-svn: 21795
2005-05-08 23:57:34 +00:00
Chris Lattner
e717a9dca2 add a testcase for a case we do not handle yet
llvm-svn: 21789
2005-05-08 21:47:42 +00:00
Chris Lattner
5bef0b7bc6 new testcase
llvm-svn: 21787
2005-05-08 21:41:18 +00:00
Chris Lattner
0fb59cec82 new testcase
llvm-svn: 21784
2005-05-08 21:28:33 +00:00
Chris Lattner
ab1fdcec7d new testcases for PR557
llvm-svn: 21782
2005-05-08 20:56:02 +00:00
Chris Lattner
d7a835fcba new testcase
llvm-svn: 21777
2005-05-08 18:54:40 +00:00
Chris Lattner
5fe4e982b8 new testcase
llvm-svn: 21774
2005-05-08 17:31:24 +00:00
Reid Spencer
bd4efef3eb * Break tests into individual cases so its easier to see what's going on.
* Add four new cases to handle the new optimizations for strlen, dealing
  with:
    strlen(x) != 0 -> *x != 0
    strlen(x) == 0 -> *x == 0
  for each of two cases: strlen(x) != 0 and strlen(x) == 0

llvm-svn: 21767
2005-05-07 20:21:04 +00:00
Chris Lattner
e265bf6fe5 test that reassociate can handle shifts
llvm-svn: 21760
2005-05-07 04:23:29 +00:00
Chris Lattner
d6906dc6af new testcase
llvm-svn: 21756
2005-05-07 02:16:08 +00:00
Chris Lattner
170a0f7d6b Make sure to not accidentally get a bogus tail marker
llvm-svn: 21735
2005-05-06 06:47:37 +00:00
Chris Lattner
d3797164f9 new testcases
llvm-svn: 21716
2005-05-06 04:52:46 +00:00
Chris Lattner
8f567bbc2a new testcase
llvm-svn: 21714
2005-05-06 04:11:32 +00:00
Chris Lattner
88ef664af0 new testcase for unneeded and
llvm-svn: 21711
2005-05-06 01:52:52 +00:00
Chris Lattner
a2b995acae new testcase
llvm-svn: 21710
2005-05-06 01:51:05 +00:00
Chris Lattner
1f2cdab20f new testcase
llvm-svn: 21708
2005-05-06 00:58:09 +00:00
Chris Lattner
3e946df29b new testcase for PR541
llvm-svn: 21702
2005-05-05 22:23:10 +00:00
Chris Lattner
f83598edd5 new testcase
llvm-svn: 21699
2005-05-05 17:57:24 +00:00
Chris Lattner
07e6a7ac34 new testcase for a bug Jim found
llvm-svn: 21695
2005-05-05 15:47:16 +00:00
Chris Lattner
207e92ec5f new testcase
llvm-svn: 21689
2005-05-04 19:05:02 +00:00
Reid Spencer
793d169d29 Make sure both optimization cases get tested.
llvm-svn: 21687
2005-05-04 17:45:10 +00:00
Reid Spencer
04242d8b3a Add a test case for the IsDigitOptimization class.
llvm-svn: 21686
2005-05-04 17:34:55 +00:00
Andrew Lenharth
3cde1721c7 comment fix
llvm-svn: 21685
2005-05-04 15:56:34 +00:00
Andrew Lenharth
0ecfe05b76 see if the legalize code propery compensates for the additional zeros introduced
llvm-svn: 21684
2005-05-04 15:51:07 +00:00
Andrew Lenharth
315a093ece added a use of ctpop to debug stuff with
llvm-svn: 21681
2005-05-04 15:20:16 +00:00
Reid Spencer
b28a320411 Fix this test to succeed even if "strchr" is on a call instruction.
llvm-svn: 21675
2005-05-03 17:09:38 +00:00
Reid Spencer
04b3cda068 Add a test case for SPrintFOptimization.
llvm-svn: 21674
2005-05-03 17:08:45 +00:00
Reid Spencer
e4895c439b Add a test case for StrChrOptimizer for -simplify-libcalls
llvm-svn: 21668
2005-05-03 06:22:41 +00:00
Reid Spencer
a77025d96d A new test case for the LLVMMemSetOptimization.
llvm-svn: 21663
2005-05-03 04:00:24 +00:00