[all-commits] [llvm/llvm-project] a33e12: [InstCombine] Gracefully handle an alloca outside ...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Jun 29 07:39:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a33e12801279a947c74fdee2655b24480941fb39
      https://github.com/llvm/llvm-project/commit/a33e12801279a947c74fdee2655b24480941fb39
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
    A llvm/test/Transforms/InstCombine/alloca-in-non-alloca-as.ll

  Log Message:
  -----------
  [InstCombine] Gracefully handle an alloca outside the alloca-AS

While we might eventually want to disallow allocas that do not have the
alloca-AS set, it seems undesirable to crash on them. Add a cast when
required so that we can support such allocas (at least here).

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


  Commit: 8dc9bb6d85ac04a07bab1a3309702c7bf7944e1e
      https://github.com/llvm/llvm-project/commit/8dc9bb6d85ac04a07bab1a3309702c7bf7944e1e
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

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

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


  Commit: 457bd5c8d52a110fac43d538a03e30ef49099974
      https://github.com/llvm/llvm-project/commit/457bd5c8d52a110fac43d538a03e30ef49099974
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

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

  Log Message:
  -----------
  [Attributor] Teach AAPotentialValues about constant select conditions

There was a TODO but now we actually check if the select condition is
assumed constant and only look at the relevant operand.


  Commit: dcbe58d94c843e443113bff5f60fbcccc4168714
      https://github.com/llvm/llvm-project/commit/dcbe58d94c843e443113bff5f60fbcccc4168714
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

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

  Log Message:
  -----------
  [Attributor][NFCI] Remove unneeded namespace


  Commit: 7af91a2b8f06cfa603eff1514c8ee38bdf1811f1
      https://github.com/llvm/llvm-project/commit/7af91a2b8f06cfa603eff1514c8ee38bdf1811f1
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

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

  Log Message:
  -----------
  [Attributor][NFCI] Make the state of AAValueSimplify explicit

As we have done with other states we want the AAValueSimplify state to
be explicit to use it more easily in our helpers.


  Commit: bc8bb3df35223afeea62170b32f8ce9bd04255d4
      https://github.com/llvm/llvm-project/commit/bc8bb3df35223afeea62170b32f8ce9bd04255d4
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M openmp/runtime/src/kmp_barrier.cpp
    M openmp/runtime/src/kmp_wait_release.h

  Log Message:
  -----------
  Revert "[omp] Fix build without ITT after D103121 changes"

This reverts commit eab1fd389b61d236bf8df4d09f62dd18253a10bc.

This commit fixed a problem with 25073a4ecfc9 (D103121) which is the one
we actually need to revert to unblock non-X86 builds of OpenMP. Can be
reapplied, or merged into, D103121 as it goes in again.


  Commit: 4eb90e893f82314def571f7129dfd88bd098208b
      https://github.com/llvm/llvm-project/commit/4eb90e893f82314def571f7129dfd88bd098208b
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M openmp/runtime/src/i18n/en_US.txt
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_atomic.cpp
    M openmp/runtime/src/kmp_barrier.cpp
    R openmp/runtime/src/kmp_barrier.h
    M openmp/runtime/src/kmp_global.cpp
    M openmp/runtime/src/kmp_os.h
    M openmp/runtime/src/kmp_runtime.cpp
    M openmp/runtime/src/kmp_settings.cpp
    M openmp/runtime/src/kmp_stats.h
    M openmp/runtime/src/kmp_str.cpp
    M openmp/runtime/src/kmp_str.h
    M openmp/runtime/src/kmp_tasking.cpp
    M openmp/runtime/src/kmp_wait_release.cpp
    M openmp/runtime/src/kmp_wait_release.h
    M openmp/runtime/src/z_Linux_util.cpp
    M openmp/runtime/src/z_Windows_NT_util.cpp
    M openmp/runtime/test/barrier/omp_barrier.c

  Log Message:
  -----------
  Revert "[OpenMP] Add Two-level Distributed Barrier"

This reverts commit 25073a4ecfc9b2e3cb76776185e63bfdb094cd98.

This breaks non-x86 OpenMP builds for a while now. Until a solution is
ready to be upstreamed we revert the feature and unblock those builds.
See:
  https://reviews.llvm.org/rG25073a4ecfc9b2e3cb76776185e63bfdb094cd98#1005821
and
  https://reviews.llvm.org/rG25073a4ecfc9b2e3cb76776185e63bfdb094cd98#1005821

The currently proposed fix (D104788) seems not to be ready yet:
  https://reviews.llvm.org/D104788#2841928


Compare: https://github.com/llvm/llvm-project/compare/3dae01911b69...4eb90e893f82


More information about the All-commits mailing list