Dale Johannesen
dd1e23b72b
Testcases for msasm bit (llvm-gcc 84062).
...
llvm-svn: 84063
2009-10-14 00:10:54 +00:00
Devang Patel
39a029d8a3
Optimizer may remove debug info. This test checks debug info for include headers.
...
llvm-svn: 84025
2009-10-13 20:56:38 +00:00
Devang Patel
41e170eb54
These tests now pass.
...
llvm-svn: 84019
2009-10-13 20:45:18 +00:00
Devang Patel
bd9c3a074d
XFAIL these tests for now.
...
llvm-svn: 83933
2009-10-13 01:51:29 +00:00
Chris Lattner
bf43817408
allow this testcase to pass with recent changes. The test hasn't been
...
producing any stores at all for a long time, but ".store." was in some
IR instruction names until recently. This removal caused the test to
start failing. Just make it reject any stores.
llvm-svn: 83895
2009-10-12 20:42:35 +00:00
Evan Cheng
4b40bfd835
Test case for aligned attribute on function declaration.
...
llvm-svn: 83234
2009-10-02 04:45:37 +00:00
Dale Johannesen
c594890a82
Reenable sqrt IR generation test.
...
llvm-svn: 82731
2009-09-24 23:37:40 +00:00
Dale Johannesen
ea406ed0a6
Disable test; what it's testing for is wrong.
...
llvm-svn: 82658
2009-09-23 21:46:36 +00:00
Evan Cheng
c1aec40d64
Add a test case for r81431.
...
llvm-svn: 81432
2009-09-10 05:08:51 +00:00
Dan Gohman
9737a63ed8
Change these tests to feed the assembly files to opt directly, instead
...
of using llvm-as, now that opt supports this.
llvm-svn: 81226
2009-09-08 16:50:01 +00:00
Daniel Dunbar
0367b0f136
Avoid Tcl substitution, introduced %llvmgcc_only for this one little test
...
(%llvmgcc includes a '-w' argument, and this test looks for warnings).
llvm-svn: 81152
2009-09-07 19:25:54 +00:00
Dale Johannesen
a1aed7bb40
Mark test as passing on all x86, which it should,
...
although I don't think anyone cares about this
feature except Darwin. PR 4825.
llvm-svn: 80596
2009-08-31 17:49:20 +00:00
Dan Gohman
0d4bbf2c4a
Remove obsolete -f flags.
...
llvm-svn: 79992
2009-08-25 15:38:29 +00:00
Bill Wendling
2315a68054
Make for 32-bit only.
...
llvm-svn: 79614
2009-08-21 09:29:26 +00:00
Bill Wendling
84d3389d7d
Probably should emit bitcode instead of text.
...
llvm-svn: 79607
2009-08-21 08:02:19 +00:00
Bill Wendling
19e4d6b33c
Testcase for r79597.
...
llvm-svn: 79598
2009-08-21 06:12:30 +00:00
Dale Johannesen
419a5b98ec
Test for llvm-gcc patch 78762.
...
llvm-svn: 78763
2009-08-12 01:14:30 +00:00
Dan Gohman
a3be3d7a89
llvm-gcc now emits inbounds for this getelementptr.
...
llvm-svn: 78758
2009-08-12 00:35:55 +00:00
Dan Gohman
f9d12f23cb
Use wchar.h to get wchar_t, not ctype.h.
...
llvm-svn: 78703
2009-08-11 19:59:21 +00:00
Dale Johannesen
8d7f6f83fd
Testcase for llvm-gcc 78324 (although in normal
...
testing mode it won't test much).
llvm-svn: 78325
2009-08-06 17:28:23 +00:00
Bill Wendling
fd5d735e2b
llvm-gcc checks the static asm variable is valid in ValidateRegisterVariable. Make this work for PPC.
...
llvm-svn: 78051
2009-08-04 04:48:31 +00:00
Bill Wendling
0549ae4181
Fixed now.
...
llvm-svn: 78042
2009-08-04 03:46:54 +00:00
Bill Wendling
0c685e1055
XFAIL for the moment.
...
llvm-svn: 78038
2009-08-04 03:40:47 +00:00
Chris Lattner
fcfbc7bb2c
remove this test. It is currently failing because we now emit the string
...
on darwin with ".cstring" instead of ".section __TEXT,__cstring". They
are the same and the former is better. Remove this because this is no longer
magic pixie dust in the frontend.
llvm-svn: 77055
2009-07-25 07:31:51 +00:00
Dan Gohman
17151155ed
Remove the IA-64 backend.
...
llvm-svn: 76920
2009-07-24 00:30:09 +00:00
Chris Lattner
7413f07b9d
testcase for PR4590
...
llvm-svn: 76868
2009-07-23 06:07:59 +00:00
Duncan Sands
520024b465
Testcase for PR4214.
...
llvm-svn: 76174
2009-07-17 11:44:20 +00:00
Dale Johannesen
644e74abbe
Fix test so it works on systems where wchar_t != int.
...
llvm-svn: 75827
2009-07-15 20:40:53 +00:00
Dale Johannesen
50267456a4
Test for llvm-gcc patch 75822.
...
llvm-svn: 75824
2009-07-15 20:27:44 +00:00
Duncan Sands
2d8c9aeed7
String constants are now output with private linkage.
...
llvm-svn: 75777
2009-07-15 12:09:18 +00:00
Chris Lattner
82fc7735d2
Testcase for PR4556
...
llvm-svn: 75655
2009-07-14 18:42:24 +00:00
Dale Johannesen
1423721425
The correct values here (as defined by gcc-4.2) are
...
different for ppc; add another version of the test.
llvm-svn: 73983
2009-06-23 18:42:26 +00:00
Dale Johannesen
c99c9d3f01
This test only works on ppc32 if some optimization is done before
...
generating LLVM IR; it is correct in the code as written
to use 8-byte-aligned operations to copy Key in bar. Formerly
the gcc inliner was run, now it isn't. I don't think it's
possible to preserve this as a pure FE test. Adding -O2 lets
the llvm optimizers get rid of the 8-byte-aligned stores, at least.
llvm-svn: 73981
2009-06-23 18:34:37 +00:00
Dale Johannesen
736ffeeab4
See test. Judging from PR 1278, at the time the test was committed, the
...
generated code was apparently doing stores directly into the return value
aggregate; now, it's doing a copy from a compiler-generated static object.
That object is initialized using [4 x i8] which breaks the test. I believe
this change preserves the original point of the test.
Of course it would be better for the code to do stores directly into the
return aggregate, but that is not what happens at -O0; the llvm optimizers
seem to do that on x86 but not on ppc32, possibly because of the explicit
padding (which is unavoidable). I think it must have been being done by
a gcc optimizer pass before.
llvm-svn: 73972
2009-06-23 18:03:49 +00:00
Chris Lattner
fb8097b576
new testcase for rdar://6983634
...
llvm-svn: 73729
2009-06-18 22:53:26 +00:00
Duncan Sands
b6495b26e5
Testcase for PR4332.
...
llvm-svn: 73353
2009-06-14 22:22:42 +00:00
Dan Gohman
32cbbec335
Adjust this test's regex strings so that they work regardless
...
of the target's pointer size. This avoids the need for -m32 on
the llvm-gcc command-line, which some targets may not support.
llvm-svn: 73270
2009-06-12 23:31:14 +00:00
Dan Gohman
9fd76cc19c
Add -m32 to llvm-gcc commands, so that this test behaves as expected
...
on systems which default to a 64-bit target.
llvm-svn: 73265
2009-06-12 23:02:02 +00:00
Dale Johannesen
9ebb4d2127
Testcase for llvm-gcc patch 73238.
...
llvm-svn: 73239
2009-06-12 18:41:53 +00:00
Dale Johannesen
4bd5463617
Test for rev 73205 (PR 4349)
...
llvm-svn: 73206
2009-06-11 20:48:09 +00:00
Bill Wendling
72c9722c64
Fix these so that they work on non-x86 Darwin machines.
...
llvm-svn: 72903
2009-06-04 23:37:19 +00:00
Bill Wendling
d6ac8bec21
Specify that this works for Darwin.
...
llvm-svn: 72899
2009-06-04 22:56:29 +00:00
Dale Johannesen
12313e327f
For XTARGET to work on targets not in the list,
...
there must also be an XFAIL line. Fix a couple
examples of this.
llvm-svn: 72876
2009-06-04 18:27:43 +00:00
Duncan Sands
24ad1feb77
Adjust these tests now that "extern inline"
...
functions are being output with bodies and
available_externally linkage.
llvm-svn: 72620
2009-05-30 13:57:05 +00:00
Bill Wendling
b17990999f
Commands beginning with '--' are converted to '-f' by gcc. Blech!
...
llvm-svn: 72023
2009-05-18 18:09:36 +00:00
Duncan Sands
c5161d4b83
Check that the gcc front-end is not doing inlining
...
when not doing unit-at-a-time.
llvm-svn: 71986
2009-05-17 19:37:02 +00:00
Bill Wendling
357e03cede
Use %llvmgcc instead of llvm-gcc.
...
llvm-svn: 70886
2009-05-04 18:00:27 +00:00
Duncan Sands
d84881ec53
Testcase for PR3967.
...
llvm-svn: 70856
2009-05-04 12:54:02 +00:00
Chris Lattner
e6d2e627da
testcase for PR4082
...
llvm-svn: 70375
2009-04-29 06:46:27 +00:00
Duncan Sands
7bccadac92
Testcase for PR2958.
...
llvm-svn: 69818
2009-04-22 18:55:17 +00:00
Duncan Sands
ab4c600e8b
These tests are x86 specific.
...
llvm-svn: 69798
2009-04-22 10:39:51 +00:00
Evan Cheng
87a801af59
Add a __builtin___memset_chk test.
...
llvm-svn: 67815
2009-03-27 02:45:14 +00:00
Evan Cheng
1bb604aff5
One more test.
...
llvm-svn: 67694
2009-03-25 17:45:18 +00:00
Evan Cheng
4b6c049b3f
Add __builtin___memcpy_chk tests.
...
llvm-svn: 67691
2009-03-25 16:49:31 +00:00
Duncan Sands
39d0946db5
These tests pass on linux.
...
llvm-svn: 67689
2009-03-25 16:43:59 +00:00
Evan Cheng
b86a445d39
Add a __builtin_object_size test.
...
llvm-svn: 67688
2009-03-25 16:29:33 +00:00
Duncan Sands
a09e0afe74
Don't load values out of global constants with weak
...
linkage: the value may be replaced with something
different at link time. (Frontends that want to
allow values to be loaded out of weak constants can
give their constants weak_odr linkage).
llvm-svn: 67407
2009-03-20 21:53:29 +00:00
Bill Wendling
7b06cbe6d4
These tests are now passing on Darwin because of r67139.
...
llvm-svn: 67215
2009-03-18 17:45:11 +00:00
Evan Cheng
110377c669
xfail these tests for now.
...
llvm-svn: 67143
2009-03-18 00:44:45 +00:00
Devang Patel
a01646efda
Test case for rev. 66925
...
llvm-svn: 66927
2009-03-13 18:50:51 +00:00
Stuart Hastings
9a9a422886
Tweak the DejaGNU voodoo to match Bill's advice.
...
llvm-svn: 66547
2009-03-10 16:44:45 +00:00
Stuart Hastings
9895a1c66a
Check for warnings about inappropriate weak_imports.
...
Darwin-specific; marked XFAIL for others.
llvm-svn: 66514
2009-03-10 00:17:39 +00:00
Chris Lattner
822015d96e
testcase for PR3744
...
llvm-svn: 66401
2009-03-09 05:44:59 +00:00
Duncan Sands
491f9e89ae
Functions marked malloc are noalias return.
...
llvm-svn: 65775
2009-03-01 16:19:31 +00:00
Duncan Sands
ef821b5fbe
Adjust this test for recent llvm-gcc changes.
...
llvm-svn: 65771
2009-03-01 15:01:51 +00:00
Chris Lattner
e2a87a98b3
one less space, fixes failure with rebuilt llvm-gcc.
...
llvm-svn: 65728
2009-02-28 22:20:02 +00:00
Bill Wendling
6311d06b2f
There is a way to specify targets that should succeed. It's the "XTARGET"
...
keyword.
llvm-svn: 65692
2009-02-28 12:11:01 +00:00
Stuart Hastings
a079d31fd4
Unable to say "TARGET: *-*-darwin*"; falling back to "XFAIL: linux,ia64,alpha,sparc".
...
llvm-svn: 65667
2009-02-28 00:56:37 +00:00
Stuart Hastings
c08336adc3
Testcase to insure C strings go to the cstring
...
section. Darwin-specific.
llvm-svn: 65655
2009-02-27 22:35:12 +00:00
Devang Patel
528987a1e8
Emit debug info for bitfields.
...
llvm-svn: 64815
2009-02-17 21:23:59 +00:00
Dale Johannesen
6e1b2e36a5
Testcase for llvm-gcc 64510.
...
llvm-svn: 64511
2009-02-14 00:19:28 +00:00
Duncan Sands
6632f12c11
This is now done using a real i33, rather than
...
an emulated one. Adjust the check.
llvm-svn: 64236
2009-02-10 20:44:15 +00:00
Dan Gohman
7aa0c17cff
Delete these two tests. They are specific to x86-64, and there's no
...
reliable way to do this with the current dejagnu infrastructure.
If someone can figure out how to fix these tests so that they test
what they are intended to test without spuriously failing on any
popular platforms, they are invited to reinstate them.
llvm-svn: 63592
2009-02-03 01:33:26 +00:00
Bill Wendling
b0ad6f9a6c
It fails on Linux. XFAIL that machine.
...
llvm-svn: 63582
2009-02-03 00:35:11 +00:00
Bill Wendling
423f3bc196
This is passing for us. Should it have been reenabled?
...
llvm-svn: 63580
2009-02-03 00:27:09 +00:00
Duncan Sands
dca376ff07
Make the XFAIL line actually match x86-32 targets.
...
llvm-svn: 63507
2009-02-02 09:07:13 +00:00
Evan Cheng
a115859df0
Add a always_inline test case.
...
llvm-svn: 63304
2009-01-29 09:31:54 +00:00
Evan Cheng
45799abe61
Add a test case for Chris lvalue alignment fixes.
...
llvm-svn: 63300
2009-01-29 08:59:46 +00:00
Evan Cheng
ce95cddd0f
Forgot this test case.
...
llvm-svn: 63089
2009-01-27 02:59:39 +00:00
Dan Gohman
52e907a780
Add a FrontendC testcase for the x86-64 Red Zone feature,
...
to help verify that the feature may be disabled through
the -mno-red-zone option.
llvm-svn: 63079
2009-01-27 00:59:55 +00:00
Torok Edwin
97be2f5840
revert this patch for now, because Codegen does still want to generate SSE code,
...
for example in the case of va-args. XFAIL associated tests.
llvm-svn: 62972
2009-01-25 20:21:24 +00:00
Torok Edwin
3cc1940003
testcase for llvm-gcc part of PR3402.
...
llvm-svn: 62969
2009-01-25 18:00:06 +00:00
Duncan Sands
d56cf3025f
This was causing invalid memory accesses when
...
generating debug info in the compiler.
llvm-svn: 62684
2009-01-21 11:51:17 +00:00
Duncan Sands
1de451d0d0
Let's try to have our cake and eat it to: move
...
this test into FrontendC to ensure that llvm-gcc
is available; assemble using "llvm-gcc -xassembler"
rather than "as".
llvm-svn: 62683
2009-01-21 11:37:31 +00:00
Duncan Sands
489c5484d3
Check that the "don't barf on k8" fix is not
...
accidentally reverted again.
llvm-svn: 62587
2009-01-20 18:08:39 +00:00
Evan Cheng
2d9e40ed24
This is now passing.
...
llvm-svn: 62308
2009-01-16 06:59:14 +00:00
Duncan Sands
ab2fd9e4b9
Mark this XFAIL for the moment.
...
llvm-svn: 62168
2009-01-13 15:15:46 +00:00
Evan Cheng
2adb5cfb48
Second test is only valid in 32-bit mode.
...
llvm-svn: 62084
2009-01-12 08:05:54 +00:00
Evan Cheng
0258874607
Test for r62076.
...
llvm-svn: 62077
2009-01-12 03:46:55 +00:00
Chris Lattner
d48d1ec320
this doesn't depend on the gcc early inliner anymore.
...
llvm-svn: 61982
2009-01-09 05:49:27 +00:00
Chris Lattner
7f88a1b512
PR3290 is now fixed.
...
llvm-svn: 61981
2009-01-09 05:46:19 +00:00
Bill Wendling
2012d84f01
Strength test.
...
llvm-svn: 61755
2009-01-05 21:27:59 +00:00
Chris Lattner
84434a692b
testcase for bill's patch.
...
llvm-svn: 61751
2009-01-05 21:07:34 +00:00
Bill Wendling
80cb99575e
XFAIL test caused by r61493. Apparently, this is expected?
...
llvm-svn: 61516
2008-12-31 08:26:55 +00:00
Chris Lattner
c183061f7c
Testcase to show we can tie together integers and pointers of
...
the same size.
llvm-svn: 61380
2008-12-23 18:52:26 +00:00
Tanya Lattner
129f4febd2
Add test case for ptr annotation.
...
llvm-svn: 59142
2008-11-12 16:12:27 +00:00
Bill Wendling
1579287550
The method of doing the matching with a 'select' instruction was wrong. The
...
original code was matching like this:
if (match(A, m_Not(m_Value(B))))
B was already matched as a 'select' instruction. However, this isn't matching
what we think it's matching. It would match B as a 'Value', so basically
anything would match to it. In this case, a Constant matched. B was replaced
with a constant representation. And then the wrong value would be used in the
SelectInst::Create statement, causing a crash.
After thinking on this for a moment, and after Nick L. told me how the pattern
matching stuff was supposed to work, the solution was to match NOT an m_Value,
but an m_Select.
llvm-svn: 58946
2008-11-09 23:17:42 +00:00
Anton Korobeynikov
c11b47911d
Testcase for PR2691
...
llvm-svn: 58567
2008-11-02 16:46:17 +00:00
Duncan Sands
aa53c491b2
Testcase for PR2987.
...
llvm-svn: 58459
2008-10-30 21:13:11 +00:00
Duncan Sands
f33c3bc51f
Make the declaration of bzero match size_t on
...
x86-64-linux.
llvm-svn: 58383
2008-10-29 15:57:37 +00:00
Chris Lattner
9246c2c8e1
make this test not depend on how the system header defines memset.
...
llvm-svn: 58016
2008-10-23 00:24:51 +00:00
Chris Lattner
acc2eb484b
new testcase for PR2797
...
llvm-svn: 57481
2008-10-14 06:56:04 +00:00
Duncan Sands
1db4fbdfbe
Don't barf on 32 bit platforms if llvm-gcc is
...
not built with 64 bit support. Since this test
passes without -m64 on x86-32-linux, just remove
the -m64.
llvm-svn: 57462
2008-10-13 19:56:36 +00:00
Dale Johannesen
bb5d04fc82
Remove "long" variants so these will pass on a 64-bit host.
...
llvm-svn: 57418
2008-10-12 18:40:49 +00:00
Evan Cheng
423b4f24c8
Test fp not.
...
llvm-svn: 56534
2008-09-24 00:50:16 +00:00
Evan Cheng
3276416fa4
Test case for fp logical instructions.
...
llvm-svn: 56474
2008-09-22 22:19:34 +00:00
Bill Wendling
3f41b87e8d
Fix test to account for no more whitespace and that one of the matches is the
...
"declare" statement.
llvm-svn: 56241
2008-09-16 06:40:04 +00:00
Bill Wendling
07fe6c8a07
Remove space that was forgotten.`
...
llvm-svn: 56240
2008-09-16 06:30:47 +00:00
Duncan Sands
7db9a7874b
Prevent our own passes from promoting this to
...
readonly.
llvm-svn: 55858
2008-09-05 21:34:32 +00:00
Dale Johannesen
462a071c38
Adjust tests to expect new math intrinsics to be
...
emitted only when errno is not in use.
llvm-svn: 55797
2008-09-04 21:24:28 +00:00
Dale Johannesen
57d3d8aba2
Adjust libcalls tests to expect intrinsic for exp2
...
llvm-svn: 55784
2008-09-04 18:44:20 +00:00
Devang Patel
167adebb3f
Update test to check call instruction.
...
llvm-svn: 55702
2008-09-03 17:05:49 +00:00
Duncan Sands
13ea919664
Testcase for PR1678.
...
llvm-svn: 55695
2008-09-03 07:52:01 +00:00
Dale Johannesen
1a83a9973b
New testcase for targets without 64-bit atomics;
...
xfail old test for ppc.
llvm-svn: 55651
2008-09-02 21:19:30 +00:00
Dale Johannesen
f9c90d3cee
Comprehensive test of FE handling of __sync builtins.
...
llvm-svn: 55206
2008-08-22 21:47:03 +00:00
Chris Lattner
71573d05f9
ll printer prints each zeroinit on the same line now, update regex
...
llvm-svn: 55025
2008-08-20 00:33:57 +00:00
Nick Lewycky
248559aaa5
Testcase for r54520.
...
llvm-svn: 54521
2008-08-08 07:00:26 +00:00
Dale Johannesen
3b45982c78
Testcases for 54503. One derived from PR 2533, the
...
other from Python.
llvm-svn: 54505
2008-08-08 03:37:11 +00:00
Duncan Sands
acf0189b4b
Testcase for PR2520.
...
llvm-svn: 53230
2008-07-08 10:11:36 +00:00
Matthijs Kooijman
f61fd54237
Make LLVM compile on DragonFly BSD (PR2499).
...
Patch by Hasso Tepper!
llvm-svn: 52781
2008-06-26 10:36:58 +00:00
Chris Lattner
54d26c6b12
Fix a warning, closing PR2452
...
llvm-svn: 52529
2008-06-20 05:33:29 +00:00
Chris Lattner
65ee4e3a5c
Fix a warning.
...
llvm-svn: 52528
2008-06-20 05:31:04 +00:00
Chris Lattner
ba00c761b7
fix a warning.
...
llvm-svn: 52526
2008-06-20 05:28:56 +00:00
Matthijs Kooijman
261e976fba
Fix PR numbers, I accidentally switched two digits.
...
llvm-svn: 52311
2008-06-16 09:38:23 +00:00
Matthijs Kooijman
c5d12eb318
XFAIL some tests that became failing due to the extra error reporting recently. PR's are created for these.
...
llvm-svn: 52250
2008-06-13 16:52:35 +00:00
Evan Cheng
2d788ce3fb
Fix some tests.
...
llvm-svn: 52245
2008-06-12 21:23:38 +00:00
Dale Johannesen
3978cc5f3b
Add -w to inhibit gcc warnings, which causes the
...
harness to fail the tests. The warning all appear
legitimate.
llvm-svn: 52186
2008-06-10 18:00:09 +00:00
Matthijs Kooijman
c62a5aaa1d
Fix some llvm-gcc warnings in testcases, mostly by adding includes or adding
...
declarations. These are the fixes that I was pretty confident about, there are
still a lot of other llvm-gcc warnings of which I'm not sure if they can be
safely ignored or fixed, without breaking the test case.
This fixes 11 testcases.
llvm-svn: 52176
2008-06-10 14:37:44 +00:00
Nick Lewycky
048fc8db62
Unbreak this test.
...
llvm-svn: 51726
2008-05-30 05:02:37 +00:00
Anton Korobeynikov
d8734cf916
For PR1338: Rename test dirs
...
llvm-svn: 51695
2008-05-29 19:17:15 +00:00