[all-commits] [llvm/llvm-project] d05d42: [mlir] Add partial lowering of shape.cstr_broadcas...

Tres via All-commits all-commits at lists.llvm.org
Tue Nov 3 00:57:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d05d42199f77852e1f77b94acbe7b28f39ede64f
      https://github.com/llvm/llvm-project/commit/d05d42199f77852e1f77b94acbe7b28f39ede64f
  Author: Tres Popp <tpopp at google.com>
  Date:   2020-11-03 (Tue, 03 Nov 2020)

  Changed paths:
    M mlir/lib/Conversion/ShapeToStandard/CMakeLists.txt
    M mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.cpp
    A mlir/lib/Conversion/ShapeToStandard/ShapeToStandard.td
    M mlir/test/Conversion/ShapeToStandard/shape-to-standard.mlir

  Log Message:
  -----------
  [mlir] Add partial lowering of shape.cstr_broadcastable.

Because cstr operations allow more instruction reordering than asserts, we only
lower cstr_broadcastable to std ops with cstr_require. This ensures that the
more drastic lowering to asserts can happen specifically with the user's desire.

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




More information about the All-commits mailing list