[PATCH] D150577: [CodeGen] Fix for MachineBasicBlock::rfindDebugLoc(instr_rend())

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 11:24:58 PDT 2023


dblaikie added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineBasicBlock.cpp:1489-1490
 DebugLoc MachineBasicBlock::findPrevDebugLoc(instr_iterator MBBI) {
-  if (MBBI == instr_begin()) return {};
+  if (MBBI == instr_begin())
+    return {};
   // Skip debug instructions, we don't want a DebugLoc from them.
----------------
This looks like unrelated reformatting? Could you remove changes like this from this patch?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150577



More information about the llvm-commits mailing list