[PATCH] D81674: Fixed assertion in SROA if block has ho successors
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 11 14:53:16 PDT 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/SROA.cpp:3484
return !I || isa<GetElementPtrInst>(I) || isa<PHINode>(I) ||
+ succ_begin(I->getParent()) == succ_end(I->getParent()) ||
!I->getParent()->isLegalToHoistInto();
----------------
succ_empty?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D81674/new/
https://reviews.llvm.org/D81674
More information about the llvm-commits
mailing list