This patch adds constant folder for Log10Op which only support single and double precision floating-point.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/Dialect/Math/canonicalize.mlir | ||
---|---|---|
188 | I'm not certain what the best practice is with regards to floating point values in lit tests. I know people have encountered precision issues with lit tests before. What have you seen elsewhere in the codebase? |
mlir/test/Dialect/Math/canonicalize.mlir | ||
---|---|---|
188 | I use the same way with other mlir lit test cases, just like mlir/test/Dialect/Math/polynomial-approximation.mlir. |
I'm not certain what the best practice is with regards to floating point values in lit tests. I know people have encountered precision issues with lit tests before. What have you seen elsewhere in the codebase?