summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/eliminate-compare-of-copy.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PowerPC] Look through copies for compare eliminationNemanja Ivanovic2019-06-031-0/+29
We currently miss the opportunities for optmizing comparisons in the peephole optimizer if the input is the result of a COPY since we look for record-form versions of the producing instruction. This patch simply lets the optimization peek through copies. Differential revision: https://reviews.llvm.org/D59633 llvm-svn: 362438
OpenPOWER on IntegriCloud