[PATCH] D135365: [RISCV][NFC] Fix unused variable warning.
Fraser Cormack via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 7 03:43:51 PDT 2022
frasercrmck added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:4503
auto [Mask, VL] = getDefaultVLOps(VecVT, ContainerVT, DL, DAG, Subtarget);
+ (void)Mask;
----------------
I notice in at least one other place we do:
```
auto VL = getDefaultVLOps(VT, ContainerVT, DL, DAG, Subtarget).second;
```
would that make sense here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135365/new/
https://reviews.llvm.org/D135365
More information about the llvm-commits
mailing list