[PATCH] D118143: [GVN] Support load of pointer-select to value-select conversion.
Momchil Velikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 3 09:29:21 PST 2022
chill added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/GVN.cpp:1729
if (NumDeps == 1 &&
!Deps[0].getResult().isDef() && !Deps[0].getResult().isClobber()) {
LLVM_DEBUG(dbgs() << "GVN: non-local load "; Load->printAsOperand(dbgs());
----------------
Shouldn't we allow the function to continue if we came here with a `SelectInst`
in the dep address, like on line 2022 ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118143/new/
https://reviews.llvm.org/D118143
More information about the llvm-commits
mailing list