[all-commits] [llvm/llvm-project] a72eed: [mlir][spirv] Handle scalar shuffles in vector to ...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Sun Jul 14 09:30:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a72eed7a238b0087789229bf635d3c517f8e7ff1
      https://github.com/llvm/llvm-project/commit/a72eed7a238b0087789229bf635d3c517f8e7ff1
  Author: Jakub Kuderski <jakub at nod-labs.com>
  Date:   2024-07-14 (Sun, 14 Jul 2024)

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

  Log Message:
  -----------
  [mlir][spirv] Handle scalar shuffles in vector to spirv conversion (#98809)

These may not get canonicalized before conversion to spirv and need to
be handled during vector to spirv conversion. Because spirv does not
support 1-element vectors, we can't emit `spirv.VectorShuffle` and need
to lower this to `spirv.CompositeExtract`.



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