[all-commits] [llvm/llvm-project] 42b1df: [mlir][math] Add missing trig math-to-llvm convers...

Asher Mancinelli via All-commits all-commits at lists.llvm.org
Tue May 27 08:10:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42b1df43e73391f035dd370f219d2fca3482769d
      https://github.com/llvm/llvm-project/commit/42b1df43e73391f035dd370f219d2fca3482769d
  Author: Asher Mancinelli <ashermancinelli at gmail.com>
  Date:   2025-05-27 (Tue, 27 May 2025)

  Changed paths:
    M flang/test/Intrinsics/math-codegen.fir
    M mlir/lib/Conversion/MathToLLVM/MathToLLVM.cpp
    M mlir/test/Conversion/MathToLLVM/math-to-llvm.mlir

  Log Message:
  -----------
  [mlir][math] Add missing trig math-to-llvm conversion patterns (#141069)

asin, acos, atan, and atan2 were being lowered to libm calls instead of
llvm intrinsics. Add the conversion patterns to handle these intrinsics
and update tests to expect this.



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