[PATCH] D156814: [NFC] Refactor byteswapped writes
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 1 10:50:04 PDT 2023
efriedma added inline comments.
================
Comment at: llvm/lib/MC/DXContainerPSVInfo.cpp:19
+std::enable_if_t<std::is_integral<T>::value, void>
+swappingWrite(raw_ostream &OS, T Val) {
+ if (sys::IsBigEndianHost)
----------------
Please use the existing helpers in EndianStream.h.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156814/new/
https://reviews.llvm.org/D156814
More information about the llvm-commits
mailing list