[all-commits] [llvm/llvm-project] 0fac1c: [X86] Allow Yz inline assembly constraint to choos...

topperc via All-commits all-commits at lists.llvm.org
Tue May 5 21:12:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0fac1c19128106b6d65d349a5ed22fedacab520c
      https://github.com/llvm/llvm-project/commit/0fac1c19128106b6d65d349a5ed22fedacab520c
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-05-05 (Tue, 05 May 2020)

  Changed paths:
    M clang/lib/Basic/Targets/X86.cpp
    M clang/test/CodeGen/x86-inline-asm-v-constraint.c
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/inline-asm-avx-v-constraint.ll
    M llvm/test/CodeGen/X86/inline-asm-avx512f-v-constraint.ll

  Log Message:
  -----------
  [X86] Allow Yz inline assembly constraint to choose ymm0 or zmm0 when avx/avx512 are enabled and type is 256 or 512 bits

gcc supports selecting ymm0/zmm0 for the Yz constraint when used with 256 or 512 bit vector types.

Fixes PR45806

Differential Revision: https://reviews.llvm.org/D79448




More information about the All-commits mailing list