[Mlir-commits] [mlir] [NFC][MLIR] Add {} for `else` when `if` body has {} (PR #139422)

Rahul Joshi llvmlistbot at llvm.org
Mon May 12 08:33:37 PDT 2025


jurahul wrote:

Right, I changed them as they showed up in my grep for this. Note that SCF ops.mlir test checks for these braces as well, and some existing checks in that same file check for opening `{` after else. Also, all the sub-tests I am modifying check for the opening `{` of the `scf.if` so checking the `{` for else is consistent with that as well. So I propose we accept the test changes here.

https://github.com/llvm/llvm-project/pull/139422


More information about the Mlir-commits mailing list