aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC
Commit message (Collapse)AuthorAgeFilesLines
* remove this test. It is currently failing because we now emit the stringChris Lattner2009-07-251-11/+0
| | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77055 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the IA-64 backend.Dan Gohman2009-07-243-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76920 91177308-0d34-0410-b5e6-96231b3b80d8
* testcase for PR4590Chris Lattner2009-07-231-0/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76868 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for PR4214.Duncan Sands2009-07-171-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76174 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix test so it works on systems where wchar_t != int.Dale Johannesen2009-07-151-10/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75827 91177308-0d34-0410-b5e6-96231b3b80d8
* Test for llvm-gcc patch 75822.Dale Johannesen2009-07-151-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75824 91177308-0d34-0410-b5e6-96231b3b80d8
* String constants are now output with private linkage.Duncan Sands2009-07-152-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75777 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for PR4556Chris Lattner2009-07-141-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75655 91177308-0d34-0410-b5e6-96231b3b80d8
* The correct values here (as defined by gcc-4.2) areDale Johannesen2009-06-232-0/+15
| | | | | | | | different for ppc; add another version of the test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73983 91177308-0d34-0410-b5e6-96231b3b80d8
* This test only works on ppc32 if some optimization is done beforeDale Johannesen2009-06-231-1/+1
| | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73981 91177308-0d34-0410-b5e6-96231b3b80d8
* See test. Judging from PR 1278, at the time the test was committed, theDale Johannesen2009-06-231-1/+1
| | | | | | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73972 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase for rdar://6983634Chris Lattner2009-06-181-0/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73729 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for PR4332.Duncan Sands2009-06-141-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73353 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust this test's regex strings so that they work regardlessDan Gohman2009-06-121-3/+3
| | | | | | | | of the target's pointer size. This avoids the need for -m32 on the llvm-gcc command-line, which some targets may not support. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73270 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -m32 to llvm-gcc commands, so that this test behaves as expectedDan Gohman2009-06-121-3/+3
| | | | | | | on systems which default to a 64-bit target. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73265 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for llvm-gcc patch 73238.Dale Johannesen2009-06-121-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73239 91177308-0d34-0410-b5e6-96231b3b80d8
* Test for rev 73205 (PR 4349)Dale Johannesen2009-06-111-0/+39
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73206 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix these so that they work on non-x86 Darwin machines.Bill Wendling2009-06-042-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72903 91177308-0d34-0410-b5e6-96231b3b80d8
* Specify that this works for Darwin.Bill Wendling2009-06-042-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72899 91177308-0d34-0410-b5e6-96231b3b80d8
* For XTARGET to work on targets not in the list,Dale Johannesen2009-06-042-0/+2
| | | | | | | | | there must also be an XFAIL line. Fix a couple examples of this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72876 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust these tests now that "extern inline"Duncan Sands2009-05-302-8/+6
| | | | | | | | functions are being output with bodies and available_externally linkage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72620 91177308-0d34-0410-b5e6-96231b3b80d8
* Commands beginning with '--' are converted to '-f' by gcc. Blech!Bill Wendling2009-05-181-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72023 91177308-0d34-0410-b5e6-96231b3b80d8
* Check that the gcc front-end is not doing inliningDuncan Sands2009-05-171-0/+17
| | | | | | | when not doing unit-at-a-time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71986 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix code emission for conditional branches.asl2009-05-041-0/+17
| | | | | | Patch by Collin Winter! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70898 91177308-0d34-0410-b5e6-96231b3b80d8
* testcase for PR4082Chris Lattner2009-04-291-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70375 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for PR2958.Duncan Sands2009-04-221-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69818 91177308-0d34-0410-b5e6-96231b3b80d8
* These tests are x86 specific.Duncan Sands2009-04-221-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69798 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a __builtin___memset_chk test.Evan Cheng2009-03-271-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67815 91177308-0d34-0410-b5e6-96231b3b80d8
* One more test.Evan Cheng2009-03-251-1/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67694 91177308-0d34-0410-b5e6-96231b3b80d8
* Add __builtin___memcpy_chk tests.Evan Cheng2009-03-251-0/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67691 91177308-0d34-0410-b5e6-96231b3b80d8
* These tests pass on linux.Duncan Sands2009-03-252-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67689 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a __builtin_object_size test.Evan Cheng2009-03-251-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67688 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't load values out of global constants with weakDuncan Sands2009-03-201-0/+12
| | | | | | | | | | 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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67407 91177308-0d34-0410-b5e6-96231b3b80d8
* These tests are now passing on Darwin because of r67139.Bill Wendling2009-03-181-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67215 91177308-0d34-0410-b5e6-96231b3b80d8
* xfail these tests for now.Evan Cheng2009-03-181-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67143 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for rev. 66925Devang Patel2009-03-131-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66927 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak the DejaGNU voodoo to match Bill's advice.Stuart Hastings2009-03-101-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66547 91177308-0d34-0410-b5e6-96231b3b80d8
* Check for warnings about inappropriate weak_imports.Stuart Hastings2009-03-101-0/+22
| | | | | | | Darwin-specific; marked XFAIL for others. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66514 91177308-0d34-0410-b5e6-96231b3b80d8
* testcase for PR3744Chris Lattner2009-03-091-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66401 91177308-0d34-0410-b5e6-96231b3b80d8
* Functions marked malloc are noalias return.Duncan Sands2009-03-011-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65775 91177308-0d34-0410-b5e6-96231b3b80d8
* Adjust this test for recent llvm-gcc changes.Duncan Sands2009-03-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65771 91177308-0d34-0410-b5e6-96231b3b80d8
* one less space, fixes failure with rebuilt llvm-gcc.Chris Lattner2009-02-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65728 91177308-0d34-0410-b5e6-96231b3b80d8
* There is a way to specify targets that should succeed. It's the "XTARGET"Bill Wendling2009-02-281-2/+2
| | | | | | | keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65692 91177308-0d34-0410-b5e6-96231b3b80d8
* Unable to say "TARGET: *-*-darwin*"; falling back to "XFAIL: ↵Stuart Hastings2009-02-281-1/+1
| | | | | | linux,ia64,alpha,sparc". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65667 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase to insure C strings go to the cstringStuart Hastings2009-02-271-0/+11
| | | | | | | section. Darwin-specific. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65655 91177308-0d34-0410-b5e6-96231b3b80d8
* Emit debug info for bitfields.Devang Patel2009-02-171-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64815 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for llvm-gcc 64510.Dale Johannesen2009-02-141-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64511 91177308-0d34-0410-b5e6-96231b3b80d8
* This is now done using a real i33, rather thanDuncan Sands2009-02-101-1/+1
| | | | | | | an emulated one. Adjust the check. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64236 91177308-0d34-0410-b5e6-96231b3b80d8
* Delete these two tests. They are specific to x86-64, and there's noDan Gohman2009-02-032-42/+0
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63592 91177308-0d34-0410-b5e6-96231b3b80d8
* It fails on Linux. XFAIL that machine.Bill Wendling2009-02-031-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63582 91177308-0d34-0410-b5e6-96231b3b80d8