]> granicus.if.org Git - clang/commitdiff
[X86] Add __builtin_ia32_undef* intrinsics to test
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 27 Aug 2015 20:29:13 +0000 (20:29 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 27 Aug 2015 20:29:13 +0000 (20:29 +0000)
Minor tweak to rL246083

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246200 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/builtins-x86.c

index a239889e2b494ae2d1c83561803d30d71b17c2d0..8de907d86d2820ef4d63fde8fa56085def51de98 100644 (file)
@@ -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);