[all-commits] [llvm/llvm-project] 9bcac2: [MLIR][Tensor] Remove assert in PadOp builder
lorenzo chelini via All-commits
all-commits at lists.llvm.org
Wed Oct 19 09:03:06 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9bcac22be559842cf488db469964fce37c2035a3
https://github.com/llvm/llvm-project/commit/9bcac22be559842cf488db469964fce37c2035a3
Author: Lorenzo Chelini <l.chelini at icloud.com>
Date: 2022-10-19 (Wed, 19 Oct 2022)
Changed paths:
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
Log Message:
-----------
[MLIR][Tensor] Remove assert in PadOp builder
The assert is misplaced as the result type is allowed to be null. A few
lines below the result type is inferred if it is passed a nullptr.
Besides, this behavior is described in the documentation of the builder.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D136262
More information about the All-commits
mailing list