[tensorexpr] Alias analysis tests (#44110)
Summary:
Some tests for alias analysis.
The first aliases at the module level and the second at the input level.
Please let me know if there are other alias situations!
Pull Request resolved: https://github.com/pytorch/pytorch/pull/44110
Reviewed By: nickgg
Differential Revision: D23509473
Pulled By: bwasti
fbshipit-source-id: fbfe71a1d40152c8fbbd8d631f0a54589b791c34