Skip to content
Commit f0b6288c authored by Preston Gurd's avatar Preston Gurd
Browse files

The X86FixupLEAs pass for Intel Atom must not call convertToThreeAddress

on ADD16rr opcodes, if src1 != src, since that would cause 
convertToThreeAddress to try to create a virtual register. This is not
permitted after register allocation, which is when the X86FixupLEAs pass
runs.

This patch fixes PR16785.

llvm-svn: 191711
parent 39eebfad
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