[llvm] [RISCV][DAG][TLI] Avoid scalarizing length decreasing shuffles (PR #115532)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 8 11:51:48 PST 2024
================
@@ -545,6 +545,11 @@ class TargetLoweringBase {
return DefinedValues < 3;
}
+ // In SDAG construction, should length decreasing shuffles be expanded
+ // to a sequence of extracts and inserts if they can't be recognized
+ // via the two extracted operand form?
+ virtual bool shouldScalarizeLengthDescreasingShuffle() const { return true; }
----------------
topperc wrote:
Decreasing*
https://github.com/llvm/llvm-project/pull/115532
More information about the llvm-commits
mailing list