[MLIR] Canonicalize/fold select %x, 1, 0 to extui
Two canonicalizations for select %x, 1, 0 If the return type is i1, return simply the condition %x, otherwise extui %x to the return type. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D116517
Loading
Please sign in to comment