1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 05:52:53 +02:00
Commit Graph

1203 Commits

Author SHA1 Message Date
Chris Lattner
cba64c6a47 testcase that crashes llc
llvm-svn: 37059
2007-05-15 01:13:42 +00:00
Evan Cheng
bdc4c1ebc5 Test for PR1406.
llvm-svn: 37051
2007-05-14 21:12:43 +00:00
Lauro Ramos Venancio
c6d71fb584 Enable aliases on arm-linux.
llvm-svn: 37042
2007-05-14 18:32:56 +00:00
Dale Johannesen
3099de1972 Another test for tail mergeing
llvm-svn: 36967
2007-05-10 01:04:28 +00:00
Evan Cheng
d70be3bdee Can't fold bit_convert into truncating store.
llvm-svn: 36963
2007-05-09 21:54:34 +00:00
Dale Johannesen
e6b2d045cc testcase for CodeGenPrepare bug fixed yesterday
llvm-svn: 36940
2007-05-08 17:44:36 +00:00
Chris Lattner
63ddb501d3 move this out of Codegen/Generic, because it requires the ARM backend to be
linked into llc

llvm-svn: 36919
2007-05-08 02:19:56 +00:00
Evan Cheng
cd3d36aaa6 Fix tests.
llvm-svn: 36913
2007-05-07 21:50:07 +00:00
Evan Cheng
8a0c9364bc Add some tests for (conv (load x)) -> (load (conv*)x) xform.
llvm-svn: 36912
2007-05-07 21:49:35 +00:00
Lauro Ramos Venancio
236cf4a51b Fix PR1390.
Don't spill extra register to align the stack.

llvm-svn: 36814
2007-05-05 23:44:41 +00:00
Chris Lattner
9808f834ba remove xfailed testcase (attached to pr)
llvm-svn: 36797
2007-05-05 21:57:34 +00:00
Evan Cheng
d5ddb11361 Test load global in static mode.
llvm-svn: 36719
2007-05-04 00:29:34 +00:00
Evan Cheng
f408ed9976 New test case.
llvm-svn: 36717
2007-05-03 23:53:36 +00:00
Dale Johannesen
d28d0bac2a Evan's patch to avoid FPreg->intreg copy for cvt; store to mem
llvm-svn: 36693
2007-05-03 20:54:42 +00:00
Chris Lattner
c777983d43 match a reassociated form of fnmul
llvm-svn: 36659
2007-05-03 00:31:40 +00:00
Evan Cheng
5793434ac3 Test a dag combiner crasher.
llvm-svn: 36605
2007-05-01 00:40:38 +00:00
Reid Spencer
6045236615 For PR1370:
Rearrange some tests so that if PowerPC is not being built we don't try to
run PowerPC specific tests.

llvm-svn: 36587
2007-04-30 05:11:58 +00:00
Chris Lattner
287a590e95 update syntax
llvm-svn: 36531
2007-04-28 06:03:12 +00:00
Lauro Ramos Venancio
8226832ec6 fix the test tls1.
llvm-svn: 36517
2007-04-27 21:23:17 +00:00
Lauro Ramos Venancio
0917ab8b29 add TLS tests.
llvm-svn: 36516
2007-04-27 21:08:48 +00:00
Lauro Ramos Venancio
f9641d332a In Thumb mode, the frame register must be R7.
llvm-svn: 36512
2007-04-27 17:58:03 +00:00
Lauro Ramos Venancio
d922b8ca9b remember to emit weak reference in one more case.
llvm-svn: 36438
2007-04-25 14:50:40 +00:00
Lauro Ramos Venancio
f8b49e5ee0 Implement PIC for arm-linux.
llvm-svn: 36324
2007-04-22 00:04:12 +00:00
Reid Spencer
6dbda77071 Use the llvm_supports_target function to prevent running of tests for
targets that LLVM is not configured to support.

llvm-svn: 36315
2007-04-21 20:41:27 +00:00
Evan Cheng
1f054dca9e Fix test.
llvm-svn: 36150
2007-04-16 18:55:46 +00:00
Reid Spencer
df17fa8ef9 For PR1319:
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.

llvm-svn: 36142
2007-04-16 17:36:08 +00:00
Lauro Ramos Venancio
806f696b15 Fix hello.ll test.
llvm-svn: 36141
2007-04-16 17:08:00 +00:00
Lauro Ramos Venancio
de6ca2dfe1 Fix align test.
llvm-svn: 36140
2007-04-16 16:57:47 +00:00
Reid Spencer
d93b834b52 For PR1319:
Fix test syntax per new rules.

llvm-svn: 36133
2007-04-16 15:15:52 +00:00
Reid Spencer
8f0fe6f2cf For PR1336:
XFAIL tests covered by the PR. These will be un-XFAILed as they are fixed.

llvm-svn: 36093
2007-04-15 23:00:46 +00:00
Reid Spencer
47d1aeeb51 For PR1319: Upgrade to new test harness.
llvm-svn: 36086
2007-04-15 20:48:50 +00:00
Reid Spencer
b6fe525070 For PR1319: Upgrade to use new test harness
llvm-svn: 36076
2007-04-15 19:11:47 +00:00
Chris Lattner
87995a803b fix test for linux hosts.
llvm-svn: 36026
2007-04-14 23:04:30 +00:00
Chris Lattner
cbe92494fd xfail this for now
llvm-svn: 35973
2007-04-13 22:20:27 +00:00
Chris Lattner
ef78f89fa5 new lsr testcase
llvm-svn: 35971
2007-04-13 20:38:14 +00:00
Reid Spencer
56b310ae49 Make the llvm-runtest function much more amenable by eliminating all the
global variables that needed to be passed in. This makes it possible to
add new global variables with only a couple changes (Makefile and llvm-dg.exp)
instead of touching every single dg.exp file.

llvm-svn: 35918
2007-04-11 19:56:59 +00:00
Chris Lattner
e557a69c34 this got better
llvm-svn: 35908
2007-04-11 16:12:27 +00:00
Chris Lattner
e827f7dfe6 new testcases for integer abs function
llvm-svn: 35880
2007-04-11 05:02:57 +00:00
Evan Cheng
89768803e7 Better still.
llvm-svn: 35663
2007-04-04 08:49:40 +00:00
Evan Cheng
8cd7d8dc77 Fix test case.
llvm-svn: 35662
2007-04-04 07:41:33 +00:00
Evan Cheng
3af3f8e696 These got better.
llvm-svn: 35661
2007-04-04 07:41:15 +00:00
Evan Cheng
5bd266a791 New asm test case.
llvm-svn: 35641
2007-04-04 00:15:17 +00:00
Evan Cheng
8a281b1e57 New test case.
llvm-svn: 35636
2007-04-03 23:40:54 +00:00
Evan Cheng
f9da057ef8 New test case.
llvm-svn: 35628
2007-04-03 21:38:03 +00:00
Chris Lattner
caf2381689 new testcase, where we should use a negative stride
llvm-svn: 35608
2007-04-03 00:13:16 +00:00
Evan Cheng
b114ed90de New test case.
llvm-svn: 35599
2007-04-02 18:47:13 +00:00
Chris Lattner
c597fc9196 new testcase.
llvm-svn: 35591
2007-04-02 06:33:10 +00:00
Lauro Ramos Venancio
7e21418680 - Divides the comparisons in two types: comparisons that only use N and Z
flags (ARMISD::CMPNZ) and comparisons that use all flags (ARMISD::CMP).
- Defines the instructions: TST, TEQ (ARM) and TST (Thumb).

llvm-svn: 35573
2007-04-02 01:30:03 +00:00
Evan Cheng
aca424091b Missing '&&'
llvm-svn: 35519
2007-03-30 22:03:49 +00:00
Evan Cheng
5e161b7fb5 Test case for PR1279 (part 2).
llvm-svn: 35511
2007-03-30 20:15:22 +00:00
Reid Spencer
50ee6b8557 Remove use of implementation keyword.
llvm-svn: 35412
2007-03-28 02:38:26 +00:00
Evan Cheng
7fc3f900a2 Added a test case for PR1279.
llvm-svn: 35398
2007-03-28 01:32:57 +00:00
Evan Cheng
ce2097be73 Test case for PR1266.
llvm-svn: 35367
2007-03-26 22:58:35 +00:00
Evan Cheng
9992bbc5a0 Another test case.
llvm-svn: 35255
2007-03-22 01:55:16 +00:00
Evan Cheng
1a651088b1 Test case for PR1257
llvm-svn: 35253
2007-03-22 01:52:57 +00:00
Evan Cheng
ecfd152e0d New test case.
llvm-svn: 35240
2007-03-21 20:14:56 +00:00
Lauro Ramos Venancio
11d7d3fcaf bugfix: When the source register of CALL_NOLINK was LR, the following code was emitted:
mov lr, pc
    bx lr
So, the function was not called.

llvm-svn: 35218
2007-03-20 17:57:23 +00:00
Reid Spencer
c124adcc12 For PR1258:
Revise numeric value references to accommodate collapsed type planes.

llvm-svn: 35170
2007-03-19 18:27:35 +00:00
Evan Cheng
283468b827 GEP index sink test case.
llvm-svn: 35131
2007-03-17 03:18:32 +00:00
Evan Cheng
1464c63d5d ARM isel should match ldr x +/- x * (2^n) to ldr [x, +/- x, lsl #log2(n)].
llvm-svn: 35114
2007-03-14 23:26:40 +00:00
Evan Cheng
0fe7224a46 New test.
llvm-svn: 35091
2007-03-13 23:31:47 +00:00
Evan Cheng
8685e7d770 Test inline asm modifier 'c'.
llvm-svn: 35036
2007-03-08 22:45:31 +00:00
Evan Cheng
511c8f6a24 Fix test case.
llvm-svn: 35029
2007-03-08 19:27:32 +00:00
Evan Cheng
5196ecbf5c New test case.
llvm-svn: 35006
2007-03-07 08:12:39 +00:00
Evan Cheng
7dccc59e5b New test case.
llvm-svn: 34991
2007-03-07 00:13:48 +00:00
Lauro Ramos Venancio
3f855f6a54 Use init_array/fini_array sections for static contructors/destructors when the ABI is AAPCS.
Fix SingleSource/Regression/C/ConstructorDestructorAttributes test on arm-linux-gnueabi.

llvm-svn: 34931
2007-03-05 17:59:58 +00:00
Evan Cheng
f9a8f61e1b Fix test case.
llvm-svn: 34710
2007-02-28 00:36:33 +00:00
Lauro Ramos Venancio
19040a3f0d bugfix: SP wasn't updated for varargs when frame pointer was eliminated.
llvm-svn: 34537
2007-02-23 21:53:48 +00:00
Lauro Ramos Venancio
7c2f17b629 Fix stack alignment in functions with varargs.
llvm-svn: 34532
2007-02-23 20:32:57 +00:00
Evan Cheng
5d49a6be02 -march=arm -enable-thumb => -march=thumb
llvm-svn: 34522
2007-02-23 03:15:39 +00:00
Lauro Ramos Venancio
ff9f78e230 Add ABI information to ARM subtarget.
llvm-svn: 34245
2007-02-13 19:52:28 +00:00
Lauro Ramos Venancio
02ba8f20e3 According to ARM EABI, 8-bytes function arguments must be 8-bytes aligned.
llvm-svn: 34241
2007-02-13 14:07:13 +00:00
Evan Cheng
4b13f9f031 i64 setcc tests.
llvm-svn: 34067
2007-02-08 22:27:55 +00:00
Evan Cheng
5f5823c641 New test case.
llvm-svn: 34001
2007-02-07 09:24:03 +00:00
Evan Cheng
2bdfbce9ea Add a DYNAMIC_STACKALLOC test case.
llvm-svn: 33959
2007-02-06 07:18:27 +00:00
Lauro Ramos Venancio
45504fb6b4 Fix unord test.
llvm-svn: 33910
2007-02-05 16:33:56 +00:00
Evan Cheng
8001366326 Add a test case.
llvm-svn: 33833
2007-02-03 09:14:10 +00:00
Evan Cheng
accef1b6a3 __builtin_isunordered test case.
llvm-svn: 33808
2007-02-03 00:50:45 +00:00
Lauro Ramos Venancio
64b7f3e640 Improves alloca test. Verifies SP restoration.
llvm-svn: 33802
2007-02-03 00:16:21 +00:00
Reid Spencer
591bfa1e0b Changes to support making the shift instructions be true BinaryOperators.
This feature is needed in order to support shifts of more than 255 bits
on large integer types.  This changes the syntax for llvm assembly to
make shl, ashr and lshr instructions look like a binary operator:
   shl i32 %X, 1
instead of
   shl i32 %X, i8 1
Additionally, this should help a few passes perform additional optimizations.

llvm-svn: 33776
2007-02-02 02:16:23 +00:00
Reid Spencer
1f769ed900 My mistake, my environment wasn't up to date. This passes now.
llvm-svn: 33769
2007-02-01 22:26:42 +00:00
Reid Spencer
b47ac467a6 XFAIL this on x86 linux as it continues to fail.
llvm-svn: 33768
2007-02-01 22:10:46 +00:00
Evan Cheng
a5c5daf15d Add a test case.
llvm-svn: 33742
2007-02-01 02:27:24 +00:00
Evan Cheng
e9701dce51 Added a thumb vararg test.
llvm-svn: 33740
2007-02-01 01:56:43 +00:00
Evan Cheng
b689aef6e2 Fix test case.
llvm-svn: 33730
2007-01-31 23:51:35 +00:00
Evan Cheng
5b168e6bc2 Fix test cases.
llvm-svn: 33725
2007-01-31 22:27:07 +00:00
Lauro Ramos Venancio
e22bc8635e ARM fix: Miscompilation when frame pointer can't be eliminated. Uninitialized frame pointer register is used.
llvm-svn: 33703
2007-01-31 13:12:46 +00:00
Evan Cheng
b671880197 Combine two tests.
llvm-svn: 33668
2007-01-30 23:06:22 +00:00
Reid Spencer
82293f34de For PR411:
Update these tests to not use the same name even though the type of the
value differs. After PR411 hits, type planes will be gone and it will be
illegal for a name to be used twice, regardless of type.

llvm-svn: 33660
2007-01-30 16:16:01 +00:00
Evan Cheng
228c786e28 Add / merge tests.
llvm-svn: 33654
2007-01-30 03:06:19 +00:00
Evan Cheng
bd325bdcd2 Thumb tests.
llvm-svn: 33561
2007-01-27 00:05:14 +00:00
Evan Cheng
ffed2abf43 Merge tests.
llvm-svn: 33560
2007-01-27 00:04:57 +00:00
Reid Spencer
6a31ec1259 For PR761:
Remove "target endian/pointersize" or add "target datalayout" to make
the test parse properly or set the datalayout because defaults changes.

For PR645:
Make global names use the @ prefix.

For llvm-upgrade changes:
Fix test cases or completely remove use of llvm-upgrade for test cases
that cannot survive the new renaming or upgrade capabilities.

llvm-svn: 33533
2007-01-26 08:25:06 +00:00
Lauro Ramos Venancio
696a1c1143 fix fcopysign test
llvm-svn: 33503
2007-01-25 22:11:02 +00:00
Evan Cheng
2c3d4a0cd3 Added some load from stack frames test cases.
llvm-svn: 33473
2007-01-24 02:27:03 +00:00
Evan Cheng
242a527390 Thumb test cases.
llvm-svn: 33471
2007-01-23 23:28:50 +00:00
Evan Cheng
536af6b123 Thumb test cases.
llvm-svn: 33468
2007-01-23 22:47:58 +00:00
Evan Cheng
9dc8803378 Make it work for both Linux and Mac OS.
llvm-svn: 33451
2007-01-22 23:18:10 +00:00
Evan Cheng
464315647f Pasto
llvm-svn: 33444
2007-01-22 23:01:22 +00:00
Evan Cheng
fd911b3b10 Fix test case.
llvm-svn: 33432
2007-01-22 18:57:39 +00:00
Evan Cheng
bf113a03b7 Add test case extracted from lencod. Spiller was infinite looping in GetRegForReload().
llvm-svn: 33383
2007-01-19 22:43:14 +00:00
Evan Cheng
1897bbd2cf ARM test cases contributed by Apple.
llvm-svn: 33354
2007-01-19 09:20:23 +00:00
Reid Spencer
4572ce85b0 Regression is gone, don't try to find it on clean target.
llvm-svn: 33296
2007-01-17 07:59:14 +00:00