[PATCH] D109700: [InstCombine] Improve TryToSinkInstruction with multiple uses
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 15 11:43:36 PDT 2021
anna added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/AssumeBundleBuilder.cpp:165
+ auto *UniqueUser =
+ dyn_cast_or_null<Instruction>(RK.WasOn->getUniqueUndroppableUser());
+ if (UniqueUser == InstBeingModified)
----------------
nikic wrote:
> Is the cast here needed?
not needed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109700/new/
https://reviews.llvm.org/D109700
More information about the llvm-commits
mailing list