aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/RISCVFeatures.td
diff options
context:
space:
mode:
authorWang Pengcheng <wangpengcheng.pp@bytedance.com>2024-03-05 10:45:13 +0800
committerGitHub <noreply@github.com>2024-03-05 10:45:13 +0800
commit0fbe45bdb909ee4c1a928cc1da030f8b09860431 (patch)
tree9bf9afbebc1d191fe4656dce1e8c9792653becad /llvm/lib/Target/RISCV/RISCVFeatures.td
parent65a8e3a400f23eaa1270a5a000e262df954a4ef6 (diff)
downloadllvm-0fbe45bdb909ee4c1a928cc1da030f8b09860431.zip
llvm-0fbe45bdb909ee4c1a928cc1da030f8b09860431.tar.gz
llvm-0fbe45bdb909ee4c1a928cc1da030f8b09860431.tar.bz2
[RISCV] Add support of Sscofpmf (#83831)
This is used in profile, but somehow we missed it.
Diffstat (limited to 'llvm/lib/Target/RISCV/RISCVFeatures.td')
-rw-r--r--llvm/lib/Target/RISCV/RISCVFeatures.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/RISCV/RISCVFeatures.td b/llvm/lib/Target/RISCV/RISCVFeatures.td
index 9773b29..78f3a82 100644
--- a/llvm/lib/Target/RISCV/RISCVFeatures.td
+++ b/llvm/lib/Target/RISCV/RISCVFeatures.td
@@ -807,6 +807,9 @@ def FeatureStdExtSsccptr
: SubtargetFeature<"ssccptr", "HasStdExtSsccptr", "true",
"'Ssccptr' (Main memory supports page table reads)", []>;
+def FeatureStdExtSscofpmf
+ : SubtargetFeature<"sscofpmf", "HasStdExtSscofpmf", "true",
+ "'Sscofpmf' (Count Overflow and Mode-Based Filtering)", []>;
def FeatureStdExtShcounterenw
: SubtargetFeature<"shcounterenw", "HasStdExtShcounterenw", "true",
"'Shcounterenw' (Support writeable hcounteren enable "