diff options
author | Andrew Trick <atrick@apple.com> | 2012-05-30 03:35:20 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-05-30 03:35:20 +0000 |
commit | a3f904319687f01bcbf9e780ce5abdb4f8c1d5c0 (patch) | |
tree | 6f6986015d2eb5cd21abe10d4f2e559ecab46910 /clang/unittests/Tooling/RecursiveASTVisitorTest.cpp | |
parent | 946f76bf33f9601a4609e9624bf6633c690bb476 (diff) | |
download | bcm5719-llvm-a3f904319687f01bcbf9e780ce5abdb4f8c1d5c0.tar.gz bcm5719-llvm-a3f904319687f01bcbf9e780ce5abdb4f8c1d5c0.zip |
SCEV: Handle a corner case reducing AddRecExpr * AddRecExpr
If integer overflow causes one of the terms to reach zero, that can
force the entire expression to zero.
Fixes PR12929: cast<Ty>() argument of incompatible type
llvm-svn: 157673
Diffstat (limited to 'clang/unittests/Tooling/RecursiveASTVisitorTest.cpp')
0 files changed, 0 insertions, 0 deletions