[PATCH] D77208: [PowerPC] Remove unnecessary XSRSP instruction in MI peephole

Amy Kwan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 15:44:19 PDT 2020


amyk added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCMIPeephole.cpp:544
 
           // Remove the passed FRSP instruction if it only feeds this MI and
           // set any uses of that FRSP (in this MI) to the source of the FRSP.
----------------
I think it would be good if we also updated the comments and possibly the debug lines to account for the removal of XSRSP.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77208/new/

https://reviews.llvm.org/D77208





More information about the llvm-commits mailing list