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

Seeking advice on reporting ~100 MLIR bugs found by an automated testing tool

@banach-space Following up on the GitHub review of the issue template, I’m moving the general process discussion into this thread. This builds on my earlier post and on what’s happened since: the fuzzing-campaign tag is in place, @wildoranges has set up the mlir-bug-reports ledger (which already works a lot like a campaign thread), and the new issue template has a “fuzzing campaign” field. The only thing missing is a flow we all agree on, covering the general case: someone runs a campaign,…

[RFC] Determining the size of C-interoperable types

Thank you for pointing that out. The CMake documentation states that the result can be empty, but I did not understand its meaning correctly. The result is empty when the type does not exist. However, the C standard requires int_fast{16,32}_t to be defined even in a freestanding environment. So, the value should not be empty for these types, and the fallback might not be necessary.

LLVM Weekly - #673, November 23rd 2026

LLVM Weekly - #673, November 23rd 2026 If you prefer, you can read the canonical version of this issue at https://llvmweekly.org/issue/673. Welcome to the six hundred and seventy-third issue of LLVM Weekly, a weekly newsletter (published every Monday) covering developments in LLVM, Clang, and related projects. LLVM Weekly is brought to you by Alex Bradbury. Subscribe to future issues at https://llvmweekly.org and pass it on to anyone else you think may be interested. Please send any tips or…

[RFC] Bringing interactive MLIR compilation and execution to WebAssembly

Also @makslevental, picking up your point about CI: makslevental: Note, another thing I didn’t want to figure out was how to test this path in CI. This is where I’d like to bring emscripten-forge into the picture It already has 600+ WebAssembly package recipes, including Python, NumPy, PyTorch and JAX, alongside LLVM, Clang, LLD, MLIR, Torch-MLIR, IREE’s compiler/runtime and Turbine. More than 200 recipes use its headless-browser Python testing infrastructure. This is already part of how the…

Seeking advice on reporting ~100 MLIR bugs found by an automated testing tool

Great points, @LiRvs-Miria ! LiRvs-Miria: I’d suggest a dedicated Discourse tag as the intake lane (e.g. tool-found or batch-bug-cluster, or something along those lines). I have just tagged this thread as fuzzing-campaign - does that work? Suggestions for better names are welcome! wildoranges: The full list is now in a separate repository, mlir-bug-reports, split into two directories. Amazing work, thank you! wildoranges: For the 9 high-priority ones: do you think they are worth reporting? If…

[RFC] Bringing interactive MLIR compilation and execution to WebAssembly

A quick update on where the work behind this RFC has taken me: PyTorch, JAX alongside ML compilers XLA and IREE, are now running entirely in the browser through JupyterLite Thanks @makslevental for sharing EUDSL’s WebGPU work, which helped inspire the next stage! Following @dschuff’s suggestion, the latest demonstrations use wasm64, avoiding the particular wasm32 MemRef descriptor mismatch discussed above in this configuration. I went beyond the original MLIR execution experiments to explore…

[RFC] AI Policy strengthening around explainability

jh7370: To be clear, I think there is value in stating the motivation, but I think we should keep motivation separate from actions in the text. Hehe, in math academia, we always state the hypotheses and goals right at the start, with numbered equations, so we can refer to them in the body, and show step-wise construction. Do we have a similar idea for a loose paragraph of text, where we can show the logical construction? At the moment, we rely on “It follows that” immediately following the…

[RFC][mlir][Linalg][Vector] Fast-math flags on Linalg and Vector ops

rengolin: what happens when a generic without these flags wants to specialize. Does it? IMO it shouldn’t - unless somebody presents an argument for having such a flexibility (I mean contract and reassoc flags exclusively). In the cases where the flags are missing we should require the users to explicitly set them before specialising. That’s unfortunately the cost of having a more explicit design around fastmath rengolin: FedericoBruzzone: should the Linalg vectorizer explicitly encode them as…

Seeking feedback: consistently checking that debug information does not change LLVM’s non-debug output

I think there could be a place for infrequently run builders (say scheduled once a week - maybe at the weekend on an existing worker that may be less loaded) if the buildbot setup can reasonably support that and if there’s a community actually monitoring it. I’m not sure if our buildbot setup reasonably supports that.

[RFC][mlir][Linalg][Vector] Fast-math flags on Linalg and Vector ops

FedericoBruzzone: Similarly, what happens if the ops contained within the body have additional fast-math flags (such as nnan, ninf, or nsz)? How should these be handled when a generic op is specialized into a named op, given that the latter might not be able to represent them at all? This is what I meant by my question. There’s two ways I can see this happening: We only convert what has the exact semantics: So, a generic with a payload without fast-math flags do not get converted to named ops.…

[RFC] Linear Type System Support in Upstream MLIR

Interesting discussion! I believe that the introduction of substructural types into MLIR requires significant discussion. I “recently” wrote a post on substructural type systems, covering linearity, affinity, uniqueness, ownership, and capabilities. One thing worth considering is that these concepts are related, but they don’t necessarily share the same semantics or enforcement mechanisms. In particular, I’m wondering whether a generic LinearType trait is the right abstraction to start with.…

[CFP] TritonNext 2027: Talks, Posters and Workshop Proposals — Beijing, January 22–24

Sharing an open call from FlagOS Community for LLVM/MLIR and compiler developers working on AI programming, code generation, kernels, and cross-architecture optimization. TritonNext 2027 takes place January 22–24, 2027, in Beijing, China. We welcome two kinds of contributions: Technical talks and posters Research, work in progress, engineering experience, and open-source demonstrations are welcome. Relevant topics include kernel languages, compiler optimization, agent-driven kernel generation,…

[RFC][mlir][Linalg][Vector] Fast-math flags on Linalg and Vector ops

Thank you very much for the prompt response. I have a few more genuinely questions that I’d like to discuss. Doesn’t linalg.generic, by its nature, possess the same implicit semantics as any other Linalg op? If reassociation and FMA contraction are part of Linalg’s semantics, shouldn’t a generic operation already include such permissions? And if so, what would prevent it from being specialized into a named op? Now, regarding this specialization, I believe there is another aspect worth…

[RFC][mlir][Linalg][Vector] Fast-math flags on Linalg and Vector ops

FedericoBruzzone: should these permissions also apply to the operations generated by generalizeNamedOp, without requiring explicit attributes? Is this still an open question, or do you already have a specific approach in mind? I believe so, yes. However, the more interesting question is: what happens when a generic without these flags wants to specialize. Does it? FedericoBruzzone: should the Linalg vectorizer explicitly encode them as attributes on the resulting Vector ops? If my belief above…

[RFC] AI Policy strengthening around explainability

Whilst I am not against the overall goal of this, I still have strong concerns with the amount of extra words that this is adding to the policy, hiding the actionable points amongst the motivation. To be clear, I think there is value in stating the motivation, but I think we should keep motivation separate from actions in the text. I also think that this RFC has not had sufficient interaction to be considered close to reaching consensus, given there are multiple people opposed, so drafting a PR…

[RFC] DWARF addresses for discarded, overridden weak, and ICF-folded definitions

I’m really sorry for making the post hard to read. As I mentioned at the bottom, I used an LLM to polish the text. The information density is partly because it mixes problems from the producer and consumer. I will keep that in mind and make my materials easy to read. Thanks for your kind suggestions and patience. As I said before, my background is livepatch in userspace and I use DWARF to correlate symbols (so they can be compared). So the problem here is my tool must understand the weak…

RFC: HexFloat floating-point support

This is the summary of the community meeting, together with the results of further investigation that the discussion provoked/ For the evaluation of maths library function/builtin calls with an LLVM libc dependency, we will bail out instead of evaluating in a different format. As LLVM libc support using integer arithmetic becomes available, calls will be made to LLVM libc. LLVM IR language reference to be updated to say that the result of an expression might not be normalized, and: [addition…

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

caniko: Is an opt-in, ELF-only debug format in AsmPrinter, emitted alongside DWARF, acceptable? Should -gbtf on its own suppress DWARF? Currently DWARF is emitted as well. Should non-BPF targets emit .BTF.ext line and function information at all, or only .BTF? I understand the motivation for the BPF target and eBPF ecosystem (and not relying on pahole), but why would a non-BPF target want to generate BTF? Are there use cases beyond eBPF nowadays? Even if non-BPF targets did generate it, I would…

[RFC][mlir][Linalg][Vector] Fast-math flags on Linalg and Vector ops

Jianhui-Li: Calling it “implicit fastmath” is not wrong from an MLIR maintainer’s perspective, but it implies that we approach the Linalg op definition from LLVM terminology, and that is what I’m trying to prevent. It is a valid concern. But we also need to be explicit (at least via documentation) about what is the expected behavior are for those ops. Otherwise, we end up with lowering that are not consistent which cause even more problem (which is the case now). rengolin: While setting mma…

LLVM ABI library support for AArch64

andykaylor: Hi @FedericoBruzzone , no worries at all about the noise. I welcome more interest in this functionality. Thank you, Andy! andykaylor: I posted a PR yesterday to enable AArch64 calling convention lowering in CIR, though it currently only handles basic types: #244014 Your efforts are truly valuable. Unfortunately, I do not currently have the bandwidth to help you with this impl That said, AFAIK, this functionality is indeed necessary, for a number of reasons. andykaylor: I also just…

[RFC][clang-tidy] Organize lit tests into per-check directories

I propose putting clang-tidy lit tests under clang-tools-extra/test/clang-tidy/checkers/<module>/<check>/. New checks would use this layout, and existing checks could move incrementally. Motivation When I’m working on a clang-tidy check, I want one command that rebuilds what changed and runs that check’s tests. For modernize-use-auto, the existing Ninja target runs all 165 tests in modernize. I can run the seven use-auto tests directly with lit, which uses the clang-tidy binary already in the…

[RFC][MLIR] Align CODEOWNERS with active reviewing

rengolin: For now, a script that scans and finds outdated “owners” would work, so we can run this by hand. banach-space: 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 GitHub CLI. However, there’s a limit on how many queries you can send, so … I also encountered this issue today. I wasn’t aware of it banach-space: Perhaps I am missing some GitHub CLI “foo”, but right now I feel that (for a particular area) a…

[RFC] Consistent denormal flushing during constant folding

The status quo where some operations apply the mode in some contexts (the 4-ish places that perform constant folding) and not others is really not good. If we consistently did one or the other it would be an improvement. @arsenm So I think we agree that Lewis’s API is an improvement? My understanding of the discussion so far is that we have a consensus that according to LangRef semantics LLVM does not need to honor denormal modes when constant folding and it does not need to be consistent with…