mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2026-01-31 01:35:20 +01:00
Fix a typo in the bitcode reader in the handling of atomic stores. Reported by David Meyer on llvmdev.
llvm-svn: 140040
This commit is contained in:
@@ -2653,7 +2653,7 @@ bool BitcodeReader::ParseFunctionBody(Function *F) {
|
||||
return Error("Invalid STOREATOMIC record");
|
||||
|
||||
AtomicOrdering Ordering = GetDecodedOrdering(Record[OpNum+2]);
|
||||
if (Ordering == NotAtomic || Ordering == Release ||
|
||||
if (Ordering == NotAtomic || Ordering == Acquire ||
|
||||
Ordering == AcquireRelease)
|
||||
return Error("Invalid STOREATOMIC record");
|
||||
SynchronizationScope SynchScope = GetDecodedSynchScope(Record[OpNum+3]);
|
||||
|
||||
Reference in New Issue
Block a user