summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVisa Hankala <visa@hankala.org>2021-10-12 22:24:58 +0300
committerTom Stellard <tstellar@redhat.com>2021-10-22 00:36:49 -0700
commit3ee9a2b63cfd4ca3694d394d9b2822cc0e959225 (patch)
tree8882c32cf022bf0df8f47d60c9aaa0154262d375
parent47f53eec648514daf87b9c0b1e1177bb8f7056ae (diff)
downloadllvm-3ee9a2b63cfd4ca3694d394d9b2822cc0e959225.tar.gz
[Support][mips] Remove unnecessary includes from Memory.inc
The mips-specific includes have been unnecessary ever since the __clear_cache() builtin replaced cacheflush(). Differential Revision: https://reviews.llvm.org/D111486 (cherry picked from commit a5de04d2617191661fbaaee741ec47f8c1f9478e)
-rw-r--r--llvm/lib/Support/Unix/Memory.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Support/Unix/Memory.inc b/llvm/lib/Support/Unix/Memory.inc
index be88e7db1400..b83477e0e4cc 100644
--- 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