diff options
author | Dan Gohman <gohman@apple.com> | 2009-03-13 02:25:09 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-03-13 02:25:09 +0000 |
commit | a1d92423cf51577e554004f7ddfe9eff0fad2780 (patch) | |
tree | 953997bdf66a7ccdb1be522d67849205ab8e8647 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 44219f3e5872b82fcddffd29fbc7ee6314459686 (diff) | |
download | llvm-a1d92423cf51577e554004f7ddfe9eff0fad2780.zip llvm-a1d92423cf51577e554004f7ddfe9eff0fad2780.tar.gz llvm-a1d92423cf51577e554004f7ddfe9eff0fad2780.tar.bz2 |
Enhance address-mode folding of ISD::ADD to handle cases where the
operands can't both be fully folded at the same time. For example,
in the included testcase, a global variable is being added with
an add of two values. The global variable wants RIP-relative
addressing, so it can't share the address with another base
register, but it's still possible to fold the initial add.
llvm-svn: 66865
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions