Skip to content

Commit ad75b3b

Browse files
authored
[RISCV] Add AltFmtType = IS_NOT_ALTFMT to SF_VFNRCLIP_X(U)_F_QF. (#164759)
These instructions are FP instructions with SEW=8. vtype.altfmt=1 should be considered reserved for them.
1 parent c745f74 commit ad75b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ let Predicates = [HasVendorXSfvfwmaccqqq] in {
482482
defm SF_VFWMACC_4x4x4 : VPseudoSiFiveVFWMACC;
483483
}
484484

485-
let Predicates = [HasVendorXSfvfnrclipxfqf] in {
485+
let Predicates = [HasVendorXSfvfnrclipxfqf], AltFmtType = IS_NOT_ALTFMT in {
486486
defm SF_VFNRCLIP_XU_F_QF : VPseudoSiFiveVFNRCLIP;
487487
defm SF_VFNRCLIP_X_F_QF : VPseudoSiFiveVFNRCLIP;
488488
}

0 commit comments

Comments
 (0)