Add sub_with_borrow to builtin_wrapper.h to be used in UInt.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libc/src/__support/builtin_wrappers.h | ||
---|---|---|
127 | Why not use number_pair for the return value? |
libc/src/__support/builtin_wrappers.h | ||
---|---|---|
127 | Since these are kind of built-in wrappers, I want to kind of preserve how the builtins are defined. Also the number_pair for subtraction is actually a bit odd, since then the carry/borrow/high part is actually of negative sign, while the result/low part is of positive sign. |
Why not use number_pair for the return value?