Fix X86's isLegalAddressingMode to recognize that static addresses
authorDan Gohman <gohman@apple.com>
Tue, 24 Aug 2010 15:55:12 +0000 (15:55 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 24 Aug 2010 15:55:12 +0000 (15:55 +0000)
commit92b651fb199557b9e54c7263e83c34ab39eb644f
tree72b6e581c96f5da87956a442876bb09e85fc5388
parent2426668562623cf94809309c93b41ecea856b19d
Fix X86's isLegalAddressingMode to recognize that static addresses
need not be RIP-relative in small mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111917 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/lsr-static-addr.ll [new file with mode: 0644]