[PATCH] D121783: [RISCV][NFC] Replace redundant code with VLOpFrag
WangLian via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 16 01:52:28 PDT 2022
Jimerlife created this revision.
Jimerlife added reviewers: craig.topper, frasercrmck, benshi001.
Jimerlife added a project: LLVM.
Herald added subscribers: s, VincentWu, luke957, vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
Jimerlife requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, jacquesguan, MaskRay.
Replace (XLenVT (VLOp (XLenVT (XLenVT GPR:$vl)))) with VLOpFrag
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121783
Files:
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
Index: llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
===================================================================
--- llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
+++ llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
@@ -3357,7 +3357,7 @@
multiclass VPatNullaryM<string intrinsic, string inst> {
foreach mti = AllMasks in
def : Pat<(mti.Mask (!cast<Intrinsic>(intrinsic)
- (XLenVT (VLOp (XLenVT (XLenVT GPR:$vl)))))),
+ VLOpFrag)),
(!cast<Instruction>(inst#"_M_"#mti.BX)
GPR:$vl, mti.Log2SEW)>;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121783.415731.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220316/69843b5c/attachment.bin>
More information about the llvm-commits
mailing list