Fix a compiler-abort on a testcase where the stack-pointer is added to
authorDan Gohman <gohman@apple.com>
Wed, 24 Dec 2008 00:27:51 +0000 (00:27 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 24 Dec 2008 00:27:51 +0000 (00:27 +0000)
commit82779704ffd1723e57386e32b3bf6c096eadbbc7
tree8c3c097c822fac3ae6eb73ea787d7d8f8799e69a
parent4328708bad5808f92bb8bceb358eb04154fcca52
Fix a compiler-abort on a testcase where the stack-pointer is added to
a symbolic constant. This is unlikely to be intentional, but it
shouldn't crash the compiler.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61408 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86RegisterInfo.cpp
test/CodeGen/X86/2008-12-23-crazy-address.ll [new file with mode: 0644]