<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/57613>57613</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [mlir][math] Polynomial Approx tests are broken
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            mlir
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            jacquesguan
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          Mogball
      </td>
    </tr>
</table>

<pre>
    Many of `math` dialect operations now have folders, but that means the tests in [math-polynomial-approx.mlir](https://github.com/llvm/llvm-project/blob/main/mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir) are broken because they are not testing the numerical approximation of the ops but instead the folders.

The test needs to be rewritten to pass in the constants via function arguments so that the ops don't fold.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVUkuPmzAQ_jVwsYLAhEcOHNKucluph_6BAQ_gXWNTP7LNv-_YYbunHiohhrHNfC-PRjyGV9APZmaWteUGfqXChASFk2dmRwteGu2YNh9shTuy2SiB1mX8OxuDZ34FzzYEOuJXZB6dd0xqljXf4rTTbtRDm40GnmDfrfldbErarHnJeL96v7usvmb8Rs8i_RrGYjIbNUrdP8uJ_nojNtSOyoxUNpA6ljiI3yLk0Z2mPZxs0BptOvZvfH5hYJGN1ryjZiNOEBxGBY-0ro1PUqRekiwdNrRyAsWeQ-SWbIm2xW2zu2SG1M4jiLR2-FRk5UtWXp_vn4dDTCMKMswQMrP4YaX3RIP6HVyyL06YyHcPmvy8S2Bz0FPCBLsQm7jszNP-TwrCkC2dT9BFjkPVtrxpG17WuRhqcakvkHvpFQ4xnSOGZ070xX78tYpdk8ojzS-j8mDV8N-pSecC0oW5NV1b1fk6YA-VmNpzKZq-q2pR151o4CLOcz9X07nNFYyoXGSZcf7MixPDXA685Ly8lF3VnMuyLtpWjM2Mc19dRN_WXXYukW6HKiKFwtglt0NiM4bF0aaSJOhrk8yWC2VxIL3B9IuYLgH0AQjBr8YOr2YZQak8KRmSjD8y2xgu">