This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Flag vector counts#7912
Merged
Merged
Conversation
This flag is used to indicate that an integer constant in the IR is the result of replacing the Vector<T>.Count intrinsic. This can be used to drive heuristics focusing more aggressive optimizations on SIMD code.
Author
|
@dotnet/jit-contrib PTAL. This is a step on the way to #7843. |
Member
|
LGTM |
sivarv
reviewed
Oct 31, 2016
| if (limitOp->gtOper == GT_CNS_INT) | ||
| { | ||
| optLoopTable[loopInd].lpFlags |= LPFLG_CONST_LIMIT; | ||
| if (limitOp->gtFlags & GTF_ICON_SIMD_COUNT) |
Member
There was a problem hiding this comment.
CC: (limitOp->gtFlags & GTF_ICON_SIMD_COUNT) != 0
Member
|
Looks good. |
|
|
This flag identifies loops whose limit was a Vector<T>.Count expression. This can be used in heuristics to target more aggressive optimizations at SIMD code.
307f415 to
d2e74ab
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mark immediates which came from the Vector.Count intrinsic, and loops that have such as their limit.