mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Made abs an intrinsic
This commit is contained in:
parent
567662b3c3
commit
dce4a3ecf2
7 changed files with 182 additions and 112 deletions
|
@ -1919,6 +1919,9 @@ void BeIRCodeGen::HandleNextCmd()
|
|||
|
||||
switch (intrin->mKind)
|
||||
{
|
||||
case BfIRIntrinsic_Abs:
|
||||
intrin->mReturnType = paramTypes[0];
|
||||
break;
|
||||
case BfIRIntrinsic_AtomicAdd:
|
||||
case BfIRIntrinsic_AtomicAnd:
|
||||
case BfIRIntrinsic_AtomicCmpXChg:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue