[clang] [llvm] [ARM] Emit an error when the hard-float ABI is enabled but can't be used. (PR #111334)

David Green via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 6 23:12:00 PDT 2024


davemgreen wrote:

It looks like there is already a warning for this in clang, it only triggers from -mfloat-abi=hard though: https://godbolt.org/z/dcaz8had4. Could it be made to work with any hard-float env? And maybe be made an error down-gradable to a warning?

Generally clang-level warnings/errors are more user friendly then the llvm-level errors (but both may be useful for other frontends).

https://github.com/llvm/llvm-project/pull/111334


More information about the cfe-commits mailing list