[PATCH] D137834: [Support] Reduce Dependence on Host.h

Sam Elliott via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 11 14:07:42 PST 2022


lenary added a comment.

In D137834#3922044 <https://reviews.llvm.org/D137834#3922044>, @MaskRay wrote:

> `llvm/Support/Endian.h` `read<T, little, aligned>(...)` is likely better API for many code pieces in this file. Or use `read32le` if the alignment optimization doesn't really matter.

I'll look into this as a follow up. I was really only doing it to make moving `Host.h` out of `llvm/Support` easier.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137834



More information about the llvm-commits mailing list