diff options
author | Wang Pengcheng <wangpengcheng.pp@bytedance.com> | 2024-03-05 10:45:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-05 10:45:13 +0800 |
commit | 0fbe45bdb909ee4c1a928cc1da030f8b09860431 (patch) | |
tree | 9bf9afbebc1d191fe4656dce1e8c9792653becad /llvm/lib/Target/RISCV/RISCVFeatures.td | |
parent | 65a8e3a400f23eaa1270a5a000e262df954a4ef6 (diff) | |
download | llvm-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.td | 3 |
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 " |