[llvm] ad75b3b - [RISCV] Add AltFmtType = IS_NOT_ALTFMT to SF_VFNRCLIP_X(U)_F_QF. (#164759)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 23 12:35:44 PDT 2025
Author: Craig Topper
Date: 2025-10-23T12:35:39-07:00
New Revision: ad75b3be4e187e4cc634b33d8ed638c8232c33f4
URL: https://github.com/llvm/llvm-project/commit/ad75b3be4e187e4cc634b33d8ed638c8232c33f4
DIFF: https://github.com/llvm/llvm-project/commit/ad75b3be4e187e4cc634b33d8ed638c8232c33f4.diff
LOG: [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.
Added:
Modified:
llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td b/llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td
index 4104abd3b0219..4c2f7f6424f63 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoXSf.td
@@ -482,7 +482,7 @@ let Predicates = [HasVendorXSfvfwmaccqqq] in {
defm SF_VFWMACC_4x4x4 : VPseudoSiFiveVFWMACC;
}
-let Predicates = [HasVendorXSfvfnrclipxfqf] in {
+let Predicates = [HasVendorXSfvfnrclipxfqf], AltFmtType = IS_NOT_ALTFMT in {
defm SF_VFNRCLIP_XU_F_QF : VPseudoSiFiveVFNRCLIP;
defm SF_VFNRCLIP_X_F_QF : VPseudoSiFiveVFNRCLIP;
}
More information about the llvm-commits
mailing list