[all-commits] [llvm/llvm-project] 9842bb: [mlir] Extend SimplifyTrivialLoops
Amy Zhuang via All-commits
all-commits at lists.llvm.org
Thu Mar 17 09:24:35 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9842bb0b16db6fc834ba45e6933c0a5c5aab635b
https://github.com/llvm/llvm-project/commit/9842bb0b16db6fc834ba45e6933c0a5c5aab635b
Author: Amy Zhuang <amy.zhuang at intel.com>
Date: 2022-03-17 (Thu, 17 Mar 2022)
Changed paths:
M mlir/lib/Dialect/SCF/SCF.cpp
M mlir/test/Dialect/SCF/canonicalize.mlir
Log Message:
-----------
[mlir] Extend SimplifyTrivialLoops
Fold away empty loops that iterate at least once and only return
values defined outside of the loop.
Reviewed By: bondhugula, dcaballe
Differential Revision: https://reviews.llvm.org/D121148
More information about the All-commits
mailing list