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 d6c848d commit 0189f30Copy full SHA for 0189f30
llvm/lib/Target/RISCV/RISCVISelLowering.h
@@ -1074,7 +1074,7 @@ class RISCVTargetLowering : public TargetLowering {
1074
/// calls between the load and store, since these are more expensive than just
1075
/// using scalars
1076
bool shouldMergeStoreOfLoadsOverCall(EVT SrcVT, EVT MergedVT) const override {
1077
- return SrcVT.isScalarInteger() == MergedVT.isScalarInteger();
+ return !MergedVT.isVector() || SrcVT.isVector();
1078
}
1079
1080
/// For available scheduling models FDIV + two independent FMULs are much
0 commit comments