Skip to content

Commit e04c938

Browse files
[analyzer][NFC] Add xrefs to a test case that has poor git blame (#145501)
1 parent 6fe8543 commit e04c938

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

clang/test/Analysis/PR38208.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
// expected-no-diagnostics
44

5+
// This test case used to demonstrate a huge slowdown regression.
6+
// Reported in https://bugs.llvm.org/show_bug.cgi?id=38208
7+
// Caused by 2bbccca9f75b6bce08d77cf19abfb206d0c3bc2e aka. "aggressive-binary-operation-simplification"
8+
// Fixed by dcde8acc32f1355f37d3bc2814c528fdc2ca5f94
9+
510
int foo(int a, int b) {
611
a += b; b -= a;
712
a += b; b -= a;

0 commit comments

Comments
 (0)