[MLIR][Arith] Fold repeated xor and trunc
This patch adds two folds. One for a repeated xor (e.g. xor(xor(x, a), a)) and one for a repeated trunc (e.g. trunc(trunc(x))). Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D116383
Loading
Please sign in to comment