aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorMichael Liao <michael.hliao@gmail.com>2021-10-14 16:10:15 -0400
committerMichael Liao <michael.hliao@gmail.com>2021-10-15 13:21:53 -0400
commitbacddf47a8381f52baebaaa41a2c482c156b6f01 (patch)
tree5a2a23bcc97dbfb35ee2c787ab05321e7ef773fc /llvm/lib/Object/WasmObjectFile.cpp
parente0f3a3b228cee19be54156b9a213fb6c0b0855f0 (diff)
downloadllvm-bacddf47a8381f52baebaaa41a2c482c156b6f01.zip
llvm-bacddf47a8381f52baebaaa41a2c482c156b6f01.tar.gz
llvm-bacddf47a8381f52baebaaa41a2c482c156b6f01.tar.bz2
[amdgpu] Fix a crash case when preserving MDT in SILowerControlFlow
- When a redundant MBB is being erased from MDT, check whether its single successor is dominiated by it. If yes, update that successor's idom before erasing MBB; otherwise, it implies MBB is a leaf node and could be erased directly. Reviewed By: foad Differential Revision: https://reviews.llvm.org/D111831
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions