[llvm] [CFIInstrInserter][NFC] Remove useless `#define`. (PR #176051)

Mikhail Gudim via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 14 14:37:49 PST 2026


https://github.com/mgudim created https://github.com/llvm/llvm-project/pull/176051

None

>From 52ec5332984139dd07b6ce6873f5f7208f4b0e5e Mon Sep 17 00:00:00 2001
From: Mikhail Gudim <mgudim at qti.qualcomm.com>
Date: Wed, 14 Jan 2026 14:36:32 -0800
Subject: [PATCH] [CFIInstrInserter][NFC] Remove useless `#define`.

---
 llvm/lib/CodeGen/CFIInstrInserter.cpp | 2 --
 1 file changed, 2 deletions(-)

diff --git a/llvm/lib/CodeGen/CFIInstrInserter.cpp b/llvm/lib/CodeGen/CFIInstrInserter.cpp
index 0fd082129e3a2..2861c3f609bb1 100644
--- a/llvm/lib/CodeGen/CFIInstrInserter.cpp
+++ b/llvm/lib/CodeGen/CFIInstrInserter.cpp
@@ -85,8 +85,6 @@ class CFIInstrInserter : public MachineFunctionPass {
     bool Processed = false;
   };
 
-#define INVALID_REG UINT_MAX
-#define INVALID_OFFSET INT_MAX
   /// contains the location where CSR register is saved.
   class CSRSavedLocation {
   public:



More information about the llvm-commits mailing list