summaryrefslogtreecommitdiff
path: root/test/CodeGen/builtins-ppc-quadword.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2016-03-24 01:26:08 +0000
committerEric Christopher <echristo@gmail.com>2016-03-24 01:26:08 +0000
commit43dc555430c1df25ec0712ab3bafdfc095909d3f (patch)
treeb53b4dc36f25059578038f6e0986f6bb7954d622 /test/CodeGen/builtins-ppc-quadword.c
parenteed291ac888728334c44b62d0c4d77aa7c345d26 (diff)
downloadclang-43dc555430c1df25ec0712ab3bafdfc095909d3f.tar.gz
The time when -faltivec (or, on clang only, -maltivec) will magically
include altivec.h has come and gone. Rationale: This causes modules, rewrite-includes, etc to be sad and people should just include altivec.h in their source. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@264235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/builtins-ppc-quadword.c')
-rw-r--r--test/CodeGen/builtins-ppc-quadword.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/builtins-ppc-quadword.c b/test/CodeGen/builtins-ppc-quadword.c
index e17b6791d5..f381642c42 100644
--- a/test/CodeGen/builtins-ppc-quadword.c
+++ b/test/CodeGen/builtins-ppc-quadword.c
@@ -8,6 +8,7 @@
// RUN: not %clang_cc1 -faltivec -triple powerpc-unknown-unknown \
// RUN: -emit-llvm %s -o - 2>&1 | FileCheck %s -check-prefix=CHECK-PPC
+#include <altivec.h>
// CHECK-PPC: error: __int128 is not supported on this target
vector signed __int128 vlll = { -1 };