Skip to content
Commit 32ab3a81 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

Re-apply r286384, "X86: Introduce the "relocImm" ComplexPattern, which...

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.

llvm-svn: 286420
parent ab3f96cb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment