diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-09 20:20:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-09 20:20:29 +0000 |
commit | cf8fd0c0db4d627d179be4b79cebbb64ba31c9eb (patch) | |
tree | 9426bb7fd6daf888cfef61ea32ba1e7b3fc530bf /llvm/lib/Support/StringExtras.cpp | |
parent | 3d5d5022d577786bc8b09f6c55ac32bc3f6e1251 (diff) | |
download | bcm5719-llvm-cf8fd0c0db4d627d179be4b79cebbb64ba31c9eb.tar.gz bcm5719-llvm-cf8fd0c0db4d627d179be4b79cebbb64ba31c9eb.zip |
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
Diffstat (limited to 'llvm/lib/Support/StringExtras.cpp')
0 files changed, 0 insertions, 0 deletions