Fix two classes of bugs:
authorChris Lattner <sabre@nondot.org>
Thu, 3 May 2007 16:52:29 +0000 (16:52 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 3 May 2007 16:52:29 +0000 (16:52 +0000)
commitdc43a88b81f3d1766688082aa23a5203731fd248
tree32778f07f9bf26044c91cb061818d01c3d741a47
parent388488d604a63fc25d5f6b2c598f7cc4499c9db5
Fix two classes of bugs:
  1. x86 backend rejected (&gv+c) for the 'i' constraint when in static mode.
  2. the matcher didn't correctly reject and accept some global addresses.
     the right predicate is GVRequiresExtraLoad, not "relomodel = pic".

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