[PATCH] D86460: [InstCombine] improve demanded element analysis for vector insert-of-extract
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 24 09:51:53 PDT 2020
lebedev.ri added inline comments.
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp:1168
+ Value *Vec;
+ if (PreInsertDemandedElts == 0 &&
+ match(I->getOperand(1),
----------------
To check my understanding, `@ins_of_ext_wrong_demand` is fine
because for it `PreInsertDemandedElts` is not `0`, right?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86460/new/
https://reviews.llvm.org/D86460
More information about the llvm-commits
mailing list