commit | 5ca9ec70fd1d8e3864af8dc96fc8fe7d66ea97a8 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <alexei.starovoitov@gmail.com> | Mon Mar 30 22:40:40 2015 +0000 |
committer | Alexei Starovoitov <alexei.starovoitov@gmail.com> | Mon Mar 30 22:40:40 2015 +0000 |
tree | 3cd350a526206468163bdcc440c181b161baf723 | |
parent | adb58c18f58c3e4e32bfcdcfd3599fdfcc30be55 [diff] |
[bpf] add support for bswap instructions BPF has cpu_to_be and cpu_to_le instructions. For now assume little endian and generate cpu_to_be for ISD::BSWAP. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233620 91177308-0d34-0410-b5e6-96231b3b80d8