[PATCH] D91631: [Matrix] Adjust matrix pointer type for inline asm arguments.
Florian Hahn via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 17 09:59:35 PST 2020
fhahn added a comment.
There's still one remaining issue. The backend will still crash when the resulting vector does not fit into the target's vector register directly. But that's the same as with `ext_vector_type` I think. The snippet below should produce the same `asm` call as a `float x 3 x 3` matrix.
using vec = float __attribute__((ext_vector_type(9)));
void f1 () {
vec m;
asm volatile("" : "+r,m"(m) : : "memory");
}
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91631/new/
https://reviews.llvm.org/D91631
More information about the cfe-commits
mailing list