Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions clang/test/Analysis/PR38208.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading