-
Notifications
You must be signed in to change notification settings - Fork 166
[CIR][CIRGen][Builtin][X86] Lower insert*
intrinsics
#1829
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
Conversation
b58aecb
to
4822efe
Compare
That'd be great for a new PR! |
Good after macOS-13 tests pass (also conflict resolution needed) |
4822efe
to
aa7f3cc
Compare
tests still failing (only the windows one is ignorable at this point) |
Yeah, I'm still trying to figure this out. For some reason I cannot reproduce this failure locally. Will investigate this further |
Needs come conflict resolution but good to go! |
89ae03c
to
e92a53f
Compare
Should be fixed now |
Hey @bcardosolopes, I’ve noticed a lot of merge conflicts popping up since my work on intrinsics is happening in parallel with other PRs. Would it make sense to grant me write access so I can help resolve conflicts more smoothly and keep things moving and merging? No worries if not, I’ll keep rebasing as usual. Just thought I’d check. (For context, I do already have upstream (llvm/llvm-project#131971) write since I contributed to clang-tidy. let me know if that helps.) |
Do you mean for merging your PRs faster once approved? If so I'm happy to do it (just making sure we are talking about the same thing) |
Ofc, I meant for merging once approved :) |
Done! |
e92a53f
to
372a216
Compare
Only one thing to note related to the shuffles performed for these intrinsics. We could tackle this in a different PR tho.
OG's builder creates unary shuffles by passing a poison value for the second vector operand.
In CIR, we currently work around this by duplicating the single vector argument as both operands:
While this is just a minor nit and I don’t believe we provoke a semantic difference, should we revisit the workaround stated in the comment for parity with OG?