aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
diff options
context:
space:
mode:
authorHanhan Wang <hanchung@google.com>2022-11-02 18:09:46 -0700
committerHanhan Wang <hanchung@google.com>2022-11-04 12:14:15 -0700
commit8c33639aa65d0771472abb28718f178d0ffa923d (patch)
tree6d872e57449436365bf9f98e4752440358f35104 /llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
parent6edb49eee2fd05c35642110f35766584428857b7 (diff)
downloadllvm-8c33639aa65d0771472abb28718f178d0ffa923d.zip
llvm-8c33639aa65d0771472abb28718f178d0ffa923d.tar.gz
llvm-8c33639aa65d0771472abb28718f178d0ffa923d.tar.bz2
[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
Diffstat (limited to 'llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp')
0 files changed, 0 insertions, 0 deletions