[clang] [llvm] [ARM] Emit an error when the hard-float ABI is enabled but can't be used (PR #111334)
Peter Smith via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 12 08:17:33 PDT 2026
================
@@ -85,6 +85,8 @@ class VectorType;
// ARMTargetLowering - ARM Implementation of the TargetLowering interface
class ARMTargetLowering : public TargetLowering {
+ friend class ARMBaseTargetMachine; // For getEffectiveCallingConv().
----------------
smithp35 wrote:
Instead of using a friend, I'm wondering if getEffectiveCallingConv() can be made a free function, possibly liberated from ARMISelLowering if it is going to be used in other places.
Looks like it would need the `Subtarget` and `getTM().isAAPCS_ABI()` passed through.
https://github.com/llvm/llvm-project/pull/111334
More information about the cfe-commits
mailing list