Skip to content

Commit 3ee9a2b

Browse files
vhankalatstellar
authored andcommitted
[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 a5de04d)
1 parent 47f53ee commit 3ee9a2b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

llvm/lib/Support/Unix/Memory.inc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@
2929
#include <zircon/syscalls.h>
3030
#endif
3131

32-
#if defined(__mips__)
33-
# if defined(__OpenBSD__)
34-
# include <mips64/sysarch.h>
35-
# elif !defined(__FreeBSD__)
36-
# include <sys/cachectl.h>
37-
# endif
38-
#endif
39-
4032
#if defined(__APPLE__)
4133
extern "C" void sys_icache_invalidate(const void *Addr, size_t len);
4234
#else

0 commit comments

Comments
 (0)