XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

LLVM Discussion Forums - Latest posts

Latest posts

[RFC] Checker-Name Arguments for [[clang::suppress]] in the Static Analyzer

t-rasmud: Thanks. If I understand your suggestion correctly, you’d like the labels RFC to land first, so that suppressions could name a group of checkers by label instead of, or as well as, by checker name. Is that right? Yes, I was thinking it can make this RFC easier once we settle on how we want the checkers’ names to be, but it would not resolve the underlying issue. Also it is not a blocker for this RFC. t-rasmud: Handling renames and package moves is out of scope for this proposal and is…

[RFC] AI Policy strengthening around explainability

jh7370: I think there are likely a lot of people failing to properly follow our existing AI Policy in part because it is too wordy and it’s easy to miss some of the point. +1 IMHO, we’ve spent a disproportionate amount of time fine-tuning the policy and not enough making sure we enforce it (e.g. by ensuring that everyone is aware of it, knows where to find it, and understands what it means). jh7370: I also don’t think we should drop the “human in the loop” wording of the policy. That is a good…

Assembler and Inline Assembly Bugs Found by Fuzzing and Automated Testing

I found bugs related to the assembler and inline assembly using a fuzzer and automated testing. Given the recent discussion about fuzzing and the increasing number of issues, I would like to share my findings and seek advice on how to report issues, rather than just submit many issues. I have already submitted some of them. I am sorry that I had not noticed the recent discussion before submitting them. To begin with, I would especially appreciate advice on which kinds of cases are worth…

[RFC] Proposal to add Nintendo target to Clang and LLVM

Another option would be to use aarch64-nintendo-switch-elf as the canonical triple and support nn through TRIPLE_OS_ALIAS. Honestly, I don’t quite understand why we should give up a triple that is clearly easy for everyone to understand and is already used in the community, and instead adopt a hard-to-understand one simply because it is used internally by the vendor.

[RFC][MLIR] Align CODEOWNERS with active reviewing

rengolin: I just replied on the PR. Thanks, I replied back. rengolin: For now, a script that scans and finds outdated “owners” would work, so we can run this by hand. If we take that route, we’d need to define “outdated”. I guess that we’d need do it per CODEOWNERS rule. Otherwise, we need to define “areas” first. Note that some rules are very narrow, e.g. this one. Next, for every “area” / “rule”, we’d need to check the ratio of open PRs to reviews for a particular user. That can be done with…

Leaving the LLVM Community for a While

Hello community In the beginning of 2026, I joined the LLVM community with the dream of becoming a compiler engineer. Since then, I’ve been mentored by many people in the community, and there are many things I’ve told people I would do. Even just last week, I exchanged contacts with people at a LLVM meetup. I think it is not a manner to suddenly disappear, so I am writing this post. Last weekend, my father was diagnosed with stage 4 stomach cancer. So, I’m heading to South Korea to take care of…

[RFC] LLVM AI tool policy: AGENTS.md

I am in favour of @MattPD’s suggestion of a minimal entry-point file with an addition. In addition to links or pointers to standards and policies, a pointer to follow a specific developer documentation style guide for all communication will be helpful to reduce “LLM-speak”. In my personal agents file, I have instructed LLMs to follow the Google developer documentation style guide; This guide extensively defines the words, language, grammar, etc. This has helped make the LLM-generated text much…

Monthly LLVM libc meeting

michaelrj-google: Paul: LTO should work from the libc side, except for the malloc stuff that’s waiting on the providence checker. There’s at least one more known blocker around speculative loads (if enabled) for functions like strlen, at least if one allows inlining as well (which is mostly disabled due to the no_builtins attributes most builds add). Inlining a function that does speculative loads currently will result in the compiler detecting UB if we do read outside of the object and…

[RFC] Replace libxml2 with a small builtin XML parser in LLDB (and optionally LLVM)

pugixml is interesting, as Jonas said, it looks less overkill than libxml2 for our use case. The fact that it also has no dependencies and is MIT licensed makes it very interesting as an alternative for phase 2. For phase 1, I think that having no dependencies at all for XML reading is worth the tradeoff of maintaining our own XML parser.

Monthly LLVM libc meeting

Notes from today’s meeting: Clang pretty much builds against LLVM-libc Status: Total Discovered Tests: 56775 Skipped : 46 (0.08%) Unsupported : 5249 (9.25%) Passed : 51448 (90.62%) Expectedly Failed: 26 (0.05%) Failed : 6 (0.01%) llvm-strings is now a blocking failure, so check-clang doesn’t work Needed: erf libc++ config with exceptions on nl_langinfo (in progress) completed mbrtoc32 and c32rtomb Fix for PR51712-large-array-constexpr-check-oom.cpp Docs update Adding a security.md Jeff proposes…

[RFC] Replace libxml2 with a small builtin XML parser in LLDB (and optionally LLVM)

I remember, but can’t immediately find, a blog post or discussion about libxml2 being overkill for most use cases. At the time, LLDB immediately came to mind. Assuming we have a clear understanding of the scope of the needed support, I think this is a sensible direction, and in line with LLVM’s history of having its own JSON and YAML parsers. Another +1 on moving forward with the first phase, and then evaluating phase 2.

[RFC] AI Policy strengthening around explainability

jh7370: I also don’t think we should drop the “human in the loop” wording of the policy. That is a good tagline for summarising what is important. I really dislike the “human in the loop” wording because it is far too weak. If I copy-and-paste reviewer feedback into my AI tool and then copy-and-paste its responses back into the PR, that technically meets the “human in the loop” requirement. The only thing “human in the loop” prevents is direct AI tool posting of PRs and reviews. What I think we…

[RFC] Replace libxml2 with a small builtin XML parser in LLDB (and optionally LLVM)

+1 from me, primarily with interest in Phase 2 - I’m currently shipping LLVM without libxml2, but have gotten requests to enable it, to fill in the gaps around manifest support. Not requiring a third party separate dependency for this would be great. (Vendoring libxml2 inside llvm-project would also serve the same goal for me though.)

LLVM ABI library support for AArch64

Hi @FedericoBruzzone , no worries at all about the noise. I welcome more interest in this functionality. I posted a PR yesterday to enable AArch64 calling convention lowering in CIR, though it currently only handles basic types: #244014 I also just posted a PR to improve CIR’s representation of SVE vector kinds as a prerequisite for correctly classifying those during calling convention lowering: #244303

[RFC] Replace libxml2 with a small builtin XML parser in LLDB (and optionally LLVM)

This RFC proposes replacing LLDB’s optional libxml2 dependency with a minimal XML 1.0 parser which lives in the mono repo. Motivation libxml2 is not really optional in LLDB. It is required for gdb-remote target.xml, memory maps, library lists and dSYM plists files. If LLDB is built without libxml2, register info, loaded module lists and source remapping don’t work. On Windows it prevents testing lldb-server. libxml2 is not installed by default on Windows. Installing it at desk is awkward…

[RFC] A New Sign Extension Elimination Pass

Progress update I took some time to work on the impact of the pass and then reduced the cost of compile time again. I switched to the RISC-V architecture, which was the fastest to tune and benefits the most. For the RISC-V architecture, the cost model is easier than X86, so that was a sensible choice. I’ll follow up with patches for X86 and AArch64 in the upcoming months. The pass achieves 1.051% geo-mean code size reductions at the Oz optimization level for the Embech benchmark for a RISC-V…

RFC: BTF debug info for non-BPF ELF targets (-gbtf)

I’m more or less happy with “whatever GCC does” (re: should -gbtf suppress DWARF or not, for instance), assuming/after someone checks that is well justified (ie: there aren’t a bunch of folks on the GCC side saying “we really should change this to something else”). Another debug output format, like we have dwarf and codeview seems fine.

[RFC] AI Policy strengthening around explainability

Joe_Nash: Things can be useful when the are not understood by the user, the creator, or anyone. Yes, they can be useful, just as not everyone understands how a simple adder adds two numbers correctly, and produces billions of useful correct artifacts. The important qualifier here is inherent: how would you feel about italicizing this qualifier for emphasis? Not sure if I have better ideas for the moment: will think some more about it, thanks.

[RFC] Introduce `llvm.is.debugging.enabled` intrinsic

nikic: nomerge is a very exotic requirement, which e.g. would prevent something like if (x) { llvm.is.debugging.enabled } else { llvm.is.debugging.enabled } to be converted to just llvm.is.debugging.enabled. I’m not even sure when this comes up in practice, but possibly if there is some kind of binary introspection going on and you actually need to retain each distinct call-site in the binary. In any case, I don’t believe this is relevant for this intrinsic. I suppose attached debug location…

[RFC] Communicating Array Extents to LLVM Using llvm.assume.chained

Just to be clear, this just 100% confirmed my claim […]? Yes, ranges are what matter in that example. But there are also cases where the heuristic doesn’t find the extents even with the ranges known, such as this nest below, reduced from galgel: real(8) :: a(1000, 1000) do l = 1, nx do m = 1, ny do i = 1, nx do j = 1, ny a(ny*(l-1) + m, ny*(i-1) + j) = ... Without the extents, delinearization takes ny as the inner dimension and then needs 0 <= (m-1) + 1000*(j-1) < ny, which is false rather than…