[all-commits] [llvm/llvm-project] 0e60cf: [gn build] Manually port 68b939f9

darkbuck via All-commits all-commits at lists.llvm.org
Fri Apr 5 12:18:11 PDT 2024


  Branch: refs/heads/users/darkbuck/spr/globalisel-handle-more-commutable-instructions-in-commute_constant_to_rhs
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e60cf7f4b66312c09df9412be3efd1e9c891e85
      https://github.com/llvm/llvm-project/commit/0e60cf7f4b66312c09df9412be3efd1e9c891e85
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn

  Log Message:
  -----------
  [gn build] Manually port 68b939f9


  Commit: 666fd665e98df1e5c8e8d5be1eb08bf102c0691c
      https://github.com/llvm/llvm-project/commit/666fd665e98df1e5c8e8d5be1eb08bf102c0691c
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 30f6eafaa978


  Commit: 6411aaf99cbfddafdeecb73d9fd7388fcae32293
      https://github.com/llvm/llvm-project/commit/6411aaf99cbfddafdeecb73d9fd7388fcae32293
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn

  Log Message:
  -----------
  [gn build] Port e84a757222aa


  Commit: 965e053eb3ba336b6174e6753f138cabc0ea92c2
      https://github.com/llvm/llvm-project/commit/965e053eb3ba336b6174e6753f138cabc0ea92c2
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/utils/gn/secondary/libcxx/include/BUILD.gn

  Log Message:
  -----------
  [gn build] Port f5960c168dfe


  Commit: 5772fc890f7ebda04029ba82af32c9072a1c44b6
      https://github.com/llvm/llvm-project/commit/5772fc890f7ebda04029ba82af32c9072a1c44b6
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/TextAPI/BinaryReader/BUILD.gn

  Log Message:
  -----------
  [gn build] Add missing dependency


  Commit: e915b7d8166a870834868bcf7de85cb5e96a08ec
      https://github.com/llvm/llvm-project/commit/e915b7d8166a870834868bcf7de85cb5e96a08ec
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    A lld/test/ELF/aarch64-reloc-implicit-addend.test

  Log Message:
  -----------
  [ELF,test] Add test for R_AARCH64_* implicit addends

to support certain static relocations in the REL format. See #87328 for
the armasm need.

Note: `R_AARCH64_{ABS64,PREL32,PREL64}` have been implemented by https://reviews.llvm.org/D120535

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


  Commit: 2606c87788153bf33d854fa5c3a03e16d544c5d7
      https://github.com/llvm/llvm-project/commit/2606c87788153bf33d854fa5c3a03e16d544c5d7
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    A clang/test/C/C99/n717.c
    M clang/www/c_status.html

  Log Message:
  -----------
  [C99] Claim conformance to WG14 N717 (#87228)

This was the paper that added Universal Character Names to C.


  Commit: 9264c85b47d3866c44f916cfff533c0d9d9d7a8d
      https://github.com/llvm/llvm-project/commit/9264c85b47d3866c44f916cfff533c0d9d9d7a8d
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M clang/lib/Sema/SemaTemplateDeduction.cpp

  Log Message:
  -----------
  [Sema] Remove the duplicated `DeduceTemplateArguments` for partial specialization, NFC (#87782)

We have two identical "DeduceTemplateArguments" implementations for
class and variable partial template specializations, this patch removes
the duplicated code.


  Commit: 66b528078e4852412769375e35d2a672bf36a0ec
      https://github.com/llvm/llvm-project/commit/66b528078e4852412769375e35d2a672bf36a0ec
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/call-arg-reduced-by-minbitwidth.ll
    M llvm/test/Transforms/SLPVectorizer/X86/cmp-after-intrinsic-call-minbitwidth.ll
    M llvm/test/Transforms/SLPVectorizer/X86/store-abs-minbitwidth.ll

  Log Message:
  -----------
  [SLP]Improve minbitwidth analysis for abs/smin/smax/umin/umax intrinsics.

https://alive2.llvm.org/ce/z/ivPZ26 for the abs transformations.

Reviewers: RKSimon

Reviewed By: RKSimon

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


  Commit: e4169f79ef0f54676c0072e1704c3d02f32925b3
      https://github.com/llvm/llvm-project/commit/e4169f79ef0f54676c0072e1704c3d02f32925b3
  Author: David Green <david.green at arm.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/test/Analysis/CostModel/AArch64/shuffle-other.ll

  Log Message:
  -----------
  [AArch64] Add extra zip and uzp shuffle cost tests. NFC


  Commit: 225e14e5b6d64e1f63da39fa7fe31d2ebb08260d
      https://github.com/llvm/llvm-project/commit/225e14e5b6d64e1f63da39fa7fe31d2ebb08260d
  Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/lib/Support/Windows/Path.inc

  Log Message:
  -----------
  [Support][Windows] Use the original path if GetFinalPathNameByHandleW() failed (#87749)

The commit f11b056c (#76304) breaks `clang` and other tools if they are
used from a RAMDrive. `GetFinalPathNameByHandleW()` may return 0 and
GetLastError 0x28. This patch fixes that issue. Note `real_path()` uses
`openFileForRead()` but it reports the error only if failed to open a
file. Getting `RealPath` is optional functionality.

BTW, `sys::fs::real_path()` resolves not only symlinks, but also network
drives and virtual drives created by the `subst` tool. It may break an
automation. It is better to detect symlinks and resolve only symlinks.


  Commit: 0a0fccfc6c0519402a2566e1f63440410e524d17
      https://github.com/llvm/llvm-project/commit/0a0fccfc6c0519402a2566e1f63440410e524d17
  Author: Chris B <chris.bieneman at me.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/SemaHLSL/literal_suffixes.hlsl
    A clang/test/SemaHLSL/literal_suffixes_no_16bit.hlsl

  Log Message:
  -----------
  [HLSL] Implement floating literal suffixes (#87270)

This change implements the HLSL floating literal suffixes for half and
double literals. The PR for the HLSL language specification for this
behavior is https://github.com/microsoft/hlsl-specs/pull/175.

The TL;DR is that the `h` suffix on floating literals means `half`, and
the `l` suffix means `double`.

The expected behavior and diagnostics are different if native half is
supported. When native half is not enabled half is 32-bit so implicit
conversions to float do not lose precision and do not warn.

In all cases `half` and `float` are distinct types.

Resolves #85712


  Commit: 3989e2245746bbeaae26416a330753b9189cfaeb
      https://github.com/llvm/llvm-project/commit/3989e2245746bbeaae26416a330753b9189cfaeb
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M lld/test/ELF/pack-dyn-relocs.s

  Log Message:
  -----------
  [test][lld][ELF] Enhance pack-dyn-relocs.s test (#87756)

Use symbol `.data` (STT_SECTION) instead of `__ehdr_start` for some
relocation entries. See discussion in

[72714/#discussion_r1517127619](https://github.com/llvm/llvm-project/pull/72714/#discussion_r1517127619)


  Commit: 3c37f926a153d38852d593c4a7f9062e72ee4b2f
      https://github.com/llvm/llvm-project/commit/3c37f926a153d38852d593c4a7f9062e72ee4b2f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/compress-opt-branch.ll

  Log Message:
  -----------
  [RISCV] Fix comment in compress-opt-branch.ll to match description. NFC

Test description says constant does not fit in 12 bits, but the constant
used was -2048 which does fit in 12 bits. Update to -2049.

Also remove uses of -NOT in favor of positive checks. One of the -NOT
should have been using RESBROPT instead of "c.beqz" so that it would
check for the absense of the correct instruction based on the sed
replacement on the RUN line.


  Commit: a834436099279e458112b8be653f4a597269747b
      https://github.com/llvm/llvm-project/commit/a834436099279e458112b8be653f4a597269747b
  Author: Hristo Hristov <hghristov.rmm at gmail.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/docs/UsingLibcxx.rst
    M libcxx/include/locale
    M libcxx/modules/std/locale.inc
    M libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.cons/wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.members/open_wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.cons/wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.members/open_wchar_pointer.pass.cpp
    M libcxx/test/libcxx/localization/locales/locale.convenience/conversions/conversions.string/ctor_move.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/overflow.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/pbackfail.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/rdbuf.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/seekoff.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/state.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/test.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/underflow.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/converted.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt_state.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_copy.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_err_string.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/depr.verify.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/from_bytes.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/state.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/to_bytes.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/types.pass.cpp

  Log Message:
  -----------
  [libc++] P2872R3: Remove ``wstring_convert`` From C++26 (#87100)

Implements: https://wg21.link/P2872R3


  Commit: 43ba568daac098b286e1c1207deadd1f59d56cd7
      https://github.com/llvm/llvm-project/commit/43ba568daac098b286e1c1207deadd1f59d56cd7
  Author: Daniel Paoliello <danpao at microsoft.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h

  Log Message:
  -----------
  Prepend all library intrinsics with `#` when building for Arm64EC (#87542)

While attempting to build some Rust code, I was getting linker errors
due to missing functions that are implemented in `compiler-rt`. Turns
out that when `compiler-rt` is built for Arm64EC, all its function names
are mangled with the leading `#`.

This change removes the hard-coded list of library-implemented
intrinsics to mangle for Arm64EC, and instead assumes that they all must
be mangled.


  Commit: 5e77dfecd2e274117cc0a75de69c832d00130e6a
      https://github.com/llvm/llvm-project/commit/5e77dfecd2e274117cc0a75de69c832d00130e6a
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [clang] CTAD: build aggregate deduction guides for alias templates. (#85904)

Fixes https://github.com/llvm/llvm-project/issues/85767.

The aggregate deduction guides are handled in a separate code path. We
don't generate dedicated aggregate deduction guides for alias templates
(we just reuse the ones from the underlying template decl by accident).
The patch fixes this incorrect issue.

Note: there is a small refactoring change in this PR, where we move the
cache logic from `Sema::DeduceTemplateSpecializationFromInitializer` to
`Sema::DeclareImplicitDeductionGuideFromInitList`


  Commit: 9f0758405b71c23d1f260eb89d7d6daab280a425
      https://github.com/llvm/llvm-project/commit/9f0758405b71c23d1f260eb89d7d6daab280a425
  Author: Shourya Goel <shouryagoel10000 at gmail.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M libc/config/gpu/api.td
    M libc/config/linux/api.td
    M libc/include/CMakeLists.txt
    M libc/spec/posix.td
    M libc/src/stdio/fseeko.h
    M libc/src/stdio/ftello.h

  Log Message:
  -----------
  reland: [libc] Added transitive bindings for OffsetType (#87680)


Followup to issues addressed here: #87397


  Commit: 25ebbe3851c54f035875fd3d7d2569d79cacf803
      https://github.com/llvm/llvm-project/commit/25ebbe3851c54f035875fd3d7d2569d79cacf803
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M flang/docs/GettingStarted.md
    A flang/docs/Real16MathSupport.md
    M flang/docs/index.md

  Log Message:
  -----------
  [flang][doc] Added information about `REAL(16)` math intrinsics support. (#87710)


  Commit: a0dfcea5908743a08d3e7803e2731c1b9a19ef95
      https://github.com/llvm/llvm-project/commit/a0dfcea5908743a08d3e7803e2731c1b9a19ef95
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2024-04-05 (Fri, 05 Apr 2024)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    A clang/test/C/C99/n717.c
    A clang/test/SemaHLSL/literal_suffixes.hlsl
    A clang/test/SemaHLSL/literal_suffixes_no_16bit.hlsl
    M clang/test/SemaTemplate/deduction-guide.cpp
    M clang/www/c_status.html
    M flang/docs/GettingStarted.md
    A flang/docs/Real16MathSupport.md
    M flang/docs/index.md
    M libc/config/gpu/api.td
    M libc/config/linux/api.td
    M libc/include/CMakeLists.txt
    M libc/spec/posix.td
    M libc/src/stdio/fseeko.h
    M libc/src/stdio/ftello.h
    M libcxx/docs/ReleaseNotes/19.rst
    M libcxx/docs/Status/Cxx2cPapers.csv
    M libcxx/docs/UsingLibcxx.rst
    M libcxx/include/locale
    M libcxx/modules/std/locale.inc
    M libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.cons/wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.members/open_wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.cons/wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.members/open_wchar_pointer.pass.cpp
    M libcxx/test/libcxx/localization/locales/locale.convenience/conversions/conversions.string/ctor_move.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/overflow.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/pbackfail.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/rdbuf.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/seekoff.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/state.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/test.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/underflow.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/converted.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt_state.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_copy.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_err_string.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/depr.verify.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/from_bytes.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/state.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/to_bytes.pass.cpp
    M libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/types.pass.cpp
    A lld/test/ELF/aarch64-reloc-implicit-addend.test
    M lld/test/ELF/pack-dyn-relocs.s
    M llvm/lib/Support/Windows/Path.inc
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.h
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Analysis/CostModel/AArch64/shuffle-other.ll
    M llvm/test/CodeGen/RISCV/compress-opt-branch.ll
    M llvm/test/Transforms/SLPVectorizer/X86/call-arg-reduced-by-minbitwidth.ll
    M llvm/test/Transforms/SLPVectorizer/X86/cmp-after-intrinsic-call-minbitwidth.ll
    M llvm/test/Transforms/SLPVectorizer/X86/store-abs-minbitwidth.ll
    M llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
    M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
    M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/TextAPI/BinaryReader/BUILD.gn
    M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn

  Log Message:
  -----------
  rebase to main branch

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/455302b3d9c8...a0dfcea59087

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