[all-commits] [llvm/llvm-project] bc8d96: [mlir][math] Fix lowering of AbsIOp

Jeff Niu via All-commits all-commits at lists.llvm.org
Fri Aug 12 09:10:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc8d966433500604af4c60cc609c24235afef7d6
      https://github.com/llvm/llvm-project/commit/bc8d966433500604af4c60cc609c24235afef7d6
  Author: Jeff Niu <jeff at modular.com>
  Date:   2022-08-12 (Fri, 12 Aug 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
    M mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir

  Log Message:
  -----------
  [mlir][math] Fix lowering of AbsIOp

The LLVM intrinsic has a bool flag `is_int_min_poison` that needs to be
set.

Reviewed By: aartbik

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




More information about the All-commits mailing list