[all-commits] [llvm/llvm-project] a65092: [SVE] Fix inline assembly parsing crash
david-arm via All-commits
all-commits at lists.llvm.org
Mon Jan 4 01:17:13 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a65092040ad4fefcdad18382781090839cad3b67
https://github.com/llvm/llvm-project/commit/a65092040ad4fefcdad18382781090839cad3b67
Author: David Sherwood <david.sherwood at arm.com>
Date: 2021-01-04 (Mon, 04 Jan 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
M llvm/test/CodeGen/AArch64/inline-asm-constraints-bad-sve.ll
Log Message:
-----------
[SVE] Fix inline assembly parsing crash
This patch fixes a crash encountered when compiling this code:
...
float16_t a;
__asm__("fminv %h[a], %[b], %[c].h"
: [a] "=r" (a)
: [b] "Upl" (b), [c] "w" (c))
The issue here is when using the 'h' modifier for a register
constraint 'r'.
Differential Revision: https://reviews.llvm.org/D93537
More information about the All-commits
mailing list