OSDN Git Service

[X86] Limit the 'x' inline assembly constraint to zmm0-15 when used for a 512 type.
authorCraig Topper <craig.topper@intel.com>
Mon, 15 Apr 2019 21:06:32 +0000 (21:06 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 15 Apr 2019 21:06:32 +0000 (21:06 +0000)
commitcc4577dd5da129570f9a8684cc84d00b15849d97
treeffbff575e865312b8d4b3e64c377fb2491cf52ea
parent27331403cf151f1d2a270c1f23cce182776136c8
[X86] Limit the 'x' inline assembly constraint to zmm0-15 when used for a 512 type.

The 'v' constraint is used to select zmm0-31. This makes 512 bit consistent with 128/256-bit.a

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@358450 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86RegisterInfo.cpp
lib/Target/X86/X86RegisterInfo.td
test/CodeGen/X86/inline-asm-avx512f-x-constraint.ll [new file with mode: 0644]