[PATCH] D25493: [PPCMIPeephole] Fix splat elimination

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 17:40:13 PDT 2016


echristo accepted this revision.
echristo added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/PowerPC/PPCMIPeephole.cpp:207
           DEBUG(MI.dump());
+          MI.setDesc(TII->get(PPC::COPY));
+          MI.RemoveOperand(UimNo);
----------------
Should probably build rather than change in-place?


https://reviews.llvm.org/D25493





More information about the llvm-commits mailing list