[PATCH] D143467: [PowerPC] Add target feature requirement to builtins
Maryam Moghadas via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 31 12:32:41 PDT 2023
maryammo added a comment.
It looks good to me, just added a minor question as I was not able to verify that.
================
Comment at: clang/include/clang/Basic/BuiltinsPPC.def:444
+TARGET_BUILTIN(__builtin_altivec_vcmpnew_p, "iiV4iV4i", "", "power9-vector")
+TARGET_BUILTIN(__builtin_altivec_vcmpned_p, "iiV2LLiV2LLi", "", "altivec")
+
----------------
amyk wrote:
> Does this need to be `vsx`?
How do we find the appropriate FEATURE for the above 4 builtins? (first 3 are p9 and the 4th one is altivec)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143467/new/
https://reviews.llvm.org/D143467
More information about the cfe-commits
mailing list