diff options
author | David Spickett <david.spickett@linaro.org> | 2025-10-01 15:53:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-01 15:53:10 +0100 |
commit | edb80a8d7fb2e1e29a4cb792148b4ffd441eb114 (patch) | |
tree | b9eebc38ba50a2d023c7acba721e9afc1aa9a884 /llvm/tools/llvm-readobj/llvm-readobj.cpp | |
parent | 9e0c0a09392ff7d3b196b17c77595e921e35d765 (diff) | |
download | llvm-edb80a8d7fb2e1e29a4cb792148b4ffd441eb114.zip llvm-edb80a8d7fb2e1e29a4cb792148b4ffd441eb114.tar.gz llvm-edb80a8d7fb2e1e29a4cb792148b4ffd441eb114.tar.bz2 |
[lldb][test] Fix bf16 test cases on Arm 32-bit (#161528)
Fixes #157674
On ARM, the presence of a specific bf16 type in the AST is gated by:
```
bool ARMTargetInfo::hasBFloat16Type() const {
// The __bf16 type is generally available so long as we have any fp registers.
return HasBFloat16 || (FPU && !SoftFloat);
}
```
And the target we use when evaluating symbols (derived from the program
file, I think, haven't found it yet) does not enable any of this.
This means that we fall back to __fp16.
So for parts of the testing we just need to expect __fp16 instead, and
others we need to skip because now a class looks like it inherits from
itself.
There's a proper fix here somewhere but I don't know what it is yet.
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions