[cfe-commits] r160125 - /cfe/trunk/test/CodeGen/rdrand-builtins.c
NAKAMURA Takumi
geek4civic at gmail.com
Thu Jul 12 03:36:27 PDT 2012
Author: chapuni
Date: Thu Jul 12 05:36:27 2012
New Revision: 160125
URL: http://llvm.org/viewvc/llvm-project?rev=160125&view=rev
Log:
test/CodeGen/rdrand-builtins.c: Define __MM_MALLOC_H before including <*mmintrin.h> .
Rawr!
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=160125&r1=160124&r2=160125&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/rdrand-builtins.c (original)
+++ cfe/trunk/test/CodeGen/rdrand-builtins.c Thu Jul 12 05:36:27 2012
@@ -1,9 +1,10 @@
// 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
+#include <immintrin.h>
+
int rdrand16(unsigned short *p) {
return _rdrand16_step(p);
// CHECK: @rdrand16
More information about the cfe-commits
mailing list