summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2015-08-27 20:29:13 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2015-08-27 20:29:13 +0000
commita79dfb3223289498498f695e0b2d248031b00766 (patch)
tree51eb48d6bceca5acf7db6c91c126da0fe00a4eef /clang
parentf12cf13f38a085f58f77afc913a759fd8153b154 (diff)
downloadbcm5719-llvm-a79dfb3223289498498f695e0b2d248031b00766.tar.gz
bcm5719-llvm-a79dfb3223289498498f695e0b2d248031b00766.zip
[X86] Add __builtin_ia32_undef* intrinsics to test
Minor tweak to rL246083 llvm-svn: 246200
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CodeGen/builtins-x86.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/CodeGen/builtins-x86.c b/clang/test/CodeGen/builtins-x86.c
index a239889e2b4..8de907d86d2 100644
--- a/clang/test/CodeGen/builtins-x86.c
+++ b/clang/test/CodeGen/builtins-x86.c
@@ -102,6 +102,9 @@ void f0() {
const V4d* tmp_V4dCp;
const V8f* tmp_V8fCp;
+ tmp_V2LLi = __builtin_ia32_undef128();
+ tmp_V4LLi = __builtin_ia32_undef256();
+
tmp_i = __builtin_ia32_comieq(tmp_V4f, tmp_V4f);
tmp_i = __builtin_ia32_comilt(tmp_V4f, tmp_V4f);
tmp_i = __builtin_ia32_comile(tmp_V4f, tmp_V4f);
OpenPOWER on IntegriCloud