[MLIR] Create fold for cmp of ext
This patch creates folds for cmpi( ext(%x : i1, iN) != 0) -> %x In essence this matches patterns matching an extension of a boolean, that != 0, which is equivalent to the original condition. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D116504
Loading
Please sign in to comment