[compiler-rt] [compiler-rt] Add initial ARM64EC builtins support (PR #139279)

Jacek Caban via llvm-commits llvm-commits at lists.llvm.org
Wed May 14 15:10:01 PDT 2025


================
@@ -122,7 +123,7 @@ void __clear_cache(void *start, void *end) {
     compilerrt_abort();
 #endif
   }
-#elif defined(__aarch64__) && !defined(__APPLE__)
+#elif (defined(__aarch64__) || defined(__arm64ec__)) && !defined(__APPLE__)
----------------
cjacek wrote:

Good point, I think this is redundant. This came from Billy's original patch. I remember changing a similar case elsewhere but missed this one.

https://github.com/llvm/llvm-project/pull/139279


More information about the llvm-commits mailing list