| 1: | func @add = <{T: Type, MAY_WRAP: Bool}> (lhs: T, rhs: T) -> T; |
Integer addition.
T: type of arguments and output - must be integral or a vector of integral
MAY_WRAP: If true, addition is alowed to wrap
lhs: left-hand-side value of operation
rhs: right-hand-side value of operation
Result value of the addition
If MAY_WRAP is false, wrapping is undefined behavior. However, setting MAY_WRAP to false may allow the compiler to optimize better.
(TODO)