1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Rename createGlobalBaseRegPass -> createX86GlobalBaseRegPass to make

it obvious that it's a target specific pass.

llvm-svn: 209380
This commit is contained in:
Eric Christopher 2014-05-22 01:45:57 +00:00
parent 1b3b092405
commit 35317a5a9e
3 changed files with 4 additions and 4 deletions

View File

@ -30,9 +30,9 @@ class X86TargetMachine;
FunctionPass *createX86ISelDag(X86TargetMachine &TM,
CodeGenOpt::Level OptLevel);
/// createGlobalBaseRegPass - This pass initializes a global base
/// createX86GlobalBaseRegPass - This pass initializes a global base
/// register for PIC on x86-32.
FunctionPass* createGlobalBaseRegPass();
FunctionPass* createX86GlobalBaseRegPass();
/// createCleanupLocalDynamicTLSPass() - This pass combines multiple accesses
/// to local-dynamic TLS variables so that the TLS base address for the module

View File

@ -5451,7 +5451,7 @@ namespace {
char CGBR::ID = 0;
FunctionPass*
llvm::createGlobalBaseRegPass() { return new CGBR(); }
llvm::createX86GlobalBaseRegPass() { return new CGBR(); }
namespace {
struct LDTLSCleanup : public MachineFunctionPass {

View File

@ -180,7 +180,7 @@ bool X86PassConfig::addInstSelector() {
// For 32-bit, prepend instructions to set the "global base reg" for PIC.
if (!getX86Subtarget().is64Bit())
addPass(createGlobalBaseRegPass());
addPass(createX86GlobalBaseRegPass());
return false;
}