[llvm] f1abe78 - [RISCV] Move FeatureStdExtH in RISCVFeatures.td. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 23 12:18:29 PST 2024


Author: Craig Topper
Date: 2024-01-23T12:18:14-08:00
New Revision: f1abe78e6b6adadb9fd9d6a239f40317c5d56f94

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

LOG: [RISCV] Move FeatureStdExtH in RISCVFeatures.td. NFC

It was accidentally in the middle of the floating point extensions
after the recent reordering.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVFeatures.td b/llvm/lib/Target/RISCV/RISCVFeatures.td
index 30ede6294425397..3878be680c04929 100644
--- a/llvm/lib/Target/RISCV/RISCVFeatures.td
+++ b/llvm/lib/Target/RISCV/RISCVFeatures.td
@@ -200,14 +200,6 @@ def HasStdExtD : Predicate<"Subtarget->hasStdExtD()">,
                  AssemblerPredicate<(all_of FeatureStdExtD),
                                     "'D' (Double-Precision Floating-Point)">;
 
-def FeatureStdExtH
-    : SubtargetFeature<"h", "HasStdExtH", "true",
-                       "'H' (Hypervisor)">;
-
-def HasStdExtH : Predicate<"Subtarget->hasStdExtH()">,
-                 AssemblerPredicate<(all_of FeatureStdExtH),
-                                    "'H' (Hypervisor)">;
-
 def FeatureStdExtZfhmin
     : SubtargetFeature<"zfhmin", "HasStdExtZfhmin", "true",
                        "'Zfhmin' (Half-Precision Floating-Point Minimal)",
@@ -747,6 +739,16 @@ def HasVInstructionsF64 : Predicate<"Subtarget->hasVInstructionsF64()">;
 
 def HasVInstructionsFullMultiply : Predicate<"Subtarget->hasVInstructionsFullMultiply()">;
 
+// Hypervisor Extensions
+
+def FeatureStdExtH
+    : SubtargetFeature<"h", "HasStdExtH", "true",
+                       "'H' (Hypervisor)">;
+
+def HasStdExtH : Predicate<"Subtarget->hasStdExtH()">,
+                 AssemblerPredicate<(all_of FeatureStdExtH),
+                                    "'H' (Hypervisor)">;
+
 // Supervisor extensions
 
 def FeatureStdExtSmaia


        


More information about the llvm-commits mailing list