[all-commits] [llvm/llvm-project] 7bf906: [Attributor][NFC] Clang format

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Thu Jan 20 16:08:16 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7bf9065ad7d9f6c908ab109fa85bbc36ae6a1130
      https://github.com/llvm/llvm-project/commit/7bf9065ad7d9f6c908ab109fa85bbc36ae6a1130
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp

  Log Message:
  -----------
  [Attributor][NFC] Clang format


  Commit: 37e0c58559ad367f16960fd65c8efb7bb1a6414f
      https://github.com/llvm/llvm-project/commit/37e0c58559ad367f16960fd65c8efb7bb1a6414f
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

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

  Log Message:
  -----------
  [Attributor][FIX] AAValueConstantRange should not loop unconstrained

The old method to avoid unconstrained expansion of the constant range in
a loop did not work as soon as there were multiple instructions in
between the phi and its input. We now take a generic approach and limit
the number of updates as a fallback. The old method is kept as it
catches "the common case" early.


Compare: https://github.com/llvm/llvm-project/compare/d3b188a2d72f...37e0c58559ad


More information about the All-commits mailing list