[PATCH] D81285: [builtins] Change si_int to int in some helper declarations

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 15:05:13 PDT 2020


MaskRay accepted this revision.
MaskRay added a comment.

> This patch changes types of some integer function arguments or return values from si_int to the default int type (typedefed to native_int to make it obvious this is intentional) to make it more compatible with libgcc.

Please drop `native_int` from the description since the code has been adjusted.

I don't use any sizeof(int)==2 platform and can't verify whether the patch is good on MSP430 or AVR. Hope @aykevl con verify the correctness.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81285/new/

https://reviews.llvm.org/D81285





More information about the cfe-commits mailing list