isPICStyleRIPRel() and friends are never true in -static mode.
authorChris Lattner <sabre@nondot.org>
Thu, 9 Jul 2009 04:24:46 +0000 (04:24 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Jul 2009 04:24:46 +0000 (04:24 +0000)
commit88e1fd539e80827931694e667c119ef01c7d1184
tree42f21f7884f027c400787189abaad5bb0db621d4
parentf16120475e77bcacf553373d5720d53132378572
isPICStyleRIPRel() and friends are never true in -static mode.
Simplify code based on this.

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