[PATCH] D88386: [MIR][M68K] (Patch 2/8): Changes on Target-independent MIR part
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 20:34:44 PDT 2020
craig.topper added inline comments.
================
Comment at: llvm/lib/CodeGen/MachineBasicBlock.cpp:1357
+ // Skip debug declarations, we don't want a DebugLoc from them.
+ MBBI = skipDebugInstructionsForward(std::prev(MBBI), instr_rend());
+ if (MBBI != instr_rend())
----------------
Is it possible MBBI is already at instr_rend() so that std::prev isn't valid?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88386/new/
https://reviews.llvm.org/D88386
More information about the llvm-commits
mailing list