[llvm] 00089f9 - [NVPTX] Remove unused private field in NVVMIntrRange.cpp (NFC)
Jie Fu via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 06:53:37 PDT 2024
Author: Jie Fu
Date: 2024-06-06T21:52:53+08:00
New Revision: 00089f963fa333932126dd289aa2fabbb1c19f78
URL: https://github.com/llvm/llvm-project/commit/00089f963fa333932126dd289aa2fabbb1c19f78
DIFF: https://github.com/llvm/llvm-project/commit/00089f963fa333932126dd289aa2fabbb1c19f78.diff
LOG: [NVPTX] Remove unused private field in NVVMIntrRange.cpp (NFC)
/llvm-project/llvm/lib/Target/NVPTX/NVVMIntrRange.cpp:33:12:
error: private field 'SmVersion' is not used [-Werror,-Wunused-private-field]
unsigned SmVersion;
^
1 error generated.
Added:
Modified:
llvm/lib/Target/NVPTX/NVVMIntrRange.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/NVPTX/NVVMIntrRange.cpp b/llvm/lib/Target/NVPTX/NVVMIntrRange.cpp
index 9afce99ce79f1..f9d21b38a7ecd 100644
--- a/llvm/lib/Target/NVPTX/NVVMIntrRange.cpp
+++ b/llvm/lib/Target/NVPTX/NVVMIntrRange.cpp
@@ -30,8 +30,6 @@ namespace llvm { void initializeNVVMIntrRangePass(PassRegistry &); }
namespace {
class NVVMIntrRange : public FunctionPass {
- unsigned SmVersion;
-
public:
static char ID;
NVVMIntrRange() : FunctionPass(ID) {
More information about the llvm-commits
mailing list