llvm-test-suite icon indicating copy to clipboard operation
llvm-test-suite copied to clipboard

[SingleSource/Atomic] Add preliminary tests for atomic builtins.

Open Logikable opened this issue 1 year ago • 1 comments

There exist atomic IR unit tests and libatomic unit tests, but neither can test the atomicity and interoperability of atomic builtins and compiler-rt's atomic library. These tests aim to approximate behaviour encountered in user code.

These tests have caught issues in Clang. See llvm/llvm-project#74349 and llvm/llvm-project#73176 for LLVM changes inspired by these tests.

Note to reviewers: this is a recreation of the accidentally closed https://github.com/llvm/llvm-test-suite/pull/78.

Logikable avatar Feb 13 '24 18:02 Logikable

Gentle bump.

Logikable avatar Mar 13 '24 22:03 Logikable