[PATCH] D18838: [AArch64][CodeGen] Fix of incorrect peephole optimization in AArch64InstrInfo::optimizeCompareInstr
Tim Northover via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 20 13:21:02 PDT 2016
t.p.northover accepted this revision.
t.p.northover added a reviewer: t.p.northover.
t.p.northover added a comment.
This revision is now accepted and ready to land.
Thanks for the updates. This looks good to me now.
Tim.
================
Comment at: lib/Target/AArch64/AArch64InstrInfo.cpp:1058-1059
@@ +1057,4 @@
+ AccessToCheck = AK_All;
+ if (areCFlagsAccessedBetweenInstrs(MI, CmpInstr, TRI, AccessToCheck))
+ return false;
+
----------------
Nice implementation!
http://reviews.llvm.org/D18838
More information about the llvm-commits
mailing list