[PATCH] D157588: [RISCV] Add overlapping constraints label
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 15 18:52:43 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td:2906
multiclass VPseudoVWALU_VV_VX_VI<Operand ImmType> : VPseudoVWALU_VV_VX {
foreach m = MxListW in {
----------------
Is this class unused? I would expect it to need a TargetConstaintType
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td:2912
-multiclass VPseudoVWMUL_VV_VX {
+multiclass VPseudoVWMUL_VV_VX<int TargetConstraintType = 1> {
foreach m = MxListW in {
----------------
Can we default to 3 and remove from instantiation?
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td:2924
-multiclass VPseudoVWMUL_VV_VF_RM {
+multiclass VPseudoVWMUL_VV_VF_RM<int TargetConstraintType = 1> {
foreach m = MxListFW in {
----------------
This class is used once. Can we default the constraint type to 3 and remove from the instantiation?
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td:2940
-multiclass VPseudoVWALU_WV_WX {
+multiclass VPseudoVWALU_WV_WX<int TargetConstraintType = 1> {
foreach m = MxListW in {
----------------
Can we default all the VW classes to 3? May even just default at VPseudoBinaryW_WV?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157588/new/
https://reviews.llvm.org/D157588
More information about the llvm-commits
mailing list