summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ExecutionDepsFix.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-02-11 22:30:41 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-02-11 22:30:41 +0000
commit490cfbe2a25aa5034494559065d7b0240308d844 (patch)
treee169af5ec1a6121f5356d7690d6226a88420eeb5 /llvm/lib/CodeGen/ExecutionDepsFix.cpp
parentfcb06b4aa596e9b0248c60ab666dbbaf625cc991 (diff)
downloadbcm5719-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/ExecutionDepsFix.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud