projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff3ed78
)
[Support][mips] Remove unnecessary includes from Memory.inc
author
Visa Hankala
<visa@hankala.org>
Tue, 12 Oct 2021 19:24:58 +0000
(22:24 +0300)
committer
Simon Atanasyan
<simon@atanasyan.com>
Wed, 13 Oct 2021 04:48:36 +0000
(07:48 +0300)
The mips-specific includes have been unnecessary ever since the
__clear_cache() builtin replaced cacheflush().
Differential Revision: https://reviews.llvm.org/D111486
llvm/lib/Support/Unix/Memory.inc
patch
|
blob
|
history
diff --git
a/llvm/lib/Support/Unix/Memory.inc
b/llvm/lib/Support/Unix/Memory.inc
index
be88e7d
..
b83477e
100644
(file)
--- a/
llvm/lib/Support/Unix/Memory.inc
+++ b/
llvm/lib/Support/Unix/Memory.inc
@@
-29,14
+29,6
@@
#include <zircon/syscalls.h>
#endif
-#if defined(__mips__)
-# if defined(__OpenBSD__)
-# include <mips64/sysarch.h>
-# elif !defined(__FreeBSD__)
-# include <sys/cachectl.h>
-# endif
-#endif
-
#if defined(__APPLE__)
extern "C" void sys_icache_invalidate(const void *Addr, size_t len);
#else