[all-commits] [llvm/llvm-project] a98d61: Fixed assertion in SROA if block has ho successors
Stanislav Mekhanoshin via All-commits
all-commits at lists.llvm.org
Thu Jun 11 15:15:38 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a98d618f6e5f6429378ac1474b6df7ce1878061d
https://github.com/llvm/llvm-project/commit/a98d618f6e5f6429378ac1474b6df7ce1878061d
Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
Date: 2020-06-11 (Thu, 11 Jun 2020)
Changed paths:
M llvm/lib/Transforms/Scalar/SROA.cpp
M llvm/test/Transforms/SROA/phi-gep.ll
Log Message:
-----------
Fixed assertion in SROA if block has ho successors
BasicBlock::isLegalToHoistInto() asserts if block does not
have successors. The case is degenarate but assertion still
needs to be avoided.
https://bugs.llvm.org/show_bug.cgi?id=46280
Differential Revision: https://reviews.llvm.org/D81674
More information about the All-commits
mailing list