[Attributor] Implement "noalias" callsite argument deduction
authorHideto Ueno <uenoku.tokotoko@gmail.com>
Wed, 11 Sep 2019 07:00:33 +0000 (07:00 +0000)
committerHideto Ueno <uenoku.tokotoko@gmail.com>
Wed, 11 Sep 2019 07:00:33 +0000 (07:00 +0000)
commit1d68ed8c24e34231ba495c6ea2823c3eb1d90e85
tree1055a03086393a5f47f1ff9af4704eab54e1d4c8
parent37367646578735c1bd453f959dd7696e2a41d621
[Attributor] Implement "noalias" callsite argument deduction

Summary: Now, `nocapture` is deduced in Attributor therefore, this patch introduces deduction for `noalias` callsite argument using `nocapture`.

Reviewers: jdoerfert, sstefan1

Reviewed By: jdoerfert

Subscribers: lebedev.ri, hiraditya, llvm-commits

Tags: #llvm

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

llvm-svn: 371590
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/test/Transforms/FunctionAttrs/noalias_returned.ll