[all-commits] [llvm/llvm-project] cbd7aa: [mlir][cf] Add support for opaque pointers to Cont...

zero9178 via All-commits all-commits at lists.llvm.org
Wed Feb 8 12:23:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbd7aaacebb6c00cfaefd3b6978b7d2c62d09e90
      https://github.com/llvm/llvm-project/commit/cbd7aaacebb6c00cfaefd3b6978b7d2c62d09e90
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/lib/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.cpp
    A mlir/test/Conversion/ControlFlowToLLVM/assert.mlir

  Log Message:
  -----------
  [mlir][cf] Add support for opaque pointers to ControlFlowToLLVM lowering

Part of https://discourse.llvm.org/t/rfc-switching-the-llvm-dialect-and-dialect-lowerings-to-opaque-pointers/68179

This is a very simple patch since there is only one use of pointers types in `cf.assert` that has to be changed. Pointer types are conditionally created with element types and the GEP had to be adjusted to use the array type as base type.

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




More information about the All-commits mailing list