[PATCH] [PeepholeOptimizer] Refactor the advance copy optimization to take advantage of the isRegSequence property
Quentin Colombet
qcolombet at apple.com
Wed Aug 13 11:02:43 PDT 2014
Thanks for asking!
The TargetInstrInfo is optional for the ValueTracker but not for the PeepholeOptimizer. isLoadFoldable is part of the PeepholeOptimizer.
That said, this is possible I missed some uses in the ValueTracker, but if it is the case, I do not see them!
-Quentin
http://reviews.llvm.org/D4874
More information about the llvm-commits
mailing list