diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-10 07:48:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-10 07:48:51 +0000 |
commit | 20073edf67302a6e9749e7808b532b57d52fe0b1 (patch) | |
tree | 2d2b06cb31fe02f2707e3fc802b6e55347badc7f /llvm/lib/Target/X86/X86Subtarget.h | |
parent | 93f0f79178d3deceac762b8aa8e4f12a4782a003 (diff) | |
download | bcm5719-llvm-20073edf67302a6e9749e7808b532b57d52fe0b1.tar.gz bcm5719-llvm-20073edf67302a6e9749e7808b532b57d52fe0b1.zip |
simplify fast isel by using ClassifyGlobalReference. This
elimiantes the last use of GVRequiresExtraLoad, so delete it.
llvm-svn: 75244
Diffstat (limited to 'llvm/lib/Target/X86/X86Subtarget.h')
-rw-r--r-- | llvm/lib/Target/X86/X86Subtarget.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h index f67ba0b4d76..e789a56b2a0 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/lib/Target/X86/X86Subtarget.h @@ -199,12 +199,6 @@ public: /// context. unsigned char ClassifyGlobalReference(const GlobalValue *GV, const TargetMachine &TM)const; - - /// True if accessing the GV requires an extra load. For Windows, dllimported - /// symbols are indirect, loading the value at address GV rather then the - /// value of GV itself. This means that the GlobalAddress must be in the base - /// or index register of the address, not the GV offset field. - bool GVRequiresExtraLoad(const GlobalValue *GV, const TargetMachine &TM)const; /// IsLegalToCallImmediateAddr - Return true if the subtarget allows calls /// to immediate address. |