Commit Graph

2004 Commits

Author SHA1 Message Date
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
Chris Lattner
c1ca766e01 new directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20495 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-06 21:42:59 +00:00
Chris Lattner
801d9082e0 New testcase for PR532
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20492 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-06 20:56:55 +00:00
Chris Lattner
be876b6036 new testcase reduced from the MultiSource/Applications/d failure last night.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20490 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-06 19:40:19 +00:00
Chris Lattner
60fbe9b6d0 New testcase for PR533
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20456 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-05 18:47:28 +00:00
Chris Lattner
c21e6c9799 This file is all commented out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20454 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-05 17:28:37 +00:00
Chris Lattner
cff1fe5f9f Testcase for a bug that caused us to miscompile ptrdist/ks on sparc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20444 91177308-0d34-0410-b5e6-96231b3b80d8
2005-03-04 23:20:46 +00:00
Chris Lattner
47adf21d06 Add a test for llvm.prefetch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20379 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-28 19:31:42 +00:00
Chris Lattner
81ddb8aaf3 New testcase for PR529
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20356 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-27 19:28:30 +00:00
Chris Lattner
b503cc4363 new testcase globalopt should handle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20351 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-27 18:48:19 +00:00
Chris Lattner
5926ca209e new testcase globalopt should implement
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20350 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-27 18:47:17 +00:00
Chris Lattner
9e2888609c Test that a global is marked constant when it can be.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20349 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-27 18:19:26 +00:00