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 8a442b0 commit fbd3aafCopy full SHA for fbd3aaf
llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
@@ -85,8 +85,9 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST)
85
.legalIf(all(
86
typeInSet(0, AllVecTys),
87
LegalityPredicate([=, &ST](const LegalityQuery &Query) {
88
- return ST.hasVInstructions() &&
89
- (Query.Types[0].getScalarSizeInBits() != 64 || ST.hasVInstructionsI64()) &&
+ return ST.hasVInstructions() &&
+ (Query.Types[0].getScalarSizeInBits() != 64 ||
90
+ ST.hasVInstructionsI64()) &&
91
(Query.Types[0].getElementCount().getKnownMinValue() != 1 ||
92
ST.getELen() == 64);
93
})))
0 commit comments