aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJianjian GUAN <jacquesguan@me.com>2023-05-18 11:07:01 +0800
committerJianjian GUAN <jacquesguan@me.com>2023-05-18 14:41:20 +0800
commite96123dfeabc0acfac6bc45f75237a01045f4e3b (patch)
treee662ee3b1566fed1149833b4a44f5e67bb200ba2
parentac70712d5f1b466886dfcf14734fb7cc0d131d99 (diff)
downloadllvm-e96123dfeabc0acfac6bc45f75237a01045f4e3b.zip
llvm-e96123dfeabc0acfac6bc45f75237a01045f4e3b.tar.gz
llvm-e96123dfeabc0acfac6bc45f75237a01045f4e3b.tar.bz2
[RISCV][NFC] Simplify code.
Use AllVectors to replace !listconcat(AllIntegerVectors, AllFloatVectors). Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D150837
-rw-r--r--llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td b/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
index 7ca73f5..8f1ee5b 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
@@ -2395,7 +2395,7 @@ foreach vti = AllIntegerVectors in {
vti.RegClass:$rd, vti.RegClass:$rs1, GPR:$rs2, GPR:$vl, vti.Log2SEW)>;
}
-foreach vti = !listconcat(AllIntegerVectors, AllFloatVectors) in {
+foreach vti = AllVectors in {
def : Pat<(vti.Vector (riscv_slideup_vl (vti.Vector vti.RegClass:$rs3),
(vti.Vector vti.RegClass:$rs1),
uimm5:$rs2, (vti.Mask true_mask),