aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC
Commit message (Collapse)AuthorAgeFilesLines
* Remove test/FrontendC, almost all of the tests have been migratedEric Christopher2011-07-26362-5534/+0
| | | | | | | to clang now, the rest are in process (6) or have been deleted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136191 91177308-0d34-0410-b5e6-96231b3b80d8
* More minor adjustments.Eric Christopher2011-07-161-10/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135342 91177308-0d34-0410-b5e6-96231b3b80d8
* Finish propagating %asmtmp->%1 change.Eric Christopher2011-07-162-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135330 91177308-0d34-0410-b5e6-96231b3b80d8
* Update these tests, no longer outputting names for the variables.Eric Christopher2011-07-152-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135298 91177308-0d34-0410-b5e6-96231b3b80d8
* Land the long talked about "type system rewrite" patch. ThisChris Lattner2011-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | patch brings numerous advantages to LLVM. One way to look at it is through diffstat: 109 files changed, 3005 insertions(+), 5906 deletions(-) Removing almost 3K lines of code is a good thing. Other advantages include: 1. Value::getType() is a simple load that can be CSE'd, not a mutating union-find operation. 2. Types a uniqued and never move once created, defining away PATypeHolder. 3. Structs can be "named" now, and their name is part of the identity that uniques them. This means that the compiler doesn't merge them structurally which makes the IR much less confusing. 4. Now that there is no way to get a cycle in a type graph without a named struct type, "upreferences" go away. 5. Type refinement is completely gone, which should make LTO much MUCH faster in some common cases with C++ code. 6. Types are now generally immutable, so we can use "Type *" instead "const Type *" everywhere. Downsides of this patch are that it removes some functions from the C API, so people using those will have to upgrade to (not yet added) new API. "LLVM 3.0" is the right time to do this. There are still some cleanups pending after this, this patch is large enough as-is. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134829 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix this test to actually check something and be able to be compiled.Eric Christopher2011-06-271-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133952 91177308-0d34-0410-b5e6-96231b3b80d8
* remove an unreduced testcase.Chris Lattner2011-06-181-282/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133356 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverted r132785. It seems this test needs more research.Galina Kistanova2011-06-101-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132836 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed condition.Galina Kistanova2011-06-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132834 91177308-0d34-0410-b5e6-96231b3b80d8
* Added dg.exp to run FrontendC ARM-dependent tests; updated ↵Galina Kistanova2011-06-092-4/+6
| | | | | | inline-asm-multichar.c test per this change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132785 91177308-0d34-0410-b5e6-96231b3b80d8
* Create a new ARM directory for FrontendC tests and use it.Eric Christopher2011-06-071-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132734 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for llvm-gcc commit r132591.Eric Christopher2011-06-031-0/+11
| | | | | | | Part of rdar://9037836 and rdar://9119939 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132592 91177308-0d34-0410-b5e6-96231b3b80d8
* This should have been a C++ testcase.Bill Wendling2011-06-021-91/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132504 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for r132493.Bill Wendling2011-06-021-0/+91
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132495 91177308-0d34-0410-b5e6-96231b3b80d8
* Update for r132493 change.Bill Wendling2011-06-021-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132494 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a testcase, enabled only on arm, for llvm-gcc r132366.Eric Christopher2011-06-011-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132409 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass -disable-cfi to llc.Rafael Espindola2011-05-063-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130999 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass -disable-cfi.Rafael Espindola2011-05-061-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130995 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix test to be less sensitive to coalescing.Jakob Stoklund Olesen2011-05-051-2/+3
| | | | | | This should unbreak llvm-gcc-i386-linux-selfhost. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130927 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass -disable-cfi to llc.Rafael Espindola2011-05-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130713 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-152-2/+2
| | | | | | | | Luis Felipe Strano Moraes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129558 91177308-0d34-0410-b5e6-96231b3b80d8
* tests: Remove a FrontendC test which is no longer valid.Daniel Dunbar2011-04-141-11/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129519 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for r128619 (PR9571).Bill Wendling2011-03-311-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128620 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for llvm-gcc commit r128230.Eric Christopher2011-03-241-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128242 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the test.Devang Patel2011-03-221-19/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128119 91177308-0d34-0410-b5e6-96231b3b80d8
* Try to appease buildbot gods.Devang Patel2011-03-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128112 91177308-0d34-0410-b5e6-96231b3b80d8
* Try again to make this test darwin only.Devang Patel2011-03-211-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128036 91177308-0d34-0410-b5e6-96231b3b80d8
* Force x86_64.Devang Patel2011-03-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128027 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable this test only for Darwin.Devang Patel2011-03-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128017 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable test in a way that keeps lit happy.Daniel Dunbar2011-03-201-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127962 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable test to unbreak Linux. Radar 9156771.Stuart Hastings2011-03-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127945 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for r127940.Devang Patel2011-03-191-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127941 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a RUN line to the test case to make it functional. <rdar://problem/9055247>Stuart Hastings2011-03-091-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127312 91177308-0d34-0410-b5e6-96231b3b80d8
* Test cases for r127309. <rdar://problem/9055247>Stuart Hastings2011-03-092-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127310 91177308-0d34-0410-b5e6-96231b3b80d8
* Build bots hate me.Bill Wendling2011-03-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127307 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverting testcase at 4126896; r126672 broke something else. ↵Stuart Hastings2011-03-081-2/+0
| | | | | | <rdar://problem/9055247> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127278 91177308-0d34-0410-b5e6-96231b3b80d8
* Once again try to appease the buildbot gods.Bill Wendling2011-03-081-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127272 91177308-0d34-0410-b5e6-96231b3b80d8
* Try to fix the compilation error due to type incombatibility.Bill Wendling2011-03-081-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127265 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for r127187.Bill Wendling2011-03-081-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127236 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for r126672. Radar 9055247.Stuart Hastings2011-03-021-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126896 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for r126127. Radar 9012638.Stuart Hastings2011-02-211-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126131 91177308-0d34-0410-b5e6-96231b3b80d8
* Update llvm-gcc's tests.Rafael Espindola2011-01-146-10/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123447 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for r120740. Radar 8712503.Stuart Hastings2010-12-021-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120741 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove explicit uses of -emit-llvm, the test infrastructure adds itDuncan Sands2010-11-2588-121/+121
| | | | | | | | | automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120158 91177308-0d34-0410-b5e6-96231b3b80d8
* Test for llvm-gcc patch 119392.Dale Johannesen2010-11-161-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119393 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for llvm-gcc 118368. 8629268.Dale Johannesen2010-11-071-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118369 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of the last use of -m64 in FrontendC. This solutionDuncan Sands2010-09-091-2/+2
| | | | | | | | of checking for either 4 or 8 is not very satisfactory, but it would catch the original problem (an alignment of 1). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113485 91177308-0d34-0410-b5e6-96231b3b80d8
* Another test that uses -m64. Here too it looks like it can beDuncan Sands2010-09-091-10/+4
| | | | | | | | removed. Not that the XTARGET wasn't doing anything since it does nothing without an accompanying XFAIL. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113484 91177308-0d34-0410-b5e6-96231b3b80d8
* On i386, llvm-gcc cannot be assumed to support -m64. Since theseDuncan Sands2010-09-092-3/+3
| | | | | | | | tests pass here (i686-linux and x86-64-linux) without -m64, simply remove the -m64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113483 91177308-0d34-0410-b5e6-96231b3b80d8
* Typo. Thanks to BillW for pointing it out!Stuart Hastings2010-09-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113281 91177308-0d34-0410-b5e6-96231b3b80d8