Commit Graph

106 Commits

Author SHA1 Message Date
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