commit | 027f4d03c6ed7406b0be1ccd6a9e1edd5c6a9e1c | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Wed Nov 09 23:53:43 2016 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Wed Nov 09 23:53:43 2016 +0000 |
tree | e8ca5201ca60fa76739098a042bde90b5285653a | |
parent | 619ca04281bd9458742c31db9cf43fc460c7fc6e [diff] |
Re-apply r286384, "X86: Introduce the "relocImm" ComplexPattern, which represents a relocatable immediate.", with a fix for 32-bit x86. Teach X86InstrInfo::analyzeCompare() not to crash on CMP and SUB instructions that take a global address operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286420 91177308-0d34-0410-b5e6-96231b3b80d8