XIO

xWire

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

LLVM Discussion Forums - Latest topics

Latest topics

Wrapping Up LLVM's Relicensing Effort

LLVM’s long relicensing effort is nearly done: more than 99.5% of all code ever contributed to LLVM is now covered by the Apache-2.0 WITH LLVM-exception license, has left the code base, or is too small to be covered by copyright. We think that’s a good moment to call the effort complete. This post explains why the change matters, how we got here, and what happens next. Why a single license helps One license means less guesswork for everyone who builds on LLVM. Today, anyone shipping LLVM in a…

[GPU] Should async operations name an executor?

I have been using the GPU dialect as a target in my lowering and it works great, thanks! I’ve run into an issue when using the asynchronous forms of operations like gpu.launch and gpu.alloc, especially when interfacing with foreign/external clients that want to manage their own execution resources. The problem is that there’s no consistent, first principles way to say: Where asynchronous GPU work is supposed to run, and What asynchronous work depends on Instead, the default device is global…

RFC: Indentation for libomptarget INFO

(This proposal would land after: RFC: extend LIBOMPTARGET_INFO functionality to allow verbosity control and proposes formatting for the new summary lines added to DataTransfer in it) The current output for LIBOMPTARGET_INFO can be hard to parse due to the output being unformatted, namely lacking whitespace making it hard to easily and quickly parse. As an initial effort to address this I propose to add whitespace indentation on the DumpTable, KernelArgs and DataTransfer output categories:…

[RFC] Adopting Python Multiple Interpreters in LLDB

For as long as I can remember, LLDB has given each debugger its own script interpreter object and session dictionary. Under the hood, all debuggers run in the same Python interpreter and share its modules, sys and the globals of the lldb module. This is just a workaround, and there are plenty of times this illusion breaks. A concrete example of that is when two debuggers import a module with the same name (from different directories) and the last import wins. Python added subinterpreters in…

Support for GCC Vector Extentions

I noticed the following differences in Clang behavior against GCC’s Clang doesn’t allow taking the address of elements Clang doesn’t allow increment/decrement on vectors, though in the table of supported vector operations it’s marked as supported No __builtin_shuffle It’s possible to mix vectors of different signedness or number of elements, while gcc doc forbids it (but gcc accepts…) Semantics of logical operations significantly differ from gcc’s. Apart from the first item, I haven’t been able…

PDX Area November 2026 social

November 2026 Portland (Oregon, USA) LLVM social, Thanksgiving edition. Date&time: November 24th, 2026, 6 PM. Location: BG Food Cartel , 4250 SW Rose Biggi Ave, Beaverton, OR 97005. Since this instance would fall on Thanksgiving (Thursday), we are meeting on Tuesday instead. The food cart lot is right next to a MAX station (Beaverton Central), but also has dedicated parking. The venue has an indoor seating area and a bar. Looks like the location has been a hit, but we are open to other…

[RFC][LTO] Make hosts responsible for loading plugins

I propose to deprecate lto::Config::PassPluginFilenames. LTO hosts should load pass plugins themselves and pass them in lto::Config::LoadedPassPlugins. This post explains the motivation, the interface contract and what changes in-tree. The scope is the lto::LTO API with its backend entry points, and dynamically loaded plugins. Statically linked extensions and the legacy LTO API (which has no plugin support) are not affected. Background lto::Config offers two ways to provide plugins today. With…

[RFC] AI Policy strengthening around explainability

The context of this RFC is that I would like to propose to stronger stance on machine-generated output based on my own long-standing experience with esoteric reasoning and motivation. I have a long history of authoring code and math that I cannot explain sufficiently well, even prior to LLVM: there is some complicated, esoteric, non-verbal reasoning process that goes on in my head, that I’m not able to put down sufficiently well in communication to others. It’s always straightforward to explain…

[Hiring] GPU Compiler Engineer – Intel Graphics Compiler (LLVM), Santa Clara, CA (hybrid)

Hi, My team at Intel is hiring a full-time GPU Compiler Engineer in Santa Clara, CA (hybrid: part on site, part remote). We build the LLVM-based compilers behind Intel GPUs, used for AI, HPC and data-center workloads. What you’d work on Compilers for OpenCL, OpenMP, C for Metal and SYCL / Data Parallel C++ New compiler features, and code generation and optimization for Intel GPU architectures Finding and fixing performance bottlenecks, together with the hardware and architecture teams Tooling…

Why does InferAddressSpaces not handle Call instructions(InlineAsm)?

Recently I met a situation where an operand of an inline asm call can be proven to be in the shared address space, but it was not inferred. I tried adding the following code to `collectFlatAddressExpressions`, and it worked for my case: else if (auto *CB = dyn_cast<CallBase>(&I)) { if (isa<InlineAsm>(CB->getCalledOperand())) for (Value *Arg : CB->args()) { if (Arg->getType()->isPointerTy()) PushPtrOperand(Arg); } I’d like to know why inline asm (or call instructions) is not handled here. Is it…

Values of LLVM

Going through another iteration of LLM policy discussions late at night, I thought we should step up to the near-philosophical level and identify what are the values of the LLVM project/community. This would allow us to argue whether any proposed policy changes align with those values or not, and I suspect at least some disagreement may be resolved in a more principled way. I see two categories The community / people involved. We have an amazing group of people who are respectful, competent,…

[RFC] Reopen discussion on policy forbidding AI-generated communication

TL;DR: Please revert this policy. It is premature before we holistically rethink how LLVM will operate as AI becomes more prevalent in software development. -– [RFC] Forbid AI-generated communication was closed with the statement that the project council had approved it. This policy was already being enforced before it was written: Comment llvm/llvm-project Comment by ftynse - [mlir][LLVM] Include LLVM dialect partition headers instead of LLVMDialect.h users/zero9178/llvm-dialect-partioning ←…

LLVM 23.1.6 Released!

We are happy to announce that LLVM 23.1.6 is now released! This includes the main LLVM project, and its subprojects including clang, lld, libc++, and MLIR. Huge thanks to everyone that contributed, reviewed, provided support and in any other way contributed to this release! Please note the subproject tarballs have been removed after RFC: Do “something” with the subproject tarballs in the release page Download Find sources on GitHub. A note on binaries Official binaries will not be available…

MLIR News - 79th edition (16th November 2026)

Welcome to the 79th edition of the MLIR (Multi-Level Intermediate Representation) Newsletter! An active month with 574 commits in the MLIR tree. Major themes : performance improvements to the pass infrastructure and greedy rewriter (6x pipeline speedup in parallel execution, 84x on deeply nested IR), a new “Logical Sharding” mechanism for ODS that halves compile-time memory, vector dialect masking unification underway, TOSA elementwise ops now lower to linalg.elementwise, and a new DLTI scoped…

Ideas dealing with huge variants

Hi, i find that when dealing with huge variants, compilers become very slow quickly. I run this with time clang++ -c -ftemplate-depth=10000 -fbracket-depth=10000 cc-slow-absl.cpp -o tmp.o and i takes about 45 secs to finish. Is there’s any secret sauce to make this work better? Or is std::variant designed to be slow for compilation in this case? Gist gist.github.com/crlf0710 https://gist.github.com/crlf0710/8e14b927eaeaeed97a721cee8c93962d cc-slow-absl.cpp #include <absl/types/variant.h>…

Suggestion to improve InstCombine PR review process

Suggestion to improve InstCombine PR review process InstCombine receives a lot of PRs, and not all of them bring any significant real-world benefit. Some are useful, while others are just small optimizations without much practical impact. Since GitHub automatically assigns code owners as reviewers, a large number of these PRs end up in the maintainers’ review queues. This makes it difficult for them to focus on PRs that actually need attention. Possible solution Maybe we can consider changing…

[RFC] RemoveDeadValues: declared side effects vs derived liveness in dead functions

Hello, Following the fuzzer-found issue #237126 (crash layer fixed by #208881, verifier failure remaining), I posted a root-cause analysis on the issue. The reproducible part turned out to be an instance of what I believe is a general design question about remove-dead-values, so I would like to discuss it here before writing the fix. What happens In a private function with no callers, nothing seeds the backward liveness analysis (return/terminators carry no values), so every value in the body…

[RFC] Declare optimization remark kinds in TableGen

I’d like to propose declaring LLVM’s optimization remark kinds in TableGen and generating one typed builder per kind, so that a remark’s name, outcome, message and arguments are stated once and checked when the compiler is built. This is the first half of the RFC I posted in October, split out as Florian Hahn suggested there. A prototype exists, nothing is proposed for landing, and I’m after a judgment on whether the shape is viable. A follow-up RFC proposes to carry the declared remarks into…

[RFC][AMDGPU] Deprecating and removing LLVM’s R600/TeraScale backend

I would like to propose removing LLVM’s R600/TeraScale support from the AMDGPU target. This proposal only affects the R600 and TeraScale code paths. Support for GCN, RDNA, CDNA and current AMDGPU targets will not be affected. Historical background R600 originated at ATI Technologies and reached the market after AMD acquired ATI, with the Radeon HD 2900 XT launched in May 2007. It implemented ATI’s first unified shader architecture for PCs and was part of the first generation of TeraScale, which…

[RFC] Extend update_cc_test_checks.py to support multi-IR tests

Authors: Vicky Nguyen (aka iamvickynguyen) and Andrzej Warzyński (aka banach-space) We would like to propose extending update_cc_test_checks.py to support tests that verify multiple intermediate representations (IRs) within a single source file. Our primary motivation is Clang’s builtin code-generation tests, which increasingly exercise both the traditional Clang CodeGen pipeline and ClangIR. These tests share the same C/C++ source code but generate checks for different IRs, including LLVM IR…

A New `ub.assume` Operation

We were discussing integer overflow / range bugs and missed optimizations at the MLIR Meetup and folks expressed interest in an upstream operation to attach integer range information to SSA values. Is there broader interest in adding such an operation to MLIR? I’d like to focus on a design where metadata is discovered with a data flow analysis as opposed to encoding it in the type system (e.g. !my_int<32, range=[0, 128]>). The latter is incompatible with existing builtin types. There are two…

[RFC][AMDGPU] Performance-driven expansion of f32 atomic RMW on gfx12

Summary I’d like to propose a discussion about performance-driven expansion of floating-point atomicrmw fadd operations on gfx12 (gfx1200/gfx1201). Measurements show that native global_atomic_add_f32 has substantially lower throughput than integer atomics and can severely degrade the performance of unrelated memory operations running concurrently on the same GPU. A compare-and-swap (CAS) loop avoids much of this interference, although native atomics remain faster for some low-contention…

[RFC][MLIR] Align CODEOWNERS with active reviewing

Hi everyone, Authors: Andrzej Warzyński and Federico Bruzzone We would like to clarify the distinction between GitHub CODEOWNERS and PR subscriptions, and propose that we use these mechanisms more consistently in MLIR. For context: LLVM’s CODEOWNERS automatically requests reviews when a PR modifies matching files or directories. Its header also explains that adding yourself means committing to review a substantial proportion of PRs in that area. LLVM’s pr-subscribers-* teams let people receive…

[RFC] Representing Fortran aliasing rules in LLVM IR: options and costs

The full design document, with background, all measurements and the kernels, is in #242549 (rendered). This post summarizes it and lists the questions we would like answered. The problem Flang encodes Fortran’s aliasing guarantees in TBAA metadata, with one TBAA tree per function. The trees mix two kinds of facts: facts that hold everywhere, such as “a descriptor field never overlaps array data” or “two different module variables never overlap”; facts that hold only during one invocation of a…

[RFC] Host LLVM formal verification tools as part of LLVM project

Summary This RFC proposes adding LLVM formal verification tools directly into the LLVM GitHub project within a dedicated, separate repository. This infrastructure will serve as a common ground-truth testbed for evaluating LLVM IR semantics, checking tool expectations, and feeding an interactive Compiler Explorer instance for formal verification. Motivation & Background This is a follow up to the LLVM Dev Meeting round table discussion. The community currently utilizes several formal…

Guidance regarding finding proper reviewers

Hi everyone, I recently submitted three PRs to MLIR as I’m working toward gaining Contributor status. One of them was reviewed quickly, which was great, but I haven’t been able to get any feedback on the other two (PR #226759 and PR #227145) despite a few polite pings. I know reviewers volunteer their time, so I want to make sure I’m routing these to the right people rather than tagging folks outside their area of expertise. So far, I’ve tried assigning people who have worked on similar code,…