[PATCH] D109700: [InstCombine] Improve TryToSinkInstruction with multiple uses
Anna Thomas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 14 06:10:30 PDT 2021
anna added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:3834
+ // sophisticed analysis (i.e finding NearestCommonDominator of these
+ // use blocks).
+ if (UserParent)
----------------
mkazantsev wrote:
> Can we at least allow it if they come from same block? It's typical for switches.
yes, will do.
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