mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 23:31:12 +00:00
support intrinsics/builtins for more integer types
This commit is contained in:
parent
6cc8f8624c
commit
78c49d3095
7 changed files with 308 additions and 115 deletions
|
@ -400,21 +400,21 @@ where
|
|||
}
|
||||
LowLevel::NumAcos => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::NUM_ACOS.to_string(),
|
||||
format!("{}_i64", bitcode::NUM_ACOS),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
),
|
||||
LowLevel::NumAsin => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::NUM_ASIN.to_string(),
|
||||
format!("{}_i64", bitcode::NUM_ASIN),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
),
|
||||
LowLevel::NumAtan => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::NUM_ATAN.to_string(),
|
||||
format!("{}_i64", bitcode::NUM_ATAN),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
|
@ -437,7 +437,7 @@ where
|
|||
}
|
||||
LowLevel::NumPowInt => self.build_fn_call(
|
||||
sym,
|
||||
bitcode::NUM_POW_INT_I64.to_string(),
|
||||
format!("{}_i64", bitcode::NUM_POW_INT),
|
||||
args,
|
||||
arg_layouts,
|
||||
ret_layout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue