mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
tsan: fix lint warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168590 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a5cf16fc51
commit
9a33f9f980
@ -391,7 +391,7 @@ static ConstantInt *createOrdering(IRBuilder<> *IRB, AtomicOrdering ord) {
|
||||
case NotAtomic: assert(false);
|
||||
case Unordered: // Fall-through.
|
||||
case Monotonic: v = 0; break;
|
||||
// case Consume: v = 1; break; // Not specified yet.
|
||||
// case Consume: v = 1; break; // Not specified yet.
|
||||
case Acquire: v = 2; break;
|
||||
case Release: v = 3; break;
|
||||
case AcquireRelease: v = 4; break;
|
||||
@ -406,7 +406,7 @@ static ConstantInt *createFailOrdering(IRBuilder<> *IRB, AtomicOrdering ord) {
|
||||
case NotAtomic: assert(false);
|
||||
case Unordered: // Fall-through.
|
||||
case Monotonic: v = 0; break;
|
||||
// case Consume: v = 1; break; // Not specified yet.
|
||||
// case Consume: v = 1; break; // Not specified yet.
|
||||
case Acquire: v = 2; break;
|
||||
case Release: v = 0; break;
|
||||
case AcquireRelease: v = 2; break;
|
||||
|
Loading…
Reference in New Issue
Block a user