Reid Spencer
4e76c3a482
For PR411:
...
Don't re-use var names.
llvm-svn: 33899
2007-02-05 04:00:04 +00:00
Chris Lattner
0132cdda10
new testcase for 1174, currently xfailed
...
llvm-svn: 33898
2007-02-05 03:56:59 +00:00
Anton Korobeynikov
d282d49e78
Test for PR1173
...
llvm-svn: 33895
2007-02-05 02:28:56 +00:00
Chris Lattner
044e099765
fix bug number
...
llvm-svn: 33894
2007-02-05 02:26:07 +00:00
Chris Lattner
7936b6585c
test for pr1173
...
llvm-svn: 33893
2007-02-05 02:19:09 +00:00
Chris Lattner
c5fd530aaf
testcase for PR1175
...
llvm-svn: 33891
2007-02-04 23:55:04 +00:00
Chris Lattner
03503b5e31
new testcase for x86 backend miscompilation
...
llvm-svn: 33883
2007-02-04 20:15:15 +00:00
Reid Spencer
cb4d3f2902
Prepare for PR411
...
llvm-svn: 33865
2007-02-04 02:11:13 +00:00
Reid Spencer
8de97bba5a
For PR1072:
...
Removing -raise has neglible positive or negative side effects so we are
opting to remove it. See the PR for comparison details.
llvm-svn: 33844
2007-02-03 23:15:56 +00:00
Evan Cheng
9d851fca1e
Add a test case.
...
llvm-svn: 33833
2007-02-03 09:14:10 +00:00
Evan Cheng
bcc6db26e1
__builtin_isunordered test case.
...
llvm-svn: 33808
2007-02-03 00:50:45 +00:00
Lauro Ramos Venancio
1a0ae50528
Improves alloca test. Verifies SP restoration.
...
llvm-svn: 33802
2007-02-03 00:16:21 +00:00
Reid Spencer
2341c22ec7
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
Chris Lattner
9a677c585c
new testcase for serious code pessimization
...
llvm-svn: 33770
2007-02-01 22:29:26 +00:00
Reid Spencer
26cc265311
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
a5dc052682
XFAIL this on x86 linux as it continues to fail.
...
llvm-svn: 33768
2007-02-01 22:10:46 +00:00
Reid Spencer
a8ee496f9e
Make sure the value passed to test function is initialized.
...
llvm-svn: 33764
2007-02-01 21:58:46 +00:00
Evan Cheng
210cbc43a8
Add a test case.
...
llvm-svn: 33742
2007-02-01 02:27:24 +00:00
Evan Cheng
c79b96b00d
Added a thumb vararg test.
...
llvm-svn: 33740
2007-02-01 01:56:43 +00:00
Chris Lattner
667ff4832e
new testcase
...
llvm-svn: 33731
2007-02-01 00:38:56 +00:00
Evan Cheng
b7a08adae6
Fix test case.
...
llvm-svn: 33730
2007-01-31 23:51:35 +00:00
Evan Cheng
53ac41cd54
Fix test cases.
...
llvm-svn: 33725
2007-01-31 22:27:07 +00:00
Lauro Ramos Venancio
7ae4f5599e
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
421fdb2a7e
Combine two tests.
...
llvm-svn: 33668
2007-01-30 23:06:22 +00:00
Reid Spencer
af6a408117
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
Reid Spencer
6f880918d0
Add a gxxcmd variable for the g++ command line used to build llvm.
...
llvm-svn: 33659
2007-01-30 16:06:55 +00:00
Reid Spencer
6ebc06f702
Make the input legal.
...
llvm-svn: 33655
2007-01-30 06:32:25 +00:00
Evan Cheng
fcb9b8b0b7
Add / merge tests.
...
llvm-svn: 33654
2007-01-30 03:06:19 +00:00
Chris Lattner
6acab41ede
test that the 'ir' constraint works.
...
llvm-svn: 33646
2007-01-29 23:55:20 +00:00
Chris Lattner
9699e54088
new testcase
...
llvm-svn: 33642
2007-01-29 23:45:03 +00:00
Reid Spencer
ccef5a35bf
Update this test case to look for sret parameter attribute not csret cc.
...
llvm-svn: 33613
2007-01-29 05:40:02 +00:00
Reid Spencer
4be2853bfb
Test case for PR1137. This makes sure that we don't get erroneous
...
"redefinition" errors that cause the upgrade to fail.
llvm-svn: 33593
2007-01-28 00:45:28 +00:00
Chris Lattner
d50698107e
Testcase for an instcombine miscompilation reduced by Anton.
...
llvm-svn: 33590
2007-01-27 23:07:12 +00:00
Reid Spencer
f422607990
Use -f option so test is repeatable.
...
llvm-svn: 33589
2007-01-27 21:10:35 +00:00
Reid Spencer
5dd5d4b09e
Add a test case for PR411.
...
llvm-svn: 33588
2007-01-27 21:09:03 +00:00
Reid Spencer
e1e8a58cd3
Make this really do nothing.
...
llvm-svn: 33587
2007-01-27 21:08:29 +00:00
Chris Lattner
a8026568b5
add an explanatory comment.
...
llvm-svn: 33565
2007-01-27 00:23:45 +00:00
Reid Spencer
514399daf1
Apparently the last commit is wrong. Reverted.
...
llvm-svn: 33564
2007-01-27 00:21:01 +00:00
Reid Spencer
5274612e1a
Remove a double negative.
...
llvm-svn: 33563
2007-01-27 00:16:07 +00:00
Evan Cheng
9f82ccb01f
Thumb tests.
...
llvm-svn: 33561
2007-01-27 00:05:14 +00:00
Evan Cheng
df446c6f72
Merge tests.
...
llvm-svn: 33560
2007-01-27 00:04:57 +00:00
Reid Spencer
23f1272d37
For PR1122:
...
Test the upgradability of nested type definitions.
llvm-svn: 33534
2007-01-26 08:44:14 +00:00
Reid Spencer
ce380568b5
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
Evan Cheng
b03e9118be
Fix test case.
...
llvm-svn: 33507
2007-01-25 22:28:32 +00:00
Lauro Ramos Venancio
b5c595c568
fix fcopysign test
...
llvm-svn: 33503
2007-01-25 22:11:02 +00:00
Chris Lattner
789ba302cc
new testcase
...
llvm-svn: 33493
2007-01-25 02:52:33 +00:00
Evan Cheng
dda311a784
Added some load from stack frames test cases.
...
llvm-svn: 33473
2007-01-24 02:27:03 +00:00
Evan Cheng
029a72b9fa
Thumb test cases.
...
llvm-svn: 33471
2007-01-23 23:28:50 +00:00
Evan Cheng
36b74471c8
Thumb test cases.
...
llvm-svn: 33468
2007-01-23 22:47:58 +00:00
Evan Cheng
c42dd6a5e4
Fix test case.
...
llvm-svn: 33464
2007-01-23 17:49:33 +00:00
Evan Cheng
76231aad45
Make it work for both Linux and Mac OS.
...
llvm-svn: 33451
2007-01-22 23:18:10 +00:00
Evan Cheng
136cf76a27
Pasto
...
llvm-svn: 33444
2007-01-22 23:01:22 +00:00
Evan Cheng
527faab942
Fix test case.
...
llvm-svn: 33432
2007-01-22 18:57:39 +00:00
Chris Lattner
16e255834d
new testcase
...
llvm-svn: 33416
2007-01-21 00:56:42 +00:00
Reid Spencer
19531ac014
Try a negative number with ashr.
...
llvm-svn: 33404
2007-01-20 20:30:13 +00:00
Owen Anderson
c709e5ee15
Fix incorrect run line.
...
llvm-svn: 33395
2007-01-20 08:48:05 +00:00
Reid Spencer
50a8df7342
Add a test case for sext bug that Leo found.
...
llvm-svn: 33393
2007-01-20 08:31:45 +00:00
Evan Cheng
fec133d2d1
Add test case extracted from lencod. Spiller was infinite looping in GetRegForReload().
...
llvm-svn: 33383
2007-01-19 22:43:14 +00:00
Reid Spencer
eaedf70eea
Make this test actually test what its supposed to test.
...
llvm-svn: 33369
2007-01-19 21:06:38 +00:00
Zhou Sheng
ee187be5ca
Cover non-byte-width BATs situation.
...
llvm-svn: 33356
2007-01-19 14:30:59 +00:00
Zhou Sheng
a335d27e2b
Cover more arithmetics for arbitrary bitwidth integers.
...
llvm-svn: 33355
2007-01-19 14:26:57 +00:00
Evan Cheng
a5007faaa6
ARM test cases contributed by Apple.
...
llvm-svn: 33354
2007-01-19 09:20:23 +00:00
Zhou Sheng
fb51713cef
Add one test case for Arbitrary BitWidth Integers.
...
llvm-svn: 33348
2007-01-19 01:35:08 +00:00
Chris Lattner
c8dc67c2da
remove an execution test from llvm/test
...
llvm-svn: 33344
2007-01-18 22:24:04 +00:00
Chris Lattner
bb4e2a547f
new testcase that causes instcombine to infinitely loop
...
llvm-svn: 33342
2007-01-18 22:16:03 +00:00
Reid Spencer
062a3b8241
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.
llvm-svn: 33312
2007-01-17 23:20:43 +00:00
Anton Korobeynikov
3f6d52834b
* 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.
llvm-svn: 33299
2007-01-17 10:33:08 +00:00
Reid Spencer
7629b78c50
The Regression directory is now gone.
...
llvm-svn: 33297
2007-01-17 08:01:13 +00:00
Reid Spencer
83b3d82672
Regression is gone, don't try to find it on clean target.
...
llvm-svn: 33296
2007-01-17 07:59:14 +00:00
Reid Spencer
48e0c338ca
Test cases for PR1117.
...
llvm-svn: 33281
2007-01-17 02:45:19 +00:00
Reid Spencer
0fa0670b8b
Ignore the output directory.
...
llvm-svn: 33275
2007-01-17 01:48:42 +00:00
Reid Spencer
4eac5b315d
Fix test cases. Patch by Guoling Han.
...
llvm-svn: 33272
2007-01-16 22:31:46 +00:00
Reid Spencer
a3facd734a
Remove this test case. LLVM doesn't currently support comparison of packed.
...
llvm-svn: 33271
2007-01-16 21:58:58 +00:00
Reid Spencer
8c87f124dc
Add a test case for bit accurate integer types in llvm-gcc. This is
...
XFAILed for now until llvm-gcc changes are committed.
llvm-svn: 33261
2007-01-16 18:40:08 +00:00
Reid Spencer
50006ba566
New test cases for bit accurate integers developed by Guoling Han.
...
llvm-svn: 33259
2007-01-16 18:08:22 +00:00
Chris Lattner
1249d41950
testcase for PR918
...
llvm-svn: 33253
2007-01-16 07:21:28 +00:00
Chris Lattner
68a980b674
new testcase for PR1114
...
llvm-svn: 33250
2007-01-16 05:58:50 +00:00
Bill Wendling
841d20cd16
Added a -mtriple flag to force darwin backend.
...
llvm-svn: 33248
2007-01-16 04:15:20 +00:00
Bill Wendling
e21237e59a
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.
llvm-svn: 33246
2007-01-16 03:42:04 +00:00
Chris Lattner
388f649203
test darwin too! :)
...
llvm-svn: 33241
2007-01-15 18:32:24 +00:00
Chris Lattner
aed9f046f3
new testcase
...
llvm-svn: 33233
2007-01-15 07:29:29 +00:00
Chris Lattner
8938a7c930
add a simple case where instcombine can detect and remove a dead alloca
...
llvm-svn: 33230
2007-01-15 06:51:25 +00:00
Chris Lattner
2a84487895
ensure these don't xpass if opt crashes
...
llvm-svn: 33215
2007-01-15 01:04:21 +00:00
Chris Lattner
0abf4ed41e
new testcase
...
llvm-svn: 33206
2007-01-14 19:40:48 +00:00
Chris Lattner
be388d791a
verify that hidden visibility support never goes away
...
llvm-svn: 33205
2007-01-14 18:57:37 +00:00
Chris Lattner
838458a783
testcase for pr1110
...
llvm-svn: 33203
2007-01-14 18:33:11 +00:00
Chris Lattner
7a0e0ce2c4
testcase for pr1109
...
llvm-svn: 33194
2007-01-14 05:56:45 +00:00
Chris Lattner
0a57468829
new testcase for pr1101
...
llvm-svn: 33192
2007-01-14 01:23:43 +00:00
Chris Lattner
79500e62d9
new testcase for pr1103
...
llvm-svn: 33188
2007-01-14 00:12:50 +00:00
Chris Lattner
ded827dd27
testcase reduced from pr1107
...
llvm-svn: 33186
2007-01-13 23:11:45 +00:00
Reid Spencer
985e52f7c6
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.
llvm-svn: 33183
2007-01-13 05:06:52 +00:00
Reid Spencer
161ad399d4
Can't grep for bool any more.
...
llvm-svn: 33178
2007-01-13 04:36:22 +00:00
Chris Lattner
ae3b372318
Remove this obsolete test. The CBE will never be able to handle zero argument
...
vararg functions.
llvm-svn: 33174
2007-01-13 00:40:40 +00:00
Reid Spencer
13958b3a3c
Whoops. Give this test some input. Doubly important since its XFAIL.
...
llvm-svn: 33173
2007-01-13 00:28:36 +00:00
Reid Spencer
1f9188e6d3
This is not an upgrade candidate any more.
...
llvm-svn: 33170
2007-01-13 00:19:13 +00:00
Reid Spencer
1da3a4fca3
Test case for PR1093 for llvm.va_* intrinsics upgrade.
...
llvm-svn: 33162
2007-01-13 00:00:43 +00:00
Chris Lattner
234fa71793
update this to work with recent asmprinter change
...
llvm-svn: 33143
2007-01-12 21:16:56 +00:00
Lauro Ramos Venancio
901d9e65f6
Don't add or sub zero to sp.
...
llvm-svn: 33142
2007-01-12 20:52:27 +00:00
Lauro Ramos Venancio
c4235e5521
Build constants using instructions mov/orr or mvn/eor.
...
llvm-svn: 33141
2007-01-12 20:35:49 +00:00
Anton Korobeynikov
a0554d90e8
* PIC codegen for X86/Linux has been implemented
...
* PIC-aware internal structures in X86 Codegen have been refactored
* Visibility (default/weak) has been added
* Docs fixes (external weak linkage, visibility, formatting)
llvm-svn: 33136
2007-01-12 19:20:47 +00:00
Nick Lewycky
2fc338f923
New predicate simplifier!
...
Please do not enable, there is still some known miscompile problem.
llvm-svn: 33066
2007-01-11 02:32:38 +00:00
Reid Spencer
d3ee816c17
Test case for PR1099.
...
llvm-svn: 33033
2007-01-09 06:25:15 +00:00
Chris Lattner
1b1bb222bd
Add PR number for future reference
...
llvm-svn: 33031
2007-01-09 00:31:52 +00:00
Evan Cheng
232e751988
Fix test case.
...
llvm-svn: 33030
2007-01-09 00:09:34 +00:00
Reid Spencer
a2d9adfa9a
PR1085 is fixed now.
...
llvm-svn: 33029
2007-01-09 00:05:55 +00:00
Evan Cheng
be68c65cf3
Added a test case from PR1075.
...
llvm-svn: 33028
2007-01-08 23:58:27 +00:00
Evan Cheng
0daf445878
Undo xfail now scheduler deficiency has been fixed.
...
llvm-svn: 33027
2007-01-08 23:57:40 +00:00
Chris Lattner
8b574a767e
new testcase
...
llvm-svn: 33023
2007-01-08 23:03:19 +00:00
Reid Spencer
7b6fb56ec0
XFAIL this test until PR1085 mystery is resolved.
...
llvm-svn: 33019
2007-01-08 19:38:58 +00:00
Andrew Lenharth
25ac8676ca
Packed structs use packed struct initializers
...
llvm-svn: 33014
2007-01-08 18:15:35 +00:00
Chris Lattner
6bff61da4f
testcase for PR1097
...
llvm-svn: 33013
2007-01-08 17:52:29 +00:00
Reid Spencer
4ef2c1c705
llvm.isunordered.* are gone.
...
llvm-svn: 33002
2007-01-07 23:30:23 +00:00
Reid Spencer
968a5290f3
Redefinition of functions is no longer permitted.
...
llvm-svn: 33000
2007-01-07 19:33:49 +00:00
Reid Spencer
96b3ffe309
Add a test case for PR1086
...
llvm-svn: 32977
2007-01-07 03:27:39 +00:00
Chris Lattner
783c1c47a5
Simplify the testcase
...
llvm-svn: 32975
2007-01-07 02:28:52 +00:00
Chris Lattner
a4c150b69e
Testcase for PR1015
...
llvm-svn: 32973
2007-01-07 02:24:10 +00:00
Chris Lattner
f6e91576dc
Testcase for PR1085
...
llvm-svn: 32968
2007-01-07 00:32:15 +00:00
Chris Lattner
6a10713fea
New testcase for PR1084
...
llvm-svn: 32967
2007-01-07 00:02:20 +00:00
Chris Lattner
5967600442
testcase for pr1083
...
llvm-svn: 32964
2007-01-06 23:38:37 +00:00
Chris Lattner
67a1ef647a
this testcase is too large to be useful, and requires a .bc file to be
...
kept around. We can do without it.
llvm-svn: 32960
2007-01-06 22:02:26 +00:00
Reid Spencer
aeeeaea5a3
Regenerate for new bytecode file format.
...
llvm-svn: 32957
2007-01-06 07:28:52 +00:00
Reid Spencer
ba19a40e8c
Accomodate new name manglinge done by llvm-upgrade
...
llvm-svn: 32954
2007-01-06 06:04:04 +00:00
Reid Spencer
5f678a48ff
Currently, there is no fix for this.
...
llvm-svn: 32952
2007-01-06 05:16:27 +00:00
Reid Spencer
d0842cdeca
Test case for PR1082, an llvm-upgrade bug.
...
llvm-svn: 32951
2007-01-06 05:15:27 +00:00
Reid Spencer
b82bb9b903
Test Case for PR1080.
...
llvm-svn: 32943
2007-01-06 00:22:38 +00:00
Evan Cheng
97cbd70494
Update test case.
...
llvm-svn: 32936
2007-01-05 21:53:15 +00:00
Reid Spencer
f7d59e282d
For PR1077:
...
Remove the XFAIL now that global redefinitions are not permitted.
llvm-svn: 32935
2007-01-05 21:51:57 +00:00
Reid Spencer
d35f7d9240
This test case needs parameter attributes, manually upgrade and don't
...
run llvm-upgrade.
llvm-svn: 32926
2007-01-05 18:38:33 +00:00
Reid Spencer
ad3398ce7d
Global variables are not renamed by llvm-upgrade any more.
...
llvm-svn: 32925
2007-01-05 18:37:18 +00:00
Reid Spencer
b4d32e8bcd
Update for change in parameter attribute syntax.
...
llvm-svn: 32924
2007-01-05 18:35:52 +00:00
Reid Spencer
adabc4b5b8
Update for change in parameter attributes syntax.
...
llvm-svn: 32923
2007-01-05 18:34:20 +00:00
Reid Spencer
f72ca86125
Wrap long RUN: line.
...
llvm-svn: 32922
2007-01-05 18:33:43 +00:00
Reid Spencer
a3188cfe06
Globals are not renamed any more.
...
llvm-svn: 32921
2007-01-05 18:33:16 +00:00
Reid Spencer
c82fade7b2
This test case needs zext and sext attributes so manually upgrade it and
...
don't run llvm-upgrade.
llvm-svn: 32920
2007-01-05 18:31:56 +00:00
Reid Spencer
1cc9bbd5a3
Changes to parameter attribute syntax.
...
llvm-svn: 32919
2007-01-05 17:41:34 +00:00
Reid Spencer
791fbf64fc
Changes to parameter attributes syntax.
...
llvm-svn: 32918
2007-01-05 17:40:40 +00:00
Reid Spencer
629aff553a
Globals are not being renamed any more.
...
llvm-svn: 32917
2007-01-05 17:39:54 +00:00
Reid Spencer
ba1ad0236a
This test case has been translated to 2.0 assembly so don't run
...
llvm-upgrade on it.
llvm-svn: 32916
2007-01-05 17:39:07 +00:00
Reid Spencer
ec18a463d7
Fix this to check for the correct error message.
...
llvm-svn: 32915
2007-01-05 17:37:59 +00:00
Reid Spencer
ab9842ea8b
This tests for something that will become illegal soon. The test/Feature
...
suite has a test for renaming of global variables.
llvm-svn: 32914
2007-01-05 17:36:59 +00:00
Reid Spencer
c01fe62caa
Beef up this test case a little by introducing a global variable name
...
conflict after upgrade resulting from collapsed type planes. The test now
checks to make sure llvm-upgrade produces appropriate warning messages.
llvm-svn: 32913
2007-01-05 17:35:05 +00:00
Reid Spencer
0ea405d0eb
Make this test that we can drop the implementation keyword for llvm-as.
...
llvm-upgrade is irrelevant for this test case.
llvm-svn: 32912
2007-01-05 17:29:41 +00:00
Reid Spencer
6acdd1973d
Fix the test case for the change in parameter attribute syntax. The @ is
...
no longer needed and the @(...) syntax has been dropped in favor of a
simple space separated list of attribute names.
llvm-svn: 32911
2007-01-05 17:26:04 +00:00
Reid Spencer
6bcc22ce57
For PR1077:
...
Split this test case into three cases. globalredefinition.ll just tests
that a global can be forward referenced. globalredefinition2.ll tests
that llvm-upgrade will warn about renaming duplicate global variables.
globalredefinition3.ll tests that llvm-as will generate an error on
duplicate global variables. This last test is currently XFAIL because
the restriction is not implemented yet.
llvm-svn: 32910
2007-01-05 17:25:12 +00:00
Reid Spencer
fc899e6f74
For PR1077:
...
Global variable definitions with the same name and same type are no longer
valid so don't attempt to test for this "feature".
llvm-svn: 32909
2007-01-05 17:22:13 +00:00
Reid Spencer
edd3ad549a
Give the assembler some input.
...
llvm-svn: 32903
2007-01-05 16:45:06 +00:00
Evan Cheng
e8345f2445
Add a test case for SSE fcopysign using SSE bitwise operations.
...
llvm-svn: 32901
2007-01-05 08:12:59 +00:00
Chris Lattner
e4f7c5cf35
new test
...
llvm-svn: 32898
2007-01-05 07:35:24 +00:00
Chris Lattner
dc1e33ace7
manually upgrade this testcase
...
llvm-svn: 32897
2007-01-05 07:34:41 +00:00
Chris Lattner
130fff0d03
new testcase
...
llvm-svn: 32892
2007-01-05 03:03:51 +00:00
Chris Lattner
54ea1ec249
llvm upgrade doesn't accept 'define'
...
llvm-svn: 32891
2007-01-05 03:03:27 +00:00
Chris Lattner
ce0f91ebd6
new testcase
...
llvm-svn: 32889
2007-01-05 02:16:36 +00:00
Chris Lattner
a0e341f429
add missing flags
...
llvm-svn: 32885
2007-01-04 23:18:14 +00:00
Chris Lattner
447a9dd56e
new testcase
...
llvm-svn: 32883
2007-01-04 22:22:07 +00:00
Chris Lattner
354a911b90
remove xfailed test that depends on obsolete argument to lli
...
llvm-svn: 32876
2007-01-04 17:47:42 +00:00
Reid Spencer
2c3d9e64b7
Remove a manual renaming of a variable that was introduced before
...
llvm-upgrade could properly handle collapsed type planes.
llvm-svn: 32875
2007-01-04 16:46:46 +00:00
Lauro Ramos Venancio
4464d208de
Add test for constructor and destructor sections.
...
llvm-svn: 32873
2007-01-04 14:41:33 +00:00
Lauro Ramos Venancio
697f86bbe3
Add extload(i1) test.
...
llvm-svn: 32872
2007-01-04 14:27:21 +00:00
Lauro Ramos Venancio
8c45da0664
Add test for FCOPYSIGN.
...
llvm-svn: 32871
2007-01-04 14:24:32 +00:00
Reid Spencer
1434f95410
XFAIL this test until such time that code gen can handle a comparison of
...
packed types.
llvm-svn: 32863
2007-01-04 03:06:23 +00:00
Reid Spencer
836567a9d8
Add a test to ensure that we can assembly comparisons of packed values.
...
llvm-svn: 32854
2007-01-04 00:29:09 +00:00
Reid Spencer
6fb16b1bce
Test @zext and @sext fully as well as testing the "short" call syntax.
...
llvm-svn: 32851
2007-01-04 00:03:37 +00:00
Reid Spencer
724ffc6cd0
Add a test case to test parameter attributes feature.
...
llvm-svn: 32850
2007-01-03 23:54:02 +00:00
Reid Spencer
db879b6013
Update test cases that grepped for register names that have now changed
...
as a result of llvm-upgrade handling collapsed type planes better.
llvm-svn: 32849
2007-01-03 23:47:29 +00:00
Reid Spencer
95c466a52b
It is no longer permissible to have undefined types in function parameters.
...
Just fix it by defining the type as opaque.
llvm-svn: 32838
2007-01-03 17:03:48 +00:00
Reid Spencer
98fd5eb48c
Fix this test case. It is no longer permissible to have undefined types
...
in function parameters. Fix by just defining the type as opaque.
llvm-svn: 32837
2007-01-03 17:01:18 +00:00
Reid Spencer
a6fda18b13
Fix this test cases to use parameter attributes for its parameter and
...
result types. These tests are checking for sext behavior and it won't
happen unless requested with the parameter attribute.
llvm-svn: 32828
2007-01-03 04:20:23 +00:00
Reid Spencer
ab2fccd9eb
This test case previously passed the assembler without error even though
...
it used an undefined type name as a parameter argument. This bug in the
assembler has been fixed and it is now necessary to define the type.
llvm-svn: 32826
2007-01-02 21:56:26 +00:00
Reid Spencer
42a1cb7c0c
Add a test case for abstract parameter and result types in function
...
definitions. The assembler should produce an error on this input.
llvm-svn: 32819
2007-01-02 20:47:51 +00:00
Jim Laskey
a131cf78ad
PR1068 - Unbounded array debug info.
...
llvm-svn: 32818
2007-01-02 11:53:52 +00:00
Reid Spencer
e9da1b0ae0
For PR1070:
...
Tweak the RUN: lines of these tests to accommodate the renaming of
variables done by llvm-upgrade. The renaming occurs as a result of avoiding
name collisons for collapsed type planes. Conflicting names have a .u
(unsigned) or .s (signed) suffix added. This patch updates the grep
expression to accommodate the new names.
llvm-svn: 32815
2007-01-02 05:55:05 +00:00
Reid Spencer
9f7ab3a3cd
For PR1070:
...
Revert previous patch now that llvm-upgrade can handle collapsed type
plane conversion properly.
llvm-svn: 32814
2007-01-02 05:53:06 +00:00
Reid Spencer
5b353d3116
Manually upgrade this test case to make sure that the new cast-to-bool
...
semantics are retained.
llvm-svn: 32813
2007-01-02 05:50:11 +00:00
Reid Spencer
f8e060f589
For PR1070:
...
Add a test case to ensure that llvm-upgrade retains correct semantics
for the previous definition of "cast to bool" which compared against null.
llvm-svn: 32812
2007-01-02 05:48:32 +00:00
Reid Spencer
51397401ba
Reverse last patch, committed by accident.
...
llvm-svn: 32809
2007-01-02 04:30:40 +00:00
Reid Spencer
8218de2f01
Fix this test case to be legal. There is no ubyte %tmp ever defined!
...
llvm-svn: 32808
2007-01-02 04:19:32 +00:00
Reid Spencer
7b25bf07af
Back out last revision now that llvm-upgrade can remove useless bitcasts.
...
This serves as a test of that feature.
llvm-svn: 32806
2007-01-01 01:22:53 +00:00
Rafael Espindola
fd68718467
implement missing compares
...
patch by Lauro
bug fixed by me
llvm-svn: 32795
2006-12-31 18:52:39 +00:00
Reid Spencer
deb4d5ab46
For PR950:
...
Update the test suite to accommodate the change from signed integer types
to signless integer types. The changes were of only a few kinds:
1. Make sure llvm-upgrade is run on the source which does the bulk of the
changes automatically.
2. Change things like "grep 'int'" to "grep 'i32'"
3. In several tests bitcasting caused the same name to be reused in the
same type plane. These had to be manually fixed. The fix was (generally)
to leave the bitcast and provide the instruction with a new name. This
should not affect the semantics of the test. In a few cases, the
bitcasts were known to be superfluous and irrelevant to the test case
so they were removed.
4. One test case uses a bytecode file which needed to be updated to the
latest bytecode format.
llvm-svn: 32789
2006-12-31 06:02:00 +00:00
Reid Spencer
399b10a48c
Run llvm-upgrade on test to prepare for new assembly syntax.
...
llvm-svn: 32769
2006-12-29 20:21:51 +00:00
Reid Spencer
640509924e
Update tests that need to be run through llvm-upgrade. This is necessary
...
for upcoming changes to the llvm assembly grammar.
llvm-svn: 32768
2006-12-29 20:01:32 +00:00
Reid Spencer
208099bbee
Test case for PR1065.
...
llvm-svn: 32755
2006-12-23 19:14:10 +00:00
Reid Spencer
266e42b312
For PR950:
...
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.
llvm-svn: 32751
2006-12-23 06:05:41 +00:00
Chris Lattner
70e09a2148
add a generic component to this test
...
llvm-svn: 32747
2006-12-22 22:48:44 +00:00
Chris Lattner
b3fbcbea8f
let this pass for ppc/linux
...
llvm-svn: 32746
2006-12-22 22:38:38 +00:00
Reid Spencer
ba2297ca7c
Integer constants now print out as signed values in the assembly,
...
regardless of the signedness of the associated type.
llvm-svn: 32734
2006-12-21 19:14:49 +00:00
Jim Laskey
39377e4594
These tests all rely on using register mnemonics and thus must behave in the
...
world of darwin.
llvm-svn: 32725
2006-12-21 00:01:42 +00:00
Reid Spencer
21278e9932
Add some tests for negative constants to unsigned and large positive
...
constants to signed.
llvm-svn: 32717
2006-12-20 17:27:58 +00:00
Chris Lattner
aef35566f5
new testcase
...
llvm-svn: 32714
2006-12-20 06:20:23 +00:00
Reid Spencer
38ea551520
Update this test because constant integers are always printed signed now.
...
llvm-svn: 32699
2006-12-19 22:42:17 +00:00
Reid Spencer
1e9d4977b6
For PR950:
...
Test needs to be upgraded for the forthcoming FCmpInst patch.
llvm-svn: 32683
2006-12-19 19:55:17 +00:00
Reid Spencer
98679b56a1
This test needs to be upgraded for the forthcoming FCmpInst patch.
...
llvm-svn: 32682
2006-12-19 19:50:30 +00:00
Reid Spencer
fb5e766bea
This test needs to be upgraded for the FCmpInst patch.
...
llvm-svn: 32677
2006-12-19 19:30:58 +00:00
Reid Spencer
60544284e8
Make sure linker output is overwritten so this test can pass multiple times.
...
llvm-svn: 32675
2006-12-19 19:29:50 +00:00
Chris Lattner
8826afd893
testcase for pr1061
...
llvm-svn: 32674
2006-12-19 19:29:50 +00:00
Reid Spencer
56fd357f5e
Back out last revision, a bit premature, its not an upgrade-only change.
...
llvm-svn: 32670
2006-12-19 02:17:23 +00:00
Reid Spencer
60ea16cd6d
For PR950:
...
Upgrade this test in preparation for the SETCC patch.
llvm-svn: 32669
2006-12-19 02:14:08 +00:00
Reid Spencer
2fff0acab4
For PR950:
...
These tests need to be upgraded in preparation for the SETCC patch.
llvm-svn: 32668
2006-12-19 02:09:20 +00:00
Reid Spencer
fe0cda3de8
This test needs to be upgraded in preparation for the SETCC patch.
...
llvm-svn: 32667
2006-12-19 02:07:11 +00:00
Reid Spencer
c136005f32
This test needs to be upgraded.
...
llvm-svn: 32666
2006-12-19 02:03:04 +00:00
Reid Spencer
0e60d55519
Add a couple little tests for SExt/ZExt of constants of a sign that doesn't
...
match.
llvm-svn: 32647
2006-12-18 01:11:46 +00:00
Chris Lattner
5ffb07839d
testcase for pr1049
...
llvm-svn: 32632
2006-12-16 21:12:49 +00:00
Chris Lattner
cbc280f559
Fix one more broken testcase
...
llvm-svn: 32631
2006-12-16 20:27:43 +00:00
Chris Lattner
a07e363aae
Fix borken testcase
...
llvm-svn: 32627
2006-12-16 02:30:24 +00:00
Chris Lattner
cf1eac3535
fix buggy testcase
...
llvm-svn: 32626
2006-12-16 02:29:22 +00:00
Chris Lattner
cff7b8a9ca
testcases for PR1042
...
llvm-svn: 32625
2006-12-16 02:26:57 +00:00
Andrew Lenharth
54de5be0b4
extern_weak link test
...
llvm-svn: 32602
2006-12-15 17:34:37 +00:00
Chris Lattner
43662ef02b
reenable these
...
llvm-svn: 32596
2006-12-15 07:32:49 +00:00
Chris Lattner
bb39cc4631
New testcase for llvm-gcc bugfix
...
llvm-svn: 32594
2006-12-15 06:49:20 +00:00
Rafael Espindola
3b7544e24c
avoid using a constant table when a constant can be used inline
...
llvm-svn: 32580
2006-12-14 18:58:37 +00:00
Rafael Espindola
09e2921d9a
Avoid creating invalid sub/add instructions on the prolog/epilog
...
patch by Lauro
llvm-svn: 32577
2006-12-14 13:31:27 +00:00
John Criswell
21a589beba
Remove DSA tests.
...
llvm-svn: 32549
2006-12-13 19:39:27 +00:00
John Criswell
62813edc67
Remove DSA tests.
...
llvm-svn: 32547
2006-12-13 18:05:30 +00:00
Chris Lattner
e612d336d9
xfail these until I recommit the scalarrepl patch
...
llvm-svn: 32545
2006-12-13 17:42:40 +00:00
John Criswell
f9e355c7f1
Remove DSA tests.
...
llvm-svn: 32543
2006-12-13 17:02:04 +00:00
Chris Lattner
fc069248f7
New testcase for PR1047
...
llvm-svn: 32528
2006-12-13 04:30:18 +00:00
Rafael Espindola
67d1c8ae0e
more general matching of the MVN instruction
...
llvm-svn: 32484
2006-12-12 17:10:13 +00:00
Rafael Espindola
470d61d82c
don't use "ordinary" addressing mode 1 when mvn is appropriate
...
llvm-svn: 32482
2006-12-12 14:03:29 +00:00
Chris Lattner
f65ce046db
new testcase for pr1045
...
llvm-svn: 32467
2006-12-12 04:24:17 +00:00
Chris Lattner
f929e81d37
This should check for darwin literal sections as well.
...
llvm-svn: 32464
2006-12-12 03:59:46 +00:00
Rafael Espindola
9fa0a26808
use MVN to handle small negative constants
...
llvm-svn: 32459
2006-12-12 01:03:11 +00:00
Reid Spencer
aabebbbf2e
Don't bother upgrading this.
...
llvm-svn: 32458
2006-12-12 00:53:31 +00:00
Rafael Espindola
1bbe581d0f
add mvn
...
llvm-svn: 32454
2006-12-12 00:37:38 +00:00
Reid Spencer
840cc9e1a9
Test case for ensuring correct reading back of cast constant expressions.
...
llvm-svn: 32449
2006-12-11 23:19:53 +00:00
Reid Spencer
0fdba212a7
Add a test for constant folding of bitcast to/from floating point.
...
llvm-svn: 32446
2006-12-11 21:25:10 +00:00
Reid Spencer
025ca90b7a
Provide a test for int<->float and long<->double bitcasts.
...
llvm-svn: 32445
2006-12-11 20:40:28 +00:00
Chris Lattner
2a39f55e24
constant folding of bitcast is broken.
...
llvm-svn: 32437
2006-12-11 18:29:07 +00:00
Chris Lattner
e9c430c5d8
the xform is done by scalarrepl not the code generator.
...
llvm-svn: 32425
2006-12-11 01:03:32 +00:00
Chris Lattner
ac57792106
new testcase
...
llvm-svn: 32421
2006-12-11 00:34:27 +00:00
Chris Lattner
a571d211ae
testcase for a regression introduced by the recent cast patch
...
llvm-svn: 32419
2006-12-11 00:12:07 +00:00
Chris Lattner
a4121981ce
new testcase
...
llvm-svn: 32417
2006-12-10 23:52:28 +00:00
Rafael Espindola
b8ada08b26
.align is in bits
...
.comm is in bytes
:-(
llvm-svn: 32408
2006-12-10 02:53:14 +00:00
Rafael Espindola
b313efb0cd
fix test/Regression/CodeGen/X86/weak.ll
...
if a variable has no initialization, I->getInitializer() will fail
llvm-svn: 32407
2006-12-09 23:14:08 +00:00
Rafael Espindola
839bcb4af2
use a . instead of a % in the grep expression
...
llvm-svn: 32406
2006-12-09 21:21:06 +00:00
Reid Spencer
2fee8a99e2
Fix the run line and make this test more specific.
...
llvm-svn: 32403
2006-12-09 19:39:56 +00:00
Reid Spencer
1d3dbd34b7
Add a check to catch an incorrect upgrade.
...
llvm-svn: 32402
2006-12-09 19:35:43 +00:00
Reid Spencer
b558b57e75
Too soon to commit, revert.
...
llvm-svn: 32397
2006-12-09 05:13:50 +00:00
Reid Spencer
0606d15530
New test cases for regressions in the SetCC -> ICmp patch.
...
llvm-svn: 32396
2006-12-09 05:13:01 +00:00
Rafael Espindola
d12d2250a7
%progbits not @progbits
...
llvm-svn: 32376
2006-12-08 22:06:02 +00:00
Rafael Espindola
735a27246c
add missing &&
...
llvm-svn: 32374
2006-12-08 21:43:02 +00:00
Rafael Espindola
94f29f129d
add \"aw\",@progbits" to ctors and dtors
...
llvm-svn: 32373
2006-12-08 21:24:58 +00:00
Andrew Lenharth
60be4775ff
test packed struct codegen on x86
...
llvm-svn: 32367
2006-12-08 18:54:15 +00:00
Andrew Lenharth
ae5733ba6a
packed initializers too in the test
...
llvm-svn: 32365
2006-12-08 18:45:38 +00:00
Andrew Lenharth
23469cca1a
feature test for packed structs
...
llvm-svn: 32363
2006-12-08 18:36:24 +00:00
Reid Spencer
3c63db7138
This test needs to be upgraded.
...
llvm-svn: 32359
2006-12-08 17:39:49 +00:00
Reid Spencer
ed644771ea
For PR950:
...
Add a test for a regression in combining of ICmp instructions.
llvm-svn: 32358
2006-12-08 17:38:55 +00:00
Rafael Espindola
265fa68bd8
fix alignment
...
llvm-svn: 32337
2006-12-07 22:38:06 +00:00
Chris Lattner
f843356150
new testcase
...
llvm-svn: 32335
2006-12-07 22:36:14 +00:00
Chris Lattner
0cd35b2884
new testcase
...
llvm-svn: 32330
2006-12-07 22:15:20 +00:00
Rafael Espindola
219a796475
make sure that we don't use a common symbol if a section was specified
...
llvm-svn: 32310
2006-12-07 18:33:58 +00:00
Andrew Lenharth
2997019c62
Copy ARM's weak symbol test
...
llvm-svn: 32307
2006-12-07 17:37:54 +00:00
Reid Spencer
581a07a34d
This now passes on Linux/x86
...
llvm-svn: 32306
2006-12-07 16:28:32 +00:00
Reid Spencer
bee1306634
Manually convert this to new assembly.
...
llvm-svn: 32301
2006-12-07 04:20:23 +00:00
Jim Laskey
7fb08347ea
Failing linux.
...
llvm-svn: 32292
2006-12-06 21:36:07 +00:00
Rafael Espindola
776abee608
print weak references
...
llvm-svn: 32276
2006-12-06 13:35:10 +00:00
Chris Lattner
bbbb1c5e78
this is a subset of Codegen/X86/bitcast.ll, remove it.
...
llvm-svn: 32248
2006-12-06 00:46:14 +00:00
Chris Lattner
83830075f6
Instcombine shouldn't fold these casts.
...
llvm-svn: 32243
2006-12-05 23:43:20 +00:00
Chris Lattner
b6e14a0e10
new testcase
...
llvm-svn: 32227
2006-12-05 18:21:52 +00:00
Rafael Espindola
b5dee63958
expand memmove and memcpy
...
llvm-svn: 32226
2006-12-05 17:57:23 +00:00
Rafael Espindola
96fd6447c7
add support for the "r" asm constraint
...
patch by Lauro Ramos Venancio
llvm-svn: 32224
2006-12-05 17:37:31 +00:00
Rafael Espindola
2369a024d7
add support for weak linkage
...
llvm-svn: 32222
2006-12-05 17:00:17 +00:00
Reid Spencer
300aae721e
Ignore the Output directory.
...
llvm-svn: 32221
2006-12-05 16:10:16 +00:00
Chris Lattner
c92921f939
new testcase
...
llvm-svn: 32210
2006-12-05 01:29:01 +00:00
Devang Patel
21efc73161
SCCP does not handle Packed Type properly. Disable Packed Type handling
...
for now.
llvm-svn: 32208
2006-12-04 23:54:59 +00:00
Chris Lattner
9a5a838c98
Testcase for PR1029, patch by Rafael vila de EspÃndola
...
llvm-svn: 32205
2006-12-04 22:37:48 +00:00
Reid Spencer
a6cfd60a8c
These pass on Linux now.
...
llvm-svn: 32195
2006-12-04 20:46:05 +00:00
Reid Spencer
332109374a
Fix the intrinsic debug call to make this match current definition.
...
llvm-svn: 32190
2006-12-04 20:13:49 +00:00
Reid Spencer
d5d0529259
Make this test succeed on both Darwin and Linux
...
llvm-svn: 32189
2006-12-04 20:09:02 +00:00
Reid Spencer
d82ba83a63
XFAIL until PR1033 is fixed.
...
llvm-svn: 32187
2006-12-04 18:39:14 +00:00
Reid Spencer
a4d2d788ad
Test case for PR1033, x86-64 code gen fails on bitcast.
...
llvm-svn: 32185
2006-12-04 18:24:56 +00:00
Evan Cheng
a6b4c4b4f8
Fix test.
...
llvm-svn: 32183
2006-12-04 18:06:24 +00:00
Jim Laskey
c963b6ffae
Purpose of test is lost in upgrade.
...
llvm-svn: 32182
2006-12-04 17:54:29 +00:00
Jim Laskey
d0d464950e
Remove debug info.
...
llvm-svn: 32181
2006-12-04 17:06:15 +00:00
Jim Laskey
3082ed5364
Fixed to use current debug info.
...
llvm-svn: 32177
2006-12-04 12:23:17 +00:00
Jim Laskey
486c0adacd
Moving to DebugInfo.
...
llvm-svn: 32176
2006-12-04 12:21:23 +00:00
Jim Laskey
0faad3925c
Duplicate of Regression/Debugger/funccall.ll.
...
llvm-svn: 32175
2006-12-04 10:50:32 +00:00
Reid Spencer
fb6ce95002
Use weak_import on linux, weak everywhere else. Makes test pass on Linux.
...
Checking for __APPLE_CC__ is useless as this just checks to see if the
compiler is llvm-gcc, which we know it is.
llvm-svn: 32158
2006-12-03 16:40:08 +00:00
Reid Spencer
0f1725e68c
These tests need llvm-upgrade. This fixes last night's nightly test fallout.
...
llvm-svn: 32154
2006-12-03 16:17:19 +00:00
Reid Spencer
6ad23bdf9d
Upgrade to version 7 bytecode format.
...
llvm-svn: 32143
2006-12-03 04:40:09 +00:00
Reid Spencer
39bfeeeceb
Make sure this file gets upgraded with llvm-upgrade
...
llvm-svn: 32138
2006-12-02 20:42:32 +00:00
Reid Spencer
e812408695
Upgrade intrinsic function calls manually.
...
llvm-svn: 32137
2006-12-02 20:41:53 +00:00
Reid Spencer
6faf0cbf13
These files need llvm-upgrade.
...
llvm-svn: 32136
2006-12-02 20:40:30 +00:00
Reid Spencer
4ee2f08386
Rearrange code so that llvm-upgrade doesn't break the optimization this
...
test is trying to verify.
llvm-svn: 32135
2006-12-02 20:39:25 +00:00
Reid Spencer
19738b0b5a
Upgrade intrinsic function calls
...
llvm-svn: 32134
2006-12-02 20:38:37 +00:00
Reid Spencer
ed3471a8cc
Run llvm-upgrade on this test and/or upgrade intrinsic function calls.
...
llvm-svn: 32133
2006-12-02 20:38:10 +00:00
Reid Spencer
fc0618e2db
Remove tests for checking bytecode upgrade. Bytecode upgrade is being
...
replaced in 2.0 with assembly upgrade via the llvm-upgrade tool.
llvm-svn: 32132
2006-12-02 20:35:50 +00:00
Reid Spencer
c58764b57b
Upgrade old intrinsic function calls manually.
...
llvm-svn: 32131
2006-12-02 20:34:57 +00:00
Reid Spencer
107b4b79c4
Use llvm-upgrade these tests as they all use old assembly.
...
llvm-svn: 32130
2006-12-02 20:34:08 +00:00
Reid Spencer
7d4eb03ceb
Remove old intrinsic declarations and usage.
...
llvm-svn: 32129
2006-12-02 20:30:20 +00:00
Reid Spencer
9d91281573
Remove a redundant RUN: line.
...
llvm-svn: 32126
2006-12-02 17:49:38 +00:00
Reid Spencer
8100d27982
Prevent a GEP from getting upgraded to avoid resulting test failure.
...
llvm-svn: 32123
2006-12-02 16:25:20 +00:00
Reid Spencer
8b0cb8cf03
Update this test to use llvm-update.
...
llvm-svn: 32117
2006-12-02 05:02:46 +00:00
Reid Spencer
d0e30dc5be
Use the llvm-upgrade program to upgrade llvm assembly.
...
llvm-svn: 32115
2006-12-02 04:23:10 +00:00
Chris Lattner
72239930e0
new testcase
...
llvm-svn: 32111
2006-12-02 00:12:32 +00:00
Chris Lattner
3a279ecc65
fix incorrectly translated testcase
...
llvm-svn: 32093
2006-12-01 21:38:02 +00:00
Chris Lattner
6dde72735e
test1 is miscompiled
...
llvm-svn: 32086
2006-12-01 19:50:04 +00:00
Jim Laskey
b0862be332
wrong spot
...
llvm-svn: 32084
2006-12-01 19:39:32 +00:00
Jim Laskey
ba0f15c676
Test for float varargs.
...
llvm-svn: 32083
2006-12-01 19:29:20 +00:00
Chris Lattner
635ed246d7
new 'cast' miscompilation, reduced from perlbmk by Evan
...
llvm-svn: 32079
2006-12-01 19:02:56 +00:00
Chris Lattner
e6b2c29c27
enable this now that codegen support is in place
...
llvm-svn: 32076
2006-12-01 18:04:08 +00:00
Evan Cheng
80361a9297
This test is meant for X86 CPU which does not support SSE2.
...
llvm-svn: 32072
2006-12-01 10:17:36 +00:00
Evan Cheng
3fe5331483
Add a extern weak test case.
...
llvm-svn: 32070
2006-12-01 09:18:20 +00:00
Chris Lattner
8bbf5e20cc
new testcase to verify external weak continues to work
...
llvm-svn: 32064
2006-12-01 07:14:26 +00:00
Chris Lattner
18f6fe36ce
new testcase for PR1027
...
llvm-svn: 32063
2006-12-01 06:34:56 +00:00
Chris Lattner
5145977cd8
new testcase
...
llvm-svn: 32061
2006-12-01 05:54:48 +00:00
Reid Spencer
6c0676d4e6
The InstCombine hack has been removed, no need to XFAIL this any more.
...
llvm-svn: 32058
2006-12-01 01:50:45 +00:00
Evan Cheng
6104a1aa9e
Add X86-64 load / store codegen tests.
...
llvm-svn: 32047
2006-11-30 22:07:00 +00:00
Jim Laskey
b12ab5fadb
Add compile unit size test
...
llvm-svn: 32040
2006-11-30 15:36:44 +00:00
Jim Laskey
e6f6890438
Correct comment
...
llvm-svn: 32039
2006-11-30 15:31:49 +00:00
Jim Laskey
030b840234
Pubnames test
...
llvm-svn: 32038
2006-11-30 15:25:59 +00:00
Evan Cheng
983ac81fb0
New LSR test case.
...
llvm-svn: 32029
2006-11-29 23:48:37 +00:00
Chris Lattner
c386b40714
new testcase
...
llvm-svn: 32023
2006-11-29 19:57:55 +00:00
Evan Cheng
e2e0a33e6c
Add x86-64 llvm.readcyclecounter test.
...
llvm-svn: 32018
2006-11-29 08:29:59 +00:00
Evan Cheng
c24ce795a3
Fix test.
...
llvm-svn: 32015
2006-11-29 08:22:59 +00:00
Chris Lattner
aeddf5f077
new bswap idiom
...
llvm-svn: 32012
2006-11-29 07:21:08 +00:00
Chris Lattner
19d72c9f4f
new testcase
...
llvm-svn: 32010
2006-11-29 07:17:32 +00:00
Chris Lattner
544dfa013c
new testcase
...
llvm-svn: 32008
2006-11-29 07:03:00 +00:00
Chris Lattner
7b34c1391a
This fails on mainline.
...
llvm-svn: 32007
2006-11-29 05:19:32 +00:00
Chris Lattner
e7f83dcf4b
new testcase, bswaps should be eliminated.
...
llvm-svn: 32005
2006-11-29 05:00:14 +00:00
Evan Cheng
79ca238966
Add test cases for PR1022, 1023.
...
llvm-svn: 32002
2006-11-29 01:57:06 +00:00
Reid Spencer
21052cd48f
Fix a typo.
...
llvm-svn: 31959
2006-11-28 06:14:06 +00:00
Chris Lattner
e88ff3a961
testcase for pr1016
...
llvm-svn: 31951
2006-11-28 01:26:37 +00:00
Chris Lattner
f36cc15a84
this doesn't pass with CVS HEAD.
...
llvm-svn: 31942
2006-11-27 20:01:48 +00:00
Reid Spencer
5fb4da8c5d
Add 3 more test cases for ptrtoint, fptoui and fptosi
...
llvm-svn: 31940
2006-11-27 19:54:23 +00:00
Chris Lattner
2c2e34b2c4
testcase for PR1014
...
llvm-svn: 31939
2006-11-27 19:47:22 +00:00
Reid Spencer
141519fbc0
Alter these tests to ensure they match a "test $1, X" X86 instruction that
...
is now generated by the LLVM backend for "trunc to bool" instructions.
llvm-svn: 31935
2006-11-27 05:08:03 +00:00
Reid Spencer
b3281892d9
Add a test to ensure a bitcast/and/trunc combination eliminates the bitcast.
...
llvm-svn: 31934
2006-11-27 05:06:58 +00:00
Reid Spencer
6c38f0bb07
For PR950:
...
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.
llvm-svn: 31931
2006-11-27 01:05:10 +00:00
Reid Spencer
afbc00bc38
Don't use bitcast yet!
...
llvm-svn: 31930
2006-11-26 21:22:01 +00:00
Reid Spencer
2dd1741565
Make this test case easier to read. No functional changes.
...
llvm-svn: 31929
2006-11-26 18:27:09 +00:00
Reid Spencer
3c3324c7fa
Fix some typos.
...
llvm-svn: 31897
2006-11-23 16:45:52 +00:00
Reid Spencer
0e43e15fc9
Promote GEP ubyte indices to uint. Backwards compatibility for 1.2 and
...
older features will be dropped soon and these test cases must not rely
on the upgrade capability.
llvm-svn: 31896
2006-11-23 15:14:52 +00:00
Nick Lewycky
09b7e4d3ab
Update to new predicate simplifier VRP design. Fixes PR966 and PR967.
...
Remove predicate simplifier from default gcc3 pipeline. New design is too
slow to enable by default.
Add new testcases for problems encountered in development.
llvm-svn: 31895
2006-11-22 23:49:16 +00:00
Jim Laskey
efcaa4a8f5
Test for PR1013.
...
llvm-svn: 31886
2006-11-20 21:58:02 +00:00
Chris Lattner
e06180bab8
new testcase
...
llvm-svn: 31885
2006-11-20 21:20:57 +00:00
Chris Lattner
bffbec4482
Testcase for PR1011
...
llvm-svn: 31877
2006-11-20 18:05:26 +00:00
Chris Lattner
2ae1230764
Testcase for pr1012
...
llvm-svn: 31875
2006-11-20 17:55:30 +00:00
Chris Lattner
bfbc7ace7d
converting massive blocks of phis into selects like this is silly.
...
llvm-svn: 31852
2006-11-18 19:17:52 +00:00
Reid Spencer
e7c6fcdbf3
Fix bugs in this. What was I thinking??? :)
...
llvm-svn: 31848
2006-11-18 08:06:17 +00:00
Reid Spencer
d8bd8def37
Fail even if opt doesn't print anything.
...
llvm-svn: 31844
2006-11-18 06:08:21 +00:00
Reid Spencer
178afb1f9c
Add a simple test to make sure getModRefInfo is 1/2 way sane.
...
llvm-svn: 31842
2006-11-18 05:52:18 +00:00
Evan Cheng
bae950131c
Add a x86-64 test case: movb %sil, %ah is illegal.
...
llvm-svn: 31829
2006-11-17 20:41:55 +00:00
Jim Laskey
716f64c30b
Case sensitive not.
...
llvm-svn: 31827
2006-11-17 18:00:39 +00:00
Jim Laskey
63228b3450
Check for MaxAlign.
...
llvm-svn: 31826
2006-11-17 17:19:49 +00:00
Jim Laskey
6684f2f0a7
Tests to verify PowerPC ABI.
...
llvm-svn: 31825
2006-11-17 16:54:21 +00:00
Chris Lattner
0727eeaeac
New testcase.
...
llvm-svn: 31808
2006-11-17 06:09:49 +00:00
Evan Cheng
538e9cafae
New test case.
...
llvm-svn: 31796
2006-11-16 23:38:21 +00:00
Chris Lattner
2ccd16c0af
make this harder
...
llvm-svn: 31779
2006-11-16 01:22:52 +00:00
Chris Lattner
c348c50c38
new testcase
...
llvm-svn: 31728
2006-11-14 07:45:36 +00:00
Chris Lattner
9adf8294ef
new testcase
...
llvm-svn: 31726
2006-11-14 06:04:35 +00:00
Reid Spencer
1b89a7bcc1
Discard code that supported old bytecode formats. This makes the Bytecode
...
Reader code much easier to read and maintain. Backwards compatibility from
version 5 format has been retained. Older formats will produce an error.
llvm-svn: 31723
2006-11-14 04:47:22 +00:00
Reid Spencer
3d1027193f
For PR950:
...
Changes for new cast instructions that are backwards compatible.
llvm-svn: 31707
2006-11-13 18:00:52 +00:00
Reid Spencer
7354395590
Don't hard code test names into the test.
...
llvm-svn: 31706
2006-11-13 17:55:34 +00:00
Reid Spencer
83c7a1e710
Fix 80 cols violations.
...
llvm-svn: 31705
2006-11-13 16:21:09 +00:00
Reid Spencer
5953e4e805
For PR950:
...
Use the notcast script in preparation for 12 casts.
llvm-svn: 31704
2006-11-13 16:13:38 +00:00
Reid Spencer
6170dff047
For PR950:
...
Use the notcast script in preparation for 12 cast instructions.
llvm-svn: 31703
2006-11-13 16:12:25 +00:00
Reid Spencer
7debe5e948
Make it handle plain old cast too, for old assembly.
...
llvm-svn: 31702
2006-11-13 16:11:14 +00:00
Reid Spencer
6f406f91d2
Handle ptrtoint and inttoptr
...
llvm-svn: 31701
2006-11-13 16:09:37 +00:00
Jim Laskey
a3262ee8ec
XFAIL All but powerpc
...
llvm-svn: 31689
2006-11-11 22:14:46 +00:00
Jim Laskey
ebdf6f46eb
Works for PowerPC with frame pointers.
...
llvm-svn: 31679
2006-11-11 10:22:56 +00:00
Reid Spencer
e183ed753f
Instruction name changes.
...
llvm-svn: 31663
2006-11-11 01:04:13 +00:00
Reid Spencer
279a3aefc3
Enable path completion when typing the TESTSUITE= option by allowing the
...
test directory to precede the test suite name. That is, it will strip off
test/ from TESTSUITE which allows path completion from the command line.
llvm-svn: 31662
2006-11-11 01:02:45 +00:00
Chris Lattner
e15018b8b7
enable this test, check ppc64 as well.
...
llvm-svn: 31657
2006-11-11 00:13:07 +00:00
Chris Lattner
d530a503da
This testcase is miscompiled by instcombine, reduced from 176.gcc
...
llvm-svn: 31652
2006-11-10 23:37:54 +00:00
Chris Lattner
82a85b66a3
new testcase
...
llvm-svn: 31643
2006-11-10 21:36:07 +00:00
Jim Laskey
bc60d34748
Must have a frame pointer argument fixed. Now fails on PowerPC.
...
llvm-svn: 31639
2006-11-10 17:56:29 +00:00
Jim Laskey
11ba2bf721
Must have a frame pointer.
...
llvm-svn: 31638
2006-11-10 17:51:25 +00:00
Reid Spencer
8488eac9d7
This is XFAILed on i[0-9]86 systems not Linux
...
llvm-svn: 31636
2006-11-10 17:47:28 +00:00
Anton Korobeynikov
a1561d4fdf
Adding target triple to test
...
llvm-svn: 31630
2006-11-10 06:59:53 +00:00
Tanya Lattner
1537ecce93
xfail for llvmgcc3
...
llvm-svn: 31629
2006-11-10 04:53:50 +00:00
Chris Lattner
7a82314782
make this test more interesting
...
llvm-svn: 31619
2006-11-10 02:04:52 +00:00
Anton Korobeynikov
b9c91c265c
Fixing PR990: http://llvm.org/PR990 .
...
This should unbreak csretcc on Linux & mingw targets. Several tests from
llvm-test should be also restored (fftbench, bigfib).
llvm-svn: 31613
2006-11-10 00:48:11 +00:00
Chris Lattner
8511bd95f5
new testcases for PR992/993
...
llvm-svn: 31609
2006-11-09 23:35:01 +00:00
Chris Lattner
92fc0c0651
new testcases
...
llvm-svn: 31585
2006-11-09 05:11:23 +00:00
Tanya Lattner
01167a7eff
Should be xfailed for llvmgcc3
...
llvm-svn: 31578
2006-11-08 23:26:16 +00:00
Tanya Lattner
8a01d7a820
Should be xfailed for llvmgcc4 and NOT *. * means all platforms regardless of what llvmgcc you use.
...
llvm-svn: 31577
2006-11-08 23:25:58 +00:00
Reid Spencer
eacb043c0a
Ensure we don't regress on reading version 6 bytecode.
...
llvm-svn: 31574
2006-11-08 21:28:30 +00:00
Tanya Lattner
fd6e54439a
Should be xfailed for llvm-gcc3.4
...
llvm-svn: 31568
2006-11-08 20:16:05 +00:00
Jim Laskey
050747fc8c
Make it work on Darwin.
...
llvm-svn: 31551
2006-11-08 16:38:45 +00:00
Reid Spencer
fdff938a7e
For PR950:
...
This patch converts the old SHR instruction into two instructions,
AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not
dependent on the sign of their operands.
llvm-svn: 31542
2006-11-08 06:47:33 +00:00
Reid Spencer
41f6c7cfb2
XFAIL this on Linux until Jim gets Darwin ship shape.
...
llvm-svn: 31541
2006-11-08 06:43:16 +00:00
Chris Lattner
71cd8cf478
now that we handle single mbb loops better, one branch is allowed
...
llvm-svn: 31540
2006-11-08 06:42:42 +00:00
Chris Lattner
543572716b
preincrement case we miss. xfail until we catch it
...
llvm-svn: 31534
2006-11-08 01:44:35 +00:00
Chris Lattner
2d7a5d9b5d
scalarrepl should not split the two elements of the vsiidx array:
...
int func(vFloat v0, vFloat v1) {
int ii;
vSInt32 vsiidx[2];
vsiidx[0] = _mm_cvttps_epi32(v0);
vsiidx[1] = _mm_cvttps_epi32(v1);
ii = ((int *) vsiidx)[4];
return ii;
}
llvm-svn: 31523
2006-11-07 22:42:29 +00:00
Evan Cheng
847adeebb8
New test case.
...
llvm-svn: 31520
2006-11-07 22:18:14 +00:00
Andrew Lenharth
0e9c437f0b
Got a little ahead of myself here
...
llvm-svn: 31502
2006-11-07 16:40:19 +00:00
Andrew Lenharth
3b18505d9f
Fix this test
...
llvm-svn: 31501
2006-11-07 16:32:55 +00:00
Reid Spencer
eb5bbd1ac8
Make some corrections to this test case.
...
llvm-svn: 31497
2006-11-07 07:58:02 +00:00
Reid Spencer
17ea4ec127
Ignore the Output dir.
...
llvm-svn: 31496
2006-11-07 07:34:56 +00:00
Reid Spencer
3b1d1b5262
Add a test case for making sure gdb can get a stack trace with our debug
...
information.
llvm-svn: 31495
2006-11-07 07:31:37 +00:00
Chris Lattner
5a2bc5c71b
wrong bug #
...
llvm-svn: 31488
2006-11-07 04:12:03 +00:00
Chris Lattner
e553746e49
new testcase
...
llvm-svn: 31486
2006-11-07 04:11:14 +00:00
Chris Lattner
569531ebbd
xfail this for the 1.9 release. This is PR984.
...
llvm-svn: 31471
2006-11-05 23:27:36 +00:00
Reid Spencer
de6bce9e02
Okay, need a pattern before and after the cast pattern.
...
llvm-svn: 31443
2006-11-04 01:11:19 +00:00
Reid Spencer
260a93abc2
Allow the regular expression to be extended by a parameter.
...
llvm-svn: 31442
2006-11-04 00:58:39 +00:00
Reid Spencer
c533824a9e
For PR950:
...
A little script to return 1 if it encounters any of the cast instructions
on the stdin.
llvm-svn: 31441
2006-11-04 00:49:52 +00:00
Andrew Lenharth
95a1c854d3
add a regression for memmove
...
llvm-svn: 31430
2006-11-03 22:45:09 +00:00
Chris Lattner
2d242aba18
this started failing due to Reid's changes in the bc format. insulate it
...
from future changes.
llvm-svn: 31428
2006-11-03 22:01:15 +00:00
Chris Lattner
67af941db1
new testcase
...
llvm-svn: 31426
2006-11-03 21:58:14 +00:00
Reid Spencer
68e1b240b4
Add some documentation about the arguments.
...
llvm-svn: 31372
2006-11-02 03:37:39 +00:00
Andrew Lenharth
96e251ca23
a regression :(
...
llvm-svn: 31370
2006-11-02 03:04:37 +00:00
Chris Lattner
57382066e8
new testcase
...
llvm-svn: 31368
2006-11-02 01:45:28 +00:00
Devang Patel
9db6b328cd
Testcase from http://llvm.org/bugs/show_bug.cgi?id=979
...
llvm-svn: 31357
2006-11-01 22:25:48 +00:00
Chris Lattner
487fda068a
extra pass is required now
...
llvm-svn: 31353
2006-11-01 18:30:25 +00:00
Chris Lattner
6b8fa7f6fd
new testcase that crashes global opt, reduced from chomp
...
llvm-svn: 31351
2006-11-01 18:02:53 +00:00
Chris Lattner
268ae93f46
remove a testcase for a marginal feature
...
llvm-svn: 31345
2006-11-01 07:15:44 +00:00
Chris Lattner
fdb64518d6
This test should compile down to one comparison, not two.
...
llvm-svn: 31329
2006-10-31 23:05:16 +00:00
Chris Lattner
13d62d5efa
new testcase for PR882
...
llvm-svn: 31324
2006-10-31 20:11:14 +00:00
Andrew Lenharth
c24140f8a7
make one giant add and sub tester
...
llvm-svn: 31321
2006-10-31 19:50:55 +00:00
Chris Lattner
d739064b20
another testcase for PR977
...
llvm-svn: 31316
2006-10-31 18:56:24 +00:00
Chris Lattner
0f2e89fcf3
testcase for PR977
...
llvm-svn: 31314
2006-10-31 17:51:36 +00:00
Rafael Espindola
4e825336a0
add support for calling functions when the caller has variable sized objects
...
llvm-svn: 31312
2006-10-31 13:03:26 +00:00
Chris Lattner
59bf47217e
add a note
...
llvm-svn: 31309
2006-10-31 06:26:10 +00:00
Chris Lattner
c1d413972d
new testcase
...
llvm-svn: 31308
2006-10-31 06:25:13 +00:00
Chris Lattner
f66ab9f6f1
new testcase
...
llvm-svn: 31307
2006-10-31 06:15:14 +00:00
Chris Lattner
cf8dc24305
fix this regtest
...
llvm-svn: 31291
2006-10-30 05:24:03 +00:00
Chris Lattner
4d377fec3b
new testcase
...
llvm-svn: 31283
2006-10-29 21:20:56 +00:00
Chris Lattner
6f3c76384d
new testcase
...
llvm-svn: 31280
2006-10-29 21:00:55 +00:00
Chris Lattner
5217111abe
new testcase
...
llvm-svn: 31259
2006-10-28 17:04:16 +00:00
Nick Lewycky
1e075d9a40
Emitting raw bytecode is awfully rude. Add -disable-output.
...
Clarify the test.
llvm-svn: 31251
2006-10-28 02:34:41 +00:00
Chris Lattner
b722c1375e
new testcase
...
llvm-svn: 31241
2006-10-27 23:47:34 +00:00
Chris Lattner
feaa76a3cc
new testcase
...
llvm-svn: 31231
2006-10-27 21:52:39 +00:00
Chris Lattner
4b19a4b203
new testcase
...
llvm-svn: 31229
2006-10-27 21:32:10 +00:00
Evan Cheng
2252fb211a
Add a new vextract test case.
...
llvm-svn: 31227
2006-10-27 21:05:18 +00:00
Reid Spencer
a98dac4715
Improve cvs ignoring of test results.
...
llvm-svn: 31217
2006-10-27 16:43:34 +00:00
Reid Spencer
180a453a6b
Add a run line to this test.
...
llvm-svn: 31211
2006-10-27 05:30:23 +00:00
Chris Lattner
1ddbd94a7b
new testcase, should not reassoc fp vector
...
llvm-svn: 31199
2006-10-26 18:26:53 +00:00
Rafael Espindola
a23166d6a4
initial support for frame pointers
...
llvm-svn: 31197
2006-10-26 13:31:26 +00:00
Reid Spencer
7e80b0b31e
For PR950:
...
Make necessary changes to support DIV -> [SUF]Div. This changes llvm to
have three division instructions: signed, unsigned, floating point. The
bytecode and assembler are bacwards compatible, however.
llvm-svn: 31195
2006-10-26 06:15:43 +00:00
Nick Lewycky
a1ce6dcbf3
Handling of setlt/le/gt/ge is broken at the moment; predsimplify removes
...
the call the pass2.
llvm-svn: 31192
2006-10-26 02:33:51 +00:00
Nick Lewycky
314ee3ecf0
This testcase was logically wrong! Fixing, and including the test for the
...
mistake that I made in the file too.
llvm-svn: 31190
2006-10-26 00:51:58 +00:00
Evan Cheng
f8e7d8ce99
New shuffle test case.
...
llvm-svn: 31187
2006-10-25 21:59:00 +00:00
Chris Lattner
f1a1773fb7
Allow this to pass on ppc
...
llvm-svn: 31178
2006-10-25 16:37:47 +00:00
Chris Lattner
07b93954d7
Modernize the testcase, allow it to pass on ppc
...
llvm-svn: 31177
2006-10-25 16:35:10 +00:00
Rafael Espindola
bd29281e97
expand ISD::VACOPY
...
llvm-svn: 31170
2006-10-24 20:15:21 +00:00
Chris Lattner
bc53eee534
new testcase
...
llvm-svn: 31163
2006-10-24 17:09:20 +00:00
Chris Lattner
793dab3c9c
New testcase that crashes scalarrepl
...
llvm-svn: 31150
2006-10-24 06:26:08 +00:00
Evan Cheng
02a2a5eb3c
Update test case.
...
llvm-svn: 31139
2006-10-23 21:47:11 +00:00
Rafael Espindola
b43efe86f5
implement STRB and STRH
...
llvm-svn: 31138
2006-10-23 20:34:27 +00:00
Andrew Lenharth
3cd1a452c6
restore these tests
...
llvm-svn: 31133
2006-10-23 19:52:27 +00:00
Chris Lattner
ce7906922d
new testcase
...
llvm-svn: 31131
2006-10-23 18:54:35 +00:00
Evan Cheng
7838d655ca
Fix test case.
...
llvm-svn: 31127
2006-10-23 05:11:09 +00:00
Nick Lewycky
2c734f3fc1
Handle "if ((x|y) != 0)" for ints like we do for bools. Fixes missed
...
optimization opportunity pointed out by Chris Lattner.
llvm-svn: 31118
2006-10-22 21:36:41 +00:00
Chris Lattner
76dd3bb34a
new testcase for PR964
...
llvm-svn: 31117
2006-10-22 21:36:06 +00:00
Nick Lewycky
f345008339
AllocaInst can't return a null pointer. Fixes missed optimization
...
opportunity pointed out by Andrew Lewycky.
llvm-svn: 31115
2006-10-22 19:53:27 +00:00
Bill Wendling
c5c11a8070
Changed the pattern matching so that it will hopefully work on Linux.
...
llvm-svn: 31069
2006-10-20 18:15:24 +00:00
Devang Patel
4f4d3ec985
Test case for
...
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20061016/038780.html
llvm-svn: 31068
2006-10-20 18:06:37 +00:00
Chris Lattner
51e9632ea5
new testcase for PR957
...
llvm-svn: 31060
2006-10-20 00:41:31 +00:00
Bill Wendling
b5d19927c9
Testcase for P926
...
llvm-svn: 31058
2006-10-19 23:21:59 +00:00
Devang Patel
5d6df959e3
It is OK to remove extra cast if operation is EQ/NE even though source
...
and destination sign may not match but other conditions are met.
llvm-svn: 31056
2006-10-19 20:59:13 +00:00
Devang Patel
b42aef4925
Fix bug in PR454 resolution. Added new test case.
...
This fixes llvmAsmParser.cpp miscompile by llvm on PowerPC Darwin.
llvm-svn: 31053
2006-10-19 18:54:08 +00:00
Rafael Espindola
ea67b973c2
print common symbols
...
llvm-svn: 31048
2006-10-19 13:30:40 +00:00
Rafael Espindola
bad440742e
add blx
...
llvm-svn: 31037
2006-10-18 16:21:43 +00:00
Rafael Espindola
b21e8d2e12
implement CallingConv::Fast as CallingConv::C
...
llvm-svn: 31034
2006-10-18 12:03:07 +00:00
Chris Lattner
0ff257353c
new testcase
...
llvm-svn: 31029
2006-10-18 01:21:35 +00:00
Chris Lattner
51746a3bee
new testcase, miscompilation of llvm with itself.
...
llvm-svn: 31018
2006-10-17 21:23:20 +00:00
Rafael Espindola
ba8f296167
expand ISD::SDIV, ISD::UDIV, ISD::SREM and ISD::UREM
...
llvm-svn: 31014
2006-10-17 21:05:33 +00:00
Rafael Espindola
99bf133d58
add FABSS and FABSD
...
llvm-svn: 31012
2006-10-17 20:33:13 +00:00
Rafael Espindola
391af581f0
cleanup some tests
...
llvm-svn: 31010
2006-10-17 20:20:07 +00:00
Rafael Espindola
2d7d14262a
remove extra [] in stores
...
llvm-svn: 31008
2006-10-17 18:29:14 +00:00
Chris Lattner
b7f67a23e0
new testcase
...
llvm-svn: 31005
2006-10-17 18:14:39 +00:00
Rafael Espindola
19398ec86e
initial implementation of addressing mode 5
...
llvm-svn: 31002
2006-10-17 18:04:53 +00:00
Rafael Espindola
feb50708eb
add the immediate to the Offset in eliminateFrameIndex
...
llvm-svn: 30998
2006-10-17 14:34:02 +00:00
Rafael Espindola
418c8e69bb
add FSTD and FSTS
...
llvm-svn: 30996
2006-10-17 13:36:07 +00:00
Rafael Espindola
afdd47ace4
add fdivs e fdivd
...
llvm-svn: 30988
2006-10-16 21:50:04 +00:00
Rafael Espindola
f719c5f43d
expand ISD::SHL_PARTS, ISD::SRA_PARTS and ISD::SRL_PARTS
...
llvm-svn: 30987
2006-10-16 21:10:32 +00:00
Rafael Espindola
677ee8390d
implement LDRB, LDRSB, LDRH and LDRSH
...
llvm-svn: 30976
2006-10-16 17:17:22 +00:00
Rafael Espindola
595dc4c884
implement smull and umull
...
llvm-svn: 30975
2006-10-16 16:33:29 +00:00
Chris Lattner
7fce911edd
testcase that causes the asmparser to assert
...
llvm-svn: 30969
2006-10-15 23:26:28 +00:00
Rafael Espindola
4c1baf1528
fix some fp condition codes
...
use non trapping comparison instructions
llvm-svn: 30962
2006-10-14 13:42:53 +00:00
Evan Cheng
5384fc9676
One cyclic dag a day is good for ya...
...
llvm-svn: 30960
2006-10-14 08:35:02 +00:00
Chris Lattner
d0cc3bdfc3
testcase for recent dag combiner patch. Before the entry bb was:
...
_test:
stwu r1, -80(r1)
stw r1, 76(r1)
mflr r11
stw r11, 88(r1)
rlwinm r2, r4, 0, 30, 31
cmplwi cr7, r2, 2
mfcr r2
rlwinm r2, r2, 30, 31, 31
cmplwi cr0, r2, 0
bne cr0, LBB1_2 ;UnifiedReturnBlock
after it is:
_test:
stwu r1, -80(r1)
stw r1, 76(r1)
mflr r11
stw r11, 88(r1)
rlwinm r2, r4, 0, 30, 31
cmplwi cr0, r2, 2
bgt cr0, LBB1_2 ;UnifiedReturnBlock
llvm-svn: 30954
2006-10-14 03:40:02 +00:00
Chris Lattner
52e298b700
testcase for recent selectiondag patch
...
llvm-svn: 30949
2006-10-13 23:54:16 +00:00
Rafael Espindola
5ab3166f74
add FNEGS and FNEGD
...
llvm-svn: 30932
2006-10-13 17:37:35 +00:00
Rafael Espindola
d6050c3149
add SBCS and SUBS
...
llvm-svn: 30930
2006-10-13 17:19:20 +00:00
Rafael Espindola
79d9807c87
implement calls to functions that return long
...
llvm-svn: 30929
2006-10-13 16:47:22 +00:00
Rafael Espindola
3874a168d0
implement unordered floating point compares
...
llvm-svn: 30928
2006-10-13 13:14:59 +00:00
Chris Lattner
ce34aa8fd7
new testcase
...
llvm-svn: 30919
2006-10-12 20:56:15 +00:00
Evan Cheng
88bf1625fa
Add another cyclic dag test case.
...
llvm-svn: 30918
2006-10-12 20:38:45 +00:00
Evan Cheng
e415f196a3
Update tests.
...
llvm-svn: 30895
2006-10-12 01:42:03 +00:00
Chris Lattner
4b77688d14
new testcase
...
llvm-svn: 30893
2006-10-11 22:07:38 +00:00
Chris Lattner
ddf7347283
add test for mdef in a let
...
llvm-svn: 30886
2006-10-11 18:12:14 +00:00
Jim Laskey
5684eda9e8
Explict processor.
...
llvm-svn: 30882
2006-10-11 17:14:14 +00:00
Jim Laskey
b41de440b5
Make sure combiner alias analysis does it's thing.
...
llvm-svn: 30879
2006-10-11 13:42:49 +00:00
Evan Cheng
ac72dc81f4
Test case for the recently fixed FindModifiedNodeSlot bug.
...
llvm-svn: 30877
2006-10-11 07:01:37 +00:00
Chris Lattner
a821fe2da1
new testcase, this should turn into zap
...
llvm-svn: 30874
2006-10-11 05:10:19 +00:00
Andrew Lenharth
a6bbf33cbf
Jimptables working again on alpha.
...
As a bonus, use the GOT node instead of the AlphaISD::GOT for internal stuff.
llvm-svn: 30873
2006-10-11 04:29:42 +00:00
Chris Lattner
ee0435680b
Both of these functions should turn into cmpbge instructions, even though
...
the second has an and of 254 not 255.
llvm-svn: 30870
2006-10-11 03:59:48 +00:00
Chris Lattner
291a868823
new testcase for zap generation, from the alpha readme
...
llvm-svn: 30865
2006-10-11 01:47:08 +00:00
Rafael Espindola
8429e1f6c3
uint <-> double conversion
...
llvm-svn: 30862
2006-10-10 20:38:57 +00:00
Rafael Espindola
b5f1ff336a
add fp sub
...
llvm-svn: 30859
2006-10-10 19:35:01 +00:00
Rafael Espindola
57d109fb08
add double <-> int conversion
...
llvm-svn: 30858
2006-10-10 18:55:14 +00:00
Rafael Espindola
d1a4ea41c9
compare doubles
...
llvm-svn: 30856
2006-10-10 16:33:47 +00:00
Rafael Espindola
639450ea83
add some tests for floating point compare
...
llvm-svn: 30855
2006-10-10 14:26:06 +00:00
Evan Cheng
6d37137e4f
Add test case from PR940.
...
llvm-svn: 30852
2006-10-10 04:33:46 +00:00
Evan Cheng
16488647d8
shufps with load folding is better than movaps; movsd.
...
llvm-svn: 30849
2006-10-09 22:42:31 +00:00
Rafael Espindola
4d03bf8f43
add some tests for floating point arithmetic
...
llvm-svn: 30840
2006-10-09 19:15:17 +00:00
Rafael Espindola
9e29ec371a
add float -> double and double -> float conversion
...
llvm-svn: 30835
2006-10-09 17:50:29 +00:00
Chris Lattner
fb257818c4
xfail this until andrew has a chance to implement the alpha TM method.
...
llvm-svn: 30833
2006-10-09 17:34:40 +00:00
Rafael Espindola
0e44ed293f
add a test for adds adcs
...
llvm-svn: 30832
2006-10-09 17:30:15 +00:00
Chris Lattner
7440e23eb2
new testcase for PR892
...
llvm-svn: 30824
2006-10-08 23:52:06 +00:00
Chris Lattner
7a36ae4361
new testcase for SROA for stuff like "union { int*, float* }".
...
llvm-svn: 30822
2006-10-08 23:27:37 +00:00
Chris Lattner
f8fa10a6bb
new testcase we miscompile
...
llvm-svn: 30816
2006-10-07 21:54:08 +00:00
Rafael Espindola
b50938866b
implement FUITOS and FUITOD
...
llvm-svn: 30803
2006-10-07 14:24:52 +00:00
Rafael Espindola
58c368bc4f
implement FLDD
...
llvm-svn: 30802
2006-10-07 14:03:39 +00:00
Rafael Espindola
671f25281d
add support for calling functions that return double
...
llvm-svn: 30771
2006-10-06 19:10:05 +00:00
Rafael Espindola
ef01656ea4
fix some bugs affecting functions with no arguments
...
llvm-svn: 30767
2006-10-06 17:26:30 +00:00
Rafael Espindola
5fe7909e18
add support for calling functions that have double arguments
...
llvm-svn: 30765
2006-10-06 12:50:22 +00:00
Rafael Espindola
e04df41ca2
implement a ArgumentLayout class to factor code common to LowerFORMAL_ARGUMENTS and LowerCALL
...
implement FMDRR
add support for f64 function arguments
llvm-svn: 30754
2006-10-05 16:48:49 +00:00
Chris Lattner
3d5e9818bd
new testcase
...
llvm-svn: 30751
2006-10-05 06:51:54 +00:00
Andrew Lenharth
16b8f95831
Check that jump tables wind up in the rodata section
...
llvm-svn: 30747
2006-10-05 03:27:52 +00:00
Chris Lattner
bfe59e87e5
Verify that jump tables are emitted to the same section as the function is,
...
when codegen'ing in pic mode. This fixes a miscompilation of a switch stmt
in a template, as the template goes to a non-.text section.
llvm-svn: 30743
2006-10-05 03:12:36 +00:00
Chris Lattner
1e21d3a5ae
pattern match min/max nodes
...
llvm-svn: 30718
2006-10-04 06:56:02 +00:00
Rafael Espindola
68d238801c
Implement floating point constants
...
llvm-svn: 30704
2006-10-03 17:27:58 +00:00
Chris Lattner
70a12ec8f8
testcase for PR933
...
llvm-svn: 30702
2006-10-03 17:17:54 +00:00
Nick Lewycky
755f801adc
Move break-crit-edges before the predicate simplifier. Allows us to
...
optimize in more cases.
llvm-svn: 30699
2006-10-03 14:52:23 +00:00
Chris Lattner
2a7e3c29a1
New testcase for PR932
...
llvm-svn: 30695
2006-10-03 07:00:13 +00:00
Rafael Espindola
d55c0a41df
fix the names of the 64bit fp register
...
initial support for returning 64bit floating point numbers
llvm-svn: 30692
2006-10-02 19:30:56 +00:00
Chris Lattner
bfc049ae3f
New testcase
...
llvm-svn: 30683
2006-10-01 22:35:45 +00:00
Chris Lattner
c82477f3a8
new testcase, malloc should be promoted to [2 x double].
...
llvm-svn: 30681
2006-10-01 19:39:45 +00:00
Rafael Espindola
53f78be49e
add floating point registers
...
implement SINT_TO_FP
llvm-svn: 30673
2006-09-29 21:20:16 +00:00
Chris Lattner
754c8cf702
Adjust this to the wonky syntax that GCC expects.
...
llvm-svn: 30670
2006-09-29 17:34:56 +00:00
Reid Spencer
5f2b79ec4c
Use the -emit-llvm switch to generate LLVM assembly that can be parsed
...
by the test case.
llvm-svn: 30654
2006-09-28 21:36:21 +00:00
Reid Spencer
4fde7faeb0
Add a test case for PR902.
...
llvm-svn: 30653
2006-09-28 21:20:05 +00:00
Chris Lattner
a3542a82be
new testcase
...
llvm-svn: 30651
2006-09-28 20:48:17 +00:00
Chris Lattner
83fb402291
Testcase for PR924
...
llvm-svn: 30649
2006-09-28 18:58:02 +00:00
Jim Laskey
3bbf884855
Make sure C++ protection shows up in debug info
...
llvm-svn: 30626
2006-09-27 16:55:19 +00:00
Devang Patel
ce73ac3089
Add http://llvm.org/bugs/show_bug.cgi?id=923 test case.
...
llvm-svn: 30622
2006-09-27 02:58:44 +00:00
Chris Lattner
ae7ff8b0c6
test that the no_dead_strip directive is emitted on darwin-x86
...
llvm-svn: 30607
2006-09-26 03:44:20 +00:00
John Criswell
437d9a3fb2
Regression test for PR#922.
...
llvm-svn: 30599
2006-09-25 19:12:01 +00:00
Andrew Lenharth
6d8e227ac7
Fix
...
llvm-svn: 30596
2006-09-25 14:04:53 +00:00
Andrew Lenharth
3cec4952ab
basic jump table test
...
llvm-svn: 30592
2006-09-24 19:42:02 +00:00
Bill Wendling
fc0e612b65
Use "%llvmgxx" instead of "llvm-g++".
...
llvm-svn: 30580
2006-09-22 07:09:01 +00:00
Nate Begeman
9007f5a48d
Testcase for better rotate left and mask support
...
llvm-svn: 30579
2006-09-22 05:49:57 +00:00
Bill Wendling
fe95123f58
Regression testcase for PR855.
...
llvm-svn: 30578
2006-09-22 05:34:25 +00:00
Rafael Espindola
7b700e517a
more condition codes
...
llvm-svn: 30567
2006-09-21 13:06:26 +00:00
Rafael Espindola
0c71a5adc8
if a constant can't be an immediate, add it to the constant pool
...
llvm-svn: 30566
2006-09-21 11:29:52 +00:00
Chris Lattner
6597e053e1
new testcase
...
llvm-svn: 30554
2006-09-21 05:11:01 +00:00
Nick Lewycky
d74c55f483
Once we're down to "setcc type constant1, constant2", at least come up
...
with the right answer.
llvm-svn: 30550
2006-09-20 23:02:24 +00:00
Nick Lewycky
cfff1c3f86
Use a total ordering to compare instructions.
...
Fixes infinite loop in resolve().
llvm-svn: 30540
2006-09-20 17:04:01 +00:00
Andrew Lenharth
b04e899bb4
catch another constant
...
llvm-svn: 30533
2006-09-20 15:04:55 +00:00
Chris Lattner
2b09e1d2fc
new testcase
...
llvm-svn: 30516
2006-09-20 06:40:37 +00:00
Andrew Lenharth
731f2d52a3
Inspired by the linux kernel, the more we keep adds in the pointer realm, the better pointer analysis works.
...
llvm-svn: 30495
2006-09-19 18:23:39 +00:00
Rafael Espindola
f7d4a9900c
Implement a MachineFunctionPass to fix the mul instruction
...
llvm-svn: 30485
2006-09-19 15:49:25 +00:00
Chris Lattner
dc892c6221
number test right
...
llvm-svn: 30484
2006-09-19 06:19:19 +00:00
Chris Lattner
aa0ad47e97
make this harder
...
llvm-svn: 30481
2006-09-19 06:17:55 +00:00
Chris Lattner
db4fbdd1a6
new testcases
...
llvm-svn: 30480
2006-09-19 06:16:46 +00:00
Nick Lewycky
5cc1e9b51d
Enable dejagnu tests for predicate simplifier.
...
llvm-svn: 30475
2006-09-19 00:31:54 +00:00
Chris Lattner
165f344721
new testcase
...
llvm-svn: 30471
2006-09-18 22:28:07 +00:00
Chris Lattner
3425123ced
new testcase
...
llvm-svn: 30464
2006-09-18 18:07:51 +00:00
Chris Lattner
5c1bfd0311
new testcase
...
llvm-svn: 30458
2006-09-18 07:01:39 +00:00
Chris Lattner
52d170fc94
new testcase
...
llvm-svn: 30455
2006-09-18 05:25:10 +00:00
Chris Lattner
00a07af638
New testcase, can be an srl instead of sra
...
llvm-svn: 30449
2006-09-18 04:31:18 +00:00
Chris Lattner
5772ba4f50
Testcase for PR913
...
llvm-svn: 30404
2006-09-16 03:13:22 +00:00
Chris Lattner
1bcb3d16cc
xfail this for now
...
llvm-svn: 30398
2006-09-15 17:25:22 +00:00
Chris Lattner
84890d2da1
The inliner strips dead allocas now. Add a use to allow this test to
...
test the right thing.
llvm-svn: 30393
2006-09-15 16:53:11 +00:00
Chris Lattner
4c4e077546
New testcase
...
llvm-svn: 30378
2006-09-14 21:10:06 +00:00
Chris Lattner
73eedf0a05
new testcase
...
llvm-svn: 30302
2006-09-13 19:23:43 +00:00
Chris Lattner
8ed3cd4e90
The sense of this branch was backwards
...
llvm-svn: 30296
2006-09-13 17:58:57 +00:00
Chris Lattner
256aeb321b
new testcase
...
llvm-svn: 30289
2006-09-13 05:59:25 +00:00
Chris Lattner
7789e938b6
New testcase
...
llvm-svn: 30287
2006-09-13 04:43:26 +00:00
Chris Lattner
ecd9bfb303
new testcase
...
llvm-svn: 30282
2006-09-13 03:21:27 +00:00
Chris Lattner
726bc70c43
testcase for PR908
...
llvm-svn: 30274
2006-09-12 19:16:04 +00:00
Chris Lattner
2655c59a7b
Testcase that crashes the C++ FE.
...
llvm-svn: 30273
2006-09-12 16:28:14 +00:00
Chris Lattner
3592523342
new testcase for PR906
...
llvm-svn: 30267
2006-09-11 22:48:23 +00:00
Chris Lattner
3faf86e4f4
new testcase for PR905
...
llvm-svn: 30265
2006-09-11 21:41:56 +00:00
Evan Cheng
e9d1a2fcae
Rename a test-not-cmp.ll to cmp-test.ll; add a test.
...
llvm-svn: 30243
2006-09-11 02:33:29 +00:00
Chris Lattner
33ce390fce
add a testcase for this commit: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050606/026673.html
...
llvm-svn: 30238
2006-09-10 18:52:25 +00:00
Nick Lewycky
9a22d7b60f
Replace EquivalenceClasses with a custom-built data structure. Many common
...
operations (like findProperties) should be faster, at the expense of
unionSets being slower in cases that are rare in practise.
Don't erase a dead Instruction. This fixes a memory corruption issue.
llvm-svn: 30235
2006-09-10 02:27:07 +00:00
Chris Lattner
0d38df3e87
new testcase
...
llvm-svn: 30233
2006-09-09 22:02:25 +00:00
Chris Lattner
b6118b0ad6
new testcase
...
llvm-svn: 30229
2006-09-09 20:26:04 +00:00
Chris Lattner
a4b7de8669
(indirect) test for the __builtin_powi builtin which we now support.
...
llvm-svn: 30224
2006-09-09 06:02:16 +00:00
Rafael Espindola
d11fb5d13b
implement shl and sra
...
llvm-svn: 30191
2006-09-08 17:36:23 +00:00
Rafael Espindola
384a4a9480
fix select.ll to always test a select node
...
llvm-svn: 30187
2006-09-08 12:52:50 +00:00
Rafael Espindola
778769aafb
implement unconditional branches
...
fix select.ll
llvm-svn: 30186
2006-09-08 12:47:03 +00:00
Evan Cheng
8a29d206c2
New test case.
...
llvm-svn: 30179
2006-09-08 07:24:20 +00:00
Evan Cheng
5988288494
Add a new test case for 'undef' shuffles.
...
llvm-svn: 30172
2006-09-08 01:54:32 +00:00
Chris Lattner
dc22b97b9a
new testcase
...
llvm-svn: 30157
2006-09-07 21:29:32 +00:00
Chris Lattner
f9ed9f60ef
This fails
...
llvm-svn: 30148
2006-09-07 17:43:59 +00:00
Chris Lattner
6a7b824ded
New testcase for a switch lowering bug.
...
llvm-svn: 30141
2006-09-07 01:59:05 +00:00
Chris Lattner
0b5fb52b0e
testcase, ensure this never breaks.
...
llvm-svn: 30137
2006-09-06 21:54:59 +00:00
Chris Lattner
65df0ffadd
make this harder
...
llvm-svn: 30120
2006-09-05 20:27:06 +00:00
Rafael Espindola
8386105f3f
add support for returning 64bit values
...
llvm-svn: 30103
2006-09-04 19:05:01 +00:00
Rafael Espindola
5328ba96e1
add the SETULT condition code
...
llvm-svn: 30067
2006-09-03 13:19:16 +00:00
Chris Lattner
798e9658d7
Testcase (distilled from crafty) that crashed the local RA on X86.
...
llvm-svn: 30063
2006-09-03 07:14:47 +00:00
Owen Anderson
bcb301c4a2
Make this testcase actually recursive. I accidentally committed the wrong copy last time.
...
llvm-svn: 30059
2006-09-02 22:46:58 +00:00
Owen Anderson
19b80e76df
Make ArgumentPromotion handle recursive functions that pass pointers in their recursive calls.
...
llvm-svn: 30057
2006-09-02 21:19:44 +00:00
Rafael Espindola
c585b6919b
add more condition codes
...
llvm-svn: 30056
2006-09-02 20:24:25 +00:00
Nick Lewycky
8e5599354a
Improve handling of SelectInst.
...
Reorder operations to remove duplicated work.
Fix to leave floating-point types out of the optimization.
Add tests to predsimplify.ll for SwitchInst and SelectInst handling.
llvm-svn: 30055
2006-09-02 19:40:38 +00:00
Evan Cheng
1f15185cbc
Another "cyclic DAG" test case.
...
llvm-svn: 30043
2006-09-01 23:50:17 +00:00
Chris Lattner
315f02a6e5
Make this harder
...
llvm-svn: 30036
2006-09-01 22:07:00 +00:00
Chris Lattner
4b975e8eea
simple multiclass example
...
llvm-svn: 30028
2006-09-01 21:14:37 +00:00
Nick Lewycky
a24fdaea0b
This program crashes the PredicateSimplifier. Not marked XFAIL because
...
the PredicateSimplifier is skipped in make check anyways.
llvm-svn: 29992
2006-08-31 03:13:05 +00:00
Chris Lattner
f5da261701
Bugfix for recent coallescer crash
...
llvm-svn: 29990
2006-08-30 23:03:35 +00:00
Chris Lattner
faa6355510
new testcase for pr687
...
llvm-svn: 29967
2006-08-29 23:09:59 +00:00
Evan Cheng
8dd79a4c14
This is also a 32-bit only test. x86-64 would pass fp parameters through XMM registers.
...
llvm-svn: 29964
2006-08-29 22:01:39 +00:00
Evan Cheng
65c4409e63
Fix test case so it passes on x86-64.
...
llvm-svn: 29963
2006-08-29 21:49:58 +00:00
Evan Cheng
abb02a35cf
Undo xfail.
...
llvm-svn: 29958
2006-08-29 18:49:41 +00:00
Nick Lewycky
b2e8ae1700
Add PredicateSimplifier pass. Collapses equal variables into one form
...
and simplifies expressions. This implements the optimization described
in PR807.
llvm-svn: 29947
2006-08-28 22:44:55 +00:00
Chris Lattner
ac23219233
Update tests now that opt no longer reads .ll files
...
llvm-svn: 29927
2006-08-27 22:47:14 +00:00
Chris Lattner
358fe85ab4
Adjust tests now that opt doesn't read .ll files.
...
llvm-svn: 29926
2006-08-27 22:44:20 +00:00
Chris Lattner
c7cff24f40
opt no longer reads .ll files. Run llvm-as explicitly.
...
llvm-svn: 29924
2006-08-27 22:41:58 +00:00
Chris Lattner
77443b7dc0
Move this test from Codegen/PowerPC to CodeGen/Generic. It fails on ia64,
...
but that's not the ppc backend's fault.
llvm-svn: 29914
2006-08-27 20:52:00 +00:00
Evan Cheng
f0b7f06b63
Improved codegen due to Chris' live interval joining changes.
...
llvm-svn: 29899
2006-08-26 07:38:36 +00:00
Rafael Espindola
9a173c937a
test case for varargs functions
...
llvm-svn: 29877
2006-08-25 17:57:36 +00:00
Owen Anderson
e001d811ba
Implement unrolling of multiblock loops. This significantly improves the
...
utility of the LoopUnroll pass.
Also, add a testcase for multiblock-loop unrolling.
llvm-svn: 29859
2006-08-24 21:28:19 +00:00
Rafael Espindola
e08b9853cc
initial support for branches
...
llvm-svn: 29854
2006-08-24 13:45:55 +00:00
Rafael Espindola
7930e898b2
run llc with -march=arm in select.ll
...
llvm-svn: 29821
2006-08-22 16:19:54 +00:00
Chris Lattner
3b944e97af
This passes.
...
llvm-svn: 29813
2006-08-22 06:43:24 +00:00
Reid Spencer
f69a17123b
Use the correct syntax.
...
Note to self: test before committing things!
llvm-svn: 29810
2006-08-22 05:40:51 +00:00
Reid Spencer
cc2c12feef
Add a simple RUN line so this doesn't always fail. XFAIL this until
...
Rafael can get a chance to fix it.
llvm-svn: 29809
2006-08-22 05:37:43 +00:00
Bill Wendling
568dca96c9
Modified the RUN line from "analyze ..." to "opt -analyze ..." because
...
Reid removed the analyze tool and incorporated it into the opt tool.
llvm-svn: 29807
2006-08-22 04:37:51 +00:00
Rafael Espindola
d0dee77718
initial support for select
...
llvm-svn: 29802
2006-08-21 22:00:32 +00:00
Bill Wendling
04f2246400
Added a check so that if we have two machine instructions in this form
...
MOV R0, R1
MOV R1, R0
the second machine instruction is removed. Added a regression test.
llvm-svn: 29792
2006-08-21 07:33:33 +00:00
Reid Spencer
378f7d5d20
For PR872:
...
Shrinkify LLVM's footprint by removing the analyze tool and moving its
functionality into the opt tool. THis eliminates one of the largest tools
from LLVM and doesn't make opt much bigger because it already included
most of the analysis passes. To get the old analyze functionality pass
the -analyze option to opt. Note that the integeration here is dead
simple. The "main" of analyze was just copied to opt and invoked if the
-analyze option was given. There may be opportunities for further
integration such as removing the distinction between transform passes
and analysis passes.
To use the analysis functionality, if you previously did this:
analyze $FNAME -domset -disable-verify
you would now do this:
opt -analyze $FNAME -domset -disable-verify
Pretty simple.
llvm-svn: 29762
2006-08-18 06:34:30 +00:00
Chris Lattner
ac2610a94a
Temporarily xfail this test, evan will look at it in a week or so.
...
llvm-svn: 29760
2006-08-18 00:18:38 +00:00
Rafael Espindola
c3ed77e1b9
add a "load effective address"
...
llvm-svn: 29748
2006-08-17 17:09:40 +00:00
Evan Cheng
0742d58864
Another cyclic dag test case.
...
llvm-svn: 29742
2006-08-17 00:00:46 +00:00
Chris Lattner
75b5713bc8
New testcase
...
llvm-svn: 29714
2006-08-15 23:45:28 +00:00
Chris Lattner
c5bbda70e3
new testcase from PR877
...
llvm-svn: 29672
2006-08-14 21:37:32 +00:00
Rafael Espindola
157971b04a
select code like
...
ldr rx, [ry, #offset]
llvm-svn: 29664
2006-08-14 19:01:24 +00:00
Chris Lattner
54faca1d70
New testcase, this used to take hours to loopsimplify.
...
llvm-svn: 29646
2006-08-12 05:23:27 +00:00
Chris Lattner
25d0d5c9e0
New testcase
...
llvm-svn: 29606
2006-08-11 16:46:38 +00:00
Rafael Espindola
f5ce475540
fix the spill code
...
llvm-svn: 29583
2006-08-09 16:41:12 +00:00
Rafael Espindola
39083e7836
initial support for variable number of arguments
...
llvm-svn: 29567
2006-08-08 13:02:29 +00:00
Evan Cheng
bb7dc538c7
New test case.
...
llvm-svn: 29558
2006-08-07 23:58:47 +00:00
Chris Lattner
cd4ff2b36f
converge on the right number of %'s :)
...
llvm-svn: 29527
2006-08-04 18:09:27 +00:00
Reid Spencer
661f62625a
Use the %llvm-gcc% variable to find llvm-gcc for those of us that don't
...
have it in our path and to ensure it uses the configured llvm-gcc not just
any one randomly placed in the path.
llvm-svn: 29522
2006-08-04 17:35:18 +00:00
Rafael Espindola
2bcb8c0f05
use a 'register pressure reducing' scheduler
...
make sure only one move is used in a hello world
llvm-svn: 29520
2006-08-04 12:48:42 +00:00
Chris Lattner
64de8fb7e8
new testcase for pr867
...
llvm-svn: 29514
2006-08-03 21:39:41 +00:00
Jim Laskey
79bf4c67fc
Applying for all.
...
llvm-svn: 29512
2006-08-03 20:56:35 +00:00
Jim Laskey
d9f2969cdb
Make all the schedulers continue to work.
...
llvm-svn: 29510
2006-08-03 20:49:29 +00:00
Chris Lattner
aba76b76b1
If dejagnu is not found, tell the user instead of bombing out with an
...
obscure error.
llvm-svn: 29421
2006-08-01 00:07:58 +00:00
Chris Lattner
9e3d4c2693
New testcase for PR850.
...
llvm-svn: 29419
2006-07-31 23:25:17 +00:00
Chris Lattner
8f5dcd716a
testcase for PR854.
...
llvm-svn: 29412
2006-07-31 17:31:48 +00:00
Chris Lattner
f0fe42350f
Testcase for GCC bug28417, ensuring that we don't start getting it wrong
...
somehow.
llvm-svn: 29410
2006-07-30 17:46:37 +00:00
Chris Lattner
47925f2e6c
New testcase for PR853
...
llvm-svn: 29407
2006-07-29 01:50:53 +00:00
Chris Lattner
698913e6c5
allow this to pass on non-x86 machines
...
llvm-svn: 29303
2006-07-26 20:44:24 +00:00
Chris Lattner
da72978e1e
Don't test an example
...
llvm-svn: 29301
2006-07-26 20:33:20 +00:00
Rafael Espindola
8902fd702b
implement function calling of functions with up to 4 arguments
...
llvm-svn: 29274
2006-07-25 20:17:20 +00:00
Evan Cheng
d5b5c97364
XFAIL for now.
...
llvm-svn: 29272
2006-07-24 07:37:33 +00:00
Evan Cheng
f406ae17a1
New vector shuffle test case.
...
llvm-svn: 29237
2006-07-20 23:51:01 +00:00
Evan Cheng
1504b298ec
Fix a broken test.
...
llvm-svn: 29236
2006-07-20 23:50:13 +00:00
Chris Lattner
9b10424aa8
New testcase for PR833
...
llvm-svn: 29225
2006-07-20 19:04:36 +00:00
Chris Lattner
4f501620ff
new testcase
...
llvm-svn: 29207
2006-07-19 17:14:23 +00:00
Jim Laskey
611ceb7848
Regression test for PR834.
...
llvm-svn: 29206
2006-07-19 16:37:15 +00:00
Chris Lattner
c7012cc9e9
testcase for PR827
...
llvm-svn: 29119
2006-07-12 18:27:13 +00:00
Chris Lattner
ed5a82b63e
Testcase for PR828.
...
llvm-svn: 29117
2006-07-12 16:59:09 +00:00
Evan Cheng
e910c355d3
Fix test failure on non-Apple systems.
...
llvm-svn: 29116
2006-07-12 06:48:47 +00:00
Chris Lattner
7a00b86720
Testcase for PR826
...
llvm-svn: 29111
2006-07-11 20:29:21 +00:00
Chris Lattner
6f5d3531c7
New testcase for PR825.
...
llvm-svn: 29100
2006-07-11 02:52:37 +00:00
Chris Lattner
14f6c70eeb
This is fixed
...
llvm-svn: 29098
2006-07-11 01:39:30 +00:00
Evan Cheng
fbc80692e4
Update.
...
llvm-svn: 29092
2006-07-10 21:49:09 +00:00
Chris Lattner
a0449c2936
New testcase for folding bswaps into i16/i32 loads and stores.
...
llvm-svn: 29088
2006-07-10 20:53:53 +00:00
Chris Lattner
3f8aee5fdf
Add tests for 16-bit byteswaps.
...
llvm-svn: 29086
2006-07-10 20:25:01 +00:00
Owen Anderson
638d6b914d
Add a test for the LCSSA issue I just fixed.
...
llvm-svn: 29077
2006-07-09 08:17:30 +00:00
Chris Lattner
c20367a548
Testcase for PR820
...
llvm-svn: 29070
2006-07-07 21:36:42 +00:00
Evan Cheng
7f6b788f24
Add a 64-bit test case.
...
llvm-svn: 29069
2006-07-07 21:36:24 +00:00
Evan Cheng
6e69d60fb0
New vector shuffle test case.
...
llvm-svn: 29060
2006-07-07 17:54:24 +00:00
Evan Cheng
c2c6a921be
Update
...
llvm-svn: 29059
2006-07-07 17:54:10 +00:00
Chris Lattner
a5b884caa2
Xfail this
...
llvm-svn: 29040
2006-07-07 04:43:24 +00:00
Evan Cheng
6e0af524c4
Update test case.
...
llvm-svn: 28994
2006-07-05 20:46:27 +00:00
Andrew Lenharth
3f3cc10d88
Legalize does not handle this correctly
...
llvm-svn: 28991
2006-07-03 22:46:02 +00:00
Andrew Lenharth
c327932ac1
not really XFailing these, as only incompleteness is wrong in the graph
...
llvm-svn: 28967
2006-06-28 20:14:30 +00:00
Andrew Lenharth
48b2b0c444
change I flag on test
...
llvm-svn: 28966
2006-06-28 20:07:36 +00:00
Chris Lattner
924963b604
Testcase that crashes the ppc backend.
...
llvm-svn: 28964
2006-06-28 18:29:33 +00:00
Chris Lattner
4c6f86816e
Infinite loop in instcombine that nate hit.
...
llvm-svn: 28960
2006-06-28 17:34:28 +00:00
Chris Lattner
5f49a00b9f
New testcase, reduced by nate, which crashes DSE
...
llvm-svn: 28949
2006-06-27 23:47:39 +00:00
Owen Anderson
c3b1a220a7
Testcase that Nate found where LoopUnswitch chokes on eliminating a dead case
...
from a switch instruction.
llvm-svn: 28946
2006-06-27 22:24:59 +00:00
Chris Lattner
66e9513625
testcase that crashes dead arg elim.
...
llvm-svn: 28942
2006-06-27 20:58:41 +00:00
Rafael Espindola
a88966fd5e
initial implementation of ARMRegisterInfo::eliminateFrameIndex
...
fixes test/Regression/CodeGen/ARM/ret_arg5.ll
llvm-svn: 28854
2006-06-18 00:08:07 +00:00
Chris Lattner
0b2652027b
Just a minor tweak so you can run things like:
...
TestRunner.sh Foo/Bar/test.ll
instead of just
TestRunner.sh test.ll
which is convenient in conjunction with find.
llvm-svn: 28852
2006-06-17 08:06:33 +00:00
Chris Lattner
fefc14d891
new testcase that crashes indvars
...
llvm-svn: 28849
2006-06-17 01:01:30 +00:00
Jim Laskey
c1066841bd
PR# not associated with XFAIL
...
llvm-svn: 28822
2006-06-16 16:57:43 +00:00
Jim Laskey
fd4b2e234a
debug info is alive again
...
llvm-svn: 28821
2006-06-16 16:50:24 +00:00
Chris Lattner
9cce4a54aa
This test isn't implemented yet
...
llvm-svn: 28820
2006-06-16 16:36:50 +00:00
Chris Lattner
e9ad44e8b1
New testcase, the linker is not merging alignments right.
...
llvm-svn: 28811
2006-06-16 01:20:58 +00:00
Jim Laskey
9095eec0a2
Make sure global doubles and vectors are aligned properly.
...
llvm-svn: 28805
2006-06-15 19:35:07 +00:00
Chris Lattner
c09a6ea07a
new testcase, instcombine should turn these into llvm.bswap intrinsics.
...
llvm-svn: 28802
2006-06-15 19:06:42 +00:00
Chris Lattner
4fce8940b0
new testcase, not currently working.
...
llvm-svn: 28786
2006-06-14 21:24:57 +00:00
Chris Lattner
d3c7db5fa8
new testcase, distilled from povray
...
llvm-svn: 28778
2006-06-14 04:45:45 +00:00
Jim Laskey
a48a176321
My original test case was bogus. Reverting to crasher case.
...
llvm-svn: 28767
2006-06-13 15:22:49 +00:00
Jim Laskey
fe25b30c6d
Tests to make sure that ComputeMaskedBits discards bits for shifts.
...
llvm-svn: 28766
2006-06-13 13:10:44 +00:00
Chris Lattner
9c4ddf8314
TEstcase that makes simplifycfg infloop.
...
llvm-svn: 28757
2006-06-12 20:17:44 +00:00
Chris Lattner
eecff6c21f
New testcase that crashes llc
...
llvm-svn: 28754
2006-06-12 18:24:32 +00:00
Owen Anderson
ecb8036e60
Make sure that LCSSA works properly when it encounters an exit block that has
...
more than one predecessor inside the loop.
llvm-svn: 28749
2006-06-12 07:05:47 +00:00
Chris Lattner
38b318d436
Add new testcase
...
llvm-svn: 28732
2006-06-08 18:26:48 +00:00
Chris Lattner
1b66dd690c
New testcase, using "AX" as i32.
...
llvm-svn: 28730
2006-06-08 18:20:13 +00:00
Owen Anderson
9e69c67ebe
Update the regression tests, and add a new one encountered while compiling crtend.
...
llvm-svn: 28681
2006-06-04 00:56:30 +00:00
Rafael Espindola
a124c91242
added some tests for argument passing
...
llvm-svn: 28644
2006-06-01 22:01:25 +00:00
Chris Lattner
3f1c2c0e66
testcase for the recent inliner improvement.
...
llvm-svn: 28643
2006-06-01 21:54:58 +00:00
Reid Spencer
569f3913a9
No, libLLVMbzip2 does not have a .a suffix.
...
llvm-svn: 28624
2006-06-01 07:23:32 +00:00
Reid Spencer
d661a4c218
Fix gcc command line options after LLVMCore and LLVMbzip2 became archive
...
libraries.
llvm-svn: 28623
2006-06-01 07:19:28 +00:00
Evan Cheng
6821bbb1ea
Update vector extract test cases.
...
llvm-svn: 28580
2006-05-31 00:48:09 +00:00
Reid Spencer
b5ddb66ce0
1. No need to thwart this test with an environment variable. Turning it off
...
is the default and handled by the makefile system and runtest
2. Redirect stderr of llvm-as and llvm2cpp so that warning messages about
instrinsics don't cause Tcl to report the run as failed.
llvm-svn: 28576
2006-05-30 23:07:17 +00:00
Evan Cheng
baace007a3
Added a test case for parameter passing of vector values.
...
llvm-svn: 28567
2006-05-30 20:37:00 +00:00
Evan Cheng
1ec0e4233e
Fix the test failure on non-Darwin targets.
...
llvm-svn: 28566
2006-05-30 20:35:46 +00:00
Evan Cheng
905e88caaa
Add a lea instruction selection test case.
...
llvm-svn: 28549
2006-05-30 06:53:55 +00:00
Reid Spencer
131ca2869c
Fix a bug with diffing the wrong files. Make output more readable.
...
llvm-svn: 28542
2006-05-29 18:09:38 +00:00
Owen Anderson
a03aa6f37f
Require both tests to pass.
...
llvm-svn: 28531
2006-05-29 01:28:16 +00:00
Owen Anderson
c01e7bde40
Update the testcase to check the full extent of LCSSA.
...
llvm-svn: 28530
2006-05-29 01:07:04 +00:00
Reid Spencer
497120ef63
Fix a problem where dejagnu won't accept the value of global tcl variable
...
"libdir" for some reason. Changing to llvmlibsdir instead fixes it.
llvm-svn: 28526
2006-05-28 07:22:42 +00:00
Reid Spencer
633301acea
Provide an infrastructure for testing the llvm2cpp program (yet to be
...
committed). This infrastructure is only activated when RUNLLVM2CPP=1 is
specified on the make command line. Currently it is only supported in the
Feature test suite.
llvm-svn: 28525
2006-05-28 04:21:40 +00:00
Chris Lattner
1a2a101359
New testcase: check that the inliner constant folds instructions on the
...
fly if it can.
llvm-svn: 28515
2006-05-27 01:16:22 +00:00
Owen Anderson
f980a7478f
Trivial testcase that LCSSA can already handle.
...
llvm-svn: 28508
2006-05-26 21:59:20 +00:00
Chris Lattner
158dd8aca8
New testcase for trivial DSE
...
llvm-svn: 28502
2006-05-26 19:18:40 +00:00
Chris Lattner
49e7f56e7f
New testcase, check that the bc file correctly encodes varargs nonccc calls.
...
llvm-svn: 28500
2006-05-26 18:41:26 +00:00
Chris Lattner
cdfb4cbad8
new testcase
...
llvm-svn: 28486
2006-05-25 23:23:22 +00:00
Chris Lattner
f322bf6297
new testcases
...
llvm-svn: 28484
2006-05-25 22:52:49 +00:00
Chris Lattner
d0754ad9e6
The patch corresponding to this test had to be reverted as unsafe.
...
llvm-svn: 28479
2006-05-25 21:25:54 +00:00
Evan Cheng
29ba01f214
New test case. x86 isel was creating a cycle in the DAG.
...
llvm-svn: 28477
2006-05-25 20:21:19 +00:00
Rafael Espindola
b14e20733e
create test/Regression/CodeGen/ARM/ and add a minimal test to it
...
llvm-svn: 28468
2006-05-25 10:49:19 +00:00
Evan Cheng
9414021779
-sched-commute-nodes is now on by default.
...
llvm-svn: 28467
2006-05-25 08:39:25 +00:00
Chris Lattner
ea03ef1624
Update testcase with recent cbe change
...
llvm-svn: 28455
2006-05-24 20:52:08 +00:00
Chris Lattner
fb5fc76063
Testcase for a new instcombine xform, patch contributed by Nick Lewycky!
...
llvm-svn: 28449
2006-05-24 17:34:02 +00:00
Chris Lattner
5114596467
One of these xforms is only safe with unsafe math enabled.
...
llvm-svn: 28446
2006-05-24 00:49:32 +00:00
Chris Lattner
de6909734d
New testcase
...
llvm-svn: 28444
2006-05-24 00:12:50 +00:00
Evan Cheng
a9194a8dbd
Added a test case for FP equality check.
...
llvm-svn: 28434
2006-05-23 06:41:23 +00:00
Chris Lattner
c4e9aff50f
new testcase for csretcc
...
llvm-svn: 28413
2006-05-19 22:00:54 +00:00
Chris Lattner
4203df25b8
new testcase
...
llvm-svn: 28396
2006-05-19 19:34:09 +00:00
Reid Spencer
8d88fc5ee4
Improve error output. Use the third parameter of the "catch" command to
...
capture the error output from the exec option. This generally will capture
the stderr messages generated by the tools. This information is then
printed if the test fails. This helps to recognize more quickly what the
error was. Otherwise, this information is lost.
llvm-svn: 28385
2006-05-18 19:42:16 +00:00
Chris Lattner
b848c2457e
This test is buggy: printf is a varargs function. This fixes the test with
...
the PPC JIT
llvm-svn: 28375
2006-05-17 23:43:56 +00:00
Evan Cheng
fabc691ce4
PR736 has already been fixed. Remove XFAIL marker.
...
llvm-svn: 28362
2006-05-17 20:21:44 +00:00
Evan Cheng
961ef9363d
New test case for vector type argument pass by value.
...
llvm-svn: 28361
2006-05-17 20:20:04 +00:00
Andrew Lenharth
f8e448f06f
Added regression that breaks gcc4 build
...
llvm-svn: 28358
2006-05-17 19:23:31 +00:00
Chris Lattner
f897d2f274
add an external symbol testcase
...
llvm-svn: 28345
2006-05-17 04:20:13 +00:00
Chris Lattner
174db05199
new test for various forms of calls
...
llvm-svn: 28344
2006-05-17 03:57:31 +00:00
Chris Lattner
5a37460533
test for support to pass/return vectors to calls.
...
llvm-svn: 28343
2006-05-17 00:18:23 +00:00
Chris Lattner
f4d08dd0d3
Another testcase that shouldn't need vrsave twiddling
...
llvm-svn: 28332
2006-05-16 18:23:55 +00:00
Chris Lattner
a1f0b95ce4
Remove this xfail-d test, which doesn't make any sense
...
llvm-svn: 28328
2006-05-16 17:22:42 +00:00
Chris Lattner
4edab0f7a7
New testcase for instcombine
...
llvm-svn: 28272
2006-05-13 02:00:07 +00:00
Chris Lattner
6372a2acde
new testcase for a recent rlwimi crash.
...
llvm-svn: 28242
2006-05-12 16:28:13 +00:00
Evan Cheng
1501b9f829
New scheduling test case.
...
llvm-svn: 28232
2006-05-12 01:59:17 +00:00
Evan Cheng
47a57ac4f9
Update test case
...
llvm-svn: 28216
2006-05-10 19:53:05 +00:00
Chris Lattner
1a0e0c1c9e
New testcase, check that dead code doesn't pessimize instcombine
...
llvm-svn: 28214
2006-05-10 18:56:04 +00:00
Evan Cheng
43ddc376fb
Another instruction scheduling test case
...
llvm-svn: 28203
2006-05-09 07:20:24 +00:00
Evan Cheng
c39ab4575e
Test case for PR770
...
llvm-svn: 28198
2006-05-09 06:48:12 +00:00
Chris Lattner
536c83f25d
new testcase
...
llvm-svn: 28173
2006-05-08 20:58:58 +00:00
Chris Lattner
21c85bc790
This test passes now, remove xfail marker
...
Change test to be a positive test instead of a negative test
llvm-svn: 28159
2006-05-07 18:16:31 +00:00
Chris Lattner
0b8c57ec2b
new testcase we handle right now.
...
llvm-svn: 28147
2006-05-06 18:15:50 +00:00
Chris Lattner
cbeb178e14
new testcase
...
llvm-svn: 28142
2006-05-06 09:09:47 +00:00
Chris Lattner
44f121abc1
new testcase from ghostscript that inf looped instcombine
...
llvm-svn: 28140
2006-05-06 08:58:06 +00:00
Chris Lattner
c9043ef728
New testcase
...
llvm-svn: 28125
2006-05-05 06:38:40 +00:00
Chris Lattner
618ff2dc4e
new testcase that crashes the instcombine pass
...
llvm-svn: 28100
2006-05-04 17:33:24 +00:00
Evan Cheng
8b1cde2bbe
Use movsd to shuffle in the lowest two elements of a v4f32 / v4i32 vector when
...
movlps cannot be used (e.g. when load from m64 has multiple uses).
llvm-svn: 28089
2006-05-03 20:32:03 +00:00
Evan Cheng
7bd487fe41
A few instruction scheduling test cases.
...
llvm-svn: 28077
2006-05-03 02:11:36 +00:00
Chris Lattner
5104e3b833
New testcase that crashes the new CFE.
...
llvm-svn: 28042
2006-05-01 23:18:55 +00:00
Chris Lattner
78d9ae3f0c
Intel mode no longer uses %'s on registers
...
llvm-svn: 28028
2006-05-01 05:56:51 +00:00
Chris Lattner
00aaa76da3
new testcase miscompiled by instcombine
...
llvm-svn: 28018
2006-04-28 22:17:20 +00:00
Chris Lattner
a2cef87a30
testcase that crashes the ppc backend, which can't sextinreg(i1)
...
llvm-svn: 28016
2006-04-28 21:52:24 +00:00