[PowerPC] Support constraint code "ww"
authorFangrui Song <maskray@google.com>
Thu, 4 Jul 2019 04:44:42 +0000 (04:44 +0000)
committerFangrui Song <maskray@google.com>
Thu, 4 Jul 2019 04:44:42 +0000 (04:44 +0000)
commit1f333562de96bb9343721a703dee1277929d61e4
treee793533d10f87f6b8783b0ec2acbcc2c76d4f131
parentfa9d232e4389bbd9ca82f8b6b34a1784107835fc
[PowerPC] Support constraint code "ww"

Summary:
"ww" and "ws" are both constraint codes for VSX vector registers that
hold scalar double data. "ww" is preferred for float while "ws" is
preferred for double.

Reviewed By: jsji

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

llvm-svn: 365106
clang/lib/Basic/Targets/PPC.h
clang/test/CodeGen/ppc64-inline-asm.c
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/inlineasm-vsx-reg.ll
llvm/test/CodeGen/PowerPC/vec-asm-disabled.ll