[all-commits] [llvm/llvm-project] 8c3363: [mlir] Move the assertion to a valid place.
Han-Chung Wang via All-commits
all-commits at lists.llvm.org
Fri Nov 4 12:14:44 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8c33639aa65d0771472abb28718f178d0ffa923d
https://github.com/llvm/llvm-project/commit/8c33639aa65d0771472abb28718f178d0ffa923d
Author: Hanhan Wang <hanchung at google.com>
Date: 2022-11-04 (Fri, 04 Nov 2022)
Changed paths:
M mlir/lib/Analysis/SliceAnalysis.cpp
Log Message:
-----------
[mlir] Move the assertion to a valid place.
The defining Op may live in an unlinked block so its parent Op may be
null. Only assert it when the parent Op is not null.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D137306
More information about the All-commits
mailing list