Displaying 2 results from an estimated 2 matches for "storeatomic".
2011 Sep 17
2
[LLVMdev] Invalid STOREATOMIC Record
The second equality here: (in lib/Bitcode/Reader/BitcodeReader.cpp)
AtomicOrdering Ordering = GetDecodedOrdering(Record[OpNum+2]);
if (Ordering == NotAtomic || Ordering == Release ||
Ordering == AcquireRelease)
return Error("Invalid STOREATOMIC record");
Is failing on this assembly, which was generated by Clang:
store atomic i32 0, i32* @mutex release, align 4
Is this a typo or is there some reason why this assembly is invalid?
Thanks,
- pdox
2011 Sep 17
0
[LLVMdev] Invalid STOREATOMIC Record
...rote:
> The second equality here: (in lib/Bitcode/Reader/BitcodeReader.cpp)
>
> AtomicOrdering Ordering = GetDecodedOrdering(Record[OpNum+2]);
> if (Ordering == NotAtomic || Ordering == Release ||
> Ordering == AcquireRelease)
> return Error("Invalid STOREATOMIC record");
>
> Is failing on this assembly, which was generated by Clang:
>
> store atomic i32 0, i32* @mutex release, align 4
>
> Is this a typo or is there some reason why this assembly is invalid?
Typo; that should read "Ordering == NotAtomic || Ordering == Acquire
|...