[all-commits] [llvm/llvm-project] 856892: [mlir][spirv] Convert `ub.poison` to `spirv.undef`

Ivan Butygin via All-commits all-commits at lists.llvm.org
Mon Jul 24 15:30:21 PDT 2023


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

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.h
    M mlir/include/mlir/Conversion/Passes.td
    A mlir/include/mlir/Conversion/UBToSPIRV/UBToSPIRV.h
    M mlir/lib/Conversion/CMakeLists.txt
    A mlir/lib/Conversion/UBToSPIRV/CMakeLists.txt
    A mlir/lib/Conversion/UBToSPIRV/UBToSPIRV.cpp
    A mlir/test/Conversion/UBToSPIRV/ub-to-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv] Convert `ub.poison` to `spirv.undef`

SPIR-V doesn't have poison, but poison can be converted to undef.

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




More information about the All-commits mailing list