[all-commits] [llvm/llvm-project] cdd652: [MLIR][GPU] Support bf16 and i1 gpu::shuffles to L...

Pietro Ghiglio via All-commits all-commits at lists.llvm.org
Thu Jan 9 04:16:39 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cdd652eb28d1dcec28fec289674940d11a92c4fa
      https://github.com/llvm/llvm-project/commit/cdd652eb28d1dcec28fec289674940d11a92c4fa
  Author: Pietro Ghiglio <pietro.ghiglio at codeplay.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp
    M mlir/test/Conversion/GPUToLLVMSPV/gpu-to-llvm-spv.mlir

  Log Message:
  -----------
  [MLIR][GPU] Support bf16 and i1 gpu::shuffles to LLVMSPIRV conversion (#119675)

This PR adds support to the `bf16` and `i1` data types when converting
`gpu::shuffle` to the `LLVMSPV` dialect, by inserting `bitcast` to/from
`i16` (for `bf16`) and extending/truncating to `i8` (for `i1`).



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