[PATCH] D11327: [X86][SSE] Keep 32-bit target i64 vector shifts on SSE unit.

Quentin Colombet qcolombet at apple.com
Wed Jul 29 09:53:07 PDT 2015


qcolombet accepted this revision.
qcolombet added a comment.
This revision is now accepted and ready to land.

Hi Simon,

Thanks for the updated version. I have mixed feeling about it though. Indeed, I think the code is correct, but given how the lowering works, I believe we cannot reach it.
In other words, currently, I do not think we can produce a test case that covers this code. If you can add a test case to cover it, then awesome :).

How about not doing the transformation when the splat index is not covered by the first operand, so that if it happens we would have a test case to add with the code support it?

Other than that LGTM, no need to wait for a new review.

Thanks,
-Quentin


Repository:
  rL LLVM

http://reviews.llvm.org/D11327







More information about the llvm-commits mailing list