[PATCH] D53919: [X86] Don't allow illegal vector types to return by direct value on x86-64.
H.J Lu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 31 12:47:00 PDT 2018
hjl.tools added a comment.
In https://reviews.llvm.org/D53919#1282748, @efriedma wrote:
> The ABI document before AVX was introduced didn't say anything at all about 256-bit vectors. So we're talking about compatibility with some other compiler. Which compiler?
X86-64 compilers created before AVX was introduced. Say clang 1.0 doesn't know AVX and returns it in memory. So should clang 7.0 with -mno-avx.
Repository:
rC Clang
https://reviews.llvm.org/D53919
More information about the cfe-commits
mailing list