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

Ensure loads of vector types have !noundef #372

Open
scottmcm opened this issue Nov 12, 2023 · 0 comments
Open

Ensure loads of vector types have !noundef #372

scottmcm opened this issue Nov 12, 2023 · 0 comments

Comments

@scottmcm
Copy link
Member

Assuming that -- like __m128 -- a u32x4 isn't actually allowed to be undef, we should ensure that we have !noundef metadata on the corresponding loads. (This assumes Simd<MaybeUninit<u32>, 4> would be needed for real uninit.)

It looks like today https://rust.godbolt.org/z/hs1MKh15x we don't:

  %_8 = load <2 x i32>, ptr %self, align 8
  %_9 = load <2 x i32>, ptr %other, align 8
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

No branches or pull requests

1 participant