summaryrefslogtreecommitdiff
path: root/test/Headers
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2014-11-14 12:10:51 +0000
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>2014-11-14 12:10:51 +0000
commitd298a5721c7161553d7a6c14650cc466376aa5be (patch)
tree9340570d0c41d689a6bed0a1abefa93f5b5f1687 /test/Headers
parent9b5b18836026ef26c3afc210a3e71b12fa90005f (diff)
downloadclang-d298a5721c7161553d7a6c14650cc466376aa5be.tar.gz
[PowerPC] Add VSX builtins for vec_div
This patch adds builtin support for xvdivdp and xvdivsp, along with a new test case. The builtins are accessed using vec_div in altivec.h. Builtins are listed (mostly) alphabetically there, so inserting these changed the line numbers for deprecation warnings tested in test/Headers/altivec-intrin.c. There is a companion patch for LLVM. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Headers')
-rw-r--r--test/Headers/altivec-intrin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Headers/altivec-intrin.c b/test/Headers/altivec-intrin.c
index 5ec4e9d3e7..a4de7e7596 100644
--- a/test/Headers/altivec-intrin.c
+++ b/test/Headers/altivec-intrin.c
@@ -14,5 +14,5 @@ int main()
}
// FIXME: As noted in ms-intrin.cpp, it would be nice if we didn't have to
// hard-code the line number from altivec.h here.
-// expected-note@altivec.h:2374 {{deprecated here}}
-// expected-note@altivec.h:2509 {{deprecated here}}
+// expected-note@altivec.h:2389 {{deprecated here}}
+// expected-note@altivec.h:2524 {{deprecated here}}