[PATCH] D147750: [LAA/LV] Simplify stride speculation logic [nfc-ish]
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 7 05:01:06 PDT 2023
fhahn added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:7208
+ if (I->getOpcode() == Instruction::Mul &&
+ (isOne(PSE.getSCEV(I->getOperand(0))) ||
+ isOne(PSE.getSCEV(I->getOperand(1)))))
----------------
This could be done independent of changing the stride map type I think?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147750/new/
https://reviews.llvm.org/D147750
More information about the llvm-commits
mailing list