aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend
Commit message (Collapse)AuthorAgeFilesLines
* The __sync primitives only work on x86 and alpha;Dale Johannesen2008-03-101-0/+2
| | | | | | | | xfail this test elsewhere. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48164 91177308-0d34-0410-b5e6-96231b3b80d8
* test for something more interesting than not crashingAndrew Lenharth2008-03-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47962 91177308-0d34-0410-b5e6-96231b3b80d8
* sync ops on ptrs, was breaking libgompAndrew Lenharth2008-03-051-0/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47960 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcaseChris Lattner2008-03-031-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47858 91177308-0d34-0410-b5e6-96231b3b80d8
* Test case for annotate builtin.Tanya Lattner2008-02-121-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46999 91177308-0d34-0410-b5e6-96231b3b80d8
* Pointers change size depending upon the target. Remove them to make the test ↵Tanya Lattner2008-01-301-3/+1
| | | | | | more stable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46548 91177308-0d34-0410-b5e6-96231b3b80d8
* Update this test case.Evan Cheng2008-01-291-2/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46526 91177308-0d34-0410-b5e6-96231b3b80d8
* After recent changes we fail to optimize this testDuncan Sands2008-01-291-19/+0
| | | | | | | | sufficiently to have it pass. I'm removing it from the testsuite and adding it to PR452 instead. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46492 91177308-0d34-0410-b5e6-96231b3b80d8
* New test.Devang Patel2008-01-291-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46479 91177308-0d34-0410-b5e6-96231b3b80d8
* Add test to make sure that #pragma mark/error doesn't error if there areBill Wendling2008-01-291-0/+6
| | | | | | | unbalanced quotes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46476 91177308-0d34-0410-b5e6-96231b3b80d8
* Pure/const functions with ByVal parameters cannotDuncan Sands2008-01-281-5/+10
| | | | | | | be marked readonly either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46456 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this more likely to be passed byval.Duncan Sands2008-01-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46451 91177308-0d34-0410-b5e6-96231b3b80d8
* Move testcase to the code gen directory.Bill Wendling2008-01-261-7/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46395 91177308-0d34-0410-b5e6-96231b3b80d8
* Create an explicit copy for byval parameters evenDuncan Sands2008-01-261-0/+19
| | | | | | | when inlining a readonly function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46393 91177308-0d34-0410-b5e6-96231b3b80d8
* If we have a function like this:Bill Wendling2008-01-261-0/+7
| | | | | | | | | | | | | | | | | | | | | | | void bork() { int *address = 0; *address = 0; } It's compiled into LLVM code that looks like this: define void @bork() noreturn nounwind { entry: unreachable } This is bad on some platforms (like PPC) because it will generate the label for the function but no body. The label could end up being associated with some non-code related stuff, like a section. This places a "trap" instruction if the SimplifyCFG pass removed all code from the function leaving only one "unreachable" instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46387 91177308-0d34-0410-b5e6-96231b3b80d8
* Add another testcase.Devang Patel2008-01-261-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46385 91177308-0d34-0410-b5e6-96231b3b80d8
* New test case.Evan Cheng2008-01-261-0/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46382 91177308-0d34-0410-b5e6-96231b3b80d8
* add a testcase for a bug Duncan pointed out.Chris Lattner2008-01-251-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46372 91177308-0d34-0410-b5e6-96231b3b80d8
* New test.Devang Patel2008-01-241-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46333 91177308-0d34-0410-b5e6-96231b3b80d8
* New test.Devang Patel2008-01-211-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46220 91177308-0d34-0410-b5e6-96231b3b80d8
* New test.Devang Patel2008-01-211-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46209 91177308-0d34-0410-b5e6-96231b3b80d8
* Check that nested functions don't get pointlessDuncan Sands2008-01-131-0/+3
| | | | | | | static chains. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45936 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for PR1721Chris Lattner2008-01-081-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45739 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for PR1386.Duncan Sands2008-01-041-0/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45583 91177308-0d34-0410-b5e6-96231b3b80d8
* Strengthening this test so it fails in release mode.Gordon Henriksen2007-12-301-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45446 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for preceding FE fixDale Johannesen2007-12-181-0/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45144 91177308-0d34-0410-b5e6-96231b3b80d8
* Make instcombine promote inline asm calls to 'nounwind'Duncan Sands2007-12-161-0/+3
| | | | | | | | | | | | | | calls. Remove special casing of inline asm from the inliner. There is a potential problem: the verifier rejects invokes of inline asm (not sure why). If an asm call is not marked "nounwind" in some .ll, and instcombine is not run, but the inliner is run, then an illegal module will be created. This is bad but I'm not sure what the best approach is. I'm tempted to remove the check in the verifier... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45073 91177308-0d34-0410-b5e6-96231b3b80d8
* Use not instead of ignore when an exit status is expected to alwaysDan Gohman2007-12-111-1/+1
| | | | | | | be non-zero. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44866 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for PR1744Chris Lattner2007-11-281-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44418 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug in regression tests that ignored stderr output in RUN lines. Updated ↵Tanya Lattner2007-11-282-2/+2
| | | | | | | | | tests and fixed broken run lines. XFAILed 3 arm regressions (will file bugs) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44389 91177308-0d34-0410-b5e6-96231b3b80d8
* Add testcase for last llvm-gcc tweaksAnton Korobeynikov2007-11-271-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44368 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this pass for CYGWIN.Zhou Sheng2007-11-271-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44354 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this testcase compatible with CYGWIN.Zhou Sheng2007-11-271-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44353 91177308-0d34-0410-b5e6-96231b3b80d8
* Un XFAIL these tests, now that Bill has backportedDuncan Sands2007-11-142-2/+0
| | | | | | | the fix from 4.2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44115 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL these tests until the fix gets backportedDuncan Sands2007-11-142-0/+2
| | | | | | | from llvm-gcc-4.2 to 4.0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44103 91177308-0d34-0410-b5e6-96231b3b80d8
* Check that the first and third characters, s and u,Duncan Sands2007-11-091-0/+3
| | | | | | | are accessed with an alignment of 2 not 1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43932 91177308-0d34-0410-b5e6-96231b3b80d8
* Check that accesses to the second short, t, haveDuncan Sands2007-11-091-0/+3
| | | | | | | an alignment of 2 rather than 4. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43931 91177308-0d34-0410-b5e6-96231b3b80d8
* Add testcaseBill Wendling2007-11-071-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43839 91177308-0d34-0410-b5e6-96231b3b80d8
* New test.Devang Patel2007-10-301-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43527 91177308-0d34-0410-b5e6-96231b3b80d8
* Test to make sure that if we have an unaligned memcpy, it will still compile.Bill Wendling2007-10-261-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43412 91177308-0d34-0410-b5e6-96231b3b80d8
* Testcase for PR 1397.Dale Johannesen2007-10-251-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43323 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't branch fold inline asm statements.Bill Wendling2007-10-191-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43191 91177308-0d34-0410-b5e6-96231b3b80d8
* New test.Devang Patel2007-10-151-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42986 91177308-0d34-0410-b5e6-96231b3b80d8
* testcase for PR1647Chris Lattner2007-10-031-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42570 91177308-0d34-0410-b5e6-96231b3b80d8
* PR 1603 test case.Devang Patel2007-10-011-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42502 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not ignore packed member size while selecting union type.Devang Patel2007-09-281-0/+37
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42458 91177308-0d34-0410-b5e6-96231b3b80d8
* new testcase for PR1708Chris Lattner2007-09-271-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42398 91177308-0d34-0410-b5e6-96231b3b80d8
* Test the C front-end, not the C++ front-end.Duncan Sands2007-09-264-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42350 91177308-0d34-0410-b5e6-96231b3b80d8
* Test that local variables are aligned as the user requested.Duncan Sands2007-09-261-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42338 91177308-0d34-0410-b5e6-96231b3b80d8
* XFAIL for llvm-gcc4.0Tanya Lattner2007-09-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42266 91177308-0d34-0410-b5e6-96231b3b80d8