[all-commits] [llvm/llvm-project] ae7bda: [mlir][Linalg] Remove initial value for conditions.
hanhanW via All-commits
all-commits at lists.llvm.org
Wed Mar 18 14:43:34 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ae7bda5dac76cd576f39c697c47101dca1a64d24
https://github.com/llvm/llvm-project/commit/ae7bda5dac76cd576f39c697c47101dca1a64d24
Author: Hanhan Wang <hanchung at google.com>
Date: 2020-03-18 (Wed, 18 Mar 2020)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/LinalgToLoops.cpp
Log Message:
-----------
[mlir][Linalg] Remove initial value for conditions.
Summary:
Although bool and int1 are the same sometimes, using bool constant matches the
semantic better. In any cases, we don't have to care the type of conditions if
we remove the intial value. The type is determined automatically by the returned
type of logical operations.
Differential Revision: https://reviews.llvm.org/D76338
More information about the All-commits
mailing list