efriedma added a comment.

As far as I know, according to the ABI docs, it's impossible to return a 
256-bit vector from a function if AVX is disabled.

Given that we aren't rejecting the testcase, we're effectively implementing a 
new "no-AVX" ABI variant.  That variant is not defined anywhere, so we might as 
well pick the fastest convention, returning the value in registers.  I'm not 
sure why you would want to return the vector in memory instead.


Repository:
  rC Clang

https://reviews.llvm.org/D53919



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

Reply via email to