Update features tables to LLVM 21.1.8#22
Conversation
|
Don't quite understand what I'm supposed to do with the test failures. I frankly don't quite understand how to read the output, it's very confusing, there are lot of messages indicating "failures" and it's hard to tell what's relevant and what's not. I'm going to assume the relevant part is No idea what that "3 test(s) failed" refers to, it's impossible to understand what test fail, and what are those 3 (I see a lot more than 3 "FAIL" messages) |
This comment was marked as resolved.
This comment was marked as resolved.
I only ended up here to fix some conspicuous bugs 🙂
All of the failures are relevant. If the tables are updated such that new features are added, the host detection logic needs to be updated to detect them so that we can safely enable them ("All HW features must be categorized"). That is your situation for |
So messages like are relevant? Would look like something bad at a quick glance, but I know this is running on aarch64 and not finding haswell/skylake/znver4/znver3 doesn't seem surprising, but then this is confusing ("what am I supposed to do with this?"), which is my point.
Any hint of where the detection logic happens? |
|
Ok, I asked for help to a friendly assistant, and at least tests are passing on this platform. It claimed that
I also got it to add some more information to the README about what to do when upgrading LLVM version, with references. I kept the changes in separate commits, to make review easier. Feel free to fix anything wrong! |
|
The sky lake etc messages are kind of sanity checks for doing things locally (and just to know what cpu CI might have) but thanks for reminding me that I need if defs around them |
|
The It sounds like
Pushed 2 commits to fix each. I think the host detection is OK now |
Co-authored-by: Christian Guinard <28689358+christiangnrd@users.noreply.github.com>
LLVM 21 changed `sve2-sha3` to be shorthand for `+sve2,+sve-sha3` so we no longer need to worry about this as a HW bit.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This was a bug in upstream LLVM 21, already fixed in trunk. See llvm/llvm-project#152156
Windows and macOS don't expose this yet, but Linux does.
Co-authored-by: Cody Tapscott <84105208+topolarity@users.noreply.github.com>
Co-authored-by: Cody Tapscott <84105208+topolarity@users.noreply.github.com>
topolarity
left a comment
There was a problem hiding this comment.
Took the liberty of rebasing on top of #25.
I think this is ready to merge, assuming CI is happy.
|
Thanks for kicking this process off @giordano ! |
|
Thanks for pushing it to the finish line 😃 |
CC @gbaraldi @topolarity (none of you is watching the repo...)