HomePhabricator

[x86][inline-asm][clang] accept 'v' constraint Commit on behalf of: Coby Tayree

Authored by m_zuckerman on Nov 1 2016, 6:16 AM.

Description

[x86][inline-asm][clang] accept 'v' constraint Commit on behalf of: Coby Tayree

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
LLVM patch: https://reviews.llvm.org/D25005

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

llvm-svn: 285688

Details

Committed
m_zuckermanNov 1 2016, 6:16 AM
Differential Revision
D25005: [x86][inline-asm][llvm] accept 'v' constraint
Parents
rGc96da1100dc6: Remove second argument to readProvideOrAssignment.
Branches
Unknown
Tags
Unknown