summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonPeephole.cpp
Commit message (Collapse)AuthorAgeFilesLines
* LLVM Bug Fix 13709: Remove needless lsr(Rp, #32) instruction access thePranav Bhandarkar2012-09-051-0/+35
| | | | | | | | | | | | | | | subreg_hireg of register pair Rp. * lib/Target/Hexagon/HexagonPeephole.cpp(PeepholeDoubleRegsMap): New DenseMap similar to PeepholeMap that additionally records subreg info too. (runOnMachineFunction): Record information in PeepholeDoubleRegsMap and copy propagate the high sub-reg of Rp0 in Rp1 = lsr(Rp0, #32) to the instruction Rx = COPY Rp1:logreg_subreg. * test/CodeGen/Hexagon/remove_lsr.ll: New test. llvm-svn: 163214
* Reorder includes in Target backends to following coding standards. Remove ↵Craig Topper2012-03-171-4/+3
| | | | | | some superfluous forward declarations. llvm-svn: 152997
* Remove unused cl::opt, make another opt static.Benjamin Kramer2012-02-241-3/+0
| | | | llvm-svn: 151398
* Optimize redundant sign extends and negation of predicates.Sirish Pande2012-02-151-0/+292
| | | | llvm-svn: 150606
* Revert "Replacing HexagonOptimizeSZExtends with HexagonPeephole."Eric Christopher2012-02-151-292/+0
| | | | | | This reverts commit 1656806a944bbd23e98c6e578810fe02495ab741. llvm-svn: 150605
* Replacing HexagonOptimizeSZExtends with HexagonPeephole.Sirish Pande2012-02-151-0/+292
llvm-svn: 150603
OpenPOWER on IntegriCloud