[mlir][math] Support vector type by erf and round libm lowering
authorlewuathe <lewuathe@me.com>
Tue, 21 Jun 2022 23:58:20 +0000 (08:58 +0900)
committerlewuathe <lewuathe@me.com>
Wed, 22 Jun 2022 00:42:41 +0000 (09:42 +0900)
commitce07b95610f7f8e70738790790a95e61a415e128
tree4cbf238d6a11830b96258040e5ca105de3565b55
parent0baf13e282abe226069d9e18ca60dc63dfcbdb28
[mlir][math] Support vector type by erf and round libm lowering

erf and round op are able to lowered to libm supporting vector type as other math operations.

Reviewed By: ftynse

Differential Revision: https://reviews.llvm.org/D127934
mlir/lib/Conversion/MathToLibm/MathToLibm.cpp
mlir/test/Conversion/MathToLibm/convert-to-libm.mlir