summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/machine-cse.ll
Commit message (Collapse)AuthorAgeFilesLines
* PR13578: Teach MachineCSE that instructions that use a constant register can ↵Benjamin Kramer2012-08-111-0/+22
| | | | | | | | be CSE'd safely. This is common e.g. when doing rip-relative addressing on x86_64. llvm-svn: 161728
* MachineCSE: Update the heuristics for isProfitableToCSE.Manman Ren2012-08-071-0/+35
| | | | | | | | | If the result of a common subexpression is used at all uses of the candidate expression, CSE should not increase the live range of the common subexpression. rdar://11393714 and rdar://11819721 llvm-svn: 161396
* Allow machine-cse to look across MBB boundary when cse'ing instructions thatEvan Cheng2012-01-101-1/+23
| | | | | | | | | | define physical registers. It's currently very restrictive, only catching cases where the CE is in an immediate (and only) predecessor. But it catches a surprising large number of cases. rdar://10660865 llvm-svn: 147827
* sext(undef) = 0, because the top bits will all be the same.Evan Cheng2011-03-151-2/+2
| | | | | | zext(undef) = 0, because the top bits will be zero. llvm-svn: 127649
* Teach machine cse to commute instructions.Evan Cheng2010-12-151-0/+40
| | | | llvm-svn: 121903
* Enable machine cse pass.Evan Cheng2010-03-101-0/+39
llvm-svn: 98132
OpenPOWER on IntegriCloud