[all-commits] [llvm/llvm-project] 1ebf7c: [mlir] Use interfaces in MathToLibm

Tres via All-commits all-commits at lists.llvm.org
Tue Jun 1 04:57:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ebf7ce950bb72599055d2f2789fd604a02b6d15
      https://github.com/llvm/llvm-project/commit/1ebf7ce950bb72599055d2f2789fd604a02b6d15
  Author: Tres Popp <tpopp at google.com>
  Date:   2021-06-01 (Tue, 01 Jun 2021)

  Changed paths:
    M mlir/lib/Conversion/MathToLibm/MathToLibm.cpp

  Log Message:
  -----------
  [mlir] Use interfaces in MathToLibm

Previously, this assumed use of ModuleOp and FuncOp. There is no need to
restrict this, and using interfaces allows these patterns to be used
during dialect conversion to LLVM.

Some assertions were removed due to inconsistent implementation of
FunctionLikeOps.

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




More information about the All-commits mailing list