[all-commits] [llvm/llvm-project] 99153c: [CMake][Fuchsia] Build libc++ on top libc for bare...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Jul 16 10:30:55 PDT 2024


  Branch: refs/heads/users/MaskRay/spr/elf-support-nocrossrefs-and-nocrosserfs_to
  Home:   https://github.com/llvm/llvm-project
  Commit: 99153c84dc321a7493dd4c5888973f525bf9f65e
      https://github.com/llvm/llvm-project/commit/99153c84dc321a7493dd4c5888973f525bf9f65e
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake

  Log Message:
  -----------
  [CMake][Fuchsia] Build libc++ on top libc for baremetal (#99009)

This is mostly a proof of concept requiring a number of workarounds, but
demonstrates that it is feasible.


  Commit: 618b0b77cd7ecbdf726d393269ce822bf8d3beb9
      https://github.com/llvm/llvm-project/commit/618b0b77cd7ecbdf726d393269ce822bf8d3beb9
  Author: vporpo <vporpodas at google.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  [SandboxIR] Add more Instruction member functions (#98588)

This patch adds new Instruction member functions, including:
- getNextNode()
- getPrevNode()
- getOpcode()
- removeFromParent()
- eraseFromParent()
- getParent()
- insertBefore()
- insertAfter()
- insertInto()
- moveBefore()
- moveAfter()


  Commit: 986ceae7c54bcda76edeffa41ff9aa0cd18a3c8e
      https://github.com/llvm/llvm-project/commit/986ceae7c54bcda76edeffa41ff9aa0cd18a3c8e
  Author: Chris Cotter <ccotter14 at bloomberg.net>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

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

  Log Message:
  -----------
  [msan] Support prctl PR_GET_NAME call (#98951)

Per the man page, PR_GET_NAME stores a null terminated string into the
input `char name[16]`.

This also adds prctl support in ASAN to detect freed memory being passed
to `prctl(PR_GET_NAME, ...)`:


  Commit: 8ff233f4f16f4e372cba92ca5175fcd5e1791195
      https://github.com/llvm/llvm-project/commit/8ff233f4f16f4e372cba92ca5175fcd5e1791195
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/extractelements-to-shuffle.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/remarks_cmp_sel_min_max.ll
    M llvm/test/Transforms/SLPVectorizer/X86/partail.ll

  Log Message:
  -----------
  [SLP]Correctly detect minnum/maxnum patterns for select/cmp operations on floats.

The patch enables detection of minnum/maxnum patterns for float point
instruction, represented as select/cmp. Also, enables better cost
estimation for integer min/max patterns since the compiler starts
to estimate the scalars separately.

Reviewers: nikic, RKSimon

Reviewed By: RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/98570


  Commit: 15915c06d54151b78378a7cd029e1a8c09e764b3
      https://github.com/llvm/llvm-project/commit/15915c06d54151b78378a7cd029e1a8c09e764b3
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/scalarization-overhead.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reused-extractelements.ll

  Log Message:
  -----------
  [SLP]Do not vectorize small (<=2) buildvector/buildvalue sequences with MaxVF==true.

If MaxVFOnly for buildvector/buildvalue vectorization is set to true and the
total number of elements to vectorize is <= 2, better to try to
vectorize reductions at first, which may produce larger tree (reductions
have a limit of at least 4 elements to vectorize). Smaller
buildvector/buildvalue sequence will be attempted to vectorize later,
with MaxVFOnly set to false.

Reviewers: RKSimon

Reviewed By: RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/98957


  Commit: 1ca07cee7ffaccaa5b07dc0105309b9d43a615d0
      https://github.com/llvm/llvm-project/commit/1ca07cee7ffaccaa5b07dc0105309b9d43a615d0
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M llvm/include/llvm/SandboxIR/SandboxIR.h
    M llvm/lib/SandboxIR/SandboxIR.cpp
    M llvm/unittests/SandboxIR/SandboxIRTest.cpp

  Log Message:
  -----------
  Revert "[SandboxIR] Add more Instruction member functions (#98588)"

This reverts commit 618b0b77cd7ecbdf726d393269ce822bf8d3beb9.


  Commit: 3cdbb8d74d6fbd298ad4d7d283a3c7bba008e8ef
      https://github.com/llvm/llvm-project/commit/3cdbb8d74d6fbd298ad4d7d283a3c7bba008e8ef
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M libc/test/src/wchar/CMakeLists.txt

  Log Message:
  -----------
  [libc] Fix old unittests for wchar tests (#99060)

Summary:
These need to use `add_libc_test`.


  Commit: afbdd6f3c759d82624a6ab5dcc31c0ac3b35d9eb
      https://github.com/llvm/llvm-project/commit/afbdd6f3c759d82624a6ab5dcc31c0ac3b35d9eb
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/PatternMatch.h
    M llvm/unittests/IR/PatternMatch.cpp

  Log Message:
  -----------
  Revert "[PatternMatch] Fix issue of stale reference in new `m_{I,F,}Cmp` matchers" (#99062)

Reverts llvm/llvm-project#98866

It's still use-after-scope.


  Commit: a05724a1f84853fc655950c36453f200fba8af75
      https://github.com/llvm/llvm-project/commit/a05724a1f84853fc655950c36453f200fba8af75
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M libcxx/include/__chrono/year_month_day.h
    M libcxx/modules/std/chrono.inc
    M libcxx/test/std/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/comparisons.pass.cpp

  Log Message:
  -----------
  [libc++][chrono] Adds year_month_day_last&::operator<=>. (#98169)

41f7bb9975bcaffae0267fa87b63c90b83ffd551 claimed it implemented this
change but the code was not adjusted. The other spaceship operators in
the calendar code have been validated too.

Implements parts of
- P1614R2 The Mothership has Landed


  Commit: f38baad3e7395af94290aac21e587bc1c5f00946
      https://github.com/llvm/llvm-project/commit/f38baad3e7395af94290aac21e587bc1c5f00946
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
    A llvm/test/Transforms/InstCombine/AMDGPU/select-from-load.ll

  Log Message:
  -----------
  [InstCombine] Fix a crash in `PointerReplacer` (#98987)

A crash could happen in `PointerReplacer::replace` when constructing a
new
select instruction and there is no replacement for one of its operand.
This can
happen when the operand is a load instruction that has been replaced
earlier
such that the operand itself is already the new value. In this case, it
is not
in the replacement map and `getReplacement` simply returns nullptr.

Fix SWDEV-472192.


  Commit: ca61bdde476aae4d179f16561ce4d245df9f0fdf
      https://github.com/llvm/llvm-project/commit/ca61bdde476aae4d179f16561ce4d245df9f0fdf
  Author: smanna12 <soumi.manna at intel.com>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M clang/lib/Sema/TreeTransform.h

  Log Message:
  -----------
  [Clang] Prevent null pointer dereference in TransformUnaryTransformType() (#97912)

This patch adds null check after TransformType call to avoid
dereferencing a null pointer when calling getType().


  Commit: 6464dd21b50bb5f22a5beae1377fec501b38e764
      https://github.com/llvm/llvm-project/commit/6464dd21b50bb5f22a5beae1377fec501b38e764
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M lld/ELF/ScriptParser.cpp
    M lld/docs/ReleaseNotes.rst
    M lld/test/ELF/invalid-linkerscript.test
    M lld/test/ELF/oformat-binary.s

  Log Message:
  -----------
  [ELF] OUTPUT_FORMAT: support "binary" and ignore extra OUTPUT_FORMAT commands

This patch improves GNU ld compatibility.

Close #87891: Support `OUTPUT_FORMAT(binary)`, which is like
--oformat=binary. --oformat=binary takes precedence over an ELF
`OUTPUT_FORMAT`.

In addition, if more than one OUTPUT_FORMAT command is specified, only
check the first one.

Pull Request: https://github.com/llvm/llvm-project/pull/98837


  Commit: 2c9abe7e45aa7920000a9469528d96fdab4e5371
      https://github.com/llvm/llvm-project/commit/2c9abe7e45aa7920000a9469528d96fdab4e5371
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-16 (Tue, 16 Jul 2024)

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M clang/lib/Sema/TreeTransform.h
    M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
    A compiler-rt/test/msan/Linux/prctl.cpp
    M compiler-rt/test/sanitizer_common/TestCases/Linux/prctl.cpp
    M libc/test/src/wchar/CMakeLists.txt
    M libcxx/include/__chrono/year_month_day.h
    M libcxx/modules/std/chrono.inc
    M libcxx/test/std/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/comparisons.pass.cpp
    M lld/ELF/ScriptParser.cpp
    M lld/docs/ReleaseNotes.rst
    M lld/test/ELF/invalid-linkerscript.test
    M lld/test/ELF/oformat-binary.s
    M llvm/include/llvm/IR/PatternMatch.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/InstCombine/AMDGPU/select-from-load.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/extractelements-to-shuffle.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/scalarization-overhead.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/remarks_cmp_sel_min_max.ll
    M llvm/test/Transforms/SLPVectorizer/X86/partail.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reused-extractelements.ll
    M llvm/unittests/IR/PatternMatch.cpp

  Log Message:
  -----------
  add release note

Created using spr 1.3.5-bogner


Compare: https://github.com/llvm/llvm-project/compare/d73bea7bf70e...2c9abe7e45aa

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