[all-commits] [llvm/llvm-project] d893d1: [mlir] GPUToROCDL: Fix crashes with unsupported sh...

Ivan Butygin via All-commits all-commits at lists.llvm.org
Sun Apr 13 11:26:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d893d129e6ee8b4dead1532cd8420750908acca6
      https://github.com/llvm/llvm-project/commit/d893d129e6ee8b4dead1532cd8420750908acca6
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2025-04-13 (Sun, 13 Apr 2025)

  Changed paths:
    M mlir/lib/Conversion/GPUToROCDL/LowerGpuOpsToROCDLOps.cpp
    M mlir/lib/Dialect/GPU/Transforms/ShuffleRewriter.cpp
    A mlir/test/Conversion/GPUToROCDL/gpu-to-rocdl-unsupported.mlir
    M mlir/test/Dialect/GPU/shuffle-rewrite.mlir

  Log Message:
  -----------
  [mlir] GPUToROCDL: Fix crashes with unsupported shuffle datatypes (#135504)

Calling `getIntOrFloatBitWidth` on non-int/float types (`gpu.shuffle`
also accepts vectors) will crash.



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