[PATCH] D128806: [RISCV] Fix wrong position of prologue_end
LiqinWeng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 29 19:23:02 PDT 2022
Miss_Grape added a comment.
In D128806#3619023 <https://reviews.llvm.org/D128806#3619023>, @luismarques wrote:
> Is removing the `if (I != MBB.end()) DL = I->getDebugLoc();` actually correct? I'm wondering why do several other targets have that if it can just be removed.
In fact, the key problem is the condition of prologue_end generation, please see DwarfDebug::beginInstuction
F23628681: image.png <https://reviews.llvm.org/F23628681>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128806/new/
https://reviews.llvm.org/D128806
More information about the llvm-commits
mailing list