L
RFC: Communicating Array Extents to LLVM Using llvm.assume.chained Madhur Amilkanthwar, Sjoerd Meijer, Sebastian Pop, Elvina Yakubova, Yafet Beyene, NVIDIA. We have discussed parts of this proposal informally and are sharing it here to get wider input from the community. Summary. Fortran guarantees that every array subscript stays within its dimension, but the guarantee is lost when Flang lowers an access to a linear address. We propose llvm.assume.chained, a pointer-forwarding intrinsic whose…
L
I recently added so-called “Logical Sharding” to MLIR-TableGen which allows you to split a dialect into multiple *Ops.cpp.inc and *Ops.h.inc pairs [mlir][ODS] Add so-called "Logical Sharding" to ops by zero9178 · Pull Request #239254 · llvm/llvm-project · GitHub The idea and motivation is that previous automatic index sharding only ever split the cpp file but never the header file which meant every TU resulting from that split as well as users of the header file, were including all op…
L
The C and C++ standards committees are both meeting next week in Brazil, so please expect some amount of delay in code reviews for the next few weeks as many of our maintainers will be busy with those meetings. Thank you for your patience! 2 posts - 2 participants Read full topic
L
Given that WG21 is meeting next week, a fair number of folks cannot make today’s meeting due to travel or other prep work, so I’m canceling for today. Our next meeting will be held at the usual time on Friday Nov 27th. Sorry for the late notice of cancellation! CC @changkhothuychung @katzdm @Sirraide 1 post - 1 participant Read full topic
L
The Builtin bytecode versioning RFC introduced stability guarantees for Builtin attribute and type encodings. Subsequent changes, such as adding DLTI support, also preserve historical builtin.module encodings, although stability of operations were not explicitly covered by the RFC. We (Arm) are interested in providing bytecode compatibility guarantees for the TOSA dialect, based on the backwards compatibility guarantees of the specification. However, our artifacts also contain Func operations,…
L
We’re planning the next LLVM Bay Area monthly meetup. Date: Monday Nov 30, 2025 6pm Event Address: Don Giovanni’s 235 Castro St, Mountain View, CA 94041 There is no need to RSVP for this event. There will still be a cash bar. We’ll be indoors; consider bringing hearing protection, cloves of garlic, silver or wooden staves, and some holy water. Attendees are required to adhere to the LLVM Community Code of Conduct . For any Code of Conduct reports, please contact the organizers, and also email…
L
Hi all, I come from numerical linear algebra, with a long-standing interest in compiler construction. Recently I started to explore MLIR, and I find it fascinating. To learn it, I prototyped a compiler for a problem I know very well from about 20 years ago: mapping numerical algorithms onto BLAS and LAPACK. Back then I reimplemented large parts of LAPACK by hand (FLENS-LAPACK, checked bit for bit against the reference LAPACK), and I always felt I was doing a compiler’s job. Building the…
L
We propose changing the Clang Static Analyzer (CSA) to honor the string arguments of [[clang::suppress("...")]], interpreting each argument as a checker name or checker package. [[clang::suppress("core.NullDereference")]] return p; // suppress null-dereference report [[clang::suppress("core")]] { // suppress every checker in package "core" ... } [[clang::suppress("core.DivideZero", "unix.Malloc")]] // suppress any listed name Context Today [[clang::suppress]] is all-or-nothing in CSA. A bare…
L
Currently ValueBoundsOpInterface relies on populateAndCompare calls to decide if some bounds can be used. For example, arith.mul needs to know if the operands are positive to decide which bound is the lower bound and which the upper bound. The problem is how it’s implemented: ValueBoundsConstraintSet continues processing the queue without finishing the current item, so some of the operations don’t “see” all the bounds and have to “compare” using limited information. And so the exact value…
L
Hi everyone, I have recently been using a fuzzer I developed to test MLIR, and I have been following the community discussions about fuzzer-discovered issues and AI use. I would like to describe my workflow and ask for feedback on reporting issues and becoming more involved in the community. Fuzzing and issue reporting My fuzzer uses traditional fuzzing techniques and does not use an LLM during the fuzzing process. After finding a problem, I use an LLM to help reduce the reproducer, analyze…
L
I think will be good idea to limit rate of AI/bot-assisted issues creation without triage role. This will reduce load on people who deal with labeling upcoming issues. Limit could be 5 per day or other not too big number. 21 posts - 12 participants Read full topic
L
Hi everyone, I have a small question about the number 0xc16912cd. My question is, in what situations is this number suitable for regression testing? Thanks. (The question may not be detailed enough.) 2 posts - 2 participants Read full topic
L
I am looking for some guidance on side effect modeling with the MemoryEffectOpInterface. Can an op that internally allocates some memory, accesses the memory, then deallocates the memory be marked as “no effects”? Can an op that accesses constant memory be marked as “no effects”? E.g. an operation that reads from lookup table instead of computing a complex mathematical function. My answer to both questions would be “yes” because these effects are not externally observable. Apart from some edge…
L
Join the Israel LLVM community for an evening dedicated to the latest advancements in compilers and system architecture, hosted by Majestic-Labs.AI. We will kick off with key technical takeaways from the U.S. LLVM Developers’ Meeting, followed by an in-depth session on compiling high-level Deep Neural Network (DNN) representations to specific hardware architectures. Whether your focus is on MLIR, LLVM infrastructure, or backend code generation, this meetup offers an excellent opportunity to…
L
Hi all, I’d like to share an LLVM backend for the Renesas RX architecture that I’ve been developing, and ask whether there would be interest in upstreaming it as an experimental target. Background RX is a 32-bit CISC architecture from Renesas, widely used in industrial and consumer embedded devices (especially in Japan). Today the toolchain options for RX are Renesas’ proprietary CC-RX, IAR, and the GCC port. As far as I know, there is no publicly available LLVM backend for RX, which also means…
L
This thread is intended to serve as a place to discuss ideas regarding the architecture, design, and potential implementation challenges of std::execution (Senders/Receivers), introduced in C++26. The title and description will be updated as we make progress toward an agreed-upon design. Currently related: Open issue llvm/llvm-project P2300R10: `std::execution` opened 10:01PM - 20 Aug 24 UTC ldionne libc++ clang:frontend c++26 wg21-paper **Link:** https://wg21.link/P2300R10 Pull request…
L
Our recent Clang C and C++ Language Working Group agendas have had several topics related to floating-point. It was also recognized that some of the concerns raised are cross-cutting in that they touch Clang, LLVM, llvm-libc, libc++, MLIR, and/or compiler-rt and so having the Clang language working group hosting the meetings means we sometimes miss important perspectives. Given the scale of the discussions and their cross-cutting nature, we felt it would make sense to start a dedicated…
L
The __builtin_sycl_unique_stable_name token and corresponding SYCLUniqueStableNameExpr AST node were added to Clang during a previous effort to contribute an implementation of the SYCL 2020 specification. They are not, and will not be, used by the current effort. __builtin_sycl_unique_stable_name is currently used by Intel’s downstream DPC++ compiler implementations (the open source DPClang compiler, the Intel oneAPI DPC++/C++ compiler, and any compilers that derive from those). Intel is…
L
Hey Everyone, I ran into an assertion in OpaqueValueExpr while working on an issue and the reproducer had pack expansion inside a fold expression ((void)(co_yield Values),…); The issue I found was due to the unexpanded flag in OVE so my first instinct was the since OVE does not have the source as it’s own children it should not hold any syntactic data so I modified the code to bypass the assertion by only copying the semantic data of the source expr but that created an issue that in some case…
L
Hi everyone, I’d like to propose adding -Xlinker=<arg> as an alternative to -Xlinker <arg>, available in Clang, clang-cl, and Flang. This is a simple change following the rationale for the existing -Xclang= alias but llvm/llvm-project#238301 advised it would be better to start a quick discussion. My main motivation is that I need to let bazel, which constructs and understands response-files with a single string per line, pass -Xlinker args to clang-cl. Any objection? cc @MaskRay for the driver…
L
Hi everyone, I recently fixed a crash in the bytecode writer for DIBasicTypeAttr (#240240). While reading the debug info import and export code I noticed some gaps, and I wanted to ask before writing anything. DebugImporter does not handle llvm::DIEnumerator. When importing an enumeration type, translating each enumerator returns null, so the whole elements list of the composite type is dropped. Template parameters (DITemplateTypeParameter and DITemplateValueParameter) are never imported, and…
L
Save the date for the 2027 EuroLLVM Developers’ Meeting! It will be held April 26-28 in Porto, Portugal. We are actively seeking proposals for co-located workshops and volunteers for the program committee. Please see below for more information! The EuroLLVM Developers’ Meeting is a bi-annual gathering of the entire LLVM Project community. The conference is organized by the LLVM Foundation and many volunteers within the LLVM community. Developers and users of LLVM, MLIR, Clang, and related…
L
Anyone else seeing this? Failure llvm/llvm-project support multi-operand reduction Labelling new pull requests #511626 @infra-area-team 2 posts - 2 participants Read full topic
L
I didn’t take notes properly, so this will be a bit scattered Attendees: @MaskRay, @petrhosek, a few folks from Nintendo whose names I didn’t get (sorry!), @slinder1, @rnk, @clayborg, @pcc, a few others (again I apologize for the lack of organization on my part here). @jyknight and I spoke briefly afterwards on this topic as well. We spoke about the high-level motivation of .eh_frame unwind info being large and slow to interpret, and @aengelke’s compact unwind proposal to address that. Some…
L
Hi everyone! Unfortunately due to shifts in priorities we can no longer maintain https://lab.llvm.org/buildbot/#/workers/66 reliably which opens up the door to various concerns including but not limited to security. As a result, we’ve decided to turn down the build bot this week. If anyone wants to own the buildbot, relevant docker config lives in buildbot/google/docker/buildbot-clangd-ubuntu-clang deployment config lives in llvm-zorg/buildbot/google/terra…
L
PR: [RegAllocGreedy] Improve recoloring of missed copy hints by haddadgeorge · Pull Request #240139 · llvm/llvm-project · GitHub Problem Greedy’s late hint recoloring only considers live ranges in SetOfBrokenHints. A range ends up there only when its first hint is a physical register that was missed, or when its register came from eviction. Copy hints between virtual registers that are simply missed in tryAssign are never revisited, and neither are cases where the hinted register is held by…
L
Status: request for design feedback. No new implementation or benchmark results are presented. Summary and motivation I propose implementing portable fixed-point elementary functions using integer-only numerical kernels. I am seeking review comments on the scope, architecture, numerical contracts, and suitability for LLVM libc before implementation. Embedded targets without suitable floating-point hardware may benefit from bounded-storage integer kernels. Applications using explicit Q formats…
L
A gentle reminder, or for those who didn’t see the original posts in the Community category: the FOSDEM 2027 LLVM and MLIR devroom calls for presentations are currently open: FOSDEM 2027 LLVM devroom call for presentations FOSDEM 2027 MLIR devroom call for presentations The submission deadline for both is 22 November. Looking forward to your submissions, and to see you in Brussels next year! / Hans 1 post - 1 participant Read full topic
L
Summary Linalg and Vector carry fast-math flags in two ways: Linalg has them on the scalar arith and math ops inside a region body (linalg.generic, linalg.map, linalg.reduce). Named ops such as linalg.matmul and linalg.contract have no flag attribute. Vector has them on three ops that each stand for many scalar operations: vector.reduction, vector.multi_reduction and vector.contract. There is no written rule for how Linalg and Vector transforms treat these flags. Each transform decides on its…
L
Context of this long post The purpose of this post is to document my response to the question @petrhosek asked at the end of the talk LLVM in Safety-Critical Industries: Toward a Shared Qualification Layer Upstream at the 2026 US LLVM Developers’ Meeting. As the recording is not yet available, I cannot quote the exact wording of @petrhosek’s question. However, I recall that it was related to the Quality & Best Practices workstream in the LLVM Qualification WG. He wanted to know what insights we…