test/CodeGen/rdrand-builtins.c: Define __MM_MALLOC_H before including <*mmintrin.h> .

Rawr!

llvm-svn: 160125
This commit is contained in:
NAKAMURA Takumi 2012-07-12 10:36:27 +00:00
parent f415fe70f3
commit ff4cd7792a
1 changed files with 2 additions and 1 deletions

View File

@ -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