[all-commits] [llvm/llvm-project] 5657f9: [mlir] Canonicalize IfOp with trivial `then` and `...
Ivan Butygin via All-commits
all-commits at lists.llvm.org
Sat Mar 20 02:20:00 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5657f93e788f093c70fb448dd6f9398b149df278
https://github.com/llvm/llvm-project/commit/5657f93e788f093c70fb448dd6f9398b149df278
Author: Butygin <ivan.butygin at intel.com>
Date: 2021-03-20 (Sat, 20 Mar 2021)
Changed paths:
M mlir/lib/Dialect/SCF/SCF.cpp
M mlir/test/Dialect/SCF/canonicalize.mlir
Log Message:
-----------
[mlir] Canonicalize IfOp with trivial `then` and `else` bodies to list of SelectOp's
* Do we need a threshold on maximum number of Yeild arguments processed (maximum number of SelectOp's to be generated)?
* Had to modify some old IfOp tests to not get optimized by this pattern
Differential Revision: https://reviews.llvm.org/D98592
More information about the All-commits
mailing list