aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC
diff options
context:
space:
mode:
authorChen Zheng <czhengsz@cn.ibm.com>2024-07-03 00:19:18 -0400
committerChen Zheng <czhengsz@cn.ibm.com>2024-07-03 00:20:14 -0400
commit6a992bc89f5ca25d132abd044d78ecf27ae6e162 (patch)
tree643deaa788ea8df3d01ed723b74684f6aa23bfc1 /llvm/lib/Target/PowerPC
parente860c166556105c6f9275e130a0c27ae117a5f12 (diff)
downloadllvm-6a992bc89f5ca25d132abd044d78ecf27ae6e162.zip
llvm-6a992bc89f5ca25d132abd044d78ecf27ae6e162.tar.gz
llvm-6a992bc89f5ca25d132abd044d78ecf27ae6e162.tar.bz2
[PowerPC] refactor CPU info in PPCTargetParser.def, NFC
CPU features will be done in follow up patches.
Diffstat (limited to 'llvm/lib/Target/PowerPC')
-rw-r--r--llvm/lib/Target/PowerPC/PPCInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
index e3f59f3..d2195cf 100644
--- a/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
@@ -3124,7 +3124,7 @@ bool PPCInstrInfo::expandPostRAPseudo(MachineInstr &MI) const {
MI.setDesc(get(PPC::LWZ));
uint64_t FAType = MI.getOperand(1).getImm();
#undef PPC_LNX_FEATURE
-#undef PPC_LNX_CPU
+#undef PPC_CPU
#define PPC_LNX_DEFINE_OFFSETS
#include "llvm/TargetParser/PPCTargetParser.def"
bool IsLE = Subtarget.isLittleEndian();