-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ARM] Always lower direct calls as direct when the outliner is enabled #66434
Conversation
The indirect lowering hinders the outliner's ability to see that sequences are in fact common, since the sequence similarity is rendered opaque by the register callee. The size savings from making them indirect seems to be dwarfed by the outliner's savings from de-duplication. rdar://115178034 rdar://115459865
1132f40
to
b3cff85
Compare
This change looks reasonable to me, but since ARM have a wide corpus of armv7 size sensitive code, could your team evaluate the impact of this change @davemgreen? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds OK to me
Sorry - I managed to run the benchmarks wrong (I was surprised it didn't make any difference). It turns out this does cause some regressions and appears to be worse than before. |
Ok, thanks for checking! I'll revert tomorrow. |
…s enabled (llvm#66434)" This reverts commit 003bcad. ARM folks say it regresses some of their benchmarks: llvm#66434 (comment)
reverted in: 83e6d2e |
llvm#66434) The indirect lowering hinders the outliner's ability to see that sequences are in fact common, since the sequence similarity is rendered opaque by the register callee. The size savings from making them indirect seems to be dwarfed by the outliner's savings from de-duplication. rdar://115178034 rdar://115459865
…s enabled (llvm#66434)" This reverts commit 003bcad. ARM folks say it regresses some of their benchmarks: llvm#66434 (comment)
…s enabled (llvm#66434)" This reverts commit 003bcad. ARM folks say it regresses some of their benchmarks: llvm#66434 (comment)
…s enabled (llvm#66434)" This reverts commit 003bcad. ARM folks say it regresses some of their benchmarks: llvm#66434 (comment)
The indirect lowering hinders the outliner's ability to see that sequences are in fact common, since the sequence similarity is rendered opaque by the register callee. The size savings from making them indirect seems to be dwarfed by the outliner's savings from de-duplication.
rdar://115178034
rdar://115459865