aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/builtins.c
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-10-06 14:42:22 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-10-06 14:42:22 +0000
commitd190057934331390ff67ebf51d66186dd5e392f0 (patch)
tree4f9d5af8bd346a170fd0c279a1fb08e6bf06091b /test/CodeGen/builtins.c
parent0b06e33d480552c920186a8958830d7679c1cb87 (diff)
Expose __builtin_bswap16.
GCC has always supported this on PowerPC and 4.8 supports it on all platforms, so it's a good idea to expose it in clang too. LLVM supports this on all targets. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/builtins.c')
-rw-r--r--test/CodeGen/builtins.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/builtins.c b/test/CodeGen/builtins.c
index 65b9ad111f..9ba12bbf2f 100644
--- a/test/CodeGen/builtins.c
+++ b/test/CodeGen/builtins.c
@@ -113,6 +113,7 @@ int main() {
// Whatever
+ P(bswap16, (N));
P(bswap32, (N));
P(bswap64, (N));
// FIXME