L
PRs not getting traction is certainly a problem, but also the one this proposal is intending to address - to discourage folks from posting a ton of PRs in the hopes that some get traction, but to focus on the ones they have open. Perhaps ideally, it’d encourage them to ask around about how to get traction on the ones they’ve posted - and maybe that results in a discussion about why it’s not getting traction - maybe even a discussion about why it should be closed. Shopping around - opening more…
L
My intention here is for small library functions that are larger than a single intrinsic, but small enough that the runtime check is unacceptable. In rustc we do have visibility into the target features of a function, but not after inlining. For example, basic math functions that can benefit from FMA or other features, are easily inlined, but small enough that the runtime check defeats the value of checking the features.
L
LewisCrawford: This behaviour also does not agree with the LangRef which states: If the input mode is preservesign, or positivezero, a floating-point operation must treat any input denormal value as zero I think the LangRef is using overly strong wording for what this was originally intended to solve, though I’d have to look at the history to remember exactly what that was. I think it had something to do with the consequences of computations under a x != 0.0 guard disagreeing with the computed…
L
We shouldn’t be adding more intrinsics that rely on compile-time resolution. The definition needs to be a runtime check, which is optionally refinable into a compile time optimization if we know enough about the target context
L
It might be convenient to have a runtime check available in IR/compiler-rt, but for this RFC I’m more interested in the use case @programmerjake demonstrated, with a zero-cost constant value. The value here is that a frontend can’t know how LLVM will inline functions, so we let LLVM handle the constant.
L
dblaikie: I don’t think that’s really ideal - if the PRs aren’t getting traction, close them or switch them to drafts. I don’t think that’s a bad thing - it’s cheap to reopen them, you can still send people links to them, etc. So that seems like a workaround for other issues going on. Also for folks without a mentor this is NOT a good look and even folks who don’t know about discourse or discord knowing where to ping patches this is very much a bad look for new decent contributors.
L
(no, I don’t think there’s any PR-opening rate limit, just the total number of concurrently open PRs (and whether or not draft PRs count against the limit, which they don’t by default)) I don’t think that’s really ideal - if the PRs aren’t getting traction, close them or switch them to drafts. I don’t think that’s a bad thing - it’s cheap to reopen them, you can still send people links to them, etc. That new contributors might be limited to 1 or 2 active PRs at a time seems fine - if they learn…
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
DanielCChen: As we discussed [RFC] A directive to set the alignment of variables in flang in the last Flang meeting, we said “Agree to disallow alignment of members of common blocks,” I took that discussion to mean that the directives that @eepshteyn-nv was proposing could not be used to align common block members explicitly. It wouldn’t prevent flang for aligning them in its default way - but perhaps I misunderstood. For my part, I did misunderstand the padding of structs issue. I re-read your…
L
Does github have the ability to limit the number of opening PR per day? Say for an example you have 2 or 3 open PRs that are not getting reviewed (but still important), you want to open one or 2 PRs that have a higher probility to be reviewed (like a backend change or an instcombine change). You could possible still have someone submitting LLM patch day after day. THen you have an upper limit of say 10 to 30 open PRs for contributors that is high enough that the normal contributor won’t hit.…
L
one of the big reasons to have a intrinsic that is only evaluated at compile time is for leaf functions where runtime feature detection is too expensive relative to the benefit you’d get from using newer instructions, and instead you want the feature detection to have happened further up the call stack. e.g.: suppose LLVM didn’t have llvm.fmuladd, a function like the following would be an excellent use-case since dynamic feature detection is way too expensive compared to just doing a fmul and…
L
@DonatNagyE Can we proceed with this at the soonest this Friday and preferably finish by next week? I had a chat downstream and for SSAF, we would prefer mirroring the existing/future practice to name the test dir after the library component. This leads us to clang/test/ScalableStaticAnalysis. There are other Analyses, such as FlowSensitive and FlowSensitive, ThreadSafety. I’m not sure if we can touch any of those TBH. We would need consensus and strong arguments for moving any of those. And…
L
I believe that in the absence of fast-math flags, we should always produce the same results at -O0 as we do an -O1/-O2/-O3 for a given target, regardless of whether the hardware is operating in a mode that conforms to IEEE-754 standards. However, I recognize that the accepted interpretation of the denormal_fpenv attribute does not require that. In the case of input values, I think the current documentation is clear, and the input values should be flushed as you describe. However, the described…
L
We haven’t seen this before but I wonder if it’s somehow related to Workflow execution policy warning which we’ll need to look into.
L
Hi, Wish I was able to travel for the dev meeting, catch the talk and chat more in person. Re: SAT / relational model (@ymand) - I kept the simpler model for speed. It does false positive on correlated conditions like if (b && !p) p = &d; if (b) *p;, which CSA and crubit’s clang-tidy check gets right. For Clang integration, yes, a simpler model would be needed for speed. Though, as I mentioned in RFC: Nullability analysis ClangTidy (and tried to CC you on) the Crubit checker could also have a…
L
Yes, It would be good to keep the discussion open. There is consensus in the psABI group to allocate a bit of the GNU properties to represent “uses software shadow stack”. I need to write that up properly and open a PR. For the libc situation I’m a lot less clear on what is needed. At the very least we probably need a standard initalisation sequence, like we have for gp when it is used as a global pointer, or like we have for jvt when using Zcmt. I’m not sure what else specifically we need in…
L
Anyone else seeing this? Failure llvm/llvm-project support multi-operand reduction Labelling new pull requests #511626 @infra-area-team
L
tonic: Its not a tradition, its part of the fabrics of what LLVM is all about. Without new contributors, there is no future in any open source project. I’ve given countless newcomer orientations at this point and decisions should lead with pathways instead of just barriers for newcomers. I agree that the new people are the future. I am very concerned that a lot of people say now that junior contributors are not needed anymore because they are replaceable by an LLM. This is absolutely terrible…
L
I believe overlapping ranges/duplicately described ranges in the line table are certtainly already a thing you’ll find in the wild from both GCC and Clang…
L
I don’t think it’s practical for every label we create/use on issues to have a corresponding group, subscribers, etc. Many of the labels don’t describe something we can classify based on source paths - for example, debug info often involves changes to files that aren’t specifically about debug info (eg: changing a middle end optimization to handle debug info locations differently). So there’s lots of labels I’d want/we have for issues, that, even if they describe a source level concept (which…
L
Following RFC [RFC] Declare library command line options in TableGen, one struct per library, cl:: declarations in llvm/lib have dropped from 2977 on release/23.x to 1722 on main. I’d like to get most of the rest done before the LLVM 24 branch in Jan 2027 (?). @aengelke @nikic @rnk What’s left is mostly straightforward but large: CodeGen, Hexagon, Transforms/Utils, PowerPC, ARM, and the smaller backends. AArch64, X86, and RISCV are good references for a backend. If you regularly work on one of…
L
thurston: 0 isn’t an option in the poll, which may bias the results. My bad, sorry I forgot that option, the “we don’t take anonymous PRs” option. pinskia: All of this seems really high bar to join as a contributor. Especially from a few contributors that might just need one or two issues fixed (like say a bug which shows up from their open source project and yes gcc has got this contribution type recently). I think the non-zero limit is intended to handle the “fix a bug or two” cases, which I…
L
I think this will also really benefit new contributors. It is discouraging when I start working on an issue (especially a good first issue) and before I can solve it an LLM PR drops on the issue.
L
Status update: the target is up for review — PR #239171 Following up on my last post: the in-tree target is now open as #239171 (“[mlir] Add an mlir-opt-fuzzer fuzz target”), CI green and waiting on review. The scope is exactly what was agreed here: one target under mlir/tools/, following the existing fuzzer-target conventions (parse → parsePassPipeline → run → verify, with LLVM/MLIR fatal errors routed to abort() so libFuzzer records them); no campaign logic in-tree — corpus, campaign tooling,…
L
There was a discussion in the Bi-weekly Flang community call about the conflict with the LLVM Loop Optimization Discussion call. Several Developers working on Flang performance also participate in this call. What would be the least disruptive way to avoid this conflict? Also, FWIW, the Loop Optimization call is listed on the LLVM docs page (Getting Involved - LLVM) but does not show up on the LLVM events calendar.
L
I’m not aware of any other target that has enabled instruction referencing. AMDGPU enables it downstream (see here), so one fewer downstream to consider! which is universally acknowledged as a good thing the best sort of acknowledgement there is @aengelke points out that there would be a compile-time performance cliff-edge if some functions could suddenly require LiveDebugValues to run – I think we should accept this, and if it becomes a problem then expand what O0 variable-location information…
L
I agree that we should continue the standardization and I will be more than glad to open a PR for it at the right time. I also agree that it is an important change, but agree that we should not hurry it. steakhal: 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. Yes. Probably Ericsson folks can give more details. Would it help to discuss this topic at the next Static Analysis WG meeting? I assume that would be a…
L
FedericoBruzzone: I’ll review the famous RFC related to gather/scatter and try to give my small contribution. Naturally, this will take place before proposing the next RFC krzysz00: I continue to insist that giving vector.gather explicit multi-dimensional semantics (ex, multiple index vectors) is the right solution here, Folks, We already agreed on the direction for gather/scatter; please see this comment. I consider that discussion concluded. The next step is implementation. Kind request: this…
L
Thank you for raising this, @jcking! I think this could be a useful approach, especially in dialects where operator properties depend on the types involved, as you pointed out. One thing I’m wondering about is how these conditional properties would be consumed by existing MLIR infra. Would existing folding and canonicalization be updated to query the new interfaces as well? I’m asking because it would be interesting to understand whether this change would also enable existing transformations to…
L
Thank you to everyone who signed up! I apologize for the late notice, but it looks like the time that has the most people available is tomorrow, Friday Nov 6 at 12pm ET and so I’ve scheduled the discussion for that time. I’ve added the meeting to the community calendar, but for folks who are interested, the meeting link is Google Meet meeting and the minutes can be found at Parser/Sema Library Layering Discussion Notes - Google Docs Hope to see you there!