s/Intrin.h/intrin.h/, trying to fix the build after r272701

llvm-svn: 272702
This commit is contained in:
Hans Wennborg
2016-06-14 20:14:24 +00:00
parent 73384a8f76
commit f8b91f8336
5 changed files with 9 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ set(files
htmxlintrin.h
ia32intrin.h
immintrin.h
Intrin.h
intrin.h
inttypes.h
iso646.h
limits.h

View File

@@ -1,4 +1,4 @@
/* ===-------- Intrin.h ---------------------------------------------------===
/* ===-------- intrin.h ---------------------------------------------------===
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
/* Only include this if we're compiling for the windows platform. */
#ifndef _MSC_VER
#include_next <Intrin.h>
#include_next <intrin.h>
#else
#ifndef __INTRIN_H

View File

@@ -8,11 +8,11 @@
// RUN: -triple x86_64--windows -Oz -emit-llvm %s -o - \
// RUN: | FileCheck %s --check-prefix=CHECK --check-prefix=CHECK-X64
// Intrin.h needs size_t, but -ffreestanding prevents us from getting it from
// intrin.h needs size_t, but -ffreestanding prevents us from getting it from
// stddef.h. Work around it with this typedef.
typedef __SIZE_TYPE__ size_t;
#include <Intrin.h>
#include <intrin.h>
void *test_InterlockedExchangePointer(void * volatile *Target, void *Value) {
return _InterlockedExchangePointer(Target, Value);

View File

@@ -2,10 +2,10 @@
// RUN: -triple i686--windows -emit-llvm %s -o - \
// RUN: | FileCheck %s -check-prefix CHECK
// Intrin.h needs size_t, but -ffreestanding prevents us from getting it from
// intrin.h needs size_t, but -ffreestanding prevents us from getting it from
// stddef.h. Work around it with this typedef.
typedef __SIZE_TYPE__ size_t;
#include <Intrin.h>
#include <intrin.h>
void capture_ptr(int* i);
void test_mm_align16(int p) {

View File

@@ -20,11 +20,11 @@
// REQUIRES: x86-registered-target
// Intrin.h needs size_t, but -ffreestanding prevents us from getting it from
// intrin.h needs size_t, but -ffreestanding prevents us from getting it from
// stddef.h. Work around it with this typedef.
typedef __SIZE_TYPE__ size_t;
#include <Intrin.h>
#include <intrin.h>
// Use some C++ to make sure we closed the extern "C" brackets.
template <typename T>