HomePhabricator

[NVPTX] Fix compiler warning in NDEBUG build [NFC]

Authored by uabelho on Thu, Apr 8, 4:21 AM.

Description

[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.

Details

Committed
uabelhoThu, Apr 8, 4:21 AM
Parents
rG4b273b198265: [flang][nfc] Rename some test files
Branches
Unknown
Tags
Unknown