[PATCH] D111486: [Support][mips] Remove unnecessary includes from Memory.inc
Visa Hankala via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 9 04:11:48 PDT 2021
visa created this revision.
Herald added subscribers: dexonsmith, atanasyan, hiraditya, krytarowski, arichardson, sdardis.
visa requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The mips-specific includes have been unnecessary ever since
the __clear_cache() builtin replaced cacheflush().
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D111486
Files:
llvm/lib/Support/Unix/Memory.inc
Index: llvm/lib/Support/Unix/Memory.inc
===================================================================
--- llvm/lib/Support/Unix/Memory.inc
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111486.378432.patch
Type: text/x-patch
Size: 508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211009/99e93d82/attachment.bin>
More information about the llvm-commits
mailing list