Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Workaround a couple of Darwin assembler bugs. | Evan Cheng | 2009-08-01 | 4 | -32/+72 |
| | | | | llvm-svn: 77781 | ||||
* | Ok, ok, I give in. Fix tests for unused result warning. | Daniel Dunbar | 2009-08-01 | 3 | -5/+5 |
| | | | | llvm-svn: 77780 | ||||
* | Temporarily disable out-of-bounds checking. The current checking logic will ↵ | Ted Kremenek | 2009-08-01 | 3 | -3/+12 |
| | | | | | | not work quite right with the changes I'm about to commit. llvm-svn: 77779 | ||||
* | Use %S, not `pwd`, and enable a line that *does* work. | Daniel Dunbar | 2009-08-01 | 1 | -4/+4 |
| | | | | | | - Doug, please check. llvm-svn: 77778 | ||||
* | lit: Fix two sh lexing bugs. | Daniel Dunbar | 2009-08-01 | 1 | -4/+14 |
| | | | | | | | - '\\\\' inside a "..." string becomes '\\'. - The '<' token wasn't being recognized. llvm-svn: 77777 | ||||
* | 'unset' isn't needed in these tests anymore, we always run with a controlled | Daniel Dunbar | 2009-08-01 | 2 | -2/+0 |
| | | | | | | environment. llvm-svn: 77776 | ||||
* | Give MachineFunctionAnalysis a destructor so it can verify that | Dan Gohman | 2009-08-01 | 2 | -1/+5 |
| | | | | | | that it released its allocated memory. llvm-svn: 77775 | ||||
* | Delete a redundant variable. | Dan Gohman | 2009-08-01 | 1 | -1/+0 |
| | | | | llvm-svn: 77774 | ||||
* | lit: Fix a name lookup problem, which only occurred on a race condition. This is | Daniel Dunbar | 2009-08-01 | 2 | -2/+1 |
| | | | | | | why dynamic binding sucks. llvm-svn: 77773 | ||||
* | lit: Pull a few more variables into the TestingConfig object. | Daniel Dunbar | 2009-08-01 | 3 | -31/+19 |
| | | | | llvm-svn: 77772 | ||||
* | Minor code simplifications. | Dan Gohman | 2009-08-01 | 1 | -8/+8 |
| | | | | llvm-svn: 77769 | ||||
* | Minor code simplifications. | Dan Gohman | 2009-08-01 | 2 | -8/+1 |
| | | | | llvm-svn: 77768 | ||||
* | Avoid a problem with ulimit on Solaris & friends, patch by Edward O'Callaghan! | Daniel Dunbar | 2009-08-01 | 1 | -4/+9 |
| | | | | llvm-svn: 77767 | ||||
* | lit: Don't use threads when only running one test, or with -j 1. | Daniel Dunbar | 2009-08-01 | 1 | -11/+23 |
| | | | | llvm-svn: 77766 | ||||
* | MultiTestRunner: Add 'sh' parsing to ShUtil. | Daniel Dunbar | 2009-08-01 | 1 | -7/+246 |
| | | | | llvm-svn: 77765 | ||||
* | Split t2MOVCCs since some assemblers do not recognize mov shifted register ↵ | Evan Cheng | 2009-08-01 | 3 | -8/+64 |
| | | | | | | alias with predicate. llvm-svn: 77764 | ||||
* | More warnings for unused expressions. | Anders Carlsson | 2009-08-01 | 2 | -0/+6 |
| | | | | llvm-svn: 77763 | ||||
* | Make default ctor for ImmutableSet::iterator public. | Ted Kremenek | 2009-08-01 | 1 | -2/+1 |
| | | | | llvm-svn: 77762 | ||||
* | llvm-mc: More quoted identifier support. | Daniel Dunbar | 2009-08-01 | 3 | -43/+88 |
| | | | | llvm-svn: 77761 | ||||
* | SelectionDAGISel no longer needs to check hasAvailableExternallyLinkage, | Dan Gohman | 2009-08-01 | 1 | -5/+0 |
| | | | | | | | as it is now a MachineFunctionPass, and MachineFunctionPass now handles this. llvm-svn: 77760 | ||||
* | Make UnreachableMachineBlockElim preserve MachineDominatorTree and | Dan Gohman | 2009-08-01 | 1 | -0/+15 |
| | | | | | | | | | MachineLoopInfo. llc now runs MachineLoopInfo and MachineDominatorTree only twice, instead of three times. llvm-svn: 77759 | ||||
* | The X86 maximal stack alignment calculator preserves the CFG. Also, | Dan Gohman | 2009-08-01 | 1 | -2/+9 |
| | | | | | | be more careful about the return value of runOnMachineFunction. llvm-svn: 77758 | ||||
* | X86 floating-point passes don't modify the CFG. | Dan Gohman | 2009-08-01 | 2 | -0/+2 |
| | | | | llvm-svn: 77757 | ||||
* | Fix Thumb2 function call isel. Thumb1 and Thumb2 should share the same | Evan Cheng | 2009-08-01 | 7 | -73/+61 |
| | | | | | | | | | instructions for calls since BL and BLX are always 32-bit long and BX is always 16-bit long. Also, we should be using BLX to call external function stubs. llvm-svn: 77756 | ||||
* | Use setPreservesAll in X86CodeEmitter. | Dan Gohman | 2009-07-31 | 1 | -0/+1 |
| | | | | llvm-svn: 77755 | ||||
* | Use setPreservesAll and setPreservesCFG in CodeGen passes. | Dan Gohman | 2009-07-31 | 17 | -14/+31 |
| | | | | llvm-svn: 77754 | ||||
* | SelectionDAGISel does not "preserve all", since it makes lots of changes | Dan Gohman | 2009-07-31 | 1 | -1/+3 |
| | | | | | | to the MachineFunction. llvm-svn: 77753 | ||||
* | Use a range insert instead of an explicit loop. | Dan Gohman | 2009-07-31 | 1 | -2/+1 |
| | | | | llvm-svn: 77752 | ||||
* | Add beginnigs of rtti generation, wire up more of -fno-exceptions. | Mike Stump | 2009-07-31 | 8 | -6/+78 |
| | | | | llvm-svn: 77751 | ||||
* | llvm-mc: Add -triple, and fix some typos | Daniel Dunbar | 2009-07-31 | 2 | -3/+3 |
| | | | | llvm-svn: 77750 | ||||
* | llvm-mc: Fix .s output to quote section & symbol names when necessary. | Daniel Dunbar | 2009-07-31 | 3 | -20/+59 |
| | | | | llvm-svn: 77749 | ||||
* | Privatize all but one of the remaining constant tables. | Owen Anderson | 2009-07-31 | 3 | -62/+58 |
| | | | | llvm-svn: 77748 | ||||
* | Allow target intrinsics that return multiple values, i.e., struct types, | Bob Wilson | 2009-07-31 | 1 | -15/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | in SelectionDAGLowering::visitTargetIntrinsic. This removes a bit of special-case code for vector types. After staring at it for a while, I managed to convince myself that it is not necessary. The only case where TLI.getValueType() differs from MVT::getMVT is for iPTR, so this code could potentially make a difference for a vector of pointers. But, it looks like that is not supported. Calling TLI.getValueType() on a vector of pointers leads to the following sequence of calls: TargetLowering::getValueType MVT::getMVT MVT::getVectorVT(iPTR, num elements) MVT::getExtendedVectorVT MVT::getTypeForMVT for iPTR assertion fails "Type is not extended!" So, unless I'm really missing something, this bit of code is irrelevant to the current version of LLVM, which is consistent with the fact that I don't see this code in other similar places. llvm-svn: 77747 | ||||
* | Add a warning. | Mikhail Glushenkov | 2009-07-31 | 1 | -1/+2 |
| | | | | llvm-svn: 77746 | ||||
* | llvm-mc: A few more parsing / match tweaks. | Daniel Dunbar | 2009-07-31 | 2 | -11/+69 |
| | | | | | | | | | | | | | | - Operands which are just a label should be parsed as immediates, not memory operands (from the assembler perspective). - Match a few more flavors of immediates. - Distinguish match functions for memory operands which don't take a segment register. - We match the .s for "hello world" now! llvm-svn: 77745 | ||||
* | t2BR_JT is mov pc, it's 2 byte long, not 4. | Evan Cheng | 2009-07-31 | 1 | -9/+9 |
| | | | | llvm-svn: 77744 | ||||
* | Thumb2 movcc need .w suffix. | Evan Cheng | 2009-07-31 | 1 | -3/+3 |
| | | | | llvm-svn: 77743 | ||||
* | add some comments on how this is *supposed* to work. We don't | Chris Lattner | 2009-07-31 | 1 | -0/+27 |
| | | | | | | | need the PreferredEHDataFormat hook, but I have yet-more refactoring to do before I can zap it. llvm-svn: 77742 | ||||
* | rearrange a conditional. Even if this weren't #if 0'd out, this would | Chris Lattner | 2009-07-31 | 1 | -4/+5 |
| | | | | | | have no functionality change. llvm-svn: 77741 | ||||
* | Simplify operand padding by keying off tabs in the asm stream. If | David Greene | 2009-07-31 | 8 | -153/+62 |
| | | | | | | | | | | | | padding is disabled, tabs get replaced by spaces except in the case of the first operand, where the tab is output to line up the operands after the mnemonics. Add some better comments and eliminate redundant code. Fix some testcases to not assume tabs. llvm-svn: 77740 | ||||
* | llvm-mc: Support quoted identifiers. | Daniel Dunbar | 2009-07-31 | 3 | -6/+50 |
| | | | | | | | | | - Uses MCAsmToken::getIdentifier which returns the (sub)string representing the meaningfull contents a string or identifier token. - Directives aren't done yet. llvm-svn: 77739 | ||||
* | Remove the old struct builder code. | Anders Carlsson | 2009-07-31 | 1 | -177/+1 |
| | | | | llvm-svn: 77738 | ||||
* | And now we can generate a simple vtable. Still a work in progress... | Mike Stump | 2009-07-31 | 2 | -11/+26 |
| | | | | llvm-svn: 77737 | ||||
* | PreferredEHDataFormat is always call with data and global, but this whole | Chris Lattner | 2009-07-31 | 5 | -61/+21 |
| | | | | | | | thing is #if0'd out anyway. Just simplify the code by reducing the interface. Not deleting this is essential for Bill's continuing happiness. llvm-svn: 77736 | ||||
* | Move code from EmitUnion directly into the function that handles cast-to-union. | Anders Carlsson | 2009-07-31 | 1 | -2/+28 |
| | | | | llvm-svn: 77735 | ||||
* | Fix unit tests. | Owen Anderson | 2009-07-31 | 1 | -14/+16 |
| | | | | llvm-svn: 77734 | ||||
* | Move the metadata constructors back to 2.5 syntax. | Owen Anderson | 2009-07-31 | 8 | -94/+60 |
| | | | | llvm-svn: 77733 | ||||
* | Use the struct builder for unions. | Anders Carlsson | 2009-07-31 | 1 | -0/+2 |
| | | | | llvm-svn: 77732 | ||||
* | Fixup spacing and 80-col violations. | Mike Stump | 2009-07-31 | 1 | -20/+27 |
| | | | | llvm-svn: 77731 | ||||
* | Update unittest for LLVM API change. | Benjamin Kramer | 2009-07-31 | 2 | -4/+4 |
| | | | | llvm-svn: 77730 |