[PATCH] D86196: [Attributor] Handle CallBase case in AAValueConstantRange::initialize

Shinji Okumura via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 00:02:39 PDT 2020


okura created this revision.
Herald added subscribers: llvm-commits, kuter, uenoku, hiraditya.
Herald added a reviewer: uenoku.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: homerdin.
Herald added a project: LLVM.
okura requested review of this revision.
Herald added a reviewer: sstefan1.
Herald added a reviewer: baziotis.
Herald added a subscriber: bbn.

Currently, although we handle `CallBase` case in updateImpl, we give up in initialize in the case.
That is problematic when we propagate a range from call site returned position to floating position.


https://reviews.llvm.org/D86196

Files:
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/test/Transforms/Attributor/internalize.ll
  llvm/test/Transforms/Attributor/range.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86196.286487.patch
Type: text/x-patch
Size: 8564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200819/4f111d78/attachment.bin>


More information about the llvm-commits mailing list