Skip to content

Re-enable SIMD tests and use new shuffle builtin #9350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

tlively
Copy link
Member

@tlively tlively commented Aug 30, 2019

The new builtin solves the problem of LLVM changing user-supplied
shuffle masks during optimization. The emitted masks will now always
be identical to the masks given in the source. Depends on
https://reviews.llvm.org/D66983.

The new builtin solves the problem of LLVM changing user-supplied
shuffle masks during optimization. The emitted masks will now always
be identical to the masks given in the source. Depends on
https://reviews.llvm.org/D66983.
Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

Can't say I actually understand the SIMD details, but lgtm!

@tlively
Copy link
Member Author

tlively commented Sep 6, 2019

We decided to go a different route in LLVM.

@tlively tlively closed this Sep 6, 2019
@tlively tlively deleted the shuffle-intrinsic branch September 6, 2019 01:40
@huningxin
Copy link
Contributor

We decided to go a different route in LLVM.

@tlively , could you elaborate the new route? thanks.

@tlively
Copy link
Member Author

tlively commented Sep 25, 2019

@huningxin See the discussion on the LLVM patch linked above. We decided to teach LLVM about which shuffles are low-cost to prevent it from combining two good shuffles into a bad shuffle. I haven't implemented this yet because I've been focused on getting the tools up to date with the latest new instructions in the spec proposal, but it is on to-do list.

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