[all-commits] [llvm/llvm-project] ac9f88: [mlir][Index] Add pretty result names for Constant...

River Riddle via All-commits all-commits at lists.llvm.org
Fri Dec 2 01:34:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac9f88e8622629c43c8f0538d03ae93cd25b3f34
      https://github.com/llvm/llvm-project/commit/ac9f88e8622629c43c8f0538d03ae93cd25b3f34
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Index/IR/IndexOps.h
    M mlir/include/mlir/Dialect/Index/IR/IndexOps.td
    M mlir/lib/Dialect/Index/IR/IndexOps.cpp
    M mlir/test/Dialect/Index/index-ops.mlir

  Log Message:
  -----------
  [mlir][Index] Add pretty result names for ConstantOp and BoolConstantOp

ConstantOp uses `%idx<value>` and BoolConstantOp uses true/false, which
is similar to the printing for arith::ConstantOp.

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




More information about the All-commits mailing list