[PATCH] D158819: [builtins] Fix signed shift overflows in ashlti3.c, ashrti3.c, ashldi3.c and ashrdi3.c

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 11:20:27 PDT 2023


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.

Tested GCC `__ashldi3` does silently discard high bits.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158819



More information about the llvm-commits mailing list