Comment #2 on issue 3821 by k...@google.com: llvm/clang-proto-fuzzer:
ASSERT: (isa<SCEVCouldNotCompute>(ExactNotTaken) |
| !isa<SCEVCouldNotCompute>(MaxNotTake
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3821#c2
C repro:
void foo(int *a) {
while (((1+(1+a[0]))+1)){
}
while ((a[0]+a[32])){
a[0]=1;
}
while (((1/(1+a[0]))+1)){
a[0]=(a[0]+1);
}
}
clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj z.cc -O2
lib/Analysis/ScalarEvolution.cpp:6567:
llvm::ScalarEvolution::ExitLimit::ExitLimit(const llvm::SCEV *, const
llvm::SCEV *, bool, ArrayRef<const SmallPtrSetImpl<const
llvm::SCEVPredicate *> *>): Assertion
`(isa<SCEVCouldNotCompute>(ExactNotTaken) |
| !isa<SCEVCouldNotCompute>(MaxNotTaken)) && "Exact is not allowed to be
less precise than Max"' failed.
--
You received this message because:
1. You were specifically CC'd on the issue
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings
Reply to this email to add a comment.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs