[clang] e04c938 - [analyzer][NFC] Add xrefs to a test case that has poor git blame (#145501)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 24 05:50:18 PDT 2025


Author: Balázs Benics
Date: 2025-06-24T14:50:14+02:00
New Revision: e04c938cc08a90ae60440ce22d072ebc69d67ee8

URL: https://github.com/llvm/llvm-project/commit/e04c938cc08a90ae60440ce22d072ebc69d67ee8
DIFF: https://github.com/llvm/llvm-project/commit/e04c938cc08a90ae60440ce22d072ebc69d67ee8.diff

LOG: [analyzer][NFC] Add xrefs to a test case that has poor git blame (#145501)

Added: 
    

Modified: 
    clang/test/Analysis/PR38208.c

Removed: 
    


################################################################################
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;


        


More information about the cfe-commits mailing list