commit | 9260ee0d8842cbb642c762b38ac83ec6adcc2be0 | [log] [tgz] |
---|---|---|
author | Teresa Johnson <tejohnson@google.com> | Wed Sep 30 13:20:37 2015 +0000 |
committer | Teresa Johnson <tejohnson@google.com> | Wed Sep 30 13:20:37 2015 +0000 |
tree | aac28a725c382c5408e27634ebecde10352bcd88 | |
parent | ae7fa1c52b0e5bb0d53da9759c1bc7a97893a65d [diff] |
Add support for sub-byte aligned writes to lib/Support/Endian.h Summary: As per Duncan's review for D12536, I extracted the sub-byte bit aligned reading and writing code into lib/Support, and generalized it. Added calls from BackpatchWord. Also added unittests. Reviewers: dexonsmith Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13189 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248897 91177308-0d34-0410-b5e6-96231b3b80d8