summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-13 02:25:09 +0000
committerDan Gohman <gohman@apple.com>2009-03-13 02:25:09 +0000
commita1d92423cf51577e554004f7ddfe9eff0fad2780 (patch)
tree953997bdf66a7ccdb1be522d67849205ab8e8647 /llvm/lib/CodeGen
parent44219f3e5872b82fcddffd29fbc7ee6314459686 (diff)
downloadbcm5719-llvm-a1d92423cf51577e554004f7ddfe9eff0fad2780.tar.gz
bcm5719-llvm-a1d92423cf51577e554004f7ddfe9eff0fad2780.zip
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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud