[llvm] [Transforms] Create more optimizing functions to fold inverse trig pairs (PR #77799)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 11 23:37:33 PST 2024


================
@@ -0,0 +1,59 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt < %s -passes=instcombine -S | FileCheck %s
+
+define float @mytan(float %x) {
----------------
arsenm wrote:

Can you add baseline tests as a pre-commit?

https://github.com/llvm/llvm-project/pull/77799


More information about the llvm-commits mailing list