llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang-static-analyzer-1 Author: Balázs Benics (balazs-benics-sonarsource) <details> <summary>Changes</summary> --- Full diff: https://github.com/llvm/llvm-project/pull/145501.diff 1 Files Affected: - (modified) clang/test/Analysis/PR38208.c (+5) ``````````diff diff --git a/clang/test/Analysis/PR38208.c b/clang/test/Analysis/PR38208.c index fb0a5a15eac6b..750cbc50cc749 100644 --- a/clang/test/Analysis/PR38208.c +++ b/clang/test/Analysis/PR38208.c @@ -2,6 +2,11 @@ // expected-no-diagnostics +// This test case used to demonstrate a huge slowdown regression. +// Reported in https://bugs.llvm.org/show_bug.cgi?id=38208 +// Caused by 2bbccca9f75b6bce08d77cf19abfb206d0c3bc2e aka. "aggressive-binary-operation-simplification" +// Fixed by dcde8acc32f1355f37d3bc2814c528fdc2ca5f94 + int foo(int a, int b) { a += b; b -= a; a += b; b -= a; `````````` </details> https://github.com/llvm/llvm-project/pull/145501 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits