[llvm] [NVPTX] Address warning and typo in fp128 support (PR #136207)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 17 20:19:05 PDT 2025
================
@@ -125,8 +125,7 @@ class LLVM_LIBRARY_VISIBILITY NVPTXAsmPrinter : public AsmPrinter {
}
void addZeros(unsigned Num) {
- for (unsigned _ : llvm::seq(Num)) {
- (void)_;
+ for ([[maybe_unused]] unsigned _ : llvm::seq(Num)) {
addByte(0);
}
----------------
kazutakahirata wrote:
nit: Could you remove the curly braces that I added? Thanks!
https://github.com/llvm/llvm-project/pull/136207
More information about the llvm-commits
mailing list