mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed LLVM AtomicStore arg
This commit is contained in:
parent
a1c7e6e02b
commit
4f2fd58284
1 changed files with 1 additions and 1 deletions
|
@ -3504,7 +3504,7 @@ void BfIRCodeGen::HandleNextCmd()
|
||||||
break;
|
break;
|
||||||
case BfIRIntrinsic_AtomicStore:
|
case BfIRIntrinsic_AtomicStore:
|
||||||
{
|
{
|
||||||
auto memoryKindConst = llvm::dyn_cast<llvm::ConstantInt>(args[1]);
|
auto memoryKindConst = llvm::dyn_cast<llvm::ConstantInt>(args[2]);
|
||||||
if (memoryKindConst == NULL)
|
if (memoryKindConst == NULL)
|
||||||
{
|
{
|
||||||
FatalError("Non-constant success ordering on AtomicLoad");
|
FatalError("Non-constant success ordering on AtomicLoad");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue