[all-commits] [llvm/llvm-project] 2a1f87: [NVPTX] Fix compiler warning in NDEBUG build [NFC]
mikaelholmen via All-commits
all-commits at lists.llvm.org
Thu Apr 8 04:22:18 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2a1f87167cc01261e1164772ba58418fea58326b
https://github.com/llvm/llvm-project/commit/2a1f87167cc01261e1164772ba58418fea58326b
Author: Mikael Holmen <mikael.holmen at ericsson.com>
Date: 2021-04-08 (Thu, 08 Apr 2021)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
Log Message:
-----------
[NVPTX] Fix compiler warning in NDEBUG build [NFC]
Without the fix we get
../lib/Target/NVPTX/NVPTXLowerArgs.cpp:236:24: error: lambda capture 'Arg' is not used [-Werror,-Wunused-lambda-capture]
auto IsALoadChain = [Arg](Value *Start) {
^~~
1 error generated.
More information about the All-commits
mailing list