From: Ben Langmuir Date: Thu, 19 Sep 2013 14:07:14 +0000 (+0000) Subject: Fix ifdef macro missed in previous commit X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2b2c329476d45a5c5dd51be0391449ada1c7ad5;p=clang Fix ifdef macro missed in previous commit git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191003 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Headers/shaintrin.h b/lib/Headers/shaintrin.h index 207485dd94..66ed0554b6 100644 --- a/lib/Headers/shaintrin.h +++ b/lib/Headers/shaintrin.h @@ -21,7 +21,7 @@ *===-----------------------------------------------------------------------=== */ -#ifndef __X86INTRIN_H +#ifndef __IMMINTRIN_H #error "Never use directly; include instead." #endif diff --git a/test/CodeGen/sha-builtins.c b/test/CodeGen/sha-builtins.c index ba1a480703..181dba15b5 100644 --- a/test/CodeGen/sha-builtins.c +++ b/test/CodeGen/sha-builtins.c @@ -3,7 +3,7 @@ // Don't include mm_malloc.h, it's system specific. #define __MM_MALLOC_H -#include +#include __m128i test_sha1rnds4(__m128i a, __m128i b) { // CHECK: call <4 x i32> @llvm.x86.sha1rnds4 @@ -32,4 +32,4 @@ __m128i test_sha256msg1(__m128i a, __m128i b) { __m128i test_sha256msg2(__m128i a, __m128i b) { // CHECK: call <4 x i32> @llvm.x86.sha256msg2 return _mm_sha256msg2_epu32(a, b); -} \ No newline at end of file +}