[ForwardOpTree] Refactor out forwardSpeculatable(). NFC.
commit4b55948e11eb18ccb371d07919f678a5b83218f6
authorMichael Kruse <llvm@meinersbur.de>
Fri, 4 Aug 2017 12:28:42 +0000 (4 12:28 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Fri, 4 Aug 2017 12:28:42 +0000 (4 12:28 +0000)
tree19c91d8306e9c9dd55b75a63ccfe1ad94c9f1e41
parent5e50e8103a245d694fe61bc4064f1b40e55a9b3c
[ForwardOpTree] Refactor out forwardSpeculatable(). NFC.

The method forwardSpeculatable forwards speculatively executable
instructions and is currently the only way to forward an
instruction.

In the future we intend to add more methods.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@310056 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transform/ForwardOpTree.cpp