[PATCH] D82487: [InstCombine] Drop debug loc in TryToSinkInstruction
Adrian Prantl via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 10:56:35 PDT 2020
aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3358
+ // Drop the debug loc. This prevents single-stepping from going backwards.
+ I->setDebugLoc(DebugLoc());
----------------
Should we add anchors to the rst document and refer to the rule by anchor in the comment?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82487/new/
https://reviews.llvm.org/D82487
More information about the llvm-commits
mailing list