mirror of
https://github.com/intel/llvm.git
synced 2026-02-07 16:11:27 +08:00
s/Intrin.h/intrin.h/, trying to fix the build after r272701
llvm-svn: 272702
This commit is contained in:
@@ -37,7 +37,7 @@ set(files
|
||||
htmxlintrin.h
|
||||
ia32intrin.h
|
||||
immintrin.h
|
||||
Intrin.h
|
||||
intrin.h
|
||||
inttypes.h
|
||||
iso646.h
|
||||
limits.h
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user