diff options
author | Ed Maste <emaste@freebsd.org> | 2013-09-19 15:12:36 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2013-09-19 15:12:36 +0000 |
commit | 7c0f2ce467894326f0724595db3673cf6b358f21 (patch) | |
tree | 3d1f2ae3120298b623d75b160546066d02cac129 /llvm/lib/Transforms | |
parent | f8bbdfaf957d59c32841884557e68575c779c09d (diff) | |
download | bcm5719-llvm-7c0f2ce467894326f0724595db3673cf6b358f21.tar.gz bcm5719-llvm-7c0f2ce467894326f0724595db3673cf6b358f21.zip |
Assert that only reg- or word-sized values are byte swapped
Targets and hosts today are little-endian (arm, x86), so this change
should be a no-op as they will not encounter the byte swapping cases.
Byte swapping will happen when cross debugging of big endian-targets
(e.g. MIPS, PPC) on a little-endian host (x86). Register- or word-
sized data copies need to be swapped, but calls to ExtractBytes or
CopyByteOrderedData that would invoke the swapping case are presumably
in error.
llvm-svn: 191005
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions