projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7583c73
)
[RISCV] Remove 'not FeatureStdExtC' from Zcmp predicate.
author
Craig Topper
<craig.topper@sifive.com>
Mon, 17 Jul 2023 16:12:14 +0000
(09:12 -0700)
committer
Craig Topper
<craig.topper@sifive.com>
Mon, 17 Jul 2023 16:12:54 +0000
(09:12 -0700)
C is only incompatible if D is also enabled. This already checked
in RISCVISAInfo.cpp.
llvm/lib/Target/RISCV/RISCVFeatures.td
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/RISCV/RISCVFeatures.td
b/llvm/lib/Target/RISCV/RISCVFeatures.td
index
2ca88b1
..
db8498c
100644
(file)
--- a/
llvm/lib/Target/RISCV/RISCVFeatures.td
+++ b/
llvm/lib/Target/RISCV/RISCVFeatures.td
@@
-363,7
+363,7
@@
def FeatureStdExtZcmp
"'Zcmp' (sequenced instuctions for code-size reduction)",
[FeatureStdExtZca]>;
def HasStdExtZcmp : Predicate<"Subtarget->hasStdExtZcmp() && !Subtarget->hasStdExtC()">,
- AssemblerPredicate<(all_of FeatureStdExtZcmp
, (not FeatureStdExtC)
),
+ AssemblerPredicate<(all_of FeatureStdExtZcmp),
"'Zcmp' (sequenced instuctions for code-size reduction)">;
def FeatureStdExtZcmt