Chris Lattner
8bd5e1a0b8
fix failure on ahs3's tester
...
llvm-svn: 36791
2007-05-05 20:50:35 +00:00
Chris Lattner
38bc9bfe48
remove bogus xfailed testcase
...
llvm-svn: 36790
2007-05-05 20:49:28 +00:00
Duncan Sands
d31dcdacef
Check that the right eh personality function is used.
...
llvm-svn: 36788
2007-05-05 20:22:08 +00:00
Chris Lattner
cc1aa37fbf
new testcase for PR1371
...
llvm-svn: 36786
2007-05-05 19:38:43 +00:00
Chris Lattner
580d824e5d
new testcase for PR1385
...
llvm-svn: 36783
2007-05-05 18:48:52 +00:00
Chris Lattner
8b332d32be
new testacse for PR1384
...
llvm-svn: 36774
2007-05-05 01:59:05 +00:00
Duncan Sands
6e5011d208
Test that the eh lowering code can handle constant folded bitcasts.
...
llvm-svn: 36746
2007-05-04 17:14:42 +00:00
Reid Spencer
955162aaae
Add a test case for testing the LLI interpreter wrt bitcast of fp to integer.
...
llvm-svn: 36732
2007-05-04 03:35:17 +00:00
Chris Lattner
2b1b18b2db
new testcase
...
llvm-svn: 36722
2007-05-04 00:51:23 +00:00
Evan Cheng
726e66f734
Test load global in static mode.
...
llvm-svn: 36719
2007-05-04 00:29:34 +00:00
Evan Cheng
579abf45bb
New test case.
...
llvm-svn: 36717
2007-05-03 23:53:36 +00:00
Dale Johannesen
89200ce0f0
Evan's patch to avoid FPreg->intreg copy for cvt; store to mem
...
llvm-svn: 36693
2007-05-03 20:54:42 +00:00
Evan Cheng
847f31ec25
negatize -> negative
...
llvm-svn: 36683
2007-05-03 18:20:17 +00:00
Chris Lattner
3725488356
new testcase
...
llvm-svn: 36671
2007-05-03 16:54:08 +00:00
Devang Patel
7aa944da8b
New test.
...
llvm-svn: 36661
2007-05-03 00:42:22 +00:00
Chris Lattner
483dc2bf08
match a reassociated form of fnmul
...
llvm-svn: 36659
2007-05-03 00:31:40 +00:00
Duncan Sands
89b1f3a847
Test that TREE_CONSTANT is being set correctly.
...
llvm-svn: 36645
2007-05-02 07:43:14 +00:00
Duncan Sands
e0361b4945
Test that inline assembler compiles (llvm-gcc added an extra "uses" parameter
...
to ASM_EXPR).
llvm-svn: 36644
2007-05-02 07:41:22 +00:00
Duncan Sands
bb7989b622
Test handling of TRY_CATCH_EXPRs for which the handler is a sequence of
...
ordinary statements, rather than a list of CATCH_EXPRs or an EH_FILTER_EXPR.
llvm-svn: 36629
2007-05-01 18:49:30 +00:00
Reid Spencer
0659c45204
Split target dependent test portions to target-specific directories.
...
llvm-svn: 36612
2007-05-01 02:56:15 +00:00
Evan Cheng
8a16201953
Test a dag combiner crasher.
...
llvm-svn: 36605
2007-05-01 00:40:38 +00:00
Chris Lattner
9d912af4e8
testcase for PR1228
...
llvm-svn: 36601
2007-04-30 23:34:46 +00:00
Chris Lattner
7c2c1b7180
testcase for PR1357
...
llvm-svn: 36598
2007-04-30 21:10:13 +00:00
Reid Spencer
e7449654d1
For PR1370:
...
Rearrange some tests so that if PowerPC is not being built we don't try to
run PowerPC specific tests.
llvm-svn: 36587
2007-04-30 05:11:58 +00:00
Chris Lattner
f897cb45a5
not all targets want to return an i32. What really matters is whether llc accepts the generated code.
...
llvm-svn: 36569
2007-04-29 18:59:01 +00:00
Anton Korobeynikov
8a00ba1c69
Updated aliases test
...
llvm-svn: 36558
2007-04-29 10:34:42 +00:00
Anton Korobeynikov
b18f8f85e9
Implement review feedback. Aliasees can be either GlobalValue's or
...
bitcasts of them.
llvm-svn: 36537
2007-04-28 13:45:00 +00:00
Chris Lattner
5f59451529
new testcase for PR1356
...
llvm-svn: 36535
2007-04-28 06:41:13 +00:00
Chris Lattner
7141c393b6
ensure the operand prints.
...
llvm-svn: 36533
2007-04-28 06:07:55 +00:00
Chris Lattner
61553c1340
new testcase
...
llvm-svn: 36532
2007-04-28 06:05:59 +00:00
Chris Lattner
193d2f09f0
update syntax
...
llvm-svn: 36531
2007-04-28 06:03:12 +00:00
Chris Lattner
e53e2eeecb
not fully implemented yet.
...
llvm-svn: 36530
2007-04-28 06:02:13 +00:00
Chris Lattner
73b3b80815
update for new inline asm syntax
...
llvm-svn: 36526
2007-04-28 05:20:26 +00:00
Chris Lattner
1df6c1c5b0
new testcase
...
llvm-svn: 36520
2007-04-28 00:54:45 +00:00
Lauro Ramos Venancio
940b083a63
fix the test tls1.
...
llvm-svn: 36517
2007-04-27 21:23:17 +00:00
Lauro Ramos Venancio
04750a18be
add TLS tests.
...
llvm-svn: 36516
2007-04-27 21:08:48 +00:00
Lauro Ramos Venancio
62f65468bc
In Thumb mode, the frame register must be R7.
...
llvm-svn: 36512
2007-04-27 17:58:03 +00:00
Chris Lattner
83a5e928e6
make this testcase harder, to cover PR1326
...
llvm-svn: 36509
2007-04-27 17:12:23 +00:00
Duncan Sands
9e72fc1163
Test that eh_selector lowering accepts global variables as well as bitcasts
...
of global variables.
llvm-svn: 36500
2007-04-27 06:56:53 +00:00
Anton Korobeynikov
084cbbbe25
Unxfail tests
...
llvm-svn: 36497
2007-04-26 21:20:04 +00:00
Dan Gohman
16259b4ff2
testcase for PR1339: http://llvm.org/PR1339
...
llvm-svn: 36492
2007-04-26 21:04:39 +00:00
Anton Korobeynikov
4ff20ff903
Add test to proper place. Also, XFAIL until ppc bootstrap will be ok.
...
llvm-svn: 36491
2007-04-26 20:49:05 +00:00
Anton Korobeynikov
d7ae7f1659
Fixx off-by-one bug, which prevents llvm-gcc bootstrap on ppc32
...
llvm-svn: 36490
2007-04-26 20:44:04 +00:00
Andrew Lenharth
a2f93b554d
An example for PR1362
...
llvm-svn: 36484
2007-04-26 19:28:33 +00:00
Zhou Sheng
6d207a761f
Add two test cases to cover apintification change.
...
llvm-svn: 36476
2007-04-26 16:44:48 +00:00
Chris Lattner
0cdcadc860
new testcase
...
llvm-svn: 36468
2007-04-26 05:28:45 +00:00
Reid Spencer
30d5e9449f
For PR1355:
...
Make the script process multiple files and describe its usage properly.
llvm-svn: 36466
2007-04-26 03:59:24 +00:00
Evan Cheng
d3d914b9f8
PR1348 test case.
...
llvm-svn: 36457
2007-04-26 01:14:14 +00:00
Evan Cheng
9f12bc480b
New test case.
...
llvm-svn: 36455
2007-04-26 00:07:36 +00:00
Chris Lattner
2a4853b424
&& no longer needed
...
llvm-svn: 36453
2007-04-25 22:32:55 +00:00
Bill Wendling
9b8d17db61
Testcase for codegen bug.
...
llvm-svn: 36450
2007-04-25 21:58:17 +00:00
Lauro Ramos Venancio
4ae9425bb6
remember to emit weak reference in one more case.
...
llvm-svn: 36438
2007-04-25 14:50:40 +00:00
Anton Korobeynikov
a97b694c82
Implement aliases. This fixes PR1017 and it's dependent bugs. CFE part
...
will follow.
llvm-svn: 36435
2007-04-25 14:27:10 +00:00
Chris Lattner
7ebda6ba37
new testcase, should be able to eliminate the alloca and memcpy
...
llvm-svn: 36428
2007-04-25 06:29:34 +00:00
Chris Lattner
5ec45c5b90
new testcase
...
llvm-svn: 36418
2007-04-25 01:51:33 +00:00
Devang Patel
206baa4425
New test.
...
llvm-svn: 36416
2007-04-25 00:35:37 +00:00
Chris Lattner
d7c51e5423
testcase for PR1352
...
llvm-svn: 36415
2007-04-25 00:26:05 +00:00
Chris Lattner
61e8297c44
new testcase that crashes llc
...
llvm-svn: 36412
2007-04-25 00:00:12 +00:00
Chris Lattner
02ba563c82
testcase for PR1351
...
llvm-svn: 36409
2007-04-24 22:49:57 +00:00
Bill Wendling
f4fb685122
Testcases for MMX.
...
llvm-svn: 36408
2007-04-24 22:28:30 +00:00
Devang Patel
895fa7acac
New test.
...
llvm-svn: 36401
2007-04-24 21:05:52 +00:00
Devang Patel
c829e9ff60
New test case.
...
llvm-svn: 36400
2007-04-24 19:24:39 +00:00
Devang Patel
cbb4994f6b
New test.
...
llvm-svn: 36379
2007-04-23 22:39:53 +00:00
Reid Spencer
98f713141a
Dan is right, using "string first" would produce false positives. So,
...
devolve the check to a comparison against each component in the string.
Fortunately there isn't many of them.
llvm-svn: 36376
2007-04-23 21:21:53 +00:00
Lauro Ramos Venancio
fe6e3f49b1
Add TLS tests.
...
llvm-svn: 36360
2007-04-23 01:29:35 +00:00
Andrew Lenharth
12effef41e
simplify this test until it can be dealt with
...
llvm-svn: 36351
2007-04-22 20:58:56 +00:00
Reid Spencer
d1931feba5
Fix the comparison of language names to accept any characters by using
...
"string first" instead of "regexp match". This helps C++ tests get executed.
llvm-svn: 36339
2007-04-22 14:14:11 +00:00
Reid Spencer
b66633e945
Make running these tests conditional on llvm-gcc supporting the language
...
of these test cases.
llvm-svn: 36328
2007-04-22 05:53:18 +00:00
Reid Spencer
4388f0b4fa
For PR1146:
...
Make ParamAttrsList objects unique. You can no longer directly create or
destroy them but instead must go through the ParamAttrsList::get()
interface.
llvm-svn: 36327
2007-04-22 05:46:44 +00:00
Lauro Ramos Venancio
ee2d164f0f
Implement PIC for arm-linux.
...
llvm-svn: 36324
2007-04-22 00:04:12 +00:00
Reid Spencer
2bb29e778a
Add a .cvsignore file.
...
llvm-svn: 36323
2007-04-21 21:53:04 +00:00
Reid Spencer
4a82e5d7b7
Replace llvm_gcc_supports_ada and llvm_gcc_supports_objc with just a single
...
llvm_gcc_supports function that takes the language as an argument. Base that
function on the new LLVMGCC_LANGS configured variable so that we don't have
to execute feature checks during the test run.
llvm-svn: 36322
2007-04-21 21:45:51 +00:00
Reid Spencer
c7f2005d45
Pass the LLVMGCC_LANGS variable through to Tcl.
...
llvm-svn: 36321
2007-04-21 21:43:18 +00:00
Reid Spencer
a043ed1fc2
llvm-dg.exp is dead, remove it.
...
llvm-svn: 36317
2007-04-21 20:48:14 +00:00
Reid Spencer
e930ee6791
Failure.sh is dead, remove it.
...
llvm-svn: 36316
2007-04-21 20:46:55 +00:00
Reid Spencer
225b2732a4
Use the llvm_supports_target function to prevent running of tests for
...
targets that LLVM is not configured to support.
llvm-svn: 36315
2007-04-21 20:41:27 +00:00
Reid Spencer
9e56986407
Add the llvm_supports_target function.
...
llvm-svn: 36314
2007-04-21 20:40:17 +00:00
Reid Spencer
b39d96e59c
Add the TARGETS_TO_BUILD variable.
...
llvm-svn: 36313
2007-04-21 20:39:26 +00:00
Duncan Sands
12347e05f6
Test if the compiler supports Ada, and enable Ada tests if so. While I was
...
there, delete a temporary file the objc test forgot to delete.
llvm-svn: 36312
2007-04-21 20:20:47 +00:00
Reid Spencer
e01dd63b87
Always print the same "PR" information in the same location (just after
...
the test name) in all cases (PASS, XPASS, FAIL, XFAIL). This makes the
output consistent and more amenable to parsing by nightly test.
llvm-svn: 36311
2007-04-21 18:53:12 +00:00
Reid Spencer
c0d770b8a1
Put failure information on a separate line. Hopefully this unbreaks the
...
nightly tester which expects the FAIL: line to only have the test name on
it.
llvm-svn: 36310
2007-04-21 18:46:52 +00:00
Christopher Lamb
bff50208c8
add support for alignment attributes on load/store instructions
...
llvm-svn: 36301
2007-04-21 08:16:25 +00:00
Chris Lattner
6121802090
make this portable to 64-bit hosts
...
llvm-svn: 36297
2007-04-21 03:35:28 +00:00
Devang Patel
f119698f3f
New test case.
...
llvm-svn: 36293
2007-04-21 00:34:37 +00:00
Devang Patel
62cf9a592c
Enable Objective-C tests.
...
llvm-svn: 36281
2007-04-20 21:24:01 +00:00
Christopher Lamb
aac115a8e5
Test check in
...
llvm-svn: 36269
2007-04-20 05:05:24 +00:00
Evan Cheng
b76ba096fe
Fix test.
...
llvm-svn: 36266
2007-04-20 00:45:36 +00:00
Chris Lattner
1af7b8451e
new testcase
...
llvm-svn: 36243
2007-04-18 03:04:37 +00:00
Evan Cheng
9fcce44e7f
New crasher test case.
...
llvm-svn: 36241
2007-04-18 02:35:10 +00:00
Devang Patel
da48b7dcce
New test.
...
llvm-svn: 36235
2007-04-18 00:51:43 +00:00
Chris Lattner
4fe9eb5052
new testcase
...
llvm-svn: 36230
2007-04-17 23:43:31 +00:00
Chris Lattner
0a8d14ce67
new testcase
...
llvm-svn: 36220
2007-04-17 21:12:26 +00:00
Duncan Sands
1ff58a45ae
Use // not ; since this is C.
...
llvm-svn: 36219
2007-04-17 20:50:33 +00:00
Devang Patel
a9cde02ee3
New test case.
...
llvm-svn: 36217
2007-04-17 20:29:12 +00:00
Chris Lattner
2a4054bddb
new testcase
...
llvm-svn: 36211
2007-04-17 19:03:02 +00:00
Anton Korobeynikov
8b7aab009e
Implemented correct stack probing on mingw/cygwin for dynamic alloca's.
...
Also, fixed static case in presence of eax livin. This fixes PR331
PS: Why don't we still have push/pop instructions? :)
llvm-svn: 36195
2007-04-17 09:20:00 +00:00
Jeff Cohen
8e84687350
Make it work on 64-bit systems.
...
llvm-svn: 36194
2007-04-17 05:48:35 +00:00
Andrew Lenharth
fb40bd5654
this is fixed
...
llvm-svn: 36190
2007-04-17 04:07:27 +00:00
Devang Patel
74ede29a27
Add PR number for reference.
...
llvm-svn: 36184
2007-04-16 23:52:37 +00:00
Devang Patel
369bec184b
New test case.
...
llvm-svn: 36181
2007-04-16 23:02:22 +00:00
Reid Spencer
8c756a9ded
Fix this test from Duncan's experiment.
...
llvm-svn: 36176
2007-04-16 21:57:14 +00:00
Reid Spencer
658894a8eb
Also validate that the code generation of IntrinsicLowering for LLI works.
...
llvm-svn: 36175
2007-04-16 21:52:56 +00:00
Chris Lattner
f69ab9475c
refix this
...
llvm-svn: 36172
2007-04-16 21:30:21 +00:00
Chris Lattner
e0a060043b
use an x86 t-t for an x86 test. Thanks to Dan for noticing this!
...
llvm-svn: 36170
2007-04-16 21:26:37 +00:00
Chris Lattner
6d9b520091
fix incorrectly upgraded test
...
llvm-svn: 36169
2007-04-16 21:24:14 +00:00
Chris Lattner
5e39c97ba0
We shouldn't have tests for features we don't have yet.
...
llvm-svn: 36167
2007-04-16 21:22:58 +00:00
Chris Lattner
e54ef7a8fb
remove bogus test
...
llvm-svn: 36166
2007-04-16 21:20:27 +00:00
Duncan Sands
2e1ec4dee3
Spelling fix.
...
llvm-svn: 36165
2007-04-16 21:19:45 +00:00
Chris Lattner
18d4802798
MAke this test portable.
...
llvm-svn: 36164
2007-04-16 21:18:56 +00:00
Duncan Sands
330d495889
Test code quality for variable length array references.
...
llvm-svn: 36163
2007-04-16 21:13:57 +00:00
Duncan Sands
219044fcbc
Check handling of arrays of variable sized components.
...
llvm-svn: 36162
2007-04-16 21:12:03 +00:00
Anton Korobeynikov
325d93dde4
Heal this test
...
llvm-svn: 36161
2007-04-16 21:07:00 +00:00
Chris Lattner
320ce04cb2
fix this test
...
llvm-svn: 36160
2007-04-16 21:05:37 +00:00
Evan Cheng
a17265bfbd
Fixes tests and remove xfail.
...
llvm-svn: 36152
2007-04-16 20:04:11 +00:00
Evan Cheng
6ccf9a8362
One more callee-saved register used.
...
llvm-svn: 36151
2007-04-16 18:59:25 +00:00
Evan Cheng
0c8add06f1
Fix test.
...
llvm-svn: 36150
2007-04-16 18:55:46 +00:00
Duncan Sands
475eb0f4ed
Testcase for C front-end crash.
...
llvm-svn: 36148
2007-04-16 18:51:13 +00:00
Duncan Sands
d16d149262
Testcase for debug info emission for structure fields at variable offsets.
...
llvm-svn: 36147
2007-04-16 18:49:21 +00:00
Reid Spencer
edce114669
For PR1336:
...
Un-XFAIL because this passes now.
llvm-svn: 36145
2007-04-16 17:51:25 +00:00
Reid Spencer
6e87ec4351
For PR1319:
...
Remove && from the end of the lines to prevent tests from throwing run
lines into the background. Also, clean up places where the same command
is run multiple times by using a temporary file.
llvm-svn: 36142
2007-04-16 17:36:08 +00:00
Lauro Ramos Venancio
675732ad38
Fix hello.ll test.
...
llvm-svn: 36141
2007-04-16 17:08:00 +00:00
Lauro Ramos Venancio
b1d58a5281
Fix align test.
...
llvm-svn: 36140
2007-04-16 16:57:47 +00:00
Duncan Sands
17a2ef6803
Look for site.exp in the build directory, not the source directory.
...
llvm-svn: 36138
2007-04-16 16:45:12 +00:00
Duncan Sands
c68668f27c
Use %s, not explicit name.
...
llvm-svn: 36136
2007-04-16 16:06:17 +00:00
Duncan Sands
389439c7c5
Change ne into !=.
...
llvm-svn: 36135
2007-04-16 15:37:00 +00:00
Reid Spencer
4dcf8bff4b
For PR1319:
...
Fix syntax of tests to ensure grep pattern is properly quoted.
llvm-svn: 36134
2007-04-16 15:31:49 +00:00
Reid Spencer
86f337eeda
For PR1319:
...
Fix test syntax per new rules.
llvm-svn: 36133
2007-04-16 15:15:52 +00:00
Reid Spencer
e7df634b3d
Fix the syntax for these tests. Noticed by Duncan Sands.
...
llvm-svn: 36132
2007-04-16 15:00:39 +00:00
Reid Spencer
c6ee811cc2
Syntax upgrade and fix for PR1336.
...
llvm-svn: 36131
2007-04-16 14:46:17 +00:00
Reid Spencer
15326fa114
For PR1336:
...
Rename test functions to not conflict with an instruction mnemonic.
llvm-svn: 36130
2007-04-16 14:23:07 +00:00
Reid Spencer
b100325547
For PR1336:
...
Ignore case for instruction mnemonic comparison.
llvm-svn: 36129
2007-04-16 14:20:28 +00:00
Reid Spencer
5203d296c6
Wrap long line.
...
llvm-svn: 36128
2007-04-16 14:17:04 +00:00
Reid Spencer
0c1a31c92f
For PR1336:
...
Ignore case for register name compare.
llvm-svn: 36127
2007-04-16 14:14:31 +00:00
Reid Spencer
fb458caf44
For PR1336:
...
Un-XFAIL as Alpha feature now specified in lower case.
llvm-svn: 36126
2007-04-16 14:07:53 +00:00
Reid Spencer
f400745e7f
Test case for PR1328.
...
llvm-svn: 36119
2007-04-16 06:52:21 +00:00
Chris Lattner
79d25c3440
make this test more portable.
...
llvm-svn: 36118
2007-04-16 06:14:28 +00:00
Chris Lattner
ae2d5291b5
fix incorrectly upgraded test
...
llvm-svn: 36117
2007-04-16 06:10:47 +00:00
Chris Lattner
aacfb36bd5
remove a bogus test
...
llvm-svn: 36116
2007-04-16 06:06:42 +00:00
Chris Lattner
5df90f03b9
update test
...
llvm-svn: 36115
2007-04-16 06:04:03 +00:00
Chris Lattner
b21b885cdf
fix incorrectly upgraded test, add PR#
...
llvm-svn: 36114
2007-04-16 05:58:47 +00:00
Reid Spencer
00d0023fb4
This needs to stay in the old bytecode format.
...
llvm-svn: 36113
2007-04-16 03:35:24 +00:00
Reid Spencer
a136852ade
This tests aren't particularly interesting. They are redundant with the
...
extract_* tests. They are also perniciously difficult to maintain because
they depend on the bytecode format.
llvm-svn: 36112
2007-04-16 03:34:01 +00:00
Reid Spencer
cfe9ad10d1
Update for 2.0 bytecode format.
...
llvm-svn: 36111
2007-04-16 03:28:07 +00:00
Reid Spencer
1db9157b4e
Fix an intrinsic name.
...
llvm-svn: 36110
2007-04-16 03:20:22 +00:00
Reid Spencer
c7c991f4f8
For PR1336:
...
Rename the intrinsic so this can be upgraded properly. It still fails with
an llc warning
llvm-svn: 36109
2007-04-16 03:18:25 +00:00
Reid Spencer
4b4055a1ab
For PR1336:
...
Upgrade the intrinsic to its new form.
llvm-svn: 36108
2007-04-16 03:10:56 +00:00
Reid Spencer
c940d0761c
For PR1336:
...
Un-XFAIL this test now that llvm-ugprade knows how to create functions with
empty names.
llvm-svn: 36107
2007-04-16 03:06:39 +00:00
Reid Spencer
caaf8a1597
For PR1336:
...
Un-XFAIL this since it now passes with fix to llvm-upgrade.
llvm-svn: 36104
2007-04-16 02:57:47 +00:00
Reid Spencer
2875d2eadc
For PR1336:
...
Correct this test case. It was passing a uint where a ubyte was expected.
llvm-svn: 36101
2007-04-16 02:09:24 +00:00
Reid Spencer
f0cb944fd3
For PR1336:
...
Un-XFAIL this now that its working.
llvm-svn: 36100
2007-04-16 01:49:16 +00:00