================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits