We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9af61f5 commit f0f5545Copy full SHA for f0f5545
llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
@@ -125,8 +125,7 @@ class LLVM_LIBRARY_VISIBILITY NVPTXAsmPrinter : public AsmPrinter {
125
}
126
127
void addZeros(unsigned Num) {
128
- for (unsigned _ : llvm::seq(Num)) {
129
- (void)_;
+ for ([[maybe_unused]] unsigned _ : llvm::seq(Num)) {
130
addByte(0);
131
132
llvm/test/CodeGen/NVPTX/fp128-storage-type.ll
@@ -1,6 +1,6 @@
1
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
2
; RUN: llc < %s -mcpu=sm_20 | FileCheck %s
3
-; RUN: %if ptxas %{ llc < %s-mcpu=sm_20 | %ptxas-verify %}
+; RUN: %if ptxas %{ llc < %s -mcpu=sm_20 | %ptxas-verify %}
4
5
target triple = "nvptx64-unknown-cuda"
6
0 commit comments