Skip to content

[jit] Refactor emitIsInstance#26061

Closed
zdevito wants to merge 5 commits intogh/zdevito/106/basefrom
gh/zdevito/106/head
Closed

[jit] Refactor emitIsInstance#26061
zdevito wants to merge 5 commits intogh/zdevito/106/basefrom
gh/zdevito/106/head

Conversation

@zdevito
Copy link
Contributor

@zdevito zdevito commented Sep 11, 2019

Stack from ghstack:

This is in preparation for actually emitting a dynamic isinstance check instruction.
It re-arranges the logic so that all the types and properties to check
against are in a flat list. In the future this flat list will be encoded
into an actual instruction if we determine that we cannot perform
the check statically.

Differential Revision: D17332062

This is in preparation for actually emitting a dynamic isinstance check instruction.
It re-arranges the  logic so that all the types and properties to check
against are in a flat list. In the future this flat list will be encoded
into an actual instruction if we determine that we cannot perform
the check statically.
[jit] Refactor emitIsInstance

This is in preparation for actually emitting a dynamic isinstance check instruction.
It re-arranges the  logic so that all the types and properties to check
against are in a flat list. In the future this flat list will be encoded
into an actual instruction if we determine that we cannot perform
the check statically.

gh-metadata: pytorch pytorch 26061 gh/zdevito/106/head
@zdevito zdevito requested a review from suo September 17, 2019 00:23
[jit] Refactor emitIsInstance

This is in preparation for actually emitting a dynamic isinstance check instruction.
It re-arranges the  logic so that all the types and properties to check
against are in a flat list. In the future this flat list will be encoded
into an actual instruction if we determine that we cannot perform
the check statically.

gh-metadata: pytorch pytorch 26061 gh/zdevito/106/head
[jit] Refactor emitIsInstance

This is in preparation for actually emitting a dynamic isinstance check instruction.
It re-arranges the  logic so that all the types and properties to check
against are in a flat list. In the future this flat list will be encoded
into an actual instruction if we determine that we cannot perform
the check statically.

gh-metadata: pytorch pytorch 26061 gh/zdevito/106/head
[jit] Refactor emitIsInstance

This is in preparation for actually emitting a dynamic isinstance check instruction.
It re-arranges the  logic so that all the types and properties to check
against are in a flat list. In the future this flat list will be encoded
into an actual instruction if we determine that we cannot perform
the check statically.

gh-metadata: pytorch pytorch 26061 gh/zdevito/106/head
@facebook-github-bot
Copy link
Contributor

@zdevito merged this pull request in 8d9364e.

@facebook-github-bot facebook-github-bot deleted the gh/zdevito/106/head branch October 28, 2019 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants