[all-commits] [llvm/llvm-project] c771ea: [OpenMP] Ensure to not use SPMD mode in the absenc...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Thu Jul 7 14:50:37 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c771eaf07ef8d82d65497e6e9f8be88f7d976301
      https://github.com/llvm/llvm-project/commit/c771eaf07ef8d82d65497e6e9f8be88f7d976301
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-07-07 (Thu, 07 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/Transforms/OpenMP/get_hardware_num_threads_in_block_fold.ll

  Log Message:
  -----------
  [OpenMP] Ensure to not use SPMD mode in the absence of parallel regions


  Commit: efe8c581ff488aa719964e17bae83dee221ef531
      https://github.com/llvm/llvm-project/commit/efe8c581ff488aa719964e17bae83dee221ef531
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-07-07 (Thu, 07 Jul 2022)

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

  Log Message:
  -----------
  [Attributor][NFC] Improve heap2stack result readability and code style


  Commit: cb26b01d57f50483df006af35f17167900c2dcd1
      https://github.com/llvm/llvm-project/commit/cb26b01d57f50483df006af35f17167900c2dcd1
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-07-07 (Thu, 07 Jul 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/OpenMP/spmdization_guarding.ll

  Log Message:
  -----------
  [Attributor] Make heap2stack record alloca placement

We recently learned to place the alloca during the heap2stack
transformation in the entry block but we did not account for other
concurrent modifications. We need to record our decision rather than
checking (then outdated) passes during the manifest stage. This will
also allow us to use a custom (=optimistic) "loop info" in the future.


Compare: https://github.com/llvm/llvm-project/compare/d1b7d57cab2a...cb26b01d57f5


More information about the All-commits mailing list