[Support][mips] Remove unnecessary includes from Memory.inc
authorVisa Hankala <visa@hankala.org>
Tue, 12 Oct 2021 19:24:58 +0000 (22:24 +0300)
committerSimon 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

index be88e7d..b83477e 100644 (file)
 #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