diff options
author | Graham Hunter <graham.hunter@arm.com> | 2023-11-23 17:15:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-23 17:15:48 +0000 |
commit | b1fba568f6d4d824554fa22f43ec0f689a265664 (patch) | |
tree | e9492ea0ba1c54a3d336307b745dc571b1b23f8b /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | 3114bd32e758b0f25cfa3dee5fa520e45f8fe491 (diff) | |
download | llvm-b1fba568f6d4d824554fa22f43ec0f689a265664.zip llvm-b1fba568f6d4d824554fa22f43ec0f689a265664.tar.gz llvm-b1fba568f6d4d824554fa22f43ec0f689a265664.tar.bz2 |
[SVE] Don't require lookup when demangling vector function mappings (#72260)
We can determine the VF from a combination of the mangled name (which
indicates the arguments that take vectors) and the element sizes of
the arguments for the scalar function the mapping has been established
for.
The assert when demangling fails has been removed in favour of just
not adding the mapping, which prevents the crash seen in
https://github.com/llvm/llvm-project/issues/71892
This patch also stops using _LLVM_ as an ISA for scalable vector tests,
since there aren't defined rules for the way vector arguments should be
handled (e.g. packed vs. unpacked representation).
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions