[PATCH] D140006: fix jump threading failing to update cloned dbg.values
Ben Mudd via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 06:02:37 PST 2022
BenJMudd added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/JumpThreading.cpp:2097
+
+ DenseMap<Instruction *, Value *>::iterator I = ValueMapping.find(dbgValue);
+ if (I != ValueMapping.end()) {
----------------
probinson wrote:
> This one is debatable, if you prefer to keep it as is that's okay.
I think its more readable with auto, will change
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140006/new/
https://reviews.llvm.org/D140006
More information about the llvm-commits
mailing list