[PATCH] D25005: [x86][inline-asm][llvm] accept 'v' constraint

coby via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 28 00:30:00 PDT 2016


coby created this revision.
coby added reviewers: echristo, delena.
coby added a subscriber: llvm-commits.
coby set the repository for this revision to rL LLVM.
Herald added a subscriber: mehdi_amini.

1. 'v' constraint for (x86) non-avx arch imitates the already implemented 'x' constraint, i.e. allows XMM{0-15} & YMM{0-15} depending on the apparent arch & mode (32/64).
2. for the avx512 arch it allows [X,Y,Z]MM{0-31} (mode dependent)
This patch applies the needed changes to clang
clang patch: https://reviews.llvm.org/D25004

Repository:
  rL LLVM

https://reviews.llvm.org/D25005

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/inline-asm-avx-v-constraint.ll
  test/CodeGen/X86/inline-asm-avx512-v-constraint.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25005.72770.patch
Type: text/x-patch
Size: 4628 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160928/9dbce0ca/attachment.bin>


More information about the llvm-commits mailing list