These helpers are exercised by follow-up commits in this patch series,
which is all about removing CodeGen differences with vs. without debug
info in the AArch64 backend.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, the set of patches to use the new utils shows that those utilities can be quite useful. Please wait a day or so with committing though, in case there are additional suggestions.
llvm/include/llvm/CodeGen/MachineBasicBlock.h | ||
---|---|---|
1067 | It looks like some existing uses of skipDebugInstructionsForward could be replaced by next_nodbg(). | |
1073 | It looks like some existing uses of skipDebugInstructionsBackward could be replaced by prev_nodbg(). |
Comment Actions
Fold in changes to use {prev,next}_nodbg where they provide a clear readability
improvement.
It looks like some existing uses of skipDebugInstructionsForward could be replaced by next_nodbg().