HomePhabricator

[x86][inline-asm][clang] accept 'v' constraint

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

Details

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