[mlir][NFC] Fix polynomial Approx test.
authorjacquesguan <Jianjian.Guan@streamcomputing.com>
Fri, 9 Sep 2022 08:39:08 +0000 (16:39 +0800)
committerjacquesguan <Jianjian.Guan@streamcomputing.com>
Tue, 13 Sep 2022 07:18:38 +0000 (15:18 +0800)
commitd67603a654880879cb42340e52195e52ad694b35
tree61d69d8909c146f0015bf199439bbc856e82069f
parent7cddf9cad18a65217c8ba0661fefcf78d841a16b
[mlir][NFC] Fix polynomial Approx test.

This patch refators the polynomial Approx test. Now we pass the constant as function argument to avoid constant folder.

Link: https://github.com/llvm/llvm-project/issues/57613
Reviewed By: Mogball

Differential Revision: https://reviews.llvm.org/D133562
mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir