| commit | b8d2873d93c1e40d99fae9c25505246f3815c0d7 | [log] [tgz] |
|---|---|---|
| author | Akira Hatanaka <ahatanaka@apple.com> | Thu Jul 21 21:39:05 2016 +0000 |
| committer | Akira Hatanaka <ahatanaka@apple.com> | Thu Jul 21 21:39:05 2016 +0000 |
| tree | fefb2953bcbde7c22e174dfa1f9e3468b14a4c0e | |
| parent | 395386f91035d2cbc47f490683227b6ccdc816ed [diff] |
[AArch64][Inline-Asm] Return the 32-bit floating point register class
when constraint "w" is used on a 32-bit operand.
This enables compiling the following code, which used to error out in
the backend:
void foo1(int a) {
asm volatile ("sqxtn h0, %s0\n" : : "w"(a):);
}
Fixes PR28633.
llvm-svn: 276344