[mlir][index] Add identity folders for add and sub
authorJeff Niu <jeff@modular.com>
Mon, 26 Jun 2023 15:28:43 +0000 (08:28 -0700)
committerJeff Niu <jeff@modular.com>
Mon, 26 Jun 2023 18:49:16 +0000 (11:49 -0700)
commit8aa16d1921f15a80be5890a8b4bf7f5d3ec8fa00
tree65045621a5ef32563a9e1cc8d988d38809e96d7d
parent42092c071a848ea1864314ae0a740ed7c83d521d
[mlir][index] Add identity folders for add and sub

Depends on D153736

Reviewed By: rriddle, jpienaar

Differential Revision: https://reviews.llvm.org/D153780
mlir/lib/Dialect/Index/IR/IndexOps.cpp
mlir/test/Dialect/Index/index-canonicalize.mlir