diff options
| author | Sander de Smalen <sander.desmalen@arm.com> | 2024-10-08 10:01:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-08 10:01:40 +0100 |
| commit | f22e6d59190b03434b2a604399670d1b750d63c2 (patch) | |
| tree | 6795c959026c03331a931b26f99b81f72dacd31c /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py | |
| parent | 6b4c4d78f03b83a371e239844d2f86dafeed6b53 (diff) | |
[Clang][AArch64] Fix checkArmStreamingBuiltin for 'sve-b16b16' (#109420)
The implementation made the assumption that any feature starting with
"sve" meant that this was an SVE feature. This is not the case for
"sve-b16b16", as this is a feature that applies to both SVE and SME.
This meant that:
```
__attribute__((target("+sme2,+sve2,+sve-b16b16")))
svbfloat16_t foo(svbfloat16_t a, svbfloat16_t b, svbfloat16_t c)
__arm_streaming {
return svclamp_bf16(a, b, c);
}
```
would result in an incorrect diagnostic saying that `svclamp_bf16` could
only be used in non-streaming functions.
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions
