| Issue |
54200
|
| Summary |
ObjCMethodDecl::isDirectMethod is called extremely frequently and requires expensive attribute checks
|
| Labels |
new issue
|
| Assignees |
|
| Reporter |
saagarjha
|
Pretty much what the title says. In our large project the compiler seems to spend something like 10-20% of its time checking the attributes on methods, in particular whether the method is a direct call or not (a runner up is availability checks). Given that direct calls are supposed to be a carefully used feature sprinkled on just a few performance-sensitive parts of a codebase, the cost to check whether a method is using direct calls seems fairly high.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs