[all-commits] [llvm/llvm-project] 7ad63c: [mlir][MathToFuncs] `MathToFuncs` only support int...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Sun Oct 27 18:55:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ad63c0e44ef277591497a176991e7723165611e
      https://github.com/llvm/llvm-project/commit/7ad63c0e44ef277591497a176991e7723165611e
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2024-10-28 (Mon, 28 Oct 2024)

  Changed paths:
    M mlir/lib/Conversion/MathToFuncs/MathToFuncs.cpp
    M mlir/test/Conversion/MathToFuncs/ctlz.mlir
    M mlir/test/Conversion/MathToFuncs/ipowi.mlir

  Log Message:
  -----------
  [mlir][MathToFuncs] `MathToFuncs` only support integer type (#113693)

This PR fixes a bug in `MathToFuncs` where it incorrectly converts index
type for `math.ctlz` and `math.ipowi`, leading to a crash. Fixes
#108150.



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