OSDN Git Service

[BPI] Consider deoptimize calls as "unreachable"
authorSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 18 Apr 2016 19:01:28 +0000 (19:01 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Mon, 18 Apr 2016 19:01:28 +0000 (19:01 +0000)
commit7f8cd417828e04ef30d125a64529d93f1969aee5
tree700392bf32b2aff6576bbca0b7000db02256924d
parent14e400843eeaed06148d10199ad2628a775b7a1e
[BPI] Consider deoptimize calls as "unreachable"

Summary:
Calls to @llvm.experimental.deoptimize are expected to "never execute",
so optimize them as such.

Reviewers: chandlerc

Subscribers: junbuml, mcrosier, llvm-commits

Differential Revision: http://reviews.llvm.org/D19095

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266654 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/BranchProbabilityInfo.cpp
test/Analysis/BranchProbabilityInfo/deopt-intrinsic.ll [new file with mode: 0644]