[PATCH] D52432: [PowerPC] Remove self-copies in pre-emit peephole
Hal Finkel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 25 07:15:53 PDT 2018
hfinkel accepted this revision.
hfinkel added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Target/PowerPC/PPCPreEmitPeephole.cpp:69
+ unsigned Opc = MI.getOpcode();
+ // Detect self copies.
+ if (Opc == PPC::OR || Opc == PPC::OR8 || Opc == PPC::FMR ||
----------------
Please add a comment here stating that these can come out of the AADB.
Repository:
rL LLVM
https://reviews.llvm.org/D52432
More information about the llvm-commits
mailing list