Commit Graph

2385 Commits

Author SHA1 Message Date
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
Chris Lattner
3f970fd567 new tests for actual inline asm expressions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25625 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-25 23:49:54 +00:00
Chris Lattner
720d2108be testcase that crashes scalarrepl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25586 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-24 19:34:57 +00:00
Chris Lattner
34a05fbe51 This is still broken
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25583 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-24 06:13:48 +00:00
Chris Lattner
1695483505 new c front-end testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25579 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-24 05:01:39 +00:00
Chris Lattner
52599e17b1 minor syntax change
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25566 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-24 00:37:20 +00:00
Chris Lattner
fb90fe35d0 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25562 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 23:24:13 +00:00
Chris Lattner
9706e63251 Testcase that failed due to a legalizer bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25537 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 07:30:14 +00:00
Chris Lattner
32814a58e4 this option is gone, the dag isel is the default now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25536 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 07:21:12 +00:00
Chris Lattner
2c6d99cbf8 make this test harder
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25533 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 07:07:51 +00:00
Chris Lattner
a9035002dd add new tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25529 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 06:24:17 +00:00
Chris Lattner
e7ed39d2e9 Make sure this tests the right thing, xfail on solaris, which doesn't have floorf
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25524 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-23 05:56:34 +00:00
Chris Lattner
60dda07913 new testcase that crashes llc for ppc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25495 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-21 04:25:07 +00:00
Reid Spencer
f20bf3e629 Add a test case for PR697, ensuring the linker works with ConstantPacked.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25475 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-20 01:31:58 +00:00
Evan Cheng
52b8b5982f Added a load folding bug test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25472 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-20 01:12:23 +00:00
Chris Lattner
6b8800d6a6 Add a new testcase for an eliminable cast
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25451 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-19 07:39:20 +00:00
Reid Spencer
25000bfd2e This test passes now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25449 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-19 07:15:47 +00:00
Chris Lattner
8312ab54cf make this work for Reid, who renamed his CVS module dir :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25443 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-19 06:49:46 +00:00
Chris Lattner
6446b7fb5b new testcase the autoupgrader in the bc reader fails to handle
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25442 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-19 06:15:34 +00:00
Reid Spencer
fd57ad787f Expand test to cover the non-overloaded variants of the arithmetic and
floating point intrinsics.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25431 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-19 01:17:06 +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
Chris Lattner
97f8f8d8f2 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25420 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-18 19:16:07 +00:00
Chris Lattner
a076787d7b this testcase sent the dag combiner spinning into an infinite loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25418 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-18 19:13:11 +00:00
Robert Bocchino
f90a87a442 Test case for the insertelement operation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25409 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-17 20:07:30 +00:00
Chris Lattner
478cc13bdb Ensure that the CFE always emits intrinsics in their unsigned version, not with signed operands
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25390 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-17 06:24:01 +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
Chris Lattner
bf2d595dca This pass has been removed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25350 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-16 01:06:43 +00:00
Chris Lattner
426b245597 New testcase for a regression last night: the -inline pass wasn't updating
callgraph to include new edges do to inserted llvm.stacksave/llvm.stackrestore
calls.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25319 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-14 20:07:07 +00:00
Nate Begeman
d88fc03602 bswap implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25312 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-14 03:14:10 +00:00
Nate Begeman
6fb3bd6a65 Add bswap intrinsics as documented in the Language Reference
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25309 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-14 01:25:24 +00:00
Jim Laskey
088a84eb2d testcase for PR676: http://llvm.cs.uiuc.edu/PR676
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25306 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-14 00:29:48 +00:00
Chris Lattner
1787ee31ed testcase for PR691
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25298 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 22:05:36 +00:00
Chris Lattner
e5445dc6a2 new testcases for the stackrestore instcombine optimizations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25297 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 22:01:47 +00:00
Chris Lattner
f0638c5f71 New testcase that functions with dynamic allocas can be inlined, and are
inlined correctly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25287 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 19:35:05 +00:00
Chris Lattner
929db42702 testcase for the llvm.stacksave/llvm.stackrestore intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25269 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 02:25:08 +00:00
Evan Cheng
2085a9d99b Test case for a SETCC / BRCOND folding bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25258 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 01:02:22 +00:00
Duraid Madina
8d4acd715a verily, sabre did leave
and yea! Saem said "ARRR."

meanwhile, the pinksias and the campfires and the ET forests glowed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25240 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-12 02:50:34 +00:00
Nate Begeman
cfde3c19c7 Add testcase for rotate by register and rotate by immediate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25228 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-11 22:58:12 +00:00
Chris Lattner
634f235a46 Testcase the PPC backend is miscompiling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25216 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-11 18:15:37 +00:00
Chris Lattner
07917b672d catch all forms of xnor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25208 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-11 07:13:22 +00:00
Chris Lattner
5e1b72c153 new testcase for extractelement instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25186 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-10 20:00:20 +00:00
Chris Lattner
f11f07b81a Modify this test to not depend on the host math.h implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25138 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-07 01:37:25 +00:00
Chris Lattner
6c7fbb8503 A case that instcombine is not catching.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25127 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-06 07:48:28 +00:00
Chris Lattner
63540f5cf1 new tests, derived from cosmics scheme output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25111 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-05 07:46:46 +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
Chris Lattner
72f49aae17 this test fails
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24994 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-23 16:14:29 +00:00
Chris Lattner
cf4a81e56f this test is malformed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24993 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-23 16:13:52 +00:00
Reid Spencer
84c744fe58 Fix PR409:
Implement the suggested check to ensure that out-of-range float constants
don't get accepted by LLVM accidentally. Adjust the supporting test cases
as well.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24963 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-22 21:07:29 +00:00
Chris Lattner
90b02b08a5 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24902 91177308-0d34-0410-b5e6-96231b3b80d8
2005-12-21 17:52:42 +00:00