Eric Christopher
24efc63000
Add a test for the llvm-gcc commit in r90200.
...
llvm-svn: 105253
2010-05-31 20:39:10 +00:00
Stuart Hastings
c1e216583f
Revert 104841, 104842, 104876 due to buildbot failures. Radar 7424645.
...
llvm-svn: 104953
2010-05-28 16:41:07 +00:00
Stuart Hastings
bf132360a8
Adjust test case for lexical block pruning. Follow-on to r104842 and Radar 7424645.
...
llvm-svn: 104876
2010-05-27 19:57:51 +00:00
Bob Wilson
ebdc772457
Add a test for llvm-gcc svn r104726.
...
llvm-svn: 104805
2010-05-27 05:30:36 +00:00
Eric Christopher
4b4446be7c
Once more, with feeling.
...
llvm-svn: 104190
2010-05-20 00:07:13 +00:00
Eric Christopher
6304da132f
Attempt to run this test on x86 only.
...
llvm-svn: 104143
2010-05-19 18:59:37 +00:00
Eric Christopher
c09d5a29d8
Add a test to make sure that we're lowering the shift amount correctly.
...
llvm-svn: 104090
2010-05-19 00:22:04 +00:00
Dale Johannesen
6338d15939
Test passed on ppc, to my surprise; if it worked
...
there it may work everywhere...
llvm-svn: 104053
2010-05-18 20:47:04 +00:00
Dale Johannesen
fb7df5317a
Testcase for llvm-gcc checkin 104042.
...
llvm-svn: 104043
2010-05-18 19:03:51 +00:00
Devang Patel
c87e867111
Test case for r103800.
...
llvm-svn: 103801
2010-05-14 21:04:45 +00:00
Dale Johannesen
bbfa3067bd
Adjust tests affected by llvm-gcc 103229.
...
All results here match gcc-4.2.
llvm-svn: 103230
2010-05-07 01:11:31 +00:00
Stuart Hastings
7e60a6bd71
Test case for pr2394 and r102979.
...
llvm-svn: 103129
2010-05-05 22:49:33 +00:00
Dan Gohman
6221b85680
Add -o /dev/null to some tests which don't care about their output.
...
llvm-svn: 102722
2010-04-30 17:42:30 +00:00
Dale Johannesen
2288ef6c33
Fix comment.
...
llvm-svn: 102545
2010-04-28 22:23:46 +00:00
Dale Johannesen
8d6d94f493
Test for llvm-gcc checkin 102543.
...
llvm-svn: 102544
2010-04-28 22:17:33 +00:00
Chris Lattner
08e9e72fa9
Rework global alignment computation again. Now we do round up
...
alignment of globals to the preferred alignment, but only when
there is no section specified on the global (by far the common
case).
llvm-svn: 102515
2010-04-28 19:58:07 +00:00
Chris Lattner
e80442aa6d
Revert r102300/102301, which serious broke objc apps.
...
llvm-svn: 102359
2010-04-26 18:30:45 +00:00
Chris Lattner
4d7b4b4d15
testcase for PR6913
...
llvm-svn: 102303
2010-04-25 05:51:14 +00:00
Chris Lattner
6ac247a092
this passes now.
...
llvm-svn: 102301
2010-04-25 05:49:31 +00:00
Dan Gohman
386e01e879
Print empty structs as {} rather than { }.
...
llvm-svn: 100787
2010-04-08 18:03:05 +00:00
Chris Lattner
3ae2dd2ba5
add newlines at the end of files.
...
llvm-svn: 100705
2010-04-07 22:53:17 +00:00
Jakob Stoklund Olesen
20ea258a09
Let that which does not matter truly slide.
...
This test only cares about alignment, so don't test for other cruft.
An upcoming llvm-gcc patch needs this.
llvm-svn: 100584
2010-04-06 23:44:44 +00:00
Bob Wilson
dfebf1ffac
Testcase for pr6552. I changed the code to use "ip" instead of "fp" because
...
the "fp" register name is not valid on Darwin, and the "ip" register name was
broken for all ARM targets.
llvm-svn: 98166
2010-03-10 17:54:11 +00:00
Devang Patel
0a3d71af52
Test case for r97851.
...
llvm-svn: 97852
2010-03-05 23:35:04 +00:00
Daniel Dunbar
6d914f8904
Eliminate llvmgcc_version testing variable.
...
llvm-svn: 96908
2010-02-23 07:56:28 +00:00
Devang Patel
1f9e9ac766
Test case for r96656.
...
llvm-svn: 96657
2010-02-19 02:58:33 +00:00
Eric Christopher
624ee8da0d
Revert:
...
r95605 | dpatel | 2010-02-08 15:27:46 -0800 (Mon, 08 Feb 2010) | 2 lines
test case for r95604.
Which was the testcase for the patch reverted from llvm-gcc.
llvm-svn: 96474
2010-02-17 08:53:27 +00:00
Devang Patel
ca55a04273
Before setting scope end marker, pay attention to scope begin marker and existing scope end marker, if any. Scope must begin before it ends and nested inlined scope do not truncate surrounding scope.
...
llvm-svn: 96445
2010-02-17 02:20:34 +00:00
Devang Patel
8b9fec4428
New testcase.
...
llvm-svn: 96391
2010-02-16 21:16:08 +00:00
Evan Cheng
0e4df63bd5
Update test to match 95961.
...
llvm-svn: 95971
2010-02-12 07:48:46 +00:00
Devang Patel
d0d1fc0221
test case for r95842.
...
llvm-svn: 95844
2010-02-11 01:31:01 +00:00
Devang Patel
557e4248cb
test case for r95604.
...
llvm-svn: 95605
2010-02-08 23:27:46 +00:00
Dale Johannesen
e5177e685c
This test passes now on ppc darwin; if it doesn't pass
...
on some other ppc say something on the list.
llvm-svn: 95265
2010-02-03 22:33:17 +00:00
Dale Johannesen
0c426100d0
Debugging is now reenabled on PPC darwin, so reenable
...
these tests (they pass).
llvm-svn: 95263
2010-02-03 22:24:49 +00:00
Devang Patel
696cb8d410
While mapping llvm.dbg.declare intrinsic manually map its operand, if possible,
...
because it points to an alloca instruction through metadata.
llvm-svn: 93757
2010-01-18 19:52:14 +00:00
Rafael Espindola
adecf17587
Really fix this. I checked that on ARM I get
...
PASS: LLVM::FrontendC/pr5406.c (3463 of 5030)
and on X86 I get
XFAIL: LLVM::FrontendC/pr5406.c (3465 of 5030
llvm-svn: 93689
2010-01-17 19:20:45 +00:00
Rafael Espindola
945b4b7bd9
Looks like XFAIL has to list every unsupported arch
...
llvm-svn: 93672
2010-01-17 05:40:41 +00:00
Rafael Espindola
7397d6c281
Add test for pr5406
...
llvm-svn: 93671
2010-01-17 04:44:55 +00:00
Devang Patel
89880c8224
Do not use AT_specification die for static variables. It confuses gdb.
...
llvm-svn: 93494
2010-01-15 01:12:22 +00:00
Devang Patel
01e2bfd79b
new test case for r93485.
...
llvm-svn: 93486
2010-01-15 00:34:26 +00:00
Evan Cheng
37463a7a58
Test for r93409.
...
llvm-svn: 93410
2010-01-14 02:24:50 +00:00
Duncan Sands
2e728619f0
This is testing a darwin specific feature, so only turn
...
it on for darwin (it fails on linux).
llvm-svn: 92826
2010-01-06 05:49:26 +00:00
Devang Patel
e6433faba6
Fix debug_inlined section entries for routines whose names are changed through __asm() extension.
...
llvm-svn: 92533
2010-01-04 23:04:36 +00:00
Evan Cheng
8d61ec3002
Test case for 90787.
...
llvm-svn: 90791
2009-12-07 19:42:22 +00:00
Dan Gohman
6aea8dccf1
Remove now-redundant llvm-as invocations.
...
llvm-svn: 90626
2009-12-05 00:02:37 +00:00
Bill Wendling
74356efae9
Temporarily revert r72620 because r72619 was reverted.
...
llvm-svn: 90619
2009-12-04 23:16:56 +00:00
Bill Wendling
120037fec7
Debug info is disabled on PPC Darwin.
...
llvm-svn: 90160
2009-11-30 22:23:29 +00:00
Nick Lewycky
fef0c67d01
Fix this test on 64-bit systems which seem to use i64 for gep indices sometimes
...
while 32-bit gcc uses i32.
llvm-svn: 90106
2009-11-30 02:23:57 +00:00
Nick Lewycky
95ef6c9560
Commit r90099 made LLVM simplify one of these constant expressions a little
...
more. Update the syntax we're checking for and filecheckize it too.
This will fix the selfhost buildbots but will 'break' the others (sigh) because
they're still linked against older LLVM which is emitting less optimized IR.
llvm-svn: 90104
2009-11-30 00:38:56 +00:00
Daniel Dunbar
fa559f46c4
Fix -march= name for x86-64.
...
llvm-svn: 89445
2009-11-20 02:52:08 +00:00
Bill Wendling
c0cc2ae45b
Specify proper arch and triple for 64-bit.
...
llvm-svn: 89418
2009-11-20 00:40:21 +00:00
Bill Wendling
7dc8d2d025
Testcase for r89415.
...
llvm-svn: 89417
2009-11-20 00:32:16 +00:00
Daniel Dunbar
3488819495
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
63ffdc748a
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
f64ea095c1
Adjust testcases for msasm -> alignstack.
...
llvm-svn: 84796
2009-10-21 23:29:12 +00:00
Bill Wendling
42e86ab6c4
This is passing on Darwin PPC.
...
llvm-svn: 84723
2009-10-21 00:51:40 +00:00
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