[llvm] e8b2e63 - [RISCV] Pass data EEW instead of index EEW to V*Sched for indexed loads and stores
Nitin John Raj via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 21 16:08:38 PDT 2023
Author: Nitin John Raj
Date: 2023-04-21T16:05:46-07:00
New Revision: e8b2e6333a54267af59d5e209eef77b5e94c39a3
URL: https://github.com/llvm/llvm-project/commit/e8b2e6333a54267af59d5e209eef77b5e94c39a3
DIFF: https://github.com/llvm/llvm-project/commit/e8b2e6333a54267af59d5e209eef77b5e94c39a3.diff
LOG: [RISCV] Pass data EEW instead of index EEW to V*Sched for indexed loads and stores
Differential Revision: https://reviews.llvm.org/D148766
Added:
Modified:
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td b/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
index 6e57e3a0466a..c84a58b0ce38 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
@@ -1746,14 +1746,14 @@ multiclass VPseudoILoad<bit Ordered> {
let VLMul = dataEMUL.value in {
def "EI" # idxEEW # "_V_" # IdxLInfo # "_" # DataLInfo :
VPseudoILoadNoMask<Vreg, IdxVreg, idxEEW, idxEMUL.value, Ordered, HasConstraint>,
- VLXSched<idxEEW, Order, DataLInfo, IdxLInfo>;
+ VLXSched<dataEEW, Order, DataLInfo, IdxLInfo>;
def "EI" # idxEEW # "_V_" # IdxLInfo # "_" # DataLInfo # "_TU":
VPseudoILoadNoMaskTU<Vreg, IdxVreg, idxEEW, idxEMUL.value, Ordered, HasConstraint>,
- VLXSched<idxEEW, Order, DataLInfo, IdxLInfo>;
+ VLXSched<dataEEW, Order, DataLInfo, IdxLInfo>;
def "EI" # idxEEW # "_V_" # IdxLInfo # "_" # DataLInfo # "_MASK" :
VPseudoILoadMask<Vreg, IdxVreg, idxEEW, idxEMUL.value, Ordered, HasConstraint>,
RISCVMaskedPseudo</*MaskOpIdx*/ 3>,
- VLXSched<idxEEW, Order, DataLInfo, IdxLInfo>;
+ VLXSched<dataEEW, Order, DataLInfo, IdxLInfo>;
}
}
}
@@ -1820,10 +1820,10 @@ multiclass VPseudoIStore<bit Ordered> {
let VLMul = dataEMUL.value in {
def "EI" # idxEEW # "_V_" # IdxLInfo # "_" # DataLInfo :
VPseudoIStoreNoMask<Vreg, IdxVreg, idxEEW, idxEMUL.value, Ordered>,
- VSXSched<idxEEW, Order, DataLInfo, IdxLInfo>;
+ VSXSched<dataEEW, Order, DataLInfo, IdxLInfo>;
def "EI" # idxEEW # "_V_" # IdxLInfo # "_" # DataLInfo # "_MASK" :
VPseudoIStoreMask<Vreg, IdxVreg, idxEEW, idxEMUL.value, Ordered>,
- VSXSched<idxEEW, Order, DataLInfo, IdxLInfo>;
+ VSXSched<dataEEW, Order, DataLInfo, IdxLInfo>;
}
}
}
@@ -3773,15 +3773,15 @@ multiclass VPseudoISegLoad<bit Ordered> {
def nf # "EI" # idxEEW # "_V_" # IdxLInfo # "_" # DataLInfo :
VPseudoISegLoadNoMask<Vreg, IdxVreg, idxEEW, idxEMUL.value,
nf, Ordered>,
- VLXSEGSched<nf, idxEEW, Order, DataLInfo>;
+ VLXSEGSched<nf, dataEEW, Order, DataLInfo>;
def nf # "EI" # idxEEW # "_V_" # IdxLInfo # "_" # DataLInfo # "_TU" :
VPseudoISegLoadNoMaskTU<Vreg, IdxVreg, idxEEW, idxEMUL.value,
nf, Ordered>,
- VLXSEGSched<nf, idxEEW, Order, DataLInfo>;
+ VLXSEGSched<nf, dataEEW, Order, DataLInfo>;
def nf # "EI" # idxEEW # "_V_" # IdxLInfo # "_" # DataLInfo # "_MASK" :
VPseudoISegLoadMask<Vreg, IdxVreg, idxEEW, idxEMUL.value,
nf, Ordered>,
- VLXSEGSched<nf, idxEEW, Order, DataLInfo>;
+ VLXSEGSched<nf, dataEEW, Order, DataLInfo>;
}
}
}
More information about the llvm-commits
mailing list