https://github.com/nocchijiang commented:

Have you considered emitting the class stub as a tail call into the ordinary 
selector stub instead of duplicating its body?

```
_objc_msgSendClass$alloc$_OBJC_CLASS_$_Foo:
  adrp x0, _OBJC_CLASS_$_Foo@PAGE
  add  x0, x0, _OBJC_CLASS_$_Foo@PAGEOFF
  b    _objc_msgSend$alloc
```

Not blocking, just curious whether you evaluated it.

https://github.com/llvm/llvm-project/pull/219744
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to