rjmccall added a comment.

In D59744#1548919 <https://reviews.llvm.org/D59744#1548919>, @efriedma wrote:

> > Now, we could theoretically use a different ABI rule for vectors defined 
> > with Clang-specific extensions, but that seems like it would cause quite a 
> > few problems of its own.
>
> I think we can't reasonably impose this ABI rule on vectors defined with 
> ext_vector_type: that makes it impossible to build portable OpenCL code for 
> 32-bit x86, given the side-effects of introducing any use of the x86_mmx type.


Sorry, I've remained somewhat intentionally ignorant of the issues here.  Are 
you saying that using MMX in LLVM requires source-level workarounds in some 
way, and so we can't lower portable code to use MMX because that code will 
(reasonably) lack those workarounds?  If that's true, then fixing that seems 
like a blocker to landing this patch; it is better to be ABI-non-compliant than 
to produce broken code.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59744/new/

https://reviews.llvm.org/D59744



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to