Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Early exit and reduce indentation. No functionality change. | Bill Wendling | 2010-08-02 | 1 | -105/+106 |
| | | | | llvm-svn: 110069 | ||||
* | Free DbgScope created for dead functions. | Devang Patel | 2010-08-02 | 1 | -0/+4 |
| | | | | llvm-svn: 110045 | ||||
* | Prefix `next' iterator operation with `llvm::'. | Oscar Fuentes | 2010-08-02 | 3 | -7/+7 |
| | | | | | | | | Fixes potential ambiguity problems on VS 2010. Patch by nobled! llvm-svn: 110029 | ||||
* | PR7586: Make sure we don't claim that unknown bits are actually known in the | Eli Friedman | 2010-08-02 | 1 | -3/+2 |
| | | | | | | ISD::AND case of TargetLowering::SimplifyDemandedBits. llvm-svn: 110019 | ||||
* | Reference the personalities. Don't copy them into a new vector. | Bill Wendling | 2010-08-01 | 1 | -1/+1 |
| | | | | llvm-svn: 109966 | ||||
* | Fix for bug reported by Evzen Muller on llvm-commits: make sure to correctly | Eli Friedman | 2010-07-30 | 1 | -6/+3 |
| | | | | | | | check the range of the constant when optimizing a comparison between a constant and a sign_extend_inreg node. llvm-svn: 109854 | ||||
* | Plug the remaining MC leaks by giving MCObjectStreamer/MCAsmStreamer ↵ | Benjamin Kramer | 2010-07-29 | 1 | -4/+0 |
| | | | | | | ownership of the TargetAsmBackend and the MCCodeEmitter. llvm-svn: 109767 | ||||
* | Comment typo. | Dale Johannesen | 2010-07-29 | 1 | -1/+1 |
| | | | | llvm-svn: 109765 | ||||
* | Fix a bug in the -regalloc=fast handling of exotic two-address instruction with | Jakob Stoklund Olesen | 2010-07-29 | 1 | -3/+11 |
| | | | | | | | | | | | | | | | | | multiple defs, like t2LDRSB_POST. The first def could accidentally steal the physreg that the second, tied def was required to be allocated to. Now, the tied use-def is treated more like an early clobber, and the physreg is reserved before allocating the other defs. This would never be a problem when the tied def was the only def which is the usual case. This fixes MallocBench/gs for thumb2 -O0. llvm-svn: 109715 | ||||
* | Print out the regclass of any virtual registers used by a machine instruction. | Jakob Stoklund Olesen | 2010-07-28 | 1 | -0/+31 |
| | | | | llvm-svn: 109608 | ||||
* | It is FE's responsibility to emit proper directory name. | Devang Patel | 2010-07-27 | 1 | -4/+1 |
| | | | | llvm-svn: 109538 | ||||
* | Grammar | Jim Grosbach | 2010-07-27 | 1 | -3/+3 |
| | | | | llvm-svn: 109525 | ||||
* | Fix a crash in the dag combiner caused by ↵ | Nate Begeman | 2010-07-27 | 1 | -2/+10 |
| | | | | | | | | ConstantFoldBIT_CONVERTofBUILD_VECTOR calling itself recursively and returning a SCALAR_TO_VECTOR node, but assuming the input was always a BUILD_VECTOR. llvm-svn: 109519 | ||||
* | 80 column | Jim Grosbach | 2010-07-27 | 1 | -4/+4 |
| | | | | llvm-svn: 109513 | ||||
* | fix typo | Jim Grosbach | 2010-07-27 | 1 | -1/+1 |
| | | | | llvm-svn: 109511 | ||||
* | It's better to have the arrays, which would trigger the creation of stack | Bill Wendling | 2010-07-27 | 3 | -3/+33 |
| | | | | | | | | | protectors, to be near the stack protectors on the stack. Accomplish this by tagging the stack object with a predicate that indicates that it would trigger this. In the prolog-epilog inserter, assign these objects to the stack after the stack protector but before the other objects. llvm-svn: 109481 | ||||
* | Add SplitEditor to SplitKit. This class will be used to edit live intervals and | Jakob Stoklund Olesen | 2010-07-26 | 4 | -10/+305 |
| | | | | | | | | rewrite instructions for live range splitting. Still work in progress. llvm-svn: 109469 | ||||
* | Fix a use-after-free. | Dan Gohman | 2010-07-26 | 1 | -2/+0 |
| | | | | llvm-svn: 109468 | ||||
* | Using llvm.eh.catch.all.value instead of .llvm.eh.catch.all.value. | Bill Wendling | 2010-07-26 | 2 | -5/+5 |
| | | | | llvm-svn: 109462 | ||||
* | The "excess register pressure" returned by HighRegPressure() is not accurate ↵ | Evan Cheng | 2010-07-26 | 1 | -41/+20 |
| | | | | | | enough to factor into scheduling priority. Eliminate it and add early exits to speed up scheduling. llvm-svn: 109449 | ||||
* | Handle Values with no value in getCopyFromRegs. | Dan Gohman | 2010-07-26 | 1 | -0/+4 |
| | | | | llvm-svn: 109415 | ||||
* | A block dominates itself, by definition. | Dan Gohman | 2010-07-26 | 1 | -1/+1 |
| | | | | llvm-svn: 109402 | ||||
* | Pacify gcc-4.5 which wrongly thinks that RExcess (passed as the Excess ↵ | Duncan Sands | 2010-07-26 | 1 | -1/+2 |
| | | | | | | | | parameter) may be used uninitialized in the callers of HighRegPressure. llvm-svn: 109393 | ||||
* | Factored out a bit of common code to mark VNInfos for deletion. | Lang Hames | 2010-07-26 | 1 | -40/+22 |
| | | | | llvm-svn: 109388 | ||||
* | Add comments. | Evan Cheng | 2010-07-25 | 1 | -4/+16 |
| | | | | llvm-svn: 109383 | ||||
* | Fix crashes when scheduling a CopyToReg node -- getMachineOpcode asserts on | Bob Wilson | 2010-07-25 | 1 | -2/+2 |
| | | | | | | those. Radar 8231572. llvm-svn: 109367 | ||||
* | Add hook to insert late LLVM=>LLVM passes just before isel | Anton Korobeynikov | 2010-07-24 | 1 | -0/+2 |
| | | | | llvm-svn: 109354 | ||||
* | Change ScheduleDAGInstrs::Defs and ::Uses to be variable-size vectors | Bob Wilson | 2010-07-24 | 2 | -3/+4 |
| | | | | | | | instead of fixed size arrays, so that increasing FirstVirtualRegister to 16K won't cause a compile time performance regression. llvm-svn: 109330 | ||||
* | Use current working directory when Dirname is empty. This only happens when ↵ | Devang Patel | 2010-07-24 | 1 | -0/+5 |
| | | | | | | absolute source file path is used on compiler command line. llvm-svn: 109302 | ||||
* | Add an ILP scheduler. This is a register pressure aware scheduler that's | Evan Cheng | 2010-07-24 | 2 | -12/+76 |
| | | | | | | | | | | | | appropriate for targets without detailed instruction iterineries. The scheduler schedules for increased instruction level parallelism in low register pressure situation; it schedules to reduce register pressure when the register pressure becomes high. On x86_64, this is a win for all tests in CFP2000. It also sped up 256.bzip2 by 16%. llvm-svn: 109300 | ||||
* | Remove too-strict assertion. We may want the vreg copy of the physical register | Jim Grosbach | 2010-07-23 | 1 | -1/+0 |
| | | | | | | | to be of a different register class. For example, in Thumb1 if the live-in is a high register, we want the vreg to be a low register. rdar://8224931 llvm-svn: 109291 | ||||
* | Revert r109262. | Devang Patel | 2010-07-23 | 1 | -5/+0 |
| | | | | llvm-svn: 109285 | ||||
* | - Allow target to specify when is register pressure "too high". In most cases, | Evan Cheng | 2010-07-23 | 1 | -56/+124 |
| | | | | | | | | | | | | | it's too late to start backing off aggressive latency scheduling when most of the registers are in use so the threshold should be a bit tighter. - Correctly handle live out's and extract_subreg etc. - Enable register pressure aware scheduling by default for hybrid scheduler. For ARM, this is almost always a win on # of instructions. It's runtime neutral for most of the tests. But for some kernels with high register pressure it can be a huge win. e.g. 464.h264ref reduced number of spills by 54 and sped up by 20%. llvm-svn: 109279 | ||||
* | Use the proper type for shift counts. This fixes a bootstrap error. | Dan Gohman | 2010-07-23 | 1 | -1/+4 |
| | | | | llvm-svn: 109265 | ||||
* | IF directory name is empty then try to extract one using absolute file name. | Devang Patel | 2010-07-23 | 1 | -0/+5 |
| | | | | llvm-svn: 109262 | ||||
* | DAGCombine (shl (anyext x, c)) to (anyext (shl x, c)) if the high bits | Dan Gohman | 2010-07-23 | 1 | -1/+21 |
| | | | | | | are not demanded. This often allows the anyext to be folded away. llvm-svn: 109242 | ||||
* | Make SDNode::dump() print a newline at the end. | Dan Gohman | 2010-07-23 | 1 | -0/+1 |
| | | | | llvm-svn: 109234 | ||||
* | 80-col. | Eric Christopher | 2010-07-23 | 1 | -8/+12 |
| | | | | llvm-svn: 109205 | ||||
* | remove the JIT "NeedsExactSize" feature and supporting logic. | Chris Lattner | 2010-07-22 | 1 | -13/+0 |
| | | | | llvm-svn: 109167 | ||||
* | keep in 80 cols | Gabor Greif | 2010-07-22 | 1 | -2/+4 |
| | | | | llvm-svn: 109122 | ||||
* | mass elimination of reliance on automatic iterator dereferencing | Gabor Greif | 2010-07-22 | 3 | -7/+7 |
| | | | | llvm-svn: 109103 | ||||
* | undo 80 column trespassing I caused | Gabor Greif | 2010-07-22 | 2 | -3/+5 |
| | | | | llvm-svn: 109092 | ||||
* | Re-apply r109079 with fix. | Evan Cheng | 2010-07-22 | 1 | -28/+26 |
| | | | | llvm-svn: 109083 | ||||
* | Revert r109079, which broke a lot of CodeGen tests. | Owen Anderson | 2010-07-22 | 1 | -25/+27 |
| | | | | llvm-svn: 109082 | ||||
* | Initial modifications to MCAssembler and TargetMachine for the MCJIT. | Reid Kleckner | 2010-07-22 | 1 | -0/+18 |
| | | | | | | Patch by Olivier Meurant! llvm-svn: 109080 | ||||
* | Initialize RegLimit only when register pressure is being tracked. | Evan Cheng | 2010-07-22 | 1 | -27/+25 |
| | | | | llvm-svn: 109079 | ||||
* | More register pressure aware scheduling work. | Evan Cheng | 2010-07-21 | 1 | -81/+84 |
| | | | | llvm-svn: 109064 | ||||
* | For ARM/Darwin, add a dwarf entry indicating whether a function is arm or thumb | Jim Grosbach | 2010-07-21 | 1 | -0/+4 |
| | | | | | | rdar://8202967 llvm-svn: 109057 | ||||
* | Fix batch of converting RegisterPass<> to INTIALIZE_PASS(). | Owen Anderson | 2010-07-21 | 23 | -43/+45 |
| | | | | llvm-svn: 109045 | ||||
* | 80 column and trailing whitespace cleanup | Jim Grosbach | 2010-07-21 | 1 | -171/+173 |
| | | | | llvm-svn: 109037 |