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:
6706a47
)
[NFC][RISCV] Fix wrong predicates of vfwredsum
author
Shao-Ce SUN
<shaoce@nj.iscas.ac.cn>
Tue, 9 Nov 2021 09:19:50 +0000
(17:19 +0800)
committer
Shao-Ce SUN
<shaoce@nj.iscas.ac.cn>
Tue, 9 Nov 2021 09:19:50 +0000
(17:19 +0800)
llvm/lib/Target/RISCV/RISCVInstrInfoV.td
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
b/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
index
e3c8728
..
25c2771
100644
(file)
--- a/
llvm/lib/Target/RISCV/RISCVInstrInfoV.td
+++ b/
llvm/lib/Target/RISCV/RISCVInstrInfoV.td
@@
-1322,11
+1322,10
@@
let Constraints = "@earlyclobber $vd", RVVConstraint = NoConstraint in {
defm VFWREDOSUM : VWREDO_FV_V<"vfwredosum", 0b110011>;
defm VFWREDUSUM : VWRED_FV_V<"vfwredusum", 0b110001>;
} // Constraints = "@earlyclobber $vd", RVVConstraint = NoConstraint
-} // Predicates = [HasStdExtV, HasStdExtF]
def : InstAlias<"vfwredsum.vs $vd, $vs2, $vs1$vm",
(VFWREDUSUM_VS VR:$vd, VR:$vs2, VR:$vs1, VMaskOp:$vm), 0>;
-
+} // Predicates = [HasStdExtV, HasStdExtF]
let Predicates = [HasStdExtV] in {
// Vector Mask-Register Logical Instructions