mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 01:55:08 +00:00
[FIX] Fix the potential issue of containsOnlyMatMulDep.
llvm-svn: 294835
This commit is contained in:
parent
5ef7e210c0
commit
de69293b01
@ -783,6 +783,8 @@ static bool containsOnlyMatMulDep(__isl_keep isl_map *Schedule,
|
||||
}
|
||||
isl_val_free(Val);
|
||||
}
|
||||
if (DeltasDimNum == 0 || Pos < 0)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user