[all-commits] [llvm/llvm-project] 086365: [test] Make Linux/sem_init_glibc.cpp robust

Mike Hommey via All-commits all-commits at lists.llvm.org
Mon Oct 24 04:43:18 PDT 2022


  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 086365be7ce0aaeb159fa80d02c426989d5115f3
      https://github.com/llvm/llvm-project/commit/086365be7ce0aaeb159fa80d02c426989d5115f3
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    M compiler-rt/test/sanitizer_common/TestCases/Linux/sem_init_glibc.cpp

  Log Message:
  -----------
  [test] Make Linux/sem_init_glibc.cpp robust

and fix it for 32-bit ports defining sem_init at GLIBC_2.0 (i386, mips32, powerpc32) for glibc>=2.36.

Fix https://github.com/llvm/llvm-project/issues/58079

Reviewed By: mgorny

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

(cherry picked from commit 6f46ff3765dcdc178b9cf52ebd8c03437806798a)


  Commit: ceee53ce564c3034ea9636b3c416182efadc5967
      https://github.com/llvm/llvm-project/commit/ceee53ce564c3034ea9636b3c416182efadc5967
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    A llvm/test/Transforms/SROA/phi-speculate-different-load-types.ll

  Log Message:
  -----------
  [SROA] Don't speculate phis with different load user types

Fixes an SROA crash.

Fallout from opaque pointers since with typed pointers we'd bail out at the bitcast.

Reviewed By: nikic

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

(cherry picked from commit 6219ec07c6f8d1ead51beca7cf21fbf2323c51d7)


  Commit: 455e1d765ad6379c98a499917d16fc8d31da3b2a
      https://github.com/llvm/llvm-project/commit/455e1d765ad6379c98a499917d16fc8d31da3b2a
  Author: Mike Hommey <mh at glandium.org>
  Date:   2022-10-24 (Mon, 24 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/byval.ll
    A llvm/test/Transforms/InstCombine/cast-byval.ll

  Log Message:
  -----------
  [InstCombine] Bail out of casting calls when a conversion from/to byval is involved.

Fixes #58307

Reviewed By: nikic

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

(cherry picked from commit 86e57e66da9380eaa90a9d0830d7f2c5fe87af99)


Compare: https://github.com/llvm/llvm-project/compare/4a2c05b05ed0...455e1d765ad6


More information about the All-commits mailing list