[PATCH] D38941: [PowerPC] Use record-form instruction for Less-or-Equal -1 and Greater-or-Equal 1
Eric Christopher via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 14:26:08 PDT 2017
echristo added a comment.
Looks much better to me. Let sfertile give a final ACK since he's been in here too, but I'm happy. One inline comment :)
-eric
================
Comment at: lib/Target/PowerPC/PPCInstrInfo.cpp:1724
+
+ // We optimize iff condition code is used by only one conditional branch.
+ if (equalityOnly || !MRI->hasOneUse(CRReg))
----------------
Because... :)
https://reviews.llvm.org/D38941
More information about the llvm-commits
mailing list