[llvm] 1fa0036 - [AArch64] Remove one unnecesssary include of AArch64GenSystemOperands.inc. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 4 12:06:41 PST 2025
Author: Craig Topper
Date: 2025-01-04T12:06:31-08:00
New Revision: 1fa0036226d0ffad624bfb43595d00885db546b9
URL: https://github.com/llvm/llvm-project/commit/1fa0036226d0ffad624bfb43595d00885db546b9
DIFF: https://github.com/llvm/llvm-project/commit/1fa0036226d0ffad624bfb43595d00885db546b9.diff
LOG: [AArch64] Remove one unnecesssary include of AArch64GenSystemOperands.inc. NFC
GET_PRCTX_DECL and GET_PRCTX_IMPl don't exist in AArch64GenSystemOperands.inc
so this include does nothing. It looks like it was removed in
2050e7ebe18cc4cf906d9b54d17ee885cd868327.
Added:
Modified:
llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp b/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
index d83c22e7179505..49ce0a58f4167c 100644
--- a/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
+++ b/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
@@ -66,13 +66,6 @@ namespace llvm {
}
}
-namespace llvm {
- namespace AArch64PRCTX {
-#define GET_PRCTX_IMPL
-#include "AArch64GenSystemOperands.inc"
- }
-}
-
namespace llvm {
namespace AArch64PRFM {
#define GET_PRFM_IMPL
diff --git a/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h b/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
index e0ccba4d6a59e8..e7db9077b64393 100644
--- a/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
+++ b/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
@@ -731,14 +731,6 @@ namespace AArch64TLBI {
#include "AArch64GenSystemOperands.inc"
}
-namespace AArch64PRCTX {
- struct PRCTX : SysAliasReg {
- using SysAliasReg::SysAliasReg;
- };
- #define GET_PRCTX_DECL
- #include "AArch64GenSystemOperands.inc"
-}
-
namespace AArch64II {
/// Target Operand Flag enum.
enum TOF {
More information about the llvm-commits
mailing list