Manual LICM for mutable/const_data_ptr calls in quantize ops (#3784)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/3784 Profiling showed that these calls were not getting inlined in ATen mode. Since function calls can have side effects, lack of inlining prevented the compiler from doing this transform itself. ghstack-source-id: 228354914 exported-using-ghexport Reviewed By: larryliu0820 Differential Revision: D57987182 fbshipit-source-id: e915fe73c7f8adbb0397729d17d9b368c996d1ca
S
Scott Wolchok committed
d1d2e7ababefe4340791869857a15a784dad851a
Parent: ccce5fa
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 5/31/2024, 1:32:30 AM