[all-commits] [llvm/llvm-project] 5fca4c: [mlir][spirv] Lower memref.reinterpret_cast

Ivan Butygin via All-commits all-commits at lists.llvm.org
Thu Jul 13 06:55:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fca4ce1fd5aeac13cbb917ab6083c8358ce39ae
      https://github.com/llvm/llvm-project/commit/5fca4ce1fd5aeac13cbb917ab6083c8358ce39ae
  Author: Ivan Butygin <ivan.butygin at gmail.com>
  Date:   2023-07-13 (Thu, 13 Jul 2023)

  Changed paths:
    M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
    M mlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv] Lower memref.reinterpret_cast

For kernel SPIR-V, we are lowering memref to bare pointers, so reinterpret can be lowered to pointer, adjusted by offset value.

Differential Revision: https://reviews.llvm.org/D155011




More information about the All-commits mailing list