[all-commits] [llvm/llvm-project] b96f18: [MLIR][MathDialect] fix fp32 promotion crash when ...

Ivy Zhang via All-commits all-commits at lists.llvm.org
Tue Aug 20 19:09:17 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b96f18b20c31449ef9a6878b5c2725a7cf65c552
      https://github.com/llvm/llvm-project/commit/b96f18b20c31449ef9a6878b5c2725a7cf65c552
  Author: Ivy Zhang <yan3.zhang at intel.com>
  Date:   2024-08-21 (Wed, 21 Aug 2024)

  Changed paths:
    M mlir/lib/Conversion/MathToLibm/MathToLibm.cpp
    M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
    M mlir/test/Conversion/MathToLibm/convert-to-libm.mlir
    M mlir/test/Dialect/Math/legalize-to-f32.mlir

  Log Message:
  -----------
  [MLIR][MathDialect] fix fp32 promotion crash when encounters scf.if (#104451)

1. Expand legal op list in `legalizeToF32`
2. add legalization support for `math::rsqrtOp` in `mathToLibm`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list