Commit 466e5aba authored by Shashij gupta's avatar Shashij gupta Committed by Uday Bondhugula
Browse files

[MLIR] Simplify affine.if ops with trivial conditions



The commit simplifies affine.if ops :
The affine if operation gets removed if the condition is universally true or false and then/else block is merged with the parent block.

Signed-off-by: default avatarShashij Gupta <shashij.gupta@polymagelabs.com>

Reviewed By: bondhugula, pr4tgpt

Differential Revision: https://reviews.llvm.org/D104015
parent b4583a5a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment