swift-atomics icon indicating copy to clipboard operation
swift-atomics copied to clipboard

Revive lit tests

Open lorentey opened this issue 5 years ago • 0 comments

This repository contains a couple of lit tests that look at generated code to catch potential codegen issues and to verify that constant folding gets rid of switch statements over memory ordering enumerations. These do not cover all supported atomic types and they aren't currently configured for execution.

  • Set up a lit configuration that allows us to easily execute these tests. This does not need to be integrated into the package manager.
  • Update and extend the existing tests to look at double-wide atomics, atomic booleans and other features that aren't currently covered.

lorentey avatar Oct 12 '20 19:10 lorentey