[clang] Reapply "[Win/X86] Make _m_prefetch[w] builtins to avoid winnt.h conflicts (#115099)" (PR #138360)

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Fri May 9 16:26:17 PDT 2025


================
@@ -138,6 +138,12 @@ let Attributes = [Const, NoThrow, RequiredVectorWidth<256>], Features = "avx" in
   }
 }
 
+// PRFCHW
+let Features = "prfchw", Header = "intrin.h", Attributes = [NoThrow, Const] in {
----------------
rnk wrote:

Looks like I actually had a pending change to go back to the mmx target feature, so my past self shared your concern. :) 

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


More information about the cfe-commits mailing list