[all-commits] [llvm/llvm-project] 54ee96: [NVPTX] Fix unused var warning with asserts disabled
David Spickett via All-commits
all-commits at lists.llvm.org
Thu Apr 29 01:56:18 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 54ee962e4795cd00a379e560727dff7ea0743765
https://github.com/llvm/llvm-project/commit/54ee962e4795cd00a379e560727dff7ea0743765
Author: David Spickett <david.spickett at linaro.org>
Date: 2021-04-29 (Thu, 29 Apr 2021)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
Log Message:
-----------
[NVPTX] Fix unused var warning with asserts disabled
<...>/llvm-project/llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp:191:15:
warning: unused variable ‘ASC’ [-Wunused-variable]
191 | if (auto *ASC =
dyn_cast<AddrSpaceCastInst>(I.OldInstruction)) {
| ^~~
More information about the All-commits
mailing list