diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-10 05:48:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-10 05:48:03 +0000 |
commit | ace6ec26d93a01ac0082bdf1a22bc544f74d0cfb (patch) | |
tree | 6da3982bd48c257403d716e89b60a3cbeb683641 /llvm/lib/Target/X86/X86Subtarget.h | |
parent | 7277a807f08f6c447bad1b04f251b3674401350f (diff) | |
download | bcm5719-llvm-ace6ec26d93a01ac0082bdf1a22bc544f74d0cfb.tar.gz bcm5719-llvm-ace6ec26d93a01ac0082bdf1a22bc544f74d0cfb.zip |
actually, just eliminate PCRelGVRequiresExtraLoad. It makes the code
more complex and slow than just directly testing what we care about.
llvm-svn: 75231
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 b2e518ed39f..7148d0d8b67 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/lib/Target/X86/X86Subtarget.h @@ -204,12 +204,6 @@ public: bool GVRequiresExtraLoad(const GlobalValue* GV, const TargetMachine &TM, bool isDirectCall) const; - /// PCRelGVRequiresExtraLoad - True if accessing the GV from a PC-relative - /// operand like a call target requires an extra load. - bool PCRelGVRequiresExtraLoad(const GlobalValue *GV, - const TargetMachine &TM) const; - - /// True if accessing the GV requires a register. This is a superset of the /// cases where GVRequiresExtraLoad is true. Some variations of PIC require /// a register, but not an extra load. |