test/CodeGen/rdrand-builtins.c: Define __MM_MALLOC_H before including <*mmintrin.h> .
Rawr! llvm-svn: 160125
This commit is contained in:
parent
f415fe70f3
commit
ff4cd7792a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue