Add logging for when inbuilt_inline_nn_modules will help with ID_MATCH guard triggered recompiles (#160592)
Summary:
We add a logging around when an ID_MATCH guard is added at a place where inbuilt_inline_nn_modules would inline it. This is done with the aim of tagging recompiles that could be avoided by setting inbuilt_inline_nn_modules flag.
It will help us log and track the flag's adoption and potentially quantify saving in the the number of recompiles.
X-link: https://github.com/pytorch/pytorch/pull/160592
Approved by: https://github.com/anijain2305
Reviewed By: anijain2305, clee2000
Differential Revision: D80075975
fbshipit-source-id: 21c53f015c7aed9f6cf6e5da7e2b59fbc340c476