c4-project / c4f

The C4 Concurrent C Fuzzer
MIT License
13 stars 1 forks source link

Add exchanges to idempotent RMW setup #251

Closed MattWindsor91 closed 3 years ago

MattWindsor91 commented 3 years ago

After reading the LLVM source again, I noticed that LLVM treats atomic exchanges as a read-modify-write. While it doesn't actually support considering exchanges in its idempotence checks, we probably should.