[all-commits] [llvm/llvm-project] 405882: AMDGPU: Fix legalization for llvm.amdgcn.struct.bu...

Enna1 via All-commits all-commits at lists.llvm.org
Mon Jun 17 07:22:18 PDT 2024


  Branch: refs/heads/users/Enna1/BPI-use-isEHPad
  Home:   https://github.com/llvm/llvm-project
  Commit: 405882db942347baf525673befe0cea0093babb6
      https://github.com/llvm/llvm-project/commit/405882db942347baf525673befe0cea0093babb6
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ptr.buffer.atomic.fadd_rtn_errors.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fadd.v2bf16.ll

  Log Message:
  -----------
  AMDGPU: Fix legalization for llvm.amdgcn.struct.buffer.atomic.fadd.v2bf16


  Commit: 0cfdce854d588876bfca7030be868314e84c0e5b
      https://github.com/llvm/llvm-project/commit/0cfdce854d588876bfca7030be868314e84c0e5b
  Author: Konstantin Varlamov <varconsteq at gmail.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M libcxx/include/vector

  Log Message:
  -----------
  [libc++] Guard transitive include of `<locale>` with availability macro (#95686)

This is a follow-up to https://github.com/llvm/llvm-project/pull/80282.
The transitive includes of `<locale>` in `<vector>` were all guarded by
the availability macro -- the new include should also be guarded,
otherwise any users who compile with localization disabled will start
getting errors trying to include `<vector>`.


  Commit: b75e7c61ffc4adea0ec5fca63ba3feba845c8303
      https://github.com/llvm/llvm-project/commit/b75e7c61ffc4adea0ec5fca63ba3feba845c8303
  Author: Jan Leyonberg <jan_sjodin at yahoo.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M flang/include/flang/Frontend/CodeGenOptions.h
    M flang/include/flang/Frontend/FrontendActions.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    A flang/test/Driver/Inputs/libfun.f90
    A flang/test/Driver/mlink-builtin-bc.f90

  Log Message:
  -----------
  [flang] Add -mlink-builtin-bitcode option to fc1 (#94763)

This patch enables the -mlink-builtin-bitcode flag in fc1 so that
bitcode libraries can be linked in. This is needed for OpenMP offloading
libraries.


  Commit: 7767f0d47428db66d65b07b35aa52f0507df71f9
      https://github.com/llvm/llvm-project/commit/7767f0d47428db66d65b07b35aa52f0507df71f9
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/trunc.ll

  Log Message:
  -----------
  [InstCombine] Add test for #95547 (NFC)


  Commit: 534f8569a3c9fccfd5cbc5f632b63ad0cf711098
      https://github.com/llvm/llvm-project/commit/534f8569a3c9fccfd5cbc5f632b63ad0cf711098
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/trunc.ll

  Log Message:
  -----------
  [InstCombine] Don't preserve context across div

We can't preserve the context across a non-speculatable instruction,
as this might introduce a trap. Alternatively, we could also
insert all the replacement instruction at the use-site, but that
would be a more intrusive change for the sake of this edge case.

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


  Commit: 954cb5f9a220eb18afe2d0025722067a8299c41c
      https://github.com/llvm/llvm-project/commit/954cb5f9a220eb18afe2d0025722067a8299c41c
  Author: Fabian Mora <fmora.dev at gmail.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
    M mlir/lib/Dialect/GPU/CMakeLists.txt
    M mlir/lib/Target/LLVM/CMakeLists.txt
    M mlir/lib/Target/LLVM/ROCDL/Target.cpp

  Log Message:
  -----------
  [mlir][Target] Improve ROCDL gpu serialization API (#95456)

This patch improves the ROCDL gpu serialization API by:
- Introducing the enum `AMDGCNLibraries` for specifying the AMD GCN
device code libraries to use during linking.
- Removing `getCommonBitcodeLibs` in favor of `AMDGCNLibraries`.
Previously `getCommonBitcodeLibs` would try to load all AMD GCN bitcode
librariesm now it will only load the requested libraries.
- Exposing the `compileToBinary` method and making it virtual, allowing
downstream users to re-use this method.
- Exposing `moduleToObjectImpl`, this method provides a prototype flow
for compiling to binary, allowing downstream users to re-use this
method.
- It also avoids constructing the control variables if no device
libraries are being used.

This patch also changes the behavior of the CMake flag
`DEFAULT_ROCM_PATH`. Before it would fall back to a default value of
`/opt/rocm` if not specified. However, that default value causes fragile
builds in environments with ROCm. Now, the flag falls back to the empty
string, making it clear that **the user must provide a value at LLVM
build time**.


  Commit: 4bf160e3968d77334e27dc358c497703f315351f
      https://github.com/llvm/llvm-project/commit/4bf160e3968d77334e27dc358c497703f315351f
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M clang/lib/AST/ExprConstShared.h
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/complex.cpp

  Log Message:
  -----------
  [clang][Interp] Implement Complex-complex multiplication (#94891)

Share the implementation for floating-point complex-complex
multiplication with the current interpreter. This means we need a new
opcode for this, but there's no good way around that.


  Commit: 57b8be463a937e5acee025f4cccdfd4ac6b73ec9
      https://github.com/llvm/llvm-project/commit/57b8be463a937e5acee025f4cccdfd4ac6b73ec9
  Author: Fabian Mora <fmora.dev at gmail.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M mlir/include/mlir/Target/LLVM/ROCDL/Utils.h
    M mlir/lib/Dialect/GPU/CMakeLists.txt
    M mlir/lib/Target/LLVM/CMakeLists.txt
    M mlir/lib/Target/LLVM/ROCDL/Target.cpp

  Log Message:
  -----------
  Revert [mlir][Target] Improve ROCDL gpu serialization API (#95790)

Reverts llvm/llvm-project#95456


  Commit: 7a75779b267e673fa3f92142ef9fad91315acc80
      https://github.com/llvm/llvm-project/commit/7a75779b267e673fa3f92142ef9fad91315acc80
  Author: Enna1 <xumingjie.enna1 at bytedance.com>
  Date:   2024-06-17 (Mon, 17 Jun 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/AST/ExprConstShared.h
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/AST/Interp/complex.cpp
    M flang/include/flang/Frontend/CodeGenOptions.h
    M flang/include/flang/Frontend/FrontendActions.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Frontend/FrontendActions.cpp
    A flang/test/Driver/Inputs/libfun.f90
    A flang/test/Driver/mlink-builtin-bc.f90
    M libcxx/include/vector
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ptr.buffer.atomic.fadd_rtn_errors.ll
    A llvm/test/CodeGen/AMDGPU/llvm.amdgcn.struct.ptr.buffer.atomic.fadd.v2bf16.ll
    M llvm/test/Transforms/InstCombine/trunc.ll

  Log Message:
  -----------
  Merge branch 'main' into users/Enna1/BPI-use-isEHPad


Compare: https://github.com/llvm/llvm-project/compare/264c66412905...7a75779b267e

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