diff options
author | Chen Zheng <czhengsz@cn.ibm.com> | 2024-07-03 00:19:18 -0400 |
---|---|---|
committer | Chen Zheng <czhengsz@cn.ibm.com> | 2024-07-03 00:20:14 -0400 |
commit | 6a992bc89f5ca25d132abd044d78ecf27ae6e162 (patch) | |
tree | 643deaa788ea8df3d01ed723b74684f6aa23bfc1 /llvm/lib/Target/PowerPC | |
parent | e860c166556105c6f9275e130a0c27ae117a5f12 (diff) | |
download | llvm-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.cpp | 2 |
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(); |