Skip to content
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

[DirectX] scalarize vector types #92422

Open
5 tasks
python3kgae opened this issue May 16, 2024 · 0 comments
Open
5 tasks

[DirectX] scalarize vector types #92422

python3kgae opened this issue May 16, 2024 · 0 comments

Comments

@python3kgae
Copy link
Contributor

DXIL requires Vectors to be scalarized.

AC:

  • design doc for scalarize vector types.
    Note that group-shared vectors need to be lowered to arrays to maintain layout consistency and avoid affecting access coalescing.
  • Verify that the vector overload of intrinsic functions is functioning correctly.
  • Introduce the ScalarizerPass to the DirectX backend pipeline.
    Keep in mind that the ScalarizerPass does not have a wrapper for the legacy pass manager.
  • Add a pass to scalarize global variables, including static globals and group-shared variables.
  • Tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant