craig.topper added a comment.
What should the behavior of the builtin be if the calling function has its own
target cpu like __attribute__((target("arch=sandybridge"))) and that CPU has a
different size than the CPU that was passed on the command line?
================
Comment at: clang/include/clang/Basic/Builtins.def:1483
BUILTIN(__builtin_preserve_access_index, "v.", "t")
+BUILTIN(__builtin_get_cpu_cache_line_size, "z", "nctu")
----------------
Can this be "zv" and drop the "tu" from the second string?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76525/new/
https://reviews.llvm.org/D76525
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits