[MLIR][SCF] Parenthesize multiple return types in scf.execute_region asm op
authorMorten Borup Petersen <morten_bp@live.dk>
Thu, 19 Aug 2021 19:34:43 +0000 (20:34 +0100)
committerMorten Borup Petersen <morten_bp@live.dk>
Thu, 19 Aug 2021 20:31:51 +0000 (21:31 +0100)
commit6c1436a9b03e6f87eecf13cccf89b25497b53543
tree6f79771617ede32d80b042bebc60f78c548a9835
parent73323c6eaa221e9a4a3f73f86c3c8f14e9a322bf
[MLIR][SCF] Parenthesize multiple return types in scf.execute_region asm op

Previously, ExecuteRegionOps with multiple return values would fail a round-trip test due to missing parenthesis around the types.

Differential Revision: https://reviews.llvm.org/D108402
mlir/lib/Dialect/SCF/SCF.cpp
mlir/test/Dialect/SCF/ops.mlir