================ @@ -2000,6 +2000,14 @@ bool RISCVTargetLowering::shouldSinkOperands( if (!I->getType()->isVectorTy() || !Subtarget.hasVInstructions()) return false; + // Don't sink splat operands if the target prefers it. Some targets requires ---------------- topperc wrote:
These should probably be stacked the other way. Adding a new cpu that uses existing extensions with no new scheduler mode is easy to get approved. Adding a new tuning flag potentially requires more discussion. So in my opinion the stack should be -Add new mcpu=sifive-p670 -Add TuneSinkSplatOperand and add to sifive-p670 https://github.com/llvm/llvm-project/pull/79015 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits