Skip to content
Commit cf8fd0c0 authored by Chris Lattner's avatar Chris Lattner
Browse files

Codegen (Reg|imm)+&GV as an LEA, because we cannot put it into the immediate field

of an ADDri (due to current restrictions on MachineOperand :( ).  This allows
us to generate:

        leal Data+16000, %edx

instead of:

        movl $Data, %edx
        addl $16000, %edx

llvm-svn: 19420
parent 3d5d5022
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