[cfe-commits] r160122 - /cfe/trunk/test/CodeGen/rdrand-builtins.c

Benjamin Kramer benny.kra at googlemail.com
Thu Jul 12 02:56:18 PDT 2012


Author: d0k
Date: Thu Jul 12 04:56:18 2012
New Revision: 160122

URL: http://llvm.org/viewvc/llvm-project?rev=160122&view=rev
Log:
Don't include mm_malloc.h in test, it pulls in system headers on msvc.

Modified:
    cfe/trunk/test/CodeGen/rdrand-builtins.c

Modified: cfe/trunk/test/CodeGen/rdrand-builtins.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/rdrand-builtins.c?rev=160122&r1=160121&r2=160122&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/rdrand-builtins.c (original)
+++ cfe/trunk/test/CodeGen/rdrand-builtins.c Thu Jul 12 04:56:18 2012
@@ -1,6 +1,9 @@
 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-feature +rdrnd -emit-llvm -S -emit-llvm -o - %s | FileCheck %s
 #include <immintrin.h>
 
+// Don't include mm_malloc.h, it's system specific.
+#define __MM_MALLOC_H
+
 int rdrand16(unsigned short *p) {
   return _rdrand16_step(p);
 // CHECK: @rdrand16





More information about the cfe-commits mailing list