[all-commits] [llvm/llvm-project] 49df06: [mlir][arith][NFC] Simplify narrowing patterns wit...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Mon May 1 10:35:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49df068836bfbb538771395d8bb293548afd414e
      https://github.com/llvm/llvm-project/commit/49df068836bfbb538771395d8bb293548afd414e
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2023-05-01 (Mon, 01 May 2023)

  Changed paths:
    M mlir/lib/Dialect/Arith/Transforms/IntNarrowing.cpp

  Log Message:
  -----------
  [mlir][arith][NFC] Simplify narrowing patterns with a wrapper type

Add a new wraper type that represents either of `ExtSIOp` or `ExtUIOp`.
This is to simplify the code by using a single type, so that we do not
have to use templates or branching to handle both extension kinds.

Reviewed By: antiagainst

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




More information about the All-commits mailing list