]> granicus.if.org Git - llvm/commit
[LICM] Report failing to hoist conditionally-executed loads
authorAdam Nemet <anemet@apple.com>
Wed, 11 Jan 2017 04:39:49 +0000 (04:39 +0000)
committerAdam Nemet <anemet@apple.com>
Wed, 11 Jan 2017 04:39:49 +0000 (04:39 +0000)
commit3d79242c98df51035bd9ee7be6eeb13d82e9daa5
treedaa8045d4a96175f386836e4cfd73dfff523bba7
parentf5fda305e6c185b383ad96ab5667175ddccb2c3d
[LICM] Report failing to hoist conditionally-executed loads

These are interesting again because the user may not be aware that this
is a common reason preventing LICM.

A const is removed from an instruction pointer declaration in order to
pass it to ORE.

Differential Revision: https://reviews.llvm.org/D27940

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@291649 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LICM.cpp
test/Transforms/LICM/opt-remarks-conditional-load.ll [new file with mode: 0644]