]> granicus.if.org Git - llvm/commit
[GVNHoist] Call isGuaranteedToTransferExecutionToSuccessor on each instruction
authorGeoff Berry <gberry@codeaurora.org>
Mon, 10 Apr 2017 20:45:17 +0000 (20:45 +0000)
committerGeoff Berry <gberry@codeaurora.org>
Mon, 10 Apr 2017 20:45:17 +0000 (20:45 +0000)
commitc6b073116e0d469691f38495c24c8524b3a822a0
tree6b9e48efcd07bc14a973a899033ffc3dca05e566
parent465b9a5c3d24f666ad798b76dabc0720746dbdea
[GVNHoist] Call isGuaranteedToTransferExecutionToSuccessor on each instruction

w.r.t. https://bugs.llvm.org/show_bug.cgi?id=32153
The consensus seems to be isGuaranteedToTransferExecutionToSuccessor should be called for each function.

Patch by Aditya Kumar

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299882 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVNHoist.cpp
test/Transforms/GVNHoist/hoist-very-busy.ll