diff options
author | Shashij gupta <shashij.gupta@polymagelabs.com> | 2021-06-12 19:28:40 +0530 |
---|---|---|
committer | Uday Bondhugula <uday@polymagelabs.com> | 2021-06-12 19:29:10 +0530 |
commit | 466e5aba6495644eb8ba84c3e7f07bf802ff84f0 (patch) | |
tree | c3c52e5d8b5cc761e263f09da356e13884a23c31 /llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp | |
parent | b4583a5ad73b633c3eac5ffbad93f2405e1418ab (diff) | |
download | llvm-466e5aba6495644eb8ba84c3e7f07bf802ff84f0.zip llvm-466e5aba6495644eb8ba84c3e7f07bf802ff84f0.tar.gz llvm-466e5aba6495644eb8ba84c3e7f07bf802ff84f0.tar.bz2 |
[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: Shashij Gupta shashij.gupta@polymagelabs.com
Reviewed By: bondhugula, pr4tgpt
Differential Revision: https://reviews.llvm.org/D104015
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp')
0 files changed, 0 insertions, 0 deletions