[all-commits] [llvm/llvm-project] a0fcb5: [ARM] Improve arm_neon.h header diagnostic when in...
Jon Roelofs via All-commits
all-commits at lists.llvm.org
Fri Jul 11 10:21:36 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a0fcb50bf99d1d48458ee27ca92e5cd54e9910d5
https://github.com/llvm/llvm-project/commit/a0fcb50bf99d1d48458ee27ca92e5cd54e9910d5
Author: Jon Roelofs <jonathan_roelofs at apple.com>
Date: 2025-07-11 (Fri, 11 Jul 2025)
Changed paths:
M clang/utils/TableGen/NeonEmitter.cpp
Log Message:
-----------
[ARM] Improve arm_neon.h header diagnostic when included on unsupported targets (#147817)
The footgun here was that the preprocessor diagnostic that looks for
__ARM_FP would fire when included on targets like x86_64, but the
suggestion it gives in that case is totally bogus. Avoid giving bad
advice, by first checking whether we're being built for an appropriate
target, and only then do the soft-fp check.
rdar://155449666
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list