[PATCH] [PeepholeOptimizer] Refactor the advance copy optimization to take advantage of the isRegSequence property

Eric Christopher echristo at gmail.com
Wed Aug 13 10:50:03 PDT 2014


One quick comment/question:

You've got TargetInstrInfo as optional in the class, but as far as I can tell nothing checks it before using it in isLoadFoldable (or the path that gets there). I could easily be wrong, it was the best I could do with search on the diff. Can you confirm?

http://reviews.llvm.org/D4874






More information about the llvm-commits mailing list