aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRosie Sumpter <rosie.sumpter@arm.com>2021-08-09 12:51:17 +0100
committerRosie Sumpter <rosie.sumpter@arm.com>2021-08-13 10:07:49 +0100
commit46abd1fbe88fe1f4b0e6cb2b87f3e7d148bbadf7 (patch)
tree40316f7a00dc1013878c4fb64944b565a59ce76c /clang/lib/Frontend/CompilerInvocation.cpp
parentc064ba34c7d867c1180279fe3dca8817d835cb28 (diff)
downloadllvm-46abd1fbe88fe1f4b0e6cb2b87f3e7d148bbadf7.zip
llvm-46abd1fbe88fe1f4b0e6cb2b87f3e7d148bbadf7.tar.gz
llvm-46abd1fbe88fe1f4b0e6cb2b87f3e7d148bbadf7.tar.bz2
[LoopFlatten] Fix assertion failure in checkOverflow
There is an assertion failure in computeOverflowForUnsignedMul (used in checkOverflow) due to the inner and outer trip counts having different types. This occurs when the IV has been widened, but the loop components are not successfully rediscovered. This is fixed by some refactoring of the code in findLoopComponents which identifies the trip count of the loop.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions