L
banach-space: This split is not perfect - many “low level” ops accept multi-dim Vectors, which LLVM does not support. Yes - but that’s part of the progressive lowering of vector inside itself. You go from operations like transfer_* to operations like a potentially multi-dimensional load and then - by one of several strategies, including unrolling and flattening - you get things you can map to hardware operations on LLVM/SPIR-V intrinsics banach-space: Complete the work tracked in [mlir][vector]…
L
Thank you, Andrzej. It helps a lot! The first interpretation you mentioned is the one according to which I’d like to see Vector ops categorized. At the moment, we have both the first distinction and the second one in my view - fortunately, I don’t see a third one! :'D banach-space: Anyway, to answer your question, such distinctions help us reason about progressive lowering and where particular transformations belong. However, we need to agree on what the categories mean before using them to…
L
How does the align directive interact with the OpenMP align clause?
L
IBM XL Fortran also has the align directive. The syntax is different. ibm.com ALIGN | IBM Open XL Fortran for AIX 17.1.4 IBM Documentation.
L
I put two links in the chat but I’m not sure they persist: [clang]: baremetal `multilib.yaml` discovery by MythreyaK · Pull Request #227965 · llvm/llvm-project · GitHub is the PR about looking for multilib.yaml in target-triple-specific directories GitHub - qualcomm/qemu-profiler: QEMU TCG plugin for profiling · GitHub is the qemu profiling plugin
L
steakhal: We are not in a hurry though. I can imagine we could wait until January and release clang-24 with the current wording, but I think long term as a project, rewording diagnostics should be in our realm to change. Strongly agreed; to be clear, I wasn’t suggesting the rewording needs to happen now or even in 2027, or at all even. But if this is so fundamentally disruptive to downstreams that we don’t think we should change it, we should promise that we won’t change it so downstreams don’t…
L
I agree with jrtc27. I don’t think these results justify a new layout mode in lld. Most of the signal comes from a few benchmarks. Recomputing from your tables, FP drops from +1.54% to +0.21% without povray and dealII. Across all 29 benchmarks, the geomean is +0.82%, or -0.09% without the five largest movers (povray, dealII, hmmer, perlbench, omnetpp). Those large changes may be alignment effects. -align-loops=16 shrinks the hmmer regression from 5.72% to about 1%, which suggests that the…
L
This seems too noisy and fragile to be worth all the implementation complexity of (a) more special name-based rules (b) many more cases to reason about for section rank computation?
L
It’s great to have you back ! I agree about also running the arcilator-generated models for Snitch. We currently have a few Arcilator-vs-Verilator runs setup in GitHub - circt/arc-tests: A collection of tests and benchmarks for the Arc simulation backend of CIRCT · GitHub, but they all rely on a hand-crafted C++ testbench which is a bit ugly. I think what we could do is have circt-tests contain those Arcilator-vs-Verilator tests that can run with a SV testbench. No C++ code or bespoke…
L
FedericoBruzzone: why do we actually need a distinction between “low-level” and “high-level” ops? The Vector Dialect Docs already distinguish between “Hardware Vector Ops” and “Virtual Vector Ops”. One reasonable interpretation of that split would be: “Virtual Vector Ops” - Vector Dialect Operations, “Hardware Vector Ops” - X86 Ops + XeGPU Ops + ArmSME Ops + ArmSVE Ops … (other HW dialects connected to Vector). However, that’s not the only interpretation. Even within Vector, one can identify…
L
Currently commutative, involution, and idempotent are unconditional. In our dialect we allow operator overloading. For example with addition, depending on the types involved, the operation may or may not be commutative. This forces us to introduce an operation per overload or introduce generic operations for each allowable combination of commutative, involution, and idempotent. I wrote Allow commutative, involution, and idempotent to be conditional · jcking/llvm-project@61560f2 · GitHub which…
L
Hi all, We have been investigating the impact of ELF section and segment layout on runtime performance on a SpacemiT K3 (X100) RISC-V system. Based on LLVM 23.1.0, we have implemented an opt-in experimental layout in lld, inspired by some of GNU ld’s layout choices. This layout is enabled through an option; when the option is not specified, lld retains its existing default layout. The main changes are: 1. Place executable sections such as `.text` before read-only non-executable sections such as…
L
My take is that as an open-source maintainer, the project should recognize real-life friction and greatly honour backward-compatibility, stability and continuity - but if we draw the line here, what should we expect for actually difficult problems, like changing the semantics of checkers for example. IMO rewording a diag can only have an impact on users who take a verbatim copy of it in some tool - like I suppose CodeChecker. As those tools manage this data, they should have a story for…
L
Follow up patch to add a legacy mode to the new unified pass so that we can have a single pass while preserving the old behavior for now: [flang] Run allocation-placement in place of the legacy placement passes by jeanPerier · Pull Request #239263 · llvm/llvm-project · GitHub
L
My intuition is that switching to lowercase initial letters in analyzer diagnostics is a significant disruption, but isn’t an unacceptable one, this is why I wrote that I’m weakly against it. If/when somebody becomes strongly motivated to ensure consistency (e.g. if the integration between tidy and the static analyzer is closer, and this is one of the few remaining discrepancies), then I think this should and will be pushed through (accepting the disruption), but if/while nobody is strongly…
L
DrSergei: if a user updates the condition on the parent breakpoint while one of its bound breakpoints already has a custom condition, what is the expected behavior? The condition in the boundBreakpoints takes precedence. when removed falls back to the breakpoint’s condition DrSergei: The same question applies to enabling and disabling the parent breakpoint versus individual bound breakpoints independently. In lldb you can do both. e.g. breakpoint 1 has 4 locations. you can 1 breakpoint disable…
L
Strong support from me for this too. There seem to be people who just run an agent and submit 10 PRs at once, sometimes even in completely unrelated subsystems. This is pretty much the definition of the word “extractive” and a limit would really help with that!
L
rnk: The data has a very long tail. 85% of non-committer contributors open at most 2 PRs. A PR limit of 2 would have reduced our open PR load by 28%, but it would only affect 14.4% or 289 individual contributors. A lower PR limit will create more friction, and push non-committers to apply for commit access earlier. Given this analysis, does this really need a poll? “2” seems to be the correct number backed by data.
L
Hi Ben, Thanks for taking a look! Yes. This RFC revises the earlier proposal and extends it to ICF. Where the two differ, this RFC is the current version. It keeps the principle that a definition’s DWARF address describes its own instance, while using existing ELF symbols for weak-symbol selection. Live patching motivated this work, but I’m not proposing live-patching-specific DWARF extensions. These problems already affect ordinary debugging and symbolization, and several were reported…
L
Thanks @Jianhui-Li, these are good points. I agree with you. In fact, I’d love reaching a status where: Ops are optionally maskable (via vector.mask) and consider them all at the same level. Now, the cost of handling both load and maskedload in every analysis and transform is a strong argument, and I’ll add it to the summary together with the view that the high/low split is about vector shape and rank rather than the mask form. For maskedload/maskedstore there is no consensus yet, so I’ll leave…
L
Yeah, this is a situation where I think we don’t need to make changes immediately but we should have a plan in place to get to a consistent location or make the decision that the static analyzer will never be consistent with the rest of the toolchain. Personally, I prefer the static analysis folks make the attempt by trying to coordinate with downstreams. e.g., write an RFC proposing to make the consistency switch, add the potentially-breaking tag to it for awareness, explicitly ask for…
L
PR for review: PIC support (-mno-pic-data-is-text-relative): ARM and Thumb support for GCC-compatible static-base PIC data addressing with `-mno-pic-data-is-text-relative`. by MarkMurrayARM · Pull Request #239188 · llvm/llvm-project · GitHub
L
Hi @anatasluo. Thanks for posting this. I’m still reading through it but I have a few high level responses: I presume this is related to [Dwarf-discuss] [DWARF 6 proposal] Unify definition addresses after linkage selection? Do we want to support Dwarf to facilitate live/hot-patching? An alternative would be for the linker to generate additional ELF metadata to describe, for example, weak symbol resolution. I know that our proprietary debugger has improved it’s handling of ICF symbols recently.…
L
DonatNagyE: I’m weakly against implementing that change in the near future. (I’m open to ideas that would “smooth out” its introduction; but I feel that while this kind of consistency would be nice, it does not bring concrete benefits.) In my experience of doing disruptive changes in Clang (1, 2), clear communication to downstreams and single sweeping change helped with the transition. If the understanding is that changing the first letter is not worth it, I suggest to be more explicit that…
L
dev12124: If we don’t put a “lock” in place, the Checker might show false positives I am not sure if that flag is indeed needed. There are several checkers (especially the ones that I have mentioned) handling these cases without any flags needed when the analyzer runs by default. You might want to check how those work. I still feel like your proposed checker is too broad. Similarly we do not have a designated checker for memory safety, like MemoryBugsChecker. However, we do have several…
L
Wouldn’t “draft PRs” just work for these cases? Probably, as long as draft PRs still generate notifications for changes for those subscribed to them (and of course assuming they are excluded from the limit). We’d probably need to document this option though, because it isn’t necessarily obvious.
L
jh7370: TL;DR: what are we going to do where multiple PRs beyond the limit by the same contributor without commit access are warranted? Wouldn’t “draft PRs” just work for these cases?
L
Thanks for sharing this proposal! I’ve run into this exact issue before and have spent some time thinking about how to solve it. I really like the overall idea of introducing a “second level” of breakpoints. However, I see a few potential edge cases around state synchronization between the parent breakpoint and its bound breakpoints. For instance, if a user updates the condition on the parent breakpoint while one of its bound breakpoints already has a custom condition, what is the expected…
L
I’ve not read the first or third proposals in that block, which is a sign that this RFC needs splitting into separate proposals, since at a glance, they’re independent and individually useful (there’s an argument that there are simply too many RFCs going on at the moment, which suggests you might want to drip-feed them). I did read through the second one and broadly agree with your proposals there. I think a PR which makes the necessary changes to the documentation would be helpful to see…