We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce7d64f commit 34f34e2Copy full SHA for 34f34e2
llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
@@ -116,7 +116,8 @@ class RISCVTTIImpl final : public BasicTTIImplBase<RISCVTTIImpl> {
116
}
117
TailFoldingStyle
118
getPreferredTailFoldingStyle(bool IVUpdateMayOverflow) const override {
119
- return TailFoldingStyle::DataWithEVL;
+ return ST->hasVInstructions() ? TailFoldingStyle::DataWithEVL
120
+ : TailFoldingStyle::None;
121
122
std::optional<unsigned> getMaxVScale() const override;
123
std::optional<unsigned> getVScaleForTuning() const override;
0 commit comments