Skip to content
Commit 1ceaffd9 authored by ahmedsabie's avatar ahmedsabie Committed by Mehdi Amini
Browse files

[MLIR] Add a foldTrait() mechanism to allow traits to define folding and test...

[MLIR] Add a foldTrait() mechanism to allow traits to define folding and test it with an Involution trait

This change allows folds to be done on a newly introduced involution trait rather than having to manually rewrite this optimization for every instance of an involution

Reviewed By: rriddle, andyly, stephenneuendorffer

Differential Revision: https://reviews.llvm.org/D88809
parent 26cfb6e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment