[all-commits] [llvm/llvm-project] db1d88: [mlir][spirv] Fix bug for `vector.broadcast` op in...

Angel Zhang via All-commits all-commits at lists.llvm.org
Mon Jul 22 15:57:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db1d88137212fec6c884dcb0f76a8dfab4fcab98
      https://github.com/llvm/llvm-project/commit/db1d88137212fec6c884dcb0f76a8dfab4fcab98
  Author: Angel Zhang <angel.zhang at amd.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
    M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv] Fix bug for `vector.broadcast` op in `convert-vector-to-spirv` pass (#99928)

This PR addresses
[!17976](https://github.com/iree-org/iree/issues/17976) by using
converted `resultType` instead of the original result type obtained from
`castOp.getResultVectorType`. A new LIT test is also included.



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