Similar to fast_exp in https://github.com/boulos/syrah
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp | ||
---|---|---|
399–400 | super nit: it's easier to read when range is on a single line | |
415 | I'd remove f32_ prefix from all helpers, strictly speaking they do support any fp type. Also in this particular case they do not save much space, e.g. in f32_mul vs b.create<MulFOp> the latter doesn't require to keep in the head what all these helpers actually do. |
super nit: it's easier to read when range is on a single line