diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-01-29 22:39:21 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-01-29 22:39:21 +0000 |
commit | 1b8453067bdc22441010ae5395238a43575cc171 (patch) | |
tree | 95de7bae23e7db63c784f4e025c36cb22eda6489 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
parent | bb4820dc8e079c7276b3cfed5664fe57720e14cf (diff) | |
download | bcm5719-llvm-1b8453067bdc22441010ae5395238a43575cc171.tar.gz bcm5719-llvm-1b8453067bdc22441010ae5395238a43575cc171.zip |
Preserve load alignment in instcombine transformations. I've been unable to
create a testcase where this matters. The select+load transformation only
occurs when isSafeToLoadUnconditionally is true, and in those situations,
instcombine also changes the underlying objects to be aligned. This seems
like a good idea regardless, and I've verified that it doesn't pessimize
the subsequent realignment.
llvm-svn: 94850
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions