[PATCH] D78518: # Folder for division by one.

Phoenix Meadowlark via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 20 14:38:47 PDT 2020


phoenix-meadowlark created this revision.
phoenix-meadowlark added a reviewer: rriddle.
Herald added subscribers: llvm-commits, frgossen, grosul1, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, mehdi_amini.
Herald added a project: LLVM.

- Adds a folder for integer division by one with the `divi_signed` and `divi_unsigned` ops.
- Creates tests for scalar and tensor versions of these ops.
- Modifies the test in `parallel-loop-collapsing.mlir` so that it doesn't assume division by one will be in the output.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78518

Files:
  mlir/lib/Dialect/StandardOps/IR/Ops.cpp
  mlir/test/Transforms/canonicalize.mlir
  mlir/test/Transforms/parallel-loop-collapsing.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78518.258843.patch
Type: text/x-patch
Size: 3892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200420/e5cce34b/attachment.bin>


More information about the llvm-commits mailing list