Commit Graph

2015 Commits

Author SHA1 Message Date
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
Chris Lattner
1a130b9a03 fix this testcase so the regex doesn't match the function name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21210 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-10 20:45:35 +00:00
Chris Lattner
9def6cc378 make this harder
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21201 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-10 03:18:18 +00:00
Chris Lattner
a213bc2146 oops add ~
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21200 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-10 03:07:25 +00:00
Chris Lattner
d2b0e710d6 new testcase for previously unsupported unary complex operators
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21199 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-10 03:06:27 +00:00
Chris Lattner
d0abb7a2ec new testcase that used to crash the ppc fe. It could effect any simpleisel
that is not careful, so I'm checking it into the generic tests.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21190 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-09 22:03:10 +00:00
Nate Begeman
9a98a77446 Add a testcase to make sure that we don't emit two fneg instructions back
to back for certain fsel instructions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21176 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-09 09:30:09 +00:00
Nate Begeman
e9c0f43a1b Add cases to cover the rest of the patterns we should be matching
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21175 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-09 08:29:59 +00:00
Chris Lattner
2f65f8e724 New testcase that the sparc backend crashes on
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21173 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-09 06:26:27 +00:00
Chris Lattner
2e6027ccab make this test more interesting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21170 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-09 04:55:14 +00:00
Chris Lattner
45485234ee add a test for fnabs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21169 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-09 04:03:16 +00:00
Chris Lattner
e23836cf77 add a partial test for the fma operations that ppc supports. I'm sure I'm
missing some and not all of these match yet, but I'm sure that Nate will
clean up my mess :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21168 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-09 04:01:32 +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
Chris Lattner
b37246d65e new testcase that crashes the instcombiner.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21151 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-08 03:58:21 +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
Chris Lattner
7c52702201 new test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21137 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-07 16:41:45 +00:00
Chris Lattner
3d173b3638 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21135 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-07 16:24:59 +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
Chris Lattner
7759adfb4d new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21087 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-04 22:22:30 +00:00
Chris Lattner
4cb11a1de2 this has now been fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21026 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-02 16:17:57 +00:00
Chris Lattner
e21710757d don't forget to use the right code generator :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21017 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-02 05:40:03 +00:00
Chris Lattner
597f22f6cd new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21016 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-02 05:35:00 +00:00
Chris Lattner
d4b57286dc new generic testcsae
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20996 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-02 02:41:55 +00:00
John Criswell
d60c0ef023 For Sparc, this xfails. I don't think sparc has the C99 complex data
type support.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20993 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-01 23:16:23 +00:00
Chris Lattner
bea061df63 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20978 91177308-0d34-0410-b5e6-96231b3b80d8
2005-04-01 07:19:06 +00:00
Chris Lattner
dbcc2f7b0b fix the RUN line on this testcase so it passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20833 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-25 15:36:19 +00:00
Chris Lattner
a92076d475 New testcase that crashes licm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20829 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-25 05:49:13 +00:00
Chris Lattner
4e59c642c8 new testcase that DS-AA is causing to be miscompiled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20813 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-24 17:57:43 +00:00
Chris Lattner
e04d51f4a5 GlobalMR should be able to analyze this function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20795 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-23 23:48:56 +00:00
Chris Lattner
ad46cf0282 new testcase to verify that we have field sensitive alias analysis info. This
test cannot be satisfied without interprocedural information.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20778 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-23 01:46:59 +00:00
Chris Lattner
7c61b7b6ea make sure this test tests the intended target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20777 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-23 01:32:03 +00:00
Chris Lattner
c7c6a864c0 We might as well check the TD graphs as well, even though they are fine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20774 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-22 22:11:22 +00:00
Chris Lattner
4c10375785 New testcase, the BU pass is marking the global complete in the globals graph.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20772 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-22 22:07:15 +00:00
Chris Lattner
73f1ac49f2 New testcase, which is important to handle correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20739 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-21 20:18:51 +00:00
Chris Lattner
177f247d59 This error message changed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20734 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-21 17:55:41 +00:00
Chris Lattner
97310eab6d New testcase that the assembler incorrectly accepts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20725 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-21 06:24:53 +00:00
Chris Lattner
3372dcd737 this doesn't fail on the suns either!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20567 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-12 03:43:38 +00:00
Chris Lattner
c5fc361562 this passes on darwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20565 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-11 21:18:00 +00:00
Chris Lattner
e6c378d77d new testcase for __builtin_prefetch support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20561 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-11 06:14:23 +00:00
Chris Lattner
465e24ba20 new testcase for a -basicaa bug that Alkis found with Java.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20530 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-09 16:29:22 +00:00
Chris Lattner
13a04bcd07 new testcase that crashes the CBE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20518 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-08 16:19:02 +00:00
Chris Lattner
2d9005d61f cleanup the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20504 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-06 22:24:45 +00:00
Chris Lattner
57f74708d7 check that we only insert one phi node per loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20503 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-06 22:23:31 +00:00
Chris Lattner
7abfec8734 Add testcase for this:
(3) Do not reduce element sizes of small power of two:

  char s[10];
  for (i)
    ...s[i] ...

when the indvar is not eliminable.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20502 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-06 22:15:24 +00:00
Chris Lattner
a0bfe0f9d3 testcase for A[invariant][indvar] where invariant is an instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20500 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-06 22:06:09 +00:00
Chris Lattner
7fe11f8711 add test for this:
(1) Allow loop invariant expressions to come before the induction variable (instead of just
constants):

   int x;
   for (i)
    ...a[x][i]


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20499 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-06 22:04:27 +00:00
Chris Lattner
3a334cb868 Add test for this:
Allow operands after the induction variable (no restrictions):

  int x;
  for (i)
   j = .....
   a[i][x][j]


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20498 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-06 22:01:42 +00:00
Chris Lattner
bc99f12dd2 a regtest
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20496 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-06 21:47:40 +00:00