diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-03-26 20:08:20 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-03-26 20:08:20 +0000 |
commit | feea65397449eaa4261e09d845e7824739c6afde (patch) | |
tree | df92bb9357cec0e4fb1ec7df6fdc7a4f41f4e46a /llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | |
parent | 3234178bf92bf3d79d18c28afa7742e7b0e0bb7f (diff) | |
download | bcm5719-llvm-feea65397449eaa4261e09d845e7824739c6afde.tar.gz bcm5719-llvm-feea65397449eaa4261e09d845e7824739c6afde.zip |
PPC: Use HWEncoding and TRI->getEncodingValue
As pointed out by Jakob, we don't need to maintain a separate
register-numbering table. Instead we should let TableGen generate the table for
us from the information (already present) in PPCRegisterInfo.td.
TRI->getEncodingValue is now used to access register-encoding values.
No functionality change intended.
llvm-svn: 178067
Diffstat (limited to 'llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp index 1949f21402b..bacc108c62b 100644 --- a/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp +++ b/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp @@ -13,7 +13,7 @@ #define DEBUG_TYPE "asm-printer" #include "PPCInstPrinter.h" -#include "MCTargetDesc/PPCBaseInfo.h" +#include "MCTargetDesc/PPCMCTargetDesc.h" #include "MCTargetDesc/PPCPredicates.h" #include "llvm/MC/MCExpr.h" #include "llvm/MC/MCInst.h" |