[llvm-bugs] [Bug 51480] clang-cl doesn't correctly map /arch:XXX options to corresponding features
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 16 10:15:01 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51480
Reid Kleckner <rnk at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #1 from Reid Kleckner <rnk at google.com> ---
MSVC has a different model for intrinsics: they can always be called regardless
of the /arch: setting. Clang requires you to enable the relevant features.
There are no plans to implement the MSVC intrinsic model. LLVM subtarget
features are set at the function level. You can control them either with
__attribute__((target)) or the various -m* flags. There is no /arch: flag for
SSSE3, so your workaround is a proper solution.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210816/e4a91b4f/attachment.html>
More information about the llvm-bugs
mailing list