summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/ModuleProvider.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-20 22:38:22 +0000
committerChris Lattner <sabre@nondot.org>2006-03-20 22:38:22 +0000
commitc8b16d00b9391663efcf65220fbc27b229a87260 (patch)
tree84ec8fb13118b91bf5a62a6944105d7956fdfb66 /llvm/lib/VMCore/ModuleProvider.cpp
parent6d74b09da754db836c253832858532cead6c5d85 (diff)
downloadbcm5719-llvm-c8b16d00b9391663efcf65220fbc27b229a87260.tar.gz
bcm5719-llvm-c8b16d00b9391663efcf65220fbc27b229a87260.zip
Handle constant addresses more efficiently, folding the low bits into the
disp field of the load/store if possible. This compiles CodeGen/PowerPC/load-constant-addr.ll to: _test: lis r2, 2838 lfs f1, 26848(r2) blr instead of: _test: lis r2, 2838 ori r2, r2, 26848 lfs f1, 0(r2) blr llvm-svn: 26908
Diffstat (limited to 'llvm/lib/VMCore/ModuleProvider.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud