aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC
Commit message (Collapse)AuthorAgeFilesLines
* Add a test case for r81431.Evan Cheng2009-09-101-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81432 91177308-0d34-0410-b5e6-96231b3b80d8
* Change these tests to feed the assembly files to opt directly, insteadDan Gohman2009-09-081-1/+1
| | | | | | | of using llvm-as, now that opt supports this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid Tcl substitution, introduced %llvmgcc_only for this one little testDaniel Dunbar2009-09-071-1/+1
| | | | | | (%llvmgcc includes a '-w' argument, and this test looks for warnings). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81152 91177308-0d34-0410-b5e6-96231b3b80d8
* Mark test as passing on all x86, which it should,Dale Johannesen2009-08-311-1/+1
| | | | | | | | | although I don't think anyone cares about this feature except Darwin. PR 4825. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80596 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove obsolete -f flags.Dan Gohman2009-08-25104-104/+104
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79992 91177308-0d34-0410-b5e6-96231b3b80d8
* Make for 32-bit only.Bill Wendling2009-08-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79614 91177308-0d34-0410-b5e6-96231b3b80d8
* Probably should emit bitcode instead of text.Bill Wendling2009-08-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79607 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for r79597.Bill Wendling2009-08-211-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79598 91177308-0d34-0410-b5e6-96231b3b80d8
* Test for llvm-gcc patch 78762.Dale Johannesen2009-08-121-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78763 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-gcc now emits inbounds for this getelementptr.Dan Gohman2009-08-121-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78758 91177308-0d34-0410-b5e6-96231b3b80d8
* Use wchar.h to get wchar_t, not ctype.h.Dan Gohman2009-08-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78703 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for llvm-gcc 78324 (although in normalDale Johannesen2009-08-061-0/+9
| | | | | | | | testing mode it won't test much). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78325 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm-gcc checks the static asm variable is valid in ↵Bill Wendling2009-08-041-0/+4
| | | | | | ValidateRegisterVariable. Make this work for PPC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78051 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed now.Bill Wendling2009-08-041-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78042 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL for the moment.Bill Wendling2009-08-041-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78038 91177308-0d34-0410-b5e6-96231b3b80d8
* 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