================
@@ -93,12 +93,12 @@ let Attributes = [Const, NoThrow, RequiredVectorWidth<128>]
in {
}
}
-let Features = "mmx", Header = "mmintrin.h", Attributes = [NoThrow, Const] in {
+let Header = "mmintrin.h", Attributes = [NoThrow, Const] in {
def _m_prefetch : X86LibBuiltin<"void(void *)">;
}
// PRFCHW
-let Features = "prfchw", Header = "intrin.h", Attributes = [NoThrow, Const] in
{
+let Header = "intrin.h", Attributes = [NoThrow, Const] in {
----------------
phoebewang wrote:
This was caught by test
clang/test/CIR/CodeGenBuiltins/X86/prefetchw-builtins.c. We also have
clang/test/CodeGen/X86/prefetchw-builtins.c testing with `-target-feature
+prfchw`. I considered either adding `+prfchw` to the former or remove in the
latter, but chose to leave them as is. Let me know what's your preference.
https://github.com/llvm/llvm-project/pull/244107
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits