mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +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;
|
||||
case BfIRIntrinsic_AtomicStore:
|
||||
{
|
||||
auto memoryKindConst = llvm::dyn_cast<llvm::ConstantInt>(args[1]);
|
||||
auto memoryKindConst = llvm::dyn_cast<llvm::ConstantInt>(args[2]);
|
||||
if (memoryKindConst == NULL)
|
||||
{
|
||||
FatalError("Non-constant success ordering on AtomicLoad");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue