[all-commits] [llvm/llvm-project] 1fcd4d: [Attributor][FIX] Initialize stack variable

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Sun Mar 6 19:29:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fcd4d0e3b5046198f23f81f7ede9d47911ebcdc
      https://github.com/llvm/llvm-project/commit/1fcd4d0e3b5046198f23f81f7ede9d47911ebcdc
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-03-06 (Sun, 06 Mar 2022)

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

  Log Message:
  -----------
  [Attributor][FIX] Initialize stack variable


  Commit: 5859ae6a5dbe341cd5fae963644ce40ad083e592
      https://github.com/llvm/llvm-project/commit/5859ae6a5dbe341cd5fae963644ce40ad083e592
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-03-06 (Sun, 06 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/dereferenceable-1.ll

  Log Message:
  -----------
  [Attributor][FIX] Use maximal access for dereferenceability deduction

While we can use range information when we derive dereferenceability we
must make sure to pick he right end of the range. Before we always went
with the minimal offset, which is not correct if we want to combine
the base dereferenceability with some offset. In that case it's the
maximum that gives the correct result.


  Commit: 192a34ddb05c8cd720d3b1c2120416497797f5d3
      https://github.com/llvm/llvm-project/commit/192a34ddb05c8cd720d3b1c2120416497797f5d3
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-03-06 (Sun, 06 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/Transforms/Attributor/dereferenceable-1.ll
    M llvm/test/Transforms/Attributor/heap_to_stack.ll
    M llvm/test/Transforms/Attributor/noalias.ll
    M llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll
    M llvm/test/Transforms/OpenMP/replace_globalization.ll

  Log Message:
  -----------
  [Attributor][OpenMPOpt][FIX] Register simplification callbacks

Heap-2-stack and heap-2-shared can replace an allocation call with
something else. To avoid us deriving information from the allocator
implementation we register a simplification callback now that will
force us to stop at the call site. We probably should create the
replacement memory eagerly and return that instead though.


  Commit: ff758372bd51840b4f566968fb0929d19557dd9b
      https://github.com/llvm/llvm-project/commit/ff758372bd51840b4f566968fb0929d19557dd9b
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-03-06 (Sun, 06 Mar 2022)

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

  Log Message:
  -----------
  [Attributor][NFCI] Introduce fine-grained anonymous namespaces


Compare: https://github.com/llvm/llvm-project/compare/7ead7e90fcaf...ff758372bd51


More information about the All-commits mailing list