[PATCH] D78157: [AArch64InstrInfo] Ignore debug insts in areCFlagsAccessedBetweenInstrs [6/10]

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 03:23:26 PDT 2020


fhahn accepted this revision.
fhahn added a comment.

LGTM, thanks



================
Comment at: llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:1188
+  --To;
+  for (const MachineInstr &Instr : reversedInstructionsWithoutDebug(To, From)) {
     if (((AccessToCheck & AK_Write) &&
----------------
nit: could be `reversedInstructionsWithoutDebug(std::prev(To), From)`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78157





More information about the llvm-commits mailing list