mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-09 02:49:11 +00:00
Bail out early in case we see an invalid runtime context in buildAliasGroups
llvm-svn: 306088
This commit is contained in:
parent
57a1d36d98
commit
78a7a6cddf
@ -3326,6 +3326,9 @@ bool Scop::buildAliasGroups(AliasAnalysis &AA) {
|
||||
splitAliasGroupsByDomain(AliasGroups);
|
||||
|
||||
for (AliasGroupTy &AG : AliasGroups) {
|
||||
if (!hasFeasibleRuntimeContext())
|
||||
return false;
|
||||
|
||||
{
|
||||
IslMaxOperationsGuard MaxOpGuard(getIslCtx(), OptComputeOut);
|
||||
bool Valid = buildAliasGroup(AG, HasWriteAccess);
|
||||
|
Loading…
x
Reference in New Issue
Block a user