commit | 3f95c88162cf319bce463d0e5e2d99a96c24dff6 | [log] [tgz] |
---|---|---|
author | Andrew Trick <atrick@apple.com> | Wed Apr 27 01:21:25 2011 +0000 |
committer | Andrew Trick <atrick@apple.com> | Wed Apr 27 01:21:25 2011 +0000 |
tree | 1eab2736a719d417b069f6010c2ef07f89bc961b | |
parent | cb5fd743a95898ddefd75b6d104f5e91c0d50b23 [diff] |
Fix for PR9633 [indvars] Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed. Added a type check in ScalarEvolution::computeSCEVAtScope to handle the case in which operands of an AddRecExpr in the current scope are folded. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130271 91177308-0d34-0410-b5e6-96231b3b80d8