[PATCH] D79448: [X86] Allow Yz inline assembly constraint to choose ymm0 or zmm0 when avx/avx512 are enabled and type is 256 or 512 bits
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 5 15:08:47 PDT 2020
craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel, rnk, echristo.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
gcc supports selecting ymm0/zmm0 for the Yz constraint when used with 256 or 512 bit vector types.
Fixes PR45806
https://reviews.llvm.org/D79448
Files:
clang/lib/Basic/Targets/X86.cpp
clang/test/CodeGen/x86-inline-asm-v-constraint.c
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/inline-asm-avx-v-constraint.ll
llvm/test/CodeGen/X86/inline-asm-avx512f-v-constraint.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79448.262233.patch
Type: text/x-patch
Size: 5223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200505/fa00e80d/attachment-0001.bin>
More information about the cfe-commits
mailing list