Skip to content
Commit 759ba080 authored by Andrew Trick's avatar Andrew Trick
Browse files

Fix for PR9633 [indvars] Assertion `isa<X>(Val) && "cast<Ty>() argument of...

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.

llvm-svn: 130271
parent 4adb38cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment