diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-05-28 18:39:17 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-05-28 18:39:17 +0000 |
| commit | dd04352558d71b5f0eabb35fc9053036599cc9df (patch) | |
| tree | 35f56290ad81c5b7f1be94ad55512c8692ea7354 /llvm/lib/IR/Core.cpp | |
| parent | d804a1e36b008d00440f417b49a610b4df49bfeb (diff) | |
| download | bcm5719-llvm-dd04352558d71b5f0eabb35fc9053036599cc9df.tar.gz bcm5719-llvm-dd04352558d71b5f0eabb35fc9053036599cc9df.zip | |
[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.
Differential Revision: http://reviews.llvm.org/D9152
llvm-svn: 238452
Diffstat (limited to 'llvm/lib/IR/Core.cpp')
0 files changed, 0 insertions, 0 deletions

