diff options
author | Jan Voung <jvoung@chromium.org> | 2013-05-09 10:52:35 -0700 |
---|---|---|
committer | Jan Voung <jvoung@chromium.org> | 2013-05-09 10:52:35 -0700 |
commit | 4fbe1a0735e16d6fc46210006c99641f1cbad3ed (patch) | |
tree | 786118562287d16a9017fddefdc20422030421cf /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 0e6d484c2225297688dc72b62cc0c957ea37c718 (diff) |
Add a llvm lit test for NaCl ARM/X86 support for bswap i16, i32, i64.
Slowly trying to promote "dev" intrinsics that are being
tested to be accepted. Luckily, bswap is supported
without compiler_rt for ARM and x86 at least.
Test at default level and -O0. Also tested by
gcc/testsuite/gcc.dg/builtin-bswap-[1,2,3,4,5].c,
and a couple of other gcc tests.
We may want to blacklist odd argument sizes
like i8, and i1, which the x86 backend won't handle.
The i16 case is also interesting, however, it's easy
to do if you have an i32 bswap.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=3378
R=eliben@chromium.org
Review URL: https://codereview.chromium.org/14971004
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions