[PATCH] D96855: [LSR] Add a flag that overrides the target's preferred addressing mode
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 17 06:12:57 PST 2021
dmgreen added a comment.
Thank for putting this together.
================
Comment at: llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp:5572
+ MSSAU(MSSAU), AMK(
+ PreferredAddresingMode != TTI::AMK_None ? PreferredAddresingMode :
+ TTI.getPreferredAddressingMode(L, &SE)) {
----------------
Could this use PreferredAddresingMode.getNumOccurrences() > 0 to allwo overriding to None, even if the target returns Pre/PostIndexed?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96855/new/
https://reviews.llvm.org/D96855
More information about the llvm-commits
mailing list