[PATCH] D114425: [clang] Add __builtin_bswap128

David Majnemer via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 2 19:10:33 PST 2022


majnemer added a comment.

OOC, how hard would it be to generalize this builtin a little? It is nice that we have builtins like `__builtin_add_overflow` which do the right thing regardless of their input.

It seems like it would be nice if we started to expose more intrinsics which did the right thing regardless of operand width; another bonus is that it composes well with language features like `_BitInt`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114425



More information about the cfe-commits mailing list