gcc supports selecting ymm0/zmm0 for the Yz constraint when used with 256 or 512 bit vector types.
Fixes PR45806
Paths
| Differential D79448
[X86] Allow Yz inline assembly constraint to choose ymm0 or zmm0 when avx/avx512 are enabled and type is 256 or 512 bits ClosedPublic Authored by craig.topper on May 5 2020, 2:56 PM.
Details Summary gcc supports selecting ymm0/zmm0 for the Yz constraint when used with 256 or 512 bit vector types. Fixes PR45806
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 5 2020, 3:18 PM Closed by commit rG0fac1c191281: [X86] Allow Yz inline assembly constraint to choose ymm0 or zmm0 when… (authored by craig.topper). · Explain WhyMay 5 2020, 9:33 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 262289 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
|