[all-commits] [llvm/llvm-project] 8da1bb: Reapply "[AMDGPU] Elide bitcast fold i64 imm to bu...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Mar 2 08:28:14 PST 2026


  Branch: refs/heads/users/boomanaiden154/driver-propagate-no-canonical-prefixes-to-clang-linker-wrapper
  Home:   https://github.com/llvm/llvm-project
  Commit: 8da1bb891e003b4fdf4253a76b05ad8d4a19cceb
      https://github.com/llvm/llvm-project/commit/8da1bb891e003b4fdf4253a76b05ad8d4a19cceb
  Author: Janek van Oirschot <janek.vanoirschot at amd.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/av-split-dead-valno-crash.ll
    M llvm/test/CodeGen/AMDGPU/flat-scratch.ll
    M llvm/test/CodeGen/AMDGPU/imm.ll
    M llvm/test/CodeGen/AMDGPU/siloadstoreopt-misaligned-regsequence.ll

  Log Message:
  -----------
  Reapply "[AMDGPU] Elide bitcast fold i64 imm to build_vector" (#160325) (#184114)

Reapplies commit 341cdbc9703d3cdd151f897b63548387f0017f49


  Commit: 07068315776663412b801c964d99207071564ff2
      https://github.com/llvm/llvm-project/commit/07068315776663412b801c964d99207071564ff2
  Author: Ingo Müller <ingomueller at google.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

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

  Log Message:
  -----------
  [mlir][bazel] Fix build after changes from #183856. (#184134)

This PR fixes the bazel build breakages introduced by #183856, which
introduced a new CMake flag that wasn't set in the bazel build, thus
leading to a placeholder not being replaced and a consequent syntax
error. The fix consists of setting this value to the default (`0`),
which is how similar flags are handled.

Signed-off-by: Ingo Müller <ingomueller at google.com>


  Commit: dfcbf6c70e7088e4b10e9c9c47bdfa19eb031228
      https://github.com/llvm/llvm-project/commit/dfcbf6c70e7088e4b10e9c9c47bdfa19eb031228
  Author: lijinpei-amd <jinpei.li at amd.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/test/Transforms/CorrelatedValuePropagation/conflict.ll
    M llvm/test/Transforms/CorrelatedValuePropagation/icmp.ll

  Log Message:
  -----------
  [CVP] Stop CVP constant propagation from destroying `llvm.assume` (#183688)

For following code sequence:
```
  %cmp = icmp ugt i64 %idx, 1
  tail call void @llvm.assume(i1 %cmp)
```
CVP may replace all use of `%cmp` with `true`, and the information about
`%idx` is lost. This commit stop CVP from doing that, so that later pass
can exploit the `llvm.assume`.

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


  Commit: bc0af9901b5178204ece0658a0a0b0f57aef6aac
      https://github.com/llvm/llvm-project/commit/bc0af9901b5178204ece0658a0a0b0f57aef6aac
  Author: Nick Sarnie <nick.sarnie at intel.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M llvm/docs/TableGen/BackEnds.rst
    M llvm/include/llvm/TableGen/SearchableTable.td
    M llvm/test/TableGen/generic-tables.td
    M llvm/utils/TableGen/SearchableTableEmitter.cpp

  Log Message:
  -----------
  [TableGen] Allow specification of underlying type for GenericEnum (#183769)

Allow specification of the underlying C++ data type for `GenericEnum`.

I ran into this because I was trying to use a TableGen-genered enum in
`DenseSet` which requires the underlying type be specified.

Signed-off-by: Nick Sarnie <nick.sarnie at intel.com>


  Commit: 4f84347b2e7e02b4fbcb43376a93a1e9dd198c66
      https://github.com/llvm/llvm-project/commit/4f84347b2e7e02b4fbcb43376a93a1e9dd198c66
  Author: Nishant Sachdeva <32475507+nishant-sachdeva at users.noreply.github.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M llvm/test/tools/llvm-ir2vec/bindings/ir2vec-bindings.py
    M llvm/tools/llvm-ir2vec/Bindings/PyIR2Vec.cpp
    M llvm/tools/llvm-ir2vec/lib/Utils.cpp
    M llvm/tools/llvm-ir2vec/lib/Utils.h

  Log Message:
  -----------
  [llvm-ir2vec] Adding Inst Embeddings Map API to ir2vec python bindings (#180140)

- Returns a Inst Embedding Map based on the input function name
 `getInstEmbMap(funcName) -> Map<Inst string, Embedding>`

- Refactors IR2VecTool methods to have a separate call to create the
embedder object


  Commit: dbacb148dc41e16b1fdb33f83097816235106614
      https://github.com/llvm/llvm-project/commit/dbacb148dc41e16b1fdb33f83097816235106614
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

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

  Log Message:
  -----------
  [bazel][libc] Enable layering_check for libc/BUILD.bazel (#183822)


  Commit: 24ac5987b482edb33b73f0ebff509e0a520eca1c
      https://github.com/llvm/llvm-project/commit/24ac5987b482edb33b73f0ebff509e0a520eca1c
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

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

  Log Message:
  -----------
  [bazel][libc] Add missing dep (#184152)

#183822 enabled layering checks, but there was some backsliding


  Commit: a8fb8eb49f002abdb05013fcc0072896a7969b50
      https://github.com/llvm/llvm-project/commit/a8fb8eb49f002abdb05013fcc0072896a7969b50
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h

  Log Message:
  -----------
  AMDGPU: Stop copying triple into AMDGPUSubtarget (#184147)

Really the triple doesn't belong here at all.


  Commit: bd02c17123226f7e701126e62a99ec0964240fb1
      https://github.com/llvm/llvm-project/commit/bd02c17123226f7e701126e62a99ec0964240fb1
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M llvm/test/CodeGen/X86/known-never-zero.ll

  Log Message:
  -----------
  [X86] known-never-zero.ll - add shift right vector test coverage for #183577 (#184140)


  Commit: 64139516e5c22028ca5c7c9d998e358b3ecf4116
      https://github.com/llvm/llvm-project/commit/64139516e5c22028ca5c7c9d998e358b3ecf4116
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M llvm/test/CodeGen/X86/known-never-zero.ll

  Log Message:
  -----------
  [X86] known-never-zero.ll - remove unnecessary declarations (#184142)


  Commit: 3357e487cf0ee7bb9a565cb79ac7ea65f12583b0
      https://github.com/llvm/llvm-project/commit/3357e487cf0ee7bb9a565cb79ac7ea65f12583b0
  Author: Med Ismail Bennani <ismail at bennani.ma>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M clang/lib/APINotes/APINotesWriter.cpp
    M clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/APINotes/SomeKit.apinotes
    M clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/SomeKit.h
    A clang/test/APINotes/objc_designated_init_protocol.m

  Log Message:
  -----------
  [clang/APINotes] Fix assertion crash in addObjCMethod for protocol DesignatedInit methods (#183799)


  Commit: f5e8e98a4ef4a4889523101b4d4039e13bccbdf4
      https://github.com/llvm/llvm-project/commit/f5e8e98a4ef4a4889523101b4d4039e13bccbdf4
  Author: Lukas Sommer <lukas.sommer at amd.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir

  Log Message:
  -----------
  [mlir][VectorOps] Fold extract on constant_mask (#183780)

Fold `vector.extract(vector.constant_mask)` to `vector.constant_mask` if
possible.

If the static position is outside of the masked area, the pattern will
fold to a constant all-false value instead.

Dynamic positions are only supported if the mask covers the entire
vector in that dimension.

Assisted-by: Claude Code

---------

Signed-off-by: Lukas Sommer <lukas.sommer at amd.com>


  Commit: 11576569336d5c92baf8fbc9a3f1502a95f57e52
      https://github.com/llvm/llvm-project/commit/11576569336d5c92baf8fbc9a3f1502a95f57e52
  Author: Minsoo Choo <minsoochoo0122 at proton.me>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_arm64.cpp

  Log Message:
  -----------
  [lldb][Process/FreeBSDKernelCore] Fix RegisterContext for arm64 (#183947)

Since `pcb.lr` always contains the value of pc, `gpr_lr_arm64` should be
unavailable. This also fixes the case where `gpr_pc_arm64` displays sp
not lr field in pcb.

Reported by: jrtc27
Fixes: 4f0eb3d3af443ff54425ebafce83b87ee61ee403 (#180222)

---------

Signed-off-by: Minsoo Choo <minsoochoo0122 at proton.me>


  Commit: b11a424e05826aadba71d9c15c4ae3821c92f713
      https://github.com/llvm/llvm-project/commit/b11a424e05826aadba71d9c15c4ae3821c92f713
  Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/test/HLFIR/assign-codegen.fir
    M flang/test/Lower/OpenMP/cfg-conversion-omp.private.f90

  Log Message:
  -----------
  [flang] Inline trivial scalar allocatable assignments in HLFIR-to-FIR (#183177)

For trivial scalar allocatable assignments (non-polymorphic,
non-character, non-array, non-temporary), inline the assignment directly
instead of calling the `_FortranAAssign` runtime. The inlined code
checks whether the allocatable is already allocated: if so, it stores
directly; otherwise, it allocates memory via `fir.allocmem`, stores, and
updates the box descriptor. The if-branch is necessary to handle both
cases:

```fortran
integer, allocatable :: k
allocate(k)
k = 42    ! already allocated: store directly
```

```fortran
integer, allocatable :: k
k = 42    ! not allocated: allocmem, store, update box
```


  Commit: 82d747e491422776998f5fe415ea7104ddb9b436
      https://github.com/llvm/llvm-project/commit/82d747e491422776998f5fe415ea7104ddb9b436
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M llvm/test/CodeGen/X86/known-never-zero.ll

  Log Message:
  -----------
  [X86] known-never-zero.ll - add additional demanded elts vector test coverage (#184159)

vector variants of existing tests where we only demand 1 element for the
never zero test


  Commit: 95832c9bfd7c018e7b4a7a933942d4eeb792dc85
      https://github.com/llvm/llvm-project/commit/95832c9bfd7c018e7b4a7a933942d4eeb792dc85
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M clang/test/Driver/linker-wrapper-hip-no-rdc.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

  Log Message:
  -----------
  [LinkerWrapper] Fix a bunch of minor issues and typos (#183679)

Summary:
A bunch of small issues found through linting and LLM checking.

- Broken sort comparator that violated strict weak ordering (UB)
- SearchLibrary corrupting .lib filenames via erroneous drop_front()
- Hardcoded x86_64-unknown-linux-gnu host triple in AMDGPU fatbinary
- OffloadFile loop variable shadowing its own type, causing std::move on
the type rather than the variable
- GetDeviceInput calling exit() directly instead of returning Error
- Redundant double-wrapping of DerivedArgList
- Various typo and style fixes


  Commit: 9ae143149b6fa287e166851ad4d0cde9613dc24b
      https://github.com/llvm/llvm-project/commit/9ae143149b6fa287e166851ad4d0cde9613dc24b
  Author: Ingo Müller <ingomueller at google.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

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

  Log Message:
  -----------
  [mlir][bazel] Fix build after moving AMX into X86 in #183717. (#184165)

This PR fixes the bazel build that got broken by #183717, which moved
the AMX dialect into the X86 dialect. The fix consists of replicating
the changes from the CMake files into BUILD files as usual; in this
case, mostly removing the AMX dialect targets, adding a few new
references to the corresponding X86 targets, and adding a few new
dependencies to the existing X86 targets due to the new code.

Signed-off-by: Ingo Müller <ingomueller at google.com>


  Commit: 2b0b54be7fa8dff1219afab20ad966256f608317
      https://github.com/llvm/llvm-project/commit/2b0b54be7fa8dff1219afab20ad966256f608317
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M clang/lib/APINotes/APINotesWriter.cpp
    M clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/APINotes/SomeKit.apinotes
    M clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/SomeKit.h
    A clang/test/APINotes/objc_designated_init_protocol.m
    M clang/test/Driver/linker-wrapper-canonical-prefixes.c
    M clang/test/Driver/linker-wrapper-hip-no-rdc.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/test/HLFIR/assign-codegen.fir
    M flang/test/Lower/OpenMP/cfg-conversion-omp.private.f90
    M lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_arm64.cpp
    M llvm/docs/TableGen/BackEnds.rst
    M llvm/include/llvm/TableGen/SearchableTable.td
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
    M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/test/CodeGen/AMDGPU/av-split-dead-valno-crash.ll
    M llvm/test/CodeGen/AMDGPU/flat-scratch.ll
    M llvm/test/CodeGen/AMDGPU/imm.ll
    M llvm/test/CodeGen/AMDGPU/siloadstoreopt-misaligned-regsequence.ll
    M llvm/test/CodeGen/X86/known-never-zero.ll
    M llvm/test/TableGen/generic-tables.td
    M llvm/test/Transforms/CorrelatedValuePropagation/conflict.ll
    M llvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
    M llvm/test/tools/llvm-ir2vec/bindings/ir2vec-bindings.py
    M llvm/tools/llvm-ir2vec/Bindings/PyIR2Vec.cpp
    M llvm/tools/llvm-ir2vec/lib/Utils.cpp
    M llvm/tools/llvm-ir2vec/lib/Utils.h
    M llvm/utils/TableGen/SearchableTableEmitter.cpp
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]


  Commit: 94887798ffb60db38ce9d0f8797ca59d63792ffd
      https://github.com/llvm/llvm-project/commit/94887798ffb60db38ce9d0f8797ca59d63792ffd
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-03-02 (Mon, 02 Mar 2026)

  Changed paths:
    M clang/lib/APINotes/APINotesWriter.cpp
    M clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/APINotes/SomeKit.apinotes
    M clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/SomeKit.h
    A clang/test/APINotes/objc_designated_init_protocol.m
    M clang/test/Driver/linker-wrapper-canonical-prefixes.c
    M clang/test/Driver/linker-wrapper-hip-no-rdc.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/test/HLFIR/assign-codegen.fir
    M flang/test/Lower/OpenMP/cfg-conversion-omp.private.f90
    M lldb/source/Plugins/Process/FreeBSD-Kernel-Core/RegisterContextFreeBSDKernelCore_arm64.cpp
    M llvm/docs/TableGen/BackEnds.rst
    M llvm/include/llvm/TableGen/SearchableTable.td
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
    M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
    M llvm/test/CodeGen/AMDGPU/av-split-dead-valno-crash.ll
    M llvm/test/CodeGen/AMDGPU/flat-scratch.ll
    M llvm/test/CodeGen/AMDGPU/imm.ll
    M llvm/test/CodeGen/AMDGPU/siloadstoreopt-misaligned-regsequence.ll
    M llvm/test/CodeGen/X86/known-never-zero.ll
    M llvm/test/TableGen/generic-tables.td
    M llvm/test/Transforms/CorrelatedValuePropagation/conflict.ll
    M llvm/test/Transforms/CorrelatedValuePropagation/icmp.ll
    M llvm/test/tools/llvm-ir2vec/bindings/ir2vec-bindings.py
    M llvm/tools/llvm-ir2vec/Bindings/PyIR2Vec.cpp
    M llvm/tools/llvm-ir2vec/lib/Utils.cpp
    M llvm/tools/llvm-ir2vec/lib/Utils.h
    M llvm/utils/TableGen/SearchableTableEmitter.cpp
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

  Log Message:
  -----------
  feedback

Created using spr 1.3.7


Compare: https://github.com/llvm/llvm-project/compare/f78a805c28f5...94887798ffb6

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