summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPC.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-03-26 20:08:20 +0000
committerHal Finkel <hfinkel@anl.gov>2013-03-26 20:08:20 +0000
commitaa6047d23d8ed55abd8545f5cbe82cd13cbd756a (patch)
treec358e1a210147737d619c62e68893226f82330a4 /lib/Target/PowerPC/PPC.h
parent4d419bffb7ca0c04063afc0fd12ef7b7ced17658 (diff)
downloadllvm-aa6047d23d8ed55abd8545f5cbe82cd13cbd756a.tar.gz
llvm-aa6047d23d8ed55abd8545f5cbe82cd13cbd756a.tar.bz2
llvm-aa6047d23d8ed55abd8545f5cbe82cd13cbd756a.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178067 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPC.h')
-rw-r--r--lib/Target/PowerPC/PPC.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPC.h b/lib/Target/PowerPC/PPC.h
index f71979f245..446b6854fb 100644
--- a/lib/Target/PowerPC/PPC.h
+++ b/lib/Target/PowerPC/PPC.h
@@ -15,7 +15,6 @@
#ifndef LLVM_TARGET_POWERPC_H
#define LLVM_TARGET_POWERPC_H
-#include "MCTargetDesc/PPCBaseInfo.h"
#include "MCTargetDesc/PPCMCTargetDesc.h"
#include <string>