Floorf are pushed directly to libm. This is problematic for
situations where libm is not available. This patch will break down
a floorf function to truncate followed by an increment for negative
values, if necessary.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp | ||
|---|---|---|
| 192 | Missing a newline at the end of the file. | |
| mlir/test/Dialect/Math/expand-math.mlir | ||
| 140 | For CHECK statements we typically do the following CHECK-DAG for any constant values (e.g. arith.constant) In theory you can also do CHECK-DAG for everything but the return checker. | |
| 150 | Missing a new line at the end of the file. | |
| mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir | ||
| 626 | Could you include boundary checks for both positive and negative values? E.g. -2.0 and 2,0. | |
Missing a newline at the end of the file.