[all-commits] [llvm/llvm-project] 835cfa: [Attributor] Handle CallBase case in AAValueConsta...

Shinji Okumura via All-commits all-commits at lists.llvm.org
Thu Aug 20 04:16:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 835cfa5defb4b487cda399c3609eddeeedc63f68
      https://github.com/llvm/llvm-project/commit/835cfa5defb4b487cda399c3609eddeeedc63f68
  Author: Shinji Okumura <okuraofvegetable at gmail.com>
  Date:   2020-08-20 (Thu, 20 Aug 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/internalize.ll
    M llvm/test/Transforms/Attributor/range.ll

  Log Message:
  -----------
  [Attributor] Handle CallBase case in AAValueConstantRange::initialize

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.

Reviewed By: jdoerfert

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




More information about the All-commits mailing list