[all-commits] [llvm/llvm-project] d2af1e: [clang-format][NFC] Minor improvement to parseLabel()

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri May 3 00:07:20 PDT 2024


  Branch: refs/heads/users/vitalybuka/spr/hwasan-dont-crash-on-vscale-allocas
  Home:   https://github.com/llvm/llvm-project
  Commit: d2af1ea81dd0170133c53ebd67c9a9be125dfd31
      https://github.com/llvm/llvm-project/commit/d2af1ea81dd0170133c53ebd67c9a9be125dfd31
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M clang/lib/Format/UnwrappedLineParser.cpp

  Log Message:
  -----------
  [clang-format][NFC] Minor improvement to parseLabel()


  Commit: b62c45cfe514237f71a7f461ba283dd13a92bfe0
      https://github.com/llvm/llvm-project/commit/b62c45cfe514237f71a7f461ba283dd13a92bfe0
  Author: jyu2-git <jennifer.yu at intel.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M clang/lib/Parse/ParseOpenMP.cpp

  Log Message:
  -----------
  Fix sanitize problem. (#90800)

Currently isMapType could return OpenMPMapModifierKind.

The change is to return OpenMPMapTypeKind only, if it is not MapType
Kind OMPC_MAP_unknown is returned.


  Commit: 6b948705a05261a2ff31cd7e6ea8319d1852ddfc
      https://github.com/llvm/llvm-project/commit/6b948705a05261a2ff31cd7e6ea8319d1852ddfc
  Author: Franklin Zhang <zhangfenglei at huawei.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    R llvm/test/Transforms/AggressiveInstCombine/strcmp.ll
    A llvm/test/Transforms/AggressiveInstCombine/strncmp-1.ll
    A llvm/test/Transforms/AggressiveInstCombine/strncmp-2.ll

  Log Message:
  -----------
  [AggressiveInstCombine] Inline strcmp/strncmp (#89371)

Inline calls to strcmp(s1, s2) and strncmp(s1, s2, N), where N and
exactly one of s1 and s2 are constant.

For example:

```c
int res = strcmp(s, "ab");
```

is converted to

```c
int res = (int)s[0] - (int)'a';
if (res != 0)
  goto END;
res = (int)s[1] - (int)'b';
if (res != 0)
  goto END;
res = (int)s[2] - (int)'\0';
END:
```

Ported from a similar gcc feature [Inline strcmp with small constant
strings](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78809).


  Commit: 37f6ba4fb2db2c78cda7d0a69cd0a2eff2b924e3
      https://github.com/llvm/llvm-project/commit/37f6ba4fb2db2c78cda7d0a69cd0a2eff2b924e3
  Author: NimishMishra <42909663+NimishMishra at users.noreply.github.com>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M flang/include/flang/Lower/AbstractConverter.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
    M flang/lib/Lower/OpenMP/DataSharingProcessor.h
    M flang/test/Lower/OpenMP/default-clause-byref.f90
    M flang/test/Lower/OpenMP/default-clause.f90

  Log Message:
  -----------
  [flang][OpenMP] Fix construct privatization in default clause (#72510)

Current implementation of default clause privatization incorrectly fails
to privatize in presence of non-OpenMP constructs (i.e. nested
constructs with regions whose symbols need to be privatized in the scope
of the parent OpenMP construct). This patch fixes the same by
considering non-OpenMP constructs separately by collecting symbols of a
nested region if it is a non-OpenMP construct with a region, and
privatizing it in the scope of the parent OpenMP construct.

Fixes https://github.com/llvm/llvm-project/issues/71914 and
https://github.com/llvm/llvm-project/issues/71915


  Commit: e8cda376a74c50e9f640d26ed36a369b924685ed
      https://github.com/llvm/llvm-project/commit/e8cda376a74c50e9f640d26ed36a369b924685ed
  Author: Christian Sigg <csigg at google.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel

  Log Message:
  -----------
  [llvm][bazel] Fix BUILD after dcf376aae738252fb52a73bcf7f58fd030e15ee2.


  Commit: 4ad696231bc7d398c0f4430e60cfc6ab4c7e880e
      https://github.com/llvm/llvm-project/commit/4ad696231bc7d398c0f4430e60cfc6ab4c7e880e
  Author: Christian Sigg <csigg at google.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M mlir/test/Dialect/Transform/irdl.mlir

  Log Message:
  -----------
  [mlir] Fix test added in 105c992c83aa527c6c50d60becd4d66b476b0a32.


  Commit: f8fedfb6802173372ec923f99f31d4af810fbcb0
      https://github.com/llvm/llvm-project/commit/f8fedfb6802173372ec923f99f31d4af810fbcb0
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/make/Makefile.rules

  Log Message:
  -----------
  [lldb] Fix TestSharedLibStrippedSymbols for #90622

`ifeq` needs to be at the beginning of a line, otherwise it's
interpreted as part of the recipe.


  Commit: 922ab7089b2eb234afa6fa0e7db85110cd8a3351
      https://github.com/llvm/llvm-project/commit/922ab7089b2eb234afa6fa0e7db85110cd8a3351
  Author: Kareem Ergawy <kareem.ergawy at amd.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    A mlir/test/Target/LLVMIR/openmp-omp.private-dealloc.mlir

  Log Message:
  -----------
  [MLIR][OpenMP] Extend omp.private materialization support: `dealloc` (#90841)

Extends current support for delayed privatization during translation to
LLVM IR. This adds support for materlizaing the `dealloc` region in
`omp.private` ops when this region contains clean-up/deallocation logic
that needs to be executed at the end of the parallel region.

This changes the `OMPIRBuilder` slightly to execute the finalization
callback **after** the privatization callback. This allows us to collect
information about privatized variables on the MLIR and LLVM sides so
that we can properly emit deallocation logic.


  Commit: b03e7a51dd9be2f3be09062a7762dd3507b04b26
      https://github.com/llvm/llvm-project/commit/b03e7a51dd9be2f3be09062a7762dd3507b04b26
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll

  Log Message:
  -----------
  [HWASAN] Regenerate a test (#90943)


  Commit: 0ddf9746be184e4a0f362f949a8aa5bf027ee51c
      https://github.com/llvm/llvm-project/commit/0ddf9746be184e4a0f362f949a8aa5bf027ee51c
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Parse/ParseOpenMP.cpp
    M flang/include/flang/Lower/AbstractConverter.h
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
    M flang/lib/Lower/OpenMP/DataSharingProcessor.h
    M flang/test/Lower/OpenMP/default-clause-byref.f90
    M flang/test/Lower/OpenMP/default-clause.f90
    M lldb/packages/Python/lldbsuite/test/make/Makefile.rules
    M llvm/include/llvm/Analysis/ValueTracking.h
    M llvm/include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
    M llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll
    R llvm/test/Transforms/AggressiveInstCombine/strcmp.ll
    A llvm/test/Transforms/AggressiveInstCombine/strncmp-1.ll
    A llvm/test/Transforms/AggressiveInstCombine/strncmp-2.ll
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Dialect/Transform/irdl.mlir
    A mlir/test/Target/LLVMIR/openmp-omp.private-dealloc.mlir
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel

  Log Message:
  -----------
  rebase

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/12d5d15839ab...0ddf9746be18

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list