diff options
| author | Quentin Colombet <qcolombet@apple.com> | 2016-02-11 22:30:41 +0000 |
|---|---|---|
| committer | Quentin Colombet <qcolombet@apple.com> | 2016-02-11 22:30:41 +0000 |
| commit | 490cfbe2a25aa5034494559065d7b0240308d844 (patch) | |
| tree | e169af5ec1a6121f5356d7690d6226a88420eeb5 /llvm/lib/CodeGen/MachineSSAUpdater.cpp | |
| parent | fcb06b4aa596e9b0248c60ab666dbbaf625cc991 (diff) | |
| download | bcm5719-llvm-490cfbe2a25aa5034494559065d7b0240308d844.tar.gz bcm5719-llvm-490cfbe2a25aa5034494559065d7b0240308d844.zip | |
Re-apply r238452, the bug was in clang and was fixed in r260567.
Original commit message:
[InstCombine] Fold IntToPtr and PtrToInt into preceding loads.
Currently we only fold a BitCast into a Load when the BitCast is its
only user.
Do the same for any no-op cast.
Patch by Philip Pfaffe!
Differential Revision: http://reviews.llvm.org/D9152
llvm-svn: 260612
Diffstat (limited to 'llvm/lib/CodeGen/MachineSSAUpdater.cpp')
0 files changed, 0 insertions, 0 deletions

