1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 20:12:56 +02:00
Commit Graph

137 Commits

Author SHA1 Message Date
Daniel Dunbar
66d480dc05 Fix -march= name for x86-64.
llvm-svn: 89445
2009-11-20 02:52:08 +00:00
Bill Wendling
9c08122387 Specify proper arch and triple for 64-bit.
llvm-svn: 89418
2009-11-20 00:40:21 +00:00
Bill Wendling
80716c8fd8 Testcase for r89415.
llvm-svn: 89417
2009-11-20 00:32:16 +00:00
Daniel Dunbar
e4f2bab2cd Use ',' separation in XFAILs, lit doesn't evaluate them as regexs (easy to add,
but might as well use the more standard syntax).

llvm-svn: 86553
2009-11-09 16:38:15 +00:00
Chris Lattner
73948d415c temporarily remove these tests, as they are breaking in the buildbot,
Eric, please investigate.

llvm-svn: 86399
2009-11-07 19:13:17 +00:00
Dale Johannesen
59fd73831e Adjust testcases for msasm -> alignstack.
llvm-svn: 84796
2009-10-21 23:29:12 +00:00
Bill Wendling
5736c06ae3 This is passing on Darwin PPC.
llvm-svn: 84723
2009-10-21 00:51:40 +00:00
Dale Johannesen
5017c333d0 Testcases for msasm bit (llvm-gcc 84062).
llvm-svn: 84063
2009-10-14 00:10:54 +00:00
Devang Patel
4eb6a32cf6 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
754bb7a010 These tests now pass.
llvm-svn: 84019
2009-10-13 20:45:18 +00:00
Devang Patel
16c9f14b32 XFAIL these tests for now.
llvm-svn: 83933
2009-10-13 01:51:29 +00:00
Chris Lattner
6b0f2ed2a2 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
1532dec48b Test case for aligned attribute on function declaration.
llvm-svn: 83234
2009-10-02 04:45:37 +00:00
Dale Johannesen
6482cefe78 Reenable sqrt IR generation test.
llvm-svn: 82731
2009-09-24 23:37:40 +00:00
Dale Johannesen
2805d91d12 Disable test; what it's testing for is wrong.
llvm-svn: 82658
2009-09-23 21:46:36 +00:00
Evan Cheng
d3f98b1d15 Add a test case for r81431.
llvm-svn: 81432
2009-09-10 05:08:51 +00:00
Dan Gohman
8d84372836 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
8721525d8d 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
2e8b1a140f 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
bf08e82d8e Remove obsolete -f flags.
llvm-svn: 79992
2009-08-25 15:38:29 +00:00
Bill Wendling
6f187b7ee9 Make for 32-bit only.
llvm-svn: 79614
2009-08-21 09:29:26 +00:00
Bill Wendling
1df766abc3 Probably should emit bitcode instead of text.
llvm-svn: 79607
2009-08-21 08:02:19 +00:00
Bill Wendling
a6999a9051 Testcase for r79597.
llvm-svn: 79598
2009-08-21 06:12:30 +00:00
Dale Johannesen
08b031649f Test for llvm-gcc patch 78762.
llvm-svn: 78763
2009-08-12 01:14:30 +00:00
Dan Gohman
57304bfed8 llvm-gcc now emits inbounds for this getelementptr.
llvm-svn: 78758
2009-08-12 00:35:55 +00:00
Dan Gohman
1bb5c6c93a Use wchar.h to get wchar_t, not ctype.h.
llvm-svn: 78703
2009-08-11 19:59:21 +00:00
Dale Johannesen
8cafc06175 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
3fe8f9af35 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
03e6a05f0f Fixed now.
llvm-svn: 78042
2009-08-04 03:46:54 +00:00
Bill Wendling
c144416738 XFAIL for the moment.
llvm-svn: 78038
2009-08-04 03:40:47 +00:00
Chris Lattner
06449afe92 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
62c8b40b66 Remove the IA-64 backend.
llvm-svn: 76920
2009-07-24 00:30:09 +00:00
Chris Lattner
4c55a88118 testcase for PR4590
llvm-svn: 76868
2009-07-23 06:07:59 +00:00
Duncan Sands
c77e727d4f Testcase for PR4214.
llvm-svn: 76174
2009-07-17 11:44:20 +00:00
Dale Johannesen
8c76f8296b Fix test so it works on systems where wchar_t != int.
llvm-svn: 75827
2009-07-15 20:40:53 +00:00
Dale Johannesen
82f85c6a29 Test for llvm-gcc patch 75822.
llvm-svn: 75824
2009-07-15 20:27:44 +00:00
Duncan Sands
7dfdc32405 String constants are now output with private linkage.
llvm-svn: 75777
2009-07-15 12:09:18 +00:00
Chris Lattner
987c69b426 Testcase for PR4556
llvm-svn: 75655
2009-07-14 18:42:24 +00:00
Dale Johannesen
5b05728e00 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
9f516abaa5 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
3550840eb3 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
cce5b90ede new testcase for rdar://6983634
llvm-svn: 73729
2009-06-18 22:53:26 +00:00
Duncan Sands
3a4ae072d0 Testcase for PR4332.
llvm-svn: 73353
2009-06-14 22:22:42 +00:00
Dan Gohman
67ec24b541 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
e27a52f9b1 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
b5be21ef41 Testcase for llvm-gcc patch 73238.
llvm-svn: 73239
2009-06-12 18:41:53 +00:00
Dale Johannesen
60e261db11 Test for rev 73205 (PR 4349)
llvm-svn: 73206
2009-06-11 20:48:09 +00:00
Bill Wendling
60f5c8184b Fix these so that they work on non-x86 Darwin machines.
llvm-svn: 72903
2009-06-04 23:37:19 +00:00
Bill Wendling
b7c990bc90 Specify that this works for Darwin.
llvm-svn: 72899
2009-06-04 22:56:29 +00:00
Dale Johannesen
a9a7e5d234 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