summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Remove <iostream>.Bill Wendling2009-08-151-20/+17
| | | | llvm-svn: 79146
* Revert 78996. It was breaking MSVC builds.Benjamin Kramer2009-08-152-9/+0
| | | | llvm-svn: 79144
* Mingw also doesn't have st_blksize.Dan Gohman2009-08-151-1/+1
| | | | llvm-svn: 79142
* Fix test on Linux.Eli Friedman2009-08-151-1/+1
| | | | llvm-svn: 79140
* An overhaul of the exception handling code. This is arguably more correct thanBill Wendling2009-08-151-55/+81
| | | | | | | | | | | | | what was there before. In "no FP mode", we weren't generating labels and unwind table entries after each "push" instruction. While more than likely "okay", it's not technically correct. The major thing was that the ordering of when to define a new CFA register and at what offset wasn't correct. This would cause the exception handling to fail in ways most miserable to users. I also cleaned up some code a bit. There's one function which has a "return" at the beginning, so it's never used. Should I just remove it? :-) llvm-svn: 79139
* Reapply r79127. It was fixed by d0k.Bill Wendling2009-08-157-33/+76
| | | | llvm-svn: 79136
* Revert r79127. It was causing compilation errors.Bill Wendling2009-08-157-76/+33
| | | | llvm-svn: 79135
* Don't try to get the context from an erased Instruction.Benjamin Kramer2009-08-151-1/+1
| | | | llvm-svn: 79134
* Unbreak build. Evan, please make sure my changes are correct.Benjamin Kramer2009-08-153-6/+5
| | | | llvm-svn: 79133
* SSI construction should just go ahead and ignore instructions in unreachableNick Lewycky2009-08-152-2/+25
| | | | | | blocks. llvm-svn: 79132
* Fix validation errors.Bill Wendling2009-08-151-3/+3
| | | | llvm-svn: 79131
* Fix validation errors.Bill Wendling2009-08-151-11/+11
| | | | llvm-svn: 79130
* Change allowsUnalignedMemoryAccesses to take type argument since some targetsEvan Cheng2009-08-157-33/+76
| | | | | | | | | | support unaligned mem access only for certain types. (Should it be size instead?) ARM v7 supports unaligned access for i16 and i32, some v6 variants support it as well. llvm-svn: 79127
* wrap to 80 colsChris Lattner2009-08-151-2/+4
| | | | llvm-svn: 79124
* implement support for CHECK-NEXT: in filecheck.Chris Lattner2009-08-153-37/+157
| | | | llvm-svn: 79123
* Refine EarlyClobber assert in register scavenger.Jakob Stoklund Olesen2009-08-152-1/+43
| | | | | | | | | | | | | | It is legal for an inline asm operand to use an earlyclobber register if the use operand is tied to the earlyclobber operand. The issue is discussed here: http://gcc.gnu.org/ml/gcc/1999-04n/msg00431.html We should perhaps let only the machine code verifier worry about these finer details. EarlyClobber operands are not really interesting to the scavenger. This fixes PR4528 for the third time. llvm-svn: 79122
* simplify some code.Chris Lattner2009-08-151-8/+13
| | | | llvm-svn: 79121
* rewrite FindStringInBuffer to use an explicit loop instead ofChris Lattner2009-08-151-19/+27
| | | | | | | trying to wrap strstr which is just too inconvenient. Make it use a StringRef to avoid ".c_str()" calls. llvm-svn: 79120
* Instead of using an std::pair, use a custom struct.Chris Lattner2009-08-151-12/+21
| | | | llvm-svn: 79119
* specify a target triple so global variable manglings are consistent etc.Chris Lattner2009-08-151-1/+2
| | | | llvm-svn: 79118
* convert to filecheck.Chris Lattner2009-08-151-3/+18
| | | | llvm-svn: 79117
* rename this test to sse2.llChris Lattner2009-08-151-0/+0
| | | | llvm-svn: 79116
* merge a bunch more sse3 tests into sse3.llChris Lattner2009-08-1511-174/+252
| | | | llvm-svn: 79115
* convert test to filecheck format.Chris Lattner2009-08-151-7/+17
| | | | llvm-svn: 79114
* rename testChris Lattner2009-08-151-0/+0
| | | | llvm-svn: 79113
* this is a test for sse3, simplify it.Chris Lattner2009-08-151-1/+1
| | | | llvm-svn: 79112
* the .eh_frame sections we generate need to be writable (whichChris Lattner2009-08-151-1/+2
| | | | | | | is why they are datarel). This should fix PR4724, and is fallout from r78890. llvm-svn: 79111
* document filecheck.Chris Lattner2009-08-151-3/+87
| | | | llvm-svn: 79110
* fix pasto noticed by JakubChris Lattner2009-08-151-1/+1
| | | | llvm-svn: 79109
* Use the new API for creating an OpaqueType.Nicolas Geoffray2009-08-151-2/+4
| | | | llvm-svn: 79107
* add a stub for futher description of filecheck.Chris Lattner2009-08-151-0/+21
| | | | llvm-svn: 79106
* add a simple FileCheck man page.Chris Lattner2009-08-152-0/+67
| | | | llvm-svn: 79105
* tidy upChris Lattner2009-08-151-1/+2
| | | | llvm-svn: 79101
* Update cpp generation with new LLVM API for primitive types.Nicolas Geoffray2009-08-151-6/+7
| | | | llvm-svn: 79098
* Revert a few changes that were done in 78603.Sanjiv Gupta2009-08-152-14/+15
| | | | | | | | PIC16DebugInfo currently rely on NameStr of composite type descriptors to uniquely identify debug info for two aggregate type decls with same name. This implementation will change when we have MDNodes based debug info implemenatation in place llvm-svn: 79097
* Don't setCalleeSavedInfoValid() until spills are interted.Jakob Stoklund Olesen2009-08-152-2/+12
| | | | | | | | | | In a naked function, the flag is never set and getPristineRegs() returns an empty list. That means naked functions are able to clobber callee saved registers, but that is the whole point of naked functions. This fixes PR4716. llvm-svn: 79096
* Allow double defs in the machine code verifier after the addPreRegAlloc passes.Jakob Stoklund Olesen2009-08-151-1/+1
| | | | llvm-svn: 79095
* Move XCore AsmPrinter to XCore/AsmPrinter directory.Richard Osborne2009-08-157-10/+34
| | | | llvm-svn: 79094
* Add XFAIL testcase for setcc undef.Jakob Stoklund Olesen2009-08-151-0/+17
| | | | llvm-svn: 79093
* Add XFAIL test case for a scavenger assert.Jakob Stoklund Olesen2009-08-151-0/+20
| | | | llvm-svn: 79092
* Add support for the PowerPC 64-bit SVR4 ABI.Tilmann Scheller2009-08-159-72/+361
| | | | | | | | | | | | | | | | | The Link Register is volatile when using the 32-bit SVR4 ABI. Make it possible to use the 64-bit SVR4 ABI. Add non-volatile registers for the 64-bit SVR4 ABI. Make sure r2 is a reserved register when using the 64-bit SVR4 ABI. Update PPCFrameInfo for the 64-bit SVR4 ABI. Add FIXME for 64-bit Darwin PPC. Insert NOP instruction after direct function calls. Emit official procedure descriptors. Create TOC entries for GlobalAddress references. Spill 64-bit non-volatile registers to the correct slots. Only custom lower VAARG when using the 32-bit SVR4 ABI. Use simple VASTART lowering for the 64-bit SVR4 ABI. llvm-svn: 79091
* Update LocalRewriter::DistanceMap when inserting stack loads.Jakob Stoklund Olesen2009-08-152-0/+28
| | | | | | | | In the included test case, a stack load was not included in DistanceMap. That caused TransferDeadness to ignore the instruction, leading to a scavenger assert. llvm-svn: 79090
* Reformatting and some cleanup.Bill Wendling2009-08-151-223/+247
| | | | llvm-svn: 79088
* 80 col violations.Evan Cheng2009-08-151-12/+12
| | | | llvm-svn: 79087
* Fix tests.Evan Cheng2009-08-152-2/+2
| | | | llvm-svn: 79086
* Turn on if-conversion for thumb2.Evan Cheng2009-08-1512-51/+246
| | | | llvm-svn: 79084
* update for rename.Chris Lattner2009-08-151-2/+2
| | | | llvm-svn: 79082
* rename PIC16Section.h -> MCSectionPIC16.h for consistency withChris Lattner2009-08-153-2/+2
| | | | | | the class it defines. llvm-svn: 79081
* cmake likes its explicit list of files to build.Chris Lattner2009-08-151-0/+1
| | | | llvm-svn: 79080
* use XCore-specific section with xcore specific cp/dp flags to restore Chris Lattner2009-08-153-16/+26
| | | | | | | | support for globals going into the appropriate sections with the flags. This hopefully finishes unbreaking the previous behavior that I broke before. llvm-svn: 79079
OpenPOWER on IntegriCloud