[PATCH] D142274: [ADT] Add llvm::byteswap to bit.h

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 21 03:16:32 PST 2023


RKSimon added inline comments.


================
Comment at: llvm/unittests/ADT/BitTest.cpp:126
+            llvm::byteswap(int64_t(0x8877665544332211LL)));
+}
+
----------------
Why not just merge these into a single TEST(BitTest, ByteSwap) ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D142274



More information about the llvm-commits mailing list