Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[StableHLO][CHLO] Port CHLO decomposition patterns
These are ported from the mlir-hlo project. For more context, see the initial import: iree-org#12957. The biggest difference it the removal of most FileCheck CHECK lines in tests. MHLO hardcoded thousands lines of exact decomposition sequences that fell apart after due to different canonicalizations and folds. Without a script to regenerate these CHECKs, these tests were not maintanable and I decided to drop them. Now we only check that the dialect conversion succeeded. Other notable differences to the MHLO implementation: - Ported some utility functions and tablegen defs. - New `chlo.tan` lowering, since StableHLO does not provide a tan op. Issue: iree-org#13803
- Loading branch information