]> granicus.if.org Git - llvm/commit
[FunctionAttrs] Annotate "willreturn" for AssumeLikeInst
authorHideto Ueno <uenoku.tokotoko@gmail.com>
Tue, 30 Jul 2019 18:35:29 +0000 (18:35 +0000)
committerHideto Ueno <uenoku.tokotoko@gmail.com>
Tue, 30 Jul 2019 18:35:29 +0000 (18:35 +0000)
commit619bc69e197688d2cc51d97887137b510a519cb9
treee79800d7696c5083a46816c7938bd8aaeadecb75
parentcae06a1e078285aff26c5bc1d9c2fb5ba4b85396
[FunctionAttrs] Annotate "willreturn" for AssumeLikeInst

Summary:
In D37215, AssumeLikeInstruction are regarded as `willreturn`. In this patch, annotation is added to those which don't have `willreturn` now(`sideeffect, object_size, experimental_widenable_condition`).

Reviewers: jdoerfert, nikic, sstefan1

Reviewed By: nikic

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367342 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Intrinsics.td
lib/Analysis/ValueTracking.cpp