Skip to content

Conversation

@smessmer
Copy link
Contributor

@smessmer smessmer commented Aug 5, 2019

Stack from ghstack:

A previous diff removed the special casing for aten:: and prim:: ops in alias analysis and implements alias analysis purely
based on the AliasAnalysisKind. To be sure it doesn't break our existing code base, it added asserts that make sure that
our existing aten:: and prim:: ops set the correct AliasAnalysisKind.

However, we don't need that restriction for future ops. Since we are now certain all existing cases are set up correctly,
we can remove these assertions.

Differential Revision: D15996322

A previous diff removed the special casing for aten:: and prim:: ops in alias analysis and implements alias analysis purely
based on the AliasAnalysisKind. To be sure it doesn't break our existing code base, it added asserts that make sure that
our existing aten:: and prim:: ops set the correct AliasAnalysisKind.

However, we don't need that restriction for future ops. Since we are now certain all existing cases are set up correctly,
we can remove these assertions.

Differential Revision: [D15996322](https://our.internmc.facebook.com/intern/diff/D15996322/)
@pytorchbot pytorchbot added oncall: jit Add this issue/PR to JIT oncall triage queue module: cpp Related to C++ API labels Aug 5, 2019
@smessmer
Copy link
Contributor Author

smessmer commented Aug 5, 2019

this is a new export of #22239 which got deleted by a branch-pruning script

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approval transfer from #22239 on behalf of @zdevito

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 3ad9dbf.

@suo
Copy link
Member

suo commented Aug 5, 2019

This PR broke master, I am reverting

@smessmer
Copy link
Contributor Author

smessmer commented Aug 5, 2019

thanks for the fast reaction @suo

smessmer added a commit that referenced this pull request Aug 5, 2019
Re-expot of reverted PR #23810 with the bug fixed

A previous diff removed the special casing for aten:: and prim:: ops in alias analysis and implements alias analysis purely
based on the AliasAnalysisKind. To be sure it doesn't break our existing code base, it added asserts that make sure that
our existing aten:: and prim:: ops set the correct AliasAnalysisKind.

However, we don't need that restriction for future ops. Since we are now certain all existing cases are set up correctly,
we can remove these assertions.

Differential Revision: [D16657239](https://our.internmc.facebook.com/intern/diff/D16657239/)
smessmer added a commit that referenced this pull request Aug 5, 2019
Re-expot of reverted PR #23810 with the bug fixed

A previous diff removed the special casing for aten:: and prim:: ops in alias analysis and implements alias analysis purely
based on the AliasAnalysisKind. To be sure it doesn't break our existing code base, it added asserts that make sure that
our existing aten:: and prim:: ops set the correct AliasAnalysisKind.

However, we don't need that restriction for future ops. Since we are now certain all existing cases are set up correctly,
we can remove these assertions.

Differential Revision: [D16657239](https://our.internmc.facebook.com/intern/diff/D16657239/)

ghstack-source-id: 87754063
Pull Request resolved: #23834
smessmer added a commit that referenced this pull request Aug 6, 2019
Re-expot of reverted PR #23810 with the bug fixed

A previous diff removed the special casing for aten:: and prim:: ops in alias analysis and implements alias analysis purely
based on the AliasAnalysisKind. To be sure it doesn't break our existing code base, it added asserts that make sure that
our existing aten:: and prim:: ops set the correct AliasAnalysisKind.

However, we don't need that restriction for future ops. Since we are now certain all existing cases are set up correctly,
we can remove these assertions.

Differential Revision: [D16657239](https://our.internmc.facebook.com/intern/diff/D16657239/)
smessmer added a commit that referenced this pull request Aug 8, 2019
Re-expot of reverted PR #22239 (or actually #23810) with the bug fixed

A previous diff removed the special casing for aten:: and prim:: ops in alias analysis and implements alias analysis purely
based on the AliasAnalysisKind. To be sure it doesn't break our existing code base, it added asserts that make sure that
our existing aten:: and prim:: ops set the correct AliasAnalysisKind.

However, we don't need that restriction for future ops. Since we are now certain all existing cases are set up correctly,
we can remove these assertions.

Differential Revision: [D16657239](https://our.internmc.facebook.com/intern/diff/D16657239/)
smessmer added a commit that referenced this pull request Aug 9, 2019
Re-expot of reverted PR #22239 (or actually #23810) with the bug fixed

A previous diff removed the special casing for aten:: and prim:: ops in alias analysis and implements alias analysis purely
based on the AliasAnalysisKind. To be sure it doesn't break our existing code base, it added asserts that make sure that
our existing aten:: and prim:: ops set the correct AliasAnalysisKind.

However, we don't need that restriction for future ops. Since we are now certain all existing cases are set up correctly,
we can remove these assertions.

Differential Revision: [D16657239](https://our.internmc.facebook.com/intern/diff/D16657239/)
facebook-github-bot pushed a commit that referenced this pull request Aug 9, 2019
Summary:
Pull Request resolved: #23834

Re-expot of reverted PR #23810 with the bug fixed

A previous diff removed the special casing for aten:: and prim:: ops in alias analysis and implements alias analysis purely
based on the AliasAnalysisKind. To be sure it doesn't break our existing code base, it added asserts that make sure that
our existing aten:: and prim:: ops set the correct AliasAnalysisKind.

However, we don't need that restriction for future ops. Since we are now certain all existing cases are set up correctly,
we can remove these assertions.
ghstack-source-id: 88050427

Differential Revision: D16657239

fbshipit-source-id: 8a7606da8e9bd961bf47e3e1587b622a9c247ec6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: cpp Related to C++ API oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants