[llvm-branch-commits] [llvm] 3ee9a2b - [Support][mips] Remove unnecessary includes from Memory.inc
Tom Stellard via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Oct 22 00:37:07 PDT 2021
Author: Visa Hankala
Date: 2021-10-22T00:36:49-07:00
New Revision: 3ee9a2b63cfd4ca3694d394d9b2822cc0e959225
URL: https://github.com/llvm/llvm-project/commit/3ee9a2b63cfd4ca3694d394d9b2822cc0e959225
DIFF: https://github.com/llvm/llvm-project/commit/3ee9a2b63cfd4ca3694d394d9b2822cc0e959225.diff
LOG: [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)
Added:
Modified:
llvm/lib/Support/Unix/Memory.inc
Removed:
################################################################################
diff --git a/llvm/lib/Support/Unix/Memory.inc b/llvm/lib/Support/Unix/Memory.inc
index be88e7db14002..b83477e0e4cc6 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
More information about the llvm-branch-commits
mailing list