[all-commits] [llvm/llvm-project] fbd2f4: [X86] Use array instead of SmallVector. NFC (#155321)

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue Aug 26 10:52:33 PDT 2025


  Branch: refs/heads/users/vitalybuka/spr/nfcasan-fix-warning-in-test
  Home:   https://github.com/llvm/llvm-project
  Commit: fbd2f479474a5d071f234e9349f9543c235c0d25
      https://github.com/llvm/llvm-project/commit/fbd2f479474a5d071f234e9349f9543c235c0d25
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86Subtarget.cpp

  Log Message:
  -----------
  [X86] Use array instead of SmallVector. NFC (#155321)


  Commit: cdc79e32f2689192a13f1be4b78730192c645b26
      https://github.com/llvm/llvm-project/commit/cdc79e32f2689192a13f1be4b78730192c645b26
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M llvm/test/TableGen/trydecode-emission.td
    M llvm/test/TableGen/trydecode-emission2.td
    M llvm/test/TableGen/trydecode-emission3.td
    M llvm/test/TableGen/trydecode-emission4.td
    M llvm/utils/TableGen/DecoderEmitter.cpp

  Log Message:
  -----------
  [TableGen][DecoderEmitter] Optimize single-case OPC_ExtractField (#155414)

OPC_ExtractField followed by a single OPC_FilterValue is equivalent to
OPC_CheckField. Optimize this relatively common case.


  Commit: 72c04bb882ad70230bce309c3013d9cc2c99e9a7
      https://github.com/llvm/llvm-project/commit/72c04bb882ad70230bce309c3013d9cc2c99e9a7
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__fwd/tuple.h
    M libcxx/include/__hash_table
    M libcxx/include/__tree
    A libcxx/include/__type_traits/can_extract_key.h
    R libcxx/include/__utility/try_key_extraction.h
    M libcxx/include/map
    M libcxx/include/module.modulemap.in
    M libcxx/include/set
    M libcxx/include/tuple
    M libcxx/include/unordered_map
    M libcxx/test/std/containers/associative/multiset/emplace.pass.cpp
    M libcxx/test/std/containers/associative/set/emplace.pass.cpp
    M libcxx/test/std/containers/unord/unord.multiset/emplace.pass.cpp
    M libcxx/test/std/containers/unord/unord.set/emplace.pass.cpp

  Log Message:
  -----------
  Revert "[libc++] Refactor key extraction for __hash_table and __tree (#154512)"

This reverts commit af1f06e41b05c267480f1629dc0fcdf18f3b59f6.

This is causing some build failures in premerge as some of the LLDB
tests fail.


  Commit: 084fe216d5c1de35f104653d1305170214abf60a
      https://github.com/llvm/llvm-project/commit/084fe216d5c1de35f104653d1305170214abf60a
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

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

  Log Message:
  -----------
  [gn build] Port 72c04bb882ad


  Commit: 83dbba65d558a3568e79e387e59aad910bfd14cc
      https://github.com/llvm/llvm-project/commit/83dbba65d558a3568e79e387e59aad910bfd14cc
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenOpenACCClause.cpp
    M clang/test/CIR/CodeGenOpenACC/combined-firstprivate-clause.cpp
    A clang/test/CIR/CodeGenOpenACC/compute-firstprivate-clause.c
    M clang/test/CIR/CodeGenOpenACC/compute-firstprivate-clause.cpp
    A clang/test/CIR/CodeGenOpenACC/compute-private-clause.c

  Log Message:
  -----------
  [OpenACC] Add C tests for recipe generation, fix NYI

I realized while messing with other things that I'd written all of the
recipe tests for C++, so this patch adds a bunch of tests for C mode.
The assert wasn't quite accurate (as C default init doesn't really do
anything/have an AST node), so that is corrected.  Also, the lack of
cir.copy causes some of the firstprivate tests to be incomplete, so
added TODOs for that as well.


  Commit: f09986aab575b41e2e210d937a46dfce82eceebc
      https://github.com/llvm/llvm-project/commit/f09986aab575b41e2e210d937a46dfce82eceebc
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang/tools/clang-format/git-clang-format

  Log Message:
  -----------
  [clang-format] Use proper flags for git diff-tree (#155247)

>From local testing, git diff-tree does not support three dot diffs
correctly, instead expecting the --merge-base flag to be passed along
with two commits. From my reading, the documentation
(https://git-scm.com/docs/git-diff-tree) also confirms this. This patch
updates the git-clang-format script to be correct.

I don't think we ever ran into this issue before because we never ended
up using it. For the PR code format job I believe we would just
explicitly pass the merge base, completely bypassing the problem.


  Commit: 74a4d815dc53d583053c30edd0ac2a91e9c90b1b
      https://github.com/llvm/llvm-project/commit/74a4d815dc53d583053c30edd0ac2a91e9c90b1b
  Author: Finn Plummer <mail at inbelic.dev>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang/include/clang/Driver/Action.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/Action.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/HLSL.cpp
    M clang/lib/Driver/ToolChains/HLSL.h
    A clang/test/Driver/dxc_strip_rootsignature.hlsl

  Log Message:
  -----------
  [HLSL][DirectX] Add the Qdx-rootsignature-strip driver option (#154454)

This pr adds the `Qstrip-rootsignature` as a `DXC` driver option.

To do so, this pr introduces the `BinaryModifyJobClass` as an `Action`
to modify a produced object file before its final output.

Further, it registers `llvm-objcopy` as the tool to modify a produced
`DXContainer` on the `HLSL` toolchain.

This allows us to specify the `Qstrip-rootsignature` option to
`clang-dxc` which will invoke `llvm-objcopy` with a
`--remove-section=RTS0` argument to implement its functionality.

Resolves: https://github.com/llvm/llvm-project/issues/150275.


  Commit: 13a634281fb080ab0641998eb336ee591631beff
      https://github.com/llvm/llvm-project/commit/13a634281fb080ab0641998eb336ee591631beff
  Author: Deric C. <cheung.deric at gmail.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILDataScalarization.cpp
    M llvm/lib/Target/DirectX/DXILFinalizeLinkage.cpp
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
    M llvm/lib/Target/DirectX/DirectXIRPasses/PointerTypeAnalysis.cpp
    A llvm/test/tools/dxil-dis/constantexpr-gep.ll
    M llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp

  Log Message:
  -----------
  [DirectX] Fix the writing of ConstantExpr GEPs to DXIL bitcode (#154446)

Fixes #153304

Changes:
- When writing `ConstantExpr` GEPs to DXIL bitcode, the bitcode writer
will use the old Constant Code `CST_CODE_CE_GEP_OLD = 12` instead of the
newer `CST_CODE_CE_GEP = 32` which is interpreted as an undef in DXIL.
Additional context: [CST_CODE_CE_GEP = 12 in
DXC](https://github.com/microsoft/DirectXShaderCompiler/blob/0c9e75e7e91bb18fab101abc81d399a0296f499e/include/llvm/Bitcode/LLVMBitCodes.h#L187)
while the same constant code is labeled [CST_CODE_CE_GEP_OLD in
LLVM](https://github.com/llvm/llvm-project/blob/65de318d186c815f43b892aa20b98c50f22ab6fe/llvm/include/llvm/Bitcode/LLVMBitCodes.h#L411)
- Modifies the `PointerTypeAnalysis` to be able to analyze pointer-typed
constants that appear in the operands of instructions so that the
correct type of the `ConstantExpr` GEP is determined and written into
the DXIL bitcode.
- Adds a `PointerTypeAnalysis` test and dxil-dis test to ensure that the
pointer type of `ConstantExpr` GEPs are resolved and `ConstantExpr` GEPs
are written to DXIL bitcode correctly

In addition, this PR also adds a missing call to
`GV.removeDeadConstantUsers()` in the DXILFinalizeLinkage pass, and
removes an unnecessary manual removal of a ConstantExpr in the
DXILFlattenArrays pass.


  Commit: 0cddf3e1aefc8d5f96e000a9c69d0fa596fdb04a
      https://github.com/llvm/llvm-project/commit/0cddf3e1aefc8d5f96e000a9c69d0fa596fdb04a
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang-tools-extra/test/clang-tidy/check_clang_tidy.py

  Log Message:
  -----------
  [clang-tidy][test] Make check_clang_tidy.py work with very long file paths (#155318)

http://github.com/llvm/llvm-project/pull/95220 added a test with a very
long file path, which can fail if run on Windows with a long directory
path.

On Windows, there are file path length limits, which can be worked
around by prefixing the (absolute) path with '\\?\':
https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation

---------

Co-authored-by: Reid Kleckner <rnk at google.com>


  Commit: 55f6b294bdd7fa332355d9334bdd81358144ba57
      https://github.com/llvm/llvm-project/commit/55f6b294bdd7fa332355d9334bdd81358144ba57
  Author: Yatao Wang <ningxinr at live.cn>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

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

  Log Message:
  -----------
  [AArch64] AArch64TargetLowering::computeKnownBitsForTargetNode - add support for AArch64ISD::MOV/MVN constants (#154039)

Add support for the following constant nodes in
`AArch64TargetLowering::computeKnownBitsForTargetNode`:
```
  case AArch64ISD::MOVIedit:
  case AArch64ISD::MOVImsl:
  case AArch64ISD::MVNIshift:
  case AArch64ISD::MVNImsl:
```

Also add `AArch64TargetLowering::computeKnownBitsForTargetNode` tests
for all the MOVI constant nodes in
`llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp`

Fixes: #153159

---------

Co-authored-by: Simon Pilgrim <llvm-dev at redking.me.uk>


  Commit: e7d9b79348f402aac26cccfd989dcfdcdabd560f
      https://github.com/llvm/llvm-project/commit/e7d9b79348f402aac26cccfd989dcfdcdabd560f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang/lib/Interpreter/IncrementalAction.h

  Log Message:
  -----------
  [Interpreter] Fix a warning

This patch fixes:

  clang/lib/Interpreter/IncrementalAction.h:37:21: error: private
  field 'CI' is not used [-Werror,-Wunused-private-field]


  Commit: eb88c049f51c828f9c92cc84bad045b37388101a
      https://github.com/llvm/llvm-project/commit/eb88c049f51c828f9c92cc84bad045b37388101a
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILPostOptimizationValidation.cpp

  Log Message:
  -----------
  [NFC][DirectX] Fix variable set but not used warning (#155445)


  Commit: 79566b2e831c605a8457e5f517b2375f1afa56a4
      https://github.com/llvm/llvm-project/commit/79566b2e831c605a8457e5f517b2375f1afa56a4
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M compiler-rt/lib/asan/tests/asan_test.cpp

  Log Message:
  -----------
  [compiler-rt] Fix a warning

This patch fixes:

  compiler-rt/lib/asan/tests/asan_test.cpp:398:27: error: allocation
  of insufficient size '0' for type 'int' with size '4'
  [-Werror,-Walloc-size]


  Commit: dac9d8f8e06d02e5e32f28ba6a660ad759033023
      https://github.com/llvm/llvm-project/commit/dac9d8f8e06d02e5e32f28ba6a660ad759033023
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M llvm/lib/Target/XCore/Disassembler/XCoreDisassembler.cpp

  Log Message:
  -----------
  [NFC][MC][XCore] Rearrange decoder functions for XCore disassembler (#155009)

Rearrange decode functions to be before including the generated
disassembler code and eliminate forward declarations for most of them.
This is possible because `fieldFromInstruction` is now in MCDecoder.h
and not in the generated disassembler code.


  Commit: 9ef65a757560a32df4101327f2aa18aeb4fd6000
      https://github.com/llvm/llvm-project/commit/9ef65a757560a32df4101327f2aa18aeb4fd6000
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M clang-tools-extra/test/clang-tidy/check_clang_tidy.py
    M clang/include/clang/Driver/Action.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/CIR/CodeGen/CIRGenOpenACCClause.cpp
    M clang/lib/Driver/Action.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/HLSL.cpp
    M clang/lib/Driver/ToolChains/HLSL.h
    M clang/lib/Interpreter/IncrementalAction.h
    M clang/test/CIR/CodeGenOpenACC/combined-firstprivate-clause.cpp
    A clang/test/CIR/CodeGenOpenACC/compute-firstprivate-clause.c
    M clang/test/CIR/CodeGenOpenACC/compute-firstprivate-clause.cpp
    A clang/test/CIR/CodeGenOpenACC/compute-private-clause.c
    A clang/test/Driver/dxc_strip_rootsignature.hlsl
    M clang/tools/clang-format/git-clang-format
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__fwd/tuple.h
    M libcxx/include/__hash_table
    M libcxx/include/__tree
    A libcxx/include/__type_traits/can_extract_key.h
    R libcxx/include/__utility/try_key_extraction.h
    M libcxx/include/map
    M libcxx/include/module.modulemap.in
    M libcxx/include/set
    M libcxx/include/tuple
    M libcxx/include/unordered_map
    M libcxx/test/std/containers/associative/multiset/emplace.pass.cpp
    M libcxx/test/std/containers/associative/set/emplace.pass.cpp
    M libcxx/test/std/containers/unord/unord.multiset/emplace.pass.cpp
    M libcxx/test/std/containers/unord/unord.set/emplace.pass.cpp
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/DirectX/DXILDataScalarization.cpp
    M llvm/lib/Target/DirectX/DXILFinalizeLinkage.cpp
    M llvm/lib/Target/DirectX/DXILPostOptimizationValidation.cpp
    M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
    M llvm/lib/Target/DirectX/DirectXIRPasses/PointerTypeAnalysis.cpp
    M llvm/lib/Target/X86/X86Subtarget.cpp
    M llvm/lib/Target/XCore/Disassembler/XCoreDisassembler.cpp
    M llvm/test/TableGen/trydecode-emission.td
    M llvm/test/TableGen/trydecode-emission2.td
    M llvm/test/TableGen/trydecode-emission3.td
    M llvm/test/TableGen/trydecode-emission4.td
    A llvm/test/tools/dxil-dis/constantexpr-gep.ll
    M llvm/unittests/Target/AArch64/AArch64SelectionDAGTest.cpp
    M llvm/unittests/Target/DirectX/PointerTypeAnalysisTests.cpp
    M llvm/utils/TableGen/DecoderEmitter.cpp
    M llvm/utils/gn/secondary/libcxx/include/BUILD.gn

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

Created using spr 1.3.6


Compare: https://github.com/llvm/llvm-project/compare/5036ee7a2e81...9ef65a757560

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