Skip to content

Ignore to vectorize constants only generic op in LoadStoreVectorization - #3734

Merged
hanhanW merged 1 commit into
iree-org:mainfrom
hanhanW:vec-cst
Nov 6, 2020
Merged

hanhanW merged 1 commit into
iree-org:mainfrom
hanhanW:vec-cst

Conversation

@hanhanW

@hanhanW hanhanW commented Nov 5, 2020

Copy link
Copy Markdown
Contributor

No description provided.

@hanhanW

hanhanW commented Nov 5, 2020

Copy link
Copy Markdown
Contributor Author

This fixes all internal tests for enabling the pass as default.

@MaheshRavishankar

Copy link
Copy Markdown
Collaborator

Interesting case. This seems to be constant foldable?

@hanhanW

hanhanW commented Nov 6, 2020

Copy link
Copy Markdown
Contributor Author

I added some patterns for this kind of pattern before, e.g., sqrt op. I was thinking to add another pattern for rsqrt, but I didn't find a library call for it. We could add it at some point with simple implementation 1.0 / sqrt(x). However I feel that there could be missing patterns, so still send out this PR.

@hanhanW
hanhanW merged commit bd10e22 into iree-org:main Nov 6, 2020
@hanhanW
hanhanW deleted the vec-cst branch November 6, 2020 07:54
This was referenced Nov 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants