[llvm] 26a52f8 - [RISCV] RISCVInstrInfoSFB.td shouldn't be included in Vendor extensions section. NFC.

Jim Lin via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 24 22:17:21 PDT 2025


Author: Jim Lin
Date: 2025-03-25T13:00:34+08:00
New Revision: 26a52f828d1d80b4a505830cd55ab5ac59e1109f

URL: https://github.com/llvm/llvm-project/commit/26a52f828d1d80b4a505830cd55ab5ac59e1109f
DIFF: https://github.com/llvm/llvm-project/commit/26a52f828d1d80b4a505830cd55ab5ac59e1109f.diff

LOG: [RISCV] RISCVInstrInfoSFB.td shouldn't be included in Vendor extensions section. NFC.

RISCVInstrInfoSFB.td is for Short Forward Branch, not a kind of Vendor extension.

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVInstrInfo.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfo.td b/llvm/lib/Target/RISCV/RISCVInstrInfo.td
index 7d650fea97c8b..253f24aa0d68d 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfo.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfo.td
@@ -2153,6 +2153,9 @@ include "RISCVInstrInfoZc.td"
 include "RISCVInstrInfoZcmop.td"
 include "RISCVInstrInfoZclsd.td"
 
+// Short Forward Branch
+include "RISCVInstrInfoSFB.td"
+
 //===----------------------------------------------------------------------===//
 // Vendor extensions
 //===----------------------------------------------------------------------===//
@@ -2160,7 +2163,6 @@ include "RISCVInstrInfoZclsd.td"
 include "RISCVInstrInfoXVentana.td"
 include "RISCVInstrInfoXTHead.td"
 include "RISCVInstrInfoXSf.td"
-include "RISCVInstrInfoSFB.td"
 include "RISCVInstrInfoXCV.td"
 include "RISCVInstrInfoXwch.td"
 include "RISCVInstrInfoXqci.td"


        


More information about the llvm-commits mailing list