move some classification logic around. Now GVRequiresExtraLoad
authorChris Lattner <sabre@nondot.org>
Fri, 10 Jul 2009 07:20:05 +0000 (07:20 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 10 Jul 2009 07:20:05 +0000 (07:20 +0000)
commitd392bd97c8203ab4a770dfdd0a5565ac6cd6cacd
treea02f94431291c100954d58626105f1e33e6393c1
parent3b6b36d6f54e780a2947cb1b9efe4eed7c40dc11
move some classification logic around.  Now GVRequiresExtraLoad
is just a trivial wrapper around "ClassifyGlobalReference", which
stole a ton of logic from LowerGlobalAddress.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75237 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86Subtarget.cpp
lib/Target/X86/X86Subtarget.h