https://github.com/balazs-benics-sonarsource created https://github.com/llvm/llvm-project/pull/145501
None From b67c2c5bfadc80121899690723ba938b398c4e65 Mon Sep 17 00:00:00 2001 From: Balazs Benics <balazs.ben...@sonarsource.com> Date: Tue, 24 Jun 2025 13:14:31 +0200 Subject: [PATCH] [analyzer][NFC] Add xrefs to a test case that has poor git blame --- clang/test/Analysis/PR38208.c | 5 +++++ 1 file changed, 5 insertions(+) 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; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits