Support constant folding for math.floor op as well as math.ceil.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/Dialect/Math/canonicalize.mlir | ||
---|---|---|
374 | This doesn't seem like a useful test |
mlir/test/Dialect/Math/canonicalize.mlir | ||
---|---|---|
374 | I thought it might be useful to check not to round if unnecessary as well as @ceil_fold2 does. We don't need both? |
mlir/test/Dialect/Math/canonicalize.mlir | ||
---|---|---|
374 | Fair enough |
Comment Actions
nit: can you retitle the revision to "Add folder" instead of "canonicalizer"? This patch doesn't add a canonicalizer
This doesn't seem like a useful test