[all-commits] [llvm/llvm-project] 9d6096: [mlir][SCF][bufferize][NFC] Move scf.if buffer typ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Tue Aug 30 07:49:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d6096c56fcafbd882d5f688cbd8d62ec2f2ac71
      https://github.com/llvm/llvm-project/commit/9d6096c56fcafbd882d5f688cbd8d62ec2f2ac71
  Author: Matthias Springer <springerm at google.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
    M mlir/test/Dialect/SCF/one-shot-bufferize-invalid.mlir

  Log Message:
  -----------
  [mlir][SCF][bufferize][NFC] Move scf.if buffer type computation to getBufferType

A part of the functionality of `bufferize` is extracted into `getBufferType`. Also, bufferized scf.yields inside scf.if are now created with the correct bufferized type from the get-to.

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




More information about the All-commits mailing list