[PATCH] D139879: [RISCV] Make DemandedFields::usedVTYPE() const. NFC
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 12 13:28:19 PST 2022
craig.topper created this revision.
craig.topper added a reviewer: reames.
Herald added subscribers: sunshaoce, VincentWu, StephenFan, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
craig.topper requested review of this revision.
Herald added subscribers: pcwang-thead, eopXD, MaskRay.
Herald added a project: LLVM.
Noticed while reviewing D139877 <https://reviews.llvm.org/D139877>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139879
Files:
llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Index: llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
===================================================================
--- llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+++ llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
@@ -134,7 +134,7 @@
bool MaskPolicy = false;
// Return true if any part of VTYPE was used
- bool usedVTYPE() {
+ bool usedVTYPE() const {
return SEW || LMUL || SEWLMULRatio || TailPolicy || MaskPolicy;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139879.482248.patch
Type: text/x-patch
Size: 442 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221212/32aef2e5/attachment.bin>
More information about the llvm-commits
mailing list