| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove some overzealous checks that were rejecting | Dale Johannesen | 2008-10-10 | 1 | -12/+8 |
| | | | | | | | | valid comments in inline assembly. gcc.target/i386/20011009-1.c llvm-svn: 57365 | ||||
| * | Added missing print functions that take a raw_ostream | Mon P Wang | 2008-10-10 | 1 | -2/+11 |
| | | | | | llvm-svn: 57339 | ||||
| * | Add a "loses information" return value to APFloat::convert | Dale Johannesen | 2008-10-09 | 3 | -14/+26 |
| | | | | | | | | and APFloat::convertToInteger. Restore return value to IEEE754. Adjust all users accordingly. llvm-svn: 57329 | ||||
| * | Rename APFloat::convertToAPInt to bitcastToAPInt to | Dale Johannesen | 2008-10-09 | 5 | -16/+16 |
| | | | | | | | | make it clearer what the function does. No functional change. llvm-svn: 57325 | ||||
| * | Align EH tables before label is emitted, not after, | Dale Johannesen | 2008-10-08 | 1 | -1/+1 |
| | | | | | | | thus aligning the label. llvm-svn: 57310 | ||||
| * | Fix the case where an instruction is not properly marked as using all ↵ | Owen Anderson | 2008-10-08 | 1 | -1/+19 |
| | | | | | | | registers that alias its inputs. llvm-svn: 57286 | ||||
| * | Remove -disable-fast-isel. Use cl::boolOrDefault with -fast-isel | Dan Gohman | 2008-10-07 | 1 | -8/+3 |
| | | | | | | | | | | | instead. So now: -fast-isel or -fast-isel=true enable fast-isel, and -fast-isel=false disables it. Fast-isel is also on by default with -fast, and off by default otherwise. llvm-svn: 57270 | ||||
| * | Avoid emitting redundant materializations of integer constants | Dan Gohman | 2008-10-07 | 1 | -3/+4 |
| | | | | | | | | for things like null pointers, which at this level aren't different from regular integer constants. llvm-svn: 57265 | ||||
| * | Add an option to enable StrongPHIElimination, for ease of testing. | Owen Anderson | 2008-10-07 | 4 | -4/+20 |
| | | | | | llvm-svn: 57259 | ||||
| * | Use Dan's supperior check | Andrew Lenharth | 2008-10-07 | 1 | -13/+9 |
| | | | | | llvm-svn: 57255 | ||||
| * | No need for |= | Andrew Lenharth | 2008-10-07 | 1 | -3/+3 |
| | | | | | llvm-svn: 57249 | ||||
| * | Use ADDC if it is valid at any smaller size. Do it right this time | Andrew Lenharth | 2008-10-07 | 1 | -3/+6 |
| | | | | | llvm-svn: 57248 | ||||
| * | Use ADDC if it is valid at any smaller size. fixes ↵ | Andrew Lenharth | 2008-10-07 | 1 | -3/+18 |
| | | | | | | | test/Codegen/Generic/i128-addsub.ll on x86 llvm-svn: 57247 | ||||
| * | Expand arith on machines without carry flags | Andrew Lenharth | 2008-10-07 | 1 | -9/+33 |
| | | | | | llvm-svn: 57243 | ||||
| * | Correctly handle calls with no return values. This fixes | Dan Gohman | 2008-10-07 | 1 | -1/+1 |
| | | | | | | | 2006-01-23-UnionInit on x86-64 when inlining is not enabled. llvm-svn: 57223 | ||||
| * | Don't dereference the end() iterator. Thanks to | Dan Gohman | 2008-10-06 | 1 | -1/+1 |
| | | | | | | | ENABLE_EXPENSIVE_CHECKS for finding this. llvm-svn: 57181 | ||||
| * | Remove unncessary isDeclaration() checks. | Devang Patel | 2008-10-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 57179 | ||||
| * | reorder #include order, patch by Kenneth Boyd! | Chris Lattner | 2008-10-06 | 1 | -4/+2 |
| | | | | | llvm-svn: 57148 | ||||
| * | Add #include to get alloca, patch by Kenneth Boyd! | Chris Lattner | 2008-10-06 | 1 | -0/+1 |
| | | | | | llvm-svn: 57147 | ||||
| * | wrap some long lines and expand i32 mul's to libcalls, inspired by a | Chris Lattner | 2008-10-04 | 1 | -4/+12 |
| | | | | | | | patch by Mikael Lepisto! llvm-svn: 57077 | ||||
| * | CMake: Reflected changes on source file structure. New plugin support | Oscar Fuentes | 2008-10-04 | 1 | -0/+2 |
| | | | | | | | for llvmc2 incomplete. llvm-svn: 57076 | ||||
| * | Fix compilation error on MSVC. | Argyrios Kyrtzidis | 2008-10-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 57046 | ||||
| * | Fix fast-isel's handling of atomic instructions. They may | Dan Gohman | 2008-10-04 | 1 | -1/+4 |
| | | | | | | | | | expand to multiple basic blocks, in which case fast-isel needs to informed of which block to use as it resumes inserting instructions. llvm-svn: 57040 | ||||
| * | Fix a bug in the local allocator's liveness computation where it | Dan Gohman | 2008-10-04 | 1 | -3/+5 |
| | | | | | | | | | was setting kill flags on tied uses in two-address instructions. The kill flags were causing the allocator to think it could allocate the use and its tied def in different registers. llvm-svn: 57039 | ||||
| * | Pass MemOperand through for 64-bit atomics on 32-bit, | Dale Johannesen | 2008-10-03 | 1 | -5/+18 |
| | | | | | | | | incidentally making the case where the memop is a pointer deref work. Fix cmp-and-swap regression. llvm-svn: 57027 | ||||
| * | Use -1ULL instead of uint64_t(-1), at Anton's suggestion. | Dan Gohman | 2008-10-03 | 1 | -2/+2 |
| | | | | | llvm-svn: 57021 | ||||
| * | Fix typos pointed out by Duncan. Also untabify these files. | Evan Cheng | 2008-10-03 | 3 | -15/+15 |
| | | | | | llvm-svn: 57018 | ||||
| * | Switch the MachineOperand accessors back to the short names like | Dan Gohman | 2008-10-03 | 24 | -132/+132 |
| | | | | | | | isReg, etc., from isRegister, etc. llvm-svn: 57006 | ||||
| * | The result of getSetCCResultType (eg: i32) may be larger | Duncan Sands | 2008-10-03 | 1 | -4/+8 |
| | | | | | | | | | | than the type an i1 is promoted to (eg: i8). Account for this. Noticed by Tilmann Scheller on CellSPU; he will hopefully take care of fixing this in LegalizeDAG and adding a testcase! llvm-svn: 56997 | ||||
| * | Implement fast-isel support for zero-extending from i1. | Dan Gohman | 2008-10-03 | 1 | -1/+12 |
| | | | | | | | | It turns out that this is a fairly common operation, and it's easy enough to handle. llvm-svn: 56990 | ||||
| * | Optimize conditional branches in X86FastISel. This replaces | Dan Gohman | 2008-10-02 | 1 | -10/+18 |
| | | | | | | | | | | | | sequences like this: sete %al testb %al, %al jne LBB11_1 with this: je LBB11_1 llvm-svn: 56969 | ||||
| * | Add a new MachineBasicBlock utility function, isLayoutSuccessor, that | Dan Gohman | 2008-10-02 | 1 | -0/+5 |
| | | | | | | | | can be used when deciding if a block can transfer control to another via a fall-through instead of a branch. llvm-svn: 56968 | ||||
| * | fix build gcc 4.3 | Andrew Lenharth | 2008-10-02 | 1 | -0/+1 |
| | | | | | llvm-svn: 56965 | ||||
| * | Use a multimap rather than a map for holding the list of copies to insert, ↵ | Owen Anderson | 2008-10-02 | 1 | -12/+19 |
| | | | | | | | | | | | so we don't lose copies when two of them have the same source. I don't know what I was thinking when I wrote this originally. Note: There's probably a more efficient way to do this, but I need to think about it some more, and about what determinism guarantees need to be present. llvm-svn: 56964 | ||||
| * | Handle some 64-bit atomics on x86-32, some of the time. | Dale Johannesen | 2008-10-02 | 1 | -11/+16 |
| | | | | | llvm-svn: 56963 | ||||
| * | A Partitioned Boolean Quadratic Programming (PBQP) based register allocator. | Evan Cheng | 2008-10-02 | 3 | -0/+2208 |
| | | | | | | | Contributed by Lang Hames. llvm-svn: 56959 | ||||
| * | Fix a think-o in isSafeToMove. This fixes it from thinking that | Dan Gohman | 2008-10-02 | 1 | -1/+1 |
| | | | | | | | volatile memory references are safe to move. llvm-svn: 56948 | ||||
| * | Remove OptimizeForSize global. Use function attribute optsize. | Devang Patel | 2008-10-01 | 2 | -1/+5 |
| | | | | | llvm-svn: 56937 | ||||
| * | Enable FastISel by default (on x86 and x86-64) with the -fast option. | Dan Gohman | 2008-10-01 | 1 | -4/+16 |
| | | | | | llvm-svn: 56930 | ||||
| * | Make some implicit conversions explicit, to avoid compiler warnings. | Dan Gohman | 2008-10-01 | 1 | -2/+2 |
| | | | | | llvm-svn: 56927 | ||||
| * | Fold trivial two-operand tokenfactors where the operands are equal | Dan Gohman | 2008-10-01 | 1 | -0/+1 |
| | | | | | | | immediately. llvm-svn: 56921 | ||||
| * | Fix typos in comments. | Dan Gohman | 2008-10-01 | 1 | -2/+2 |
| | | | | | llvm-svn: 56919 | ||||
| * | Implement the -fno-builtin option in the front-end, not in the back-end. | Bill Wendling | 2008-10-01 | 1 | -6/+1 |
| | | | | | llvm-svn: 56900 | ||||
| * | Mark merged-in VNInfo's as being PHIKilled. | Owen Anderson | 2008-09-30 | 1 | -0/+5 |
| | | | | | llvm-svn: 56893 | ||||
| * | Fix a simple error in renumbering kill markaers, that took an inordinant ↵ | Owen Anderson | 2008-09-30 | 1 | -1/+1 |
| | | | | | | | amount of time to track down. llvm-svn: 56889 | ||||
| * | - Initialize "--no-builtin" to "false". | Bill Wendling | 2008-09-30 | 1 | -1/+1 |
| | | | | | | | - Testcase for r56885. llvm-svn: 56886 | ||||
| * | Add the new `-no-builtin' flag. This flag is meant to mimic the GCC | Bill Wendling | 2008-09-30 | 1 | -1/+7 |
| | | | | | | | | | | `-fno-builtin' flag. Currently, it's used to replace "memset" with "_bzero" instead of "__bzero" on Darwin10+. This arguably violates the meaning of this flag, but is currently sufficient. The meaning of this flag should become more specific over time. llvm-svn: 56885 | ||||
| * | Move the primary fast-isel top-level comments to FastISel.cpp, where | Dan Gohman | 2008-09-30 | 1 | -0/+28 |
| | | | | | | | they'll be a little more visible. Also, update and reword them a bit. llvm-svn: 56877 | ||||
| * | Optimize SelectionDAG's AssignTopologicalOrder even further. | Dan Gohman | 2008-09-30 | 2 | -31/+66 |
| | | | | | | | | | | | | | | | | | | | | Completely eliminate the TopOrder std::vector. Instead, sort the AllNodes list in place. This also eliminates the need to call AllNodes.size(), a linear-time operation, before performing the sort. Also, eliminate the Sources temporary std::vector, since it essentially duplicates the sorted result as it is being built. This also changes the direction of the topological sort from bottom-up to top-down. The AllNodes list starts out in roughly top-down order, so this reduces the amount of reordering needed. Top-down is also more convenient for Legalize, and ISel needed only minor adjustments. llvm-svn: 56867 | ||||
| * | Re-apply 56835 along with header file changes. | Evan Cheng | 2008-09-30 | 3 | -8/+20 |
| | | | | | llvm-svn: 56848 | ||||

