Commit Graph

3322 Commits

Author SHA1 Message Date
Chris Lattner
9f4fbba356 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33493 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-25 02:52:33 +00:00
Evan Cheng
06c2552830 Added some load from stack frames test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33473 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-24 02:27:03 +00:00
Evan Cheng
9e38e32dcd Thumb test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33471 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-23 23:28:50 +00:00
Evan Cheng
7c3992f9c0 Thumb test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33468 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-23 22:47:58 +00:00
Evan Cheng
6bc191a8ec Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33464 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-23 17:49:33 +00:00
Evan Cheng
07700d123e Make it work for both Linux and Mac OS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33451 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-22 23:18:10 +00:00
Evan Cheng
f3bf908031 Pasto
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33444 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-22 23:01:22 +00:00
Evan Cheng
8a67cdc5eb Fix test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33432 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-22 18:57:39 +00:00
Chris Lattner
3af8c6ee61 new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33416 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-21 00:56:42 +00:00
Reid Spencer
9d7d2d7e4b Try a negative number with ashr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33404 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-20 20:30:13 +00:00
Owen Anderson
d3a1c9532e Fix incorrect run line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33395 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-20 08:48:05 +00:00
Reid Spencer
6df4c4576f Add a test case for sext bug that Leo found.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33393 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-20 08:31:45 +00:00
Evan Cheng
4be24ed9ce Add test case extracted from lencod. Spiller was infinite looping in GetRegForReload().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33383 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-19 22:43:14 +00:00
Reid Spencer
011cf09ddd Make this test actually test what its supposed to test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33369 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-19 21:06:38 +00:00
Zhou Sheng
9160a841ac Cover non-byte-width BATs situation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33356 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-19 14:30:59 +00:00
Zhou Sheng
4da6420a07 Cover more arithmetics for arbitrary bitwidth integers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33355 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-19 14:26:57 +00:00
Evan Cheng
02b985c50f ARM test cases contributed by Apple.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33354 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-19 09:20:23 +00:00
Zhou Sheng
96b366d4ca Add one test case for Arbitrary BitWidth Integers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33348 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-19 01:35:08 +00:00
Chris Lattner
93d9eb8263 remove an execution test from llvm/test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33344 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-18 22:24:04 +00:00
Chris Lattner
e68266dc76 new testcase that causes instcombine to infinitely loop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33342 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-18 22:16:03 +00:00
Reid Spencer
4cbd542dfe For PR1028:
Ensure the CBE generates calls to GCC builtins for stack_save and
stack_restore when it encounters the corresponding intrinsics.

Patch by Gordon Henriksen.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33312 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-17 23:20:43 +00:00
Anton Korobeynikov
5032e5a613 * Fix one more bug in PIC codegen: extra load is needed for *all*
non-statics.
* Introduce new option to output zero-initialized data to .bss section.
This can reduce size of binaries. Enable it by default for ELF &
Cygwin/Mingw targets. Probably, Darwin should be also added.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33299 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-17 10:33:08 +00:00
Reid Spencer
44d59b0daf The Regression directory is now gone.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33297 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-17 08:01:13 +00:00
Reid Spencer
fb15c005bb Regression is gone, don't try to find it on clean target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33296 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-17 07:59:14 +00:00
Reid Spencer
889cf0ec51 Test cases for PR1117.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33281 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-17 02:45:19 +00:00
Reid Spencer
b164c76709 Ignore the output directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33275 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-17 01:48:42 +00:00
Reid Spencer
4b8c4b35e3 Fix test cases. Patch by Guoling Han.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33272 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-16 22:31:46 +00:00
Reid Spencer
cd9192f4f4 Remove this test case. LLVM doesn't currently support comparison of packed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33271 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-16 21:58:58 +00:00
Reid Spencer
4af33c2605 Add a test case for bit accurate integer types in llvm-gcc. This is
XFAILed for now until llvm-gcc changes are committed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33261 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-16 18:40:08 +00:00
Reid Spencer
c0948366f6 New test cases for bit accurate integers developed by Guoling Han.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33259 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-16 18:08:22 +00:00
Chris Lattner
efe0213626 testcase for PR918
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33253 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-16 07:21:28 +00:00
Chris Lattner
232b8ad8c1 new testcase for PR1114
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33250 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-16 05:58:50 +00:00
Bill Wendling
e47b029ac0 Added a -mtriple flag to force darwin backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33248 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-16 04:15:20 +00:00
Bill Wendling
eb9a42c90b Fix for PR1095:
LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for
the X86 and PPC backends. It defaults to "0", the first variant of a compound
inline asm expression.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33246 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-16 03:42:04 +00:00
Chris Lattner
def2760d00 test darwin too! :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33241 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-15 18:32:24 +00:00
Chris Lattner
151becec7e new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33233 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-15 07:29:29 +00:00
Chris Lattner
8d14221224 add a simple case where instcombine can detect and remove a dead alloca
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33230 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-15 06:51:25 +00:00
Chris Lattner
d4427b6d31 ensure these don't xpass if opt crashes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33215 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-15 01:04:21 +00:00
Chris Lattner
3ccebe449e new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33206 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 19:40:48 +00:00
Chris Lattner
dcec14eb88 verify that hidden visibility support never goes away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33205 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 18:57:37 +00:00
Chris Lattner
5a42a935b2 testcase for pr1110
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33203 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 18:33:11 +00:00
Chris Lattner
84efeda7ea testcase for pr1109
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33194 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 05:56:45 +00:00
Chris Lattner
d8523aa5de new testcase for pr1101
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33192 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 01:23:43 +00:00
Chris Lattner
65339307a5 new testcase for pr1103
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33188 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-14 00:12:50 +00:00
Chris Lattner
1034a3928d testcase reduced from pr1107
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33186 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-13 23:11:45 +00:00
Reid Spencer
737ec5130e For PR1043:
Bye, Bye Booly. Remove the use of the bool type from non-upgraded test
cases and from grep expressions. The parser doesn't accept it and the
asm writer doesn't produce it any more.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33183 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-13 05:06:52 +00:00
Reid Spencer
f2f882015e Can't grep for bool any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33178 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-13 04:36:22 +00:00
Chris Lattner
7cfdd0be5a Remove this obsolete test. The CBE will never be able to handle zero argument
vararg functions.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33174 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-13 00:40:40 +00:00
Reid Spencer
f947e92496 Whoops. Give this test some input. Doubly important since its XFAIL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33173 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-13 00:28:36 +00:00
Reid Spencer
b3258a3c0f This is not an upgrade candidate any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33170 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-13 00:19:13 +00:00