Opportunities
Work worth doing in systems software. Every item comes from an explicit signal (a label, a MAINTAINERS status, an RFC tag) or is a curated hypothesis with evidence. Nothing here is an AI-generated guess.
Open issues that maintainers have marked as wanted, ranked with every reason shown. Start here for a first or next contribution.
84 open
- Good first issueclang-include-cleaner - replaces chrono with bits/chrono
Issues found: a) + include + include b) - include + include Tested version from LLVM 17.0.2 misc-include-cleaner provide more information: 160 - DiagnosticName: misc-include-cleaner 161 DiagnosticMessage: 162 Message: 'no header providing "std::operator""s" is directly included'…
956 reactionsfiled by a maintainer5186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.89 = 22.2 pts6 reactions, 14 commentsMaintainer engagementweight 30% × value 1.00 = 30.0 ptsfiled by a project member; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.89 = 17.7 ptsupdated 45 days ago- Demand 25% × 0.89 = 226 reactions, 14 comments
- Maintainer engagement 30% × 1.00 = 30filed by a project member; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.89 = 18updated 45 days ago
- Good first issue[libc] Request for Annex K via `__STDC_WANT_LIB_EXT1__` doesn't work as expected
Source code: c include define STDC WANT LIB EXT1 1 include int foo() { return strnlen s("abc", 2); } Compile with: clang -c a.c We get the error: a.c:6:10: error: call to undeclared function 'strnlen s'; ISO C99 and later do not support implicit function declarations…
85filed by a maintainer5186 PRs merged in 30dgood first issueclear scopeupdated 1d agowhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 12 commentsMaintainer engagementweight 30% × value 1.00 = 30.0 ptsfiled by a project member; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 1 days ago- Demand 25% × 0.40 = 100 reactions, 12 comments
- Maintainer engagement 30% × 1.00 = 30filed by a project member; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 1 days ago
- Good first issuetypeof rejects initialiser expression
--- --- Bugzilla Link 25315 Version 3.7 OS Linux Reporter LLVM Bugzilla Contributor CC @hfinkel Extended Description The following code: c extern void blah(void arg); const void test2(const void arg) { return blah( ( { union { typeof(( (const void []) { (arg) })) value; void…
85filed by a maintainer5186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 11 commentsMaintainer engagementweight 30% × value 1.00 = 30.0 ptsfiled by a project member; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 17 days ago- Demand 25% × 0.40 = 100 reactions, 11 comments
- Maintainer engagement 30% × 1.00 = 30filed by a project member; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 17 days ago
- Good first issue[LLDB] Swig python extensions are missing test coverage
@jimingham pointed out on 168619 that a lot of the lldb extensions are either not tested or don't have direct testing. I've opened this issue as a good new user issue. The largest offenders are - [x] SBFrameExtensions - [x] SBTargetExtensions - [ ] SBProcessExtensions While…
805186 PRs merged in 30dgood first issueclear scopeupdated 11d agowhy ▸
Demandweight 25% × value 0.68 = 16.9 pts2 reactions, 15 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 11 days ago- Demand 25% × 0.68 = 172 reactions, 15 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 11 days ago
- Good first issue[libc][bazel] Add missing targets for math functions/tests to bazel files
The main aim of this is to add all the targets for math functions which were missed to be added to bazel files. The issues below can be collaboratively worked on too if needed - BFloat16: - Float16: - Float: - Double: - Long double: (Note: This one's a metaissue/tracking issue…
79filed by a maintainer5186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.38 = 9.5 pts0 reactions, 7 commentsMaintainer engagementweight 30% × value 1.00 = 30.0 ptsfiled by a project member; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.74 = 14.8 ptsupdated 69 days ago- Demand 25% × 0.38 = 90 reactions, 7 comments
- Maintainer engagement 30% × 1.00 = 30filed by a project member; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.74 = 15updated 69 days ago
- Good first issueComplete VTable class name for types
Currently, in the RTTI Builder vTableClassNameForType , we return the VTable Class name for each type. This task's scope is to complete the support for the NYI types and add a test for that. - In the VTableClassNameForType function, check branches with NYI error and choose one…
79filed by a maintainer5186 PRs merged in 30dgood first issueclear scopeupdated 2d agowhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 26 commentsMaintainer engagementweight 30% × value 1.00 = 30.0 ptsfiled by a project member; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 0.75 = 18.8 ptsstarter label; clear scope; long thread (26 comments)Freshnessweight 20% × value 1.00 = 20.0 ptsupdated 2 days ago- Demand 25% × 0.40 = 100 reactions, 26 comments
- Maintainer engagement 30% × 1.00 = 30filed by a project member; project merged 5186 PRs in 30 days
- Feasibility 25% × 0.75 = 19starter label; clear scope; long thread (26 comments)
- Freshness 20% × 1.00 = 20updated 2 days ago
- Good first issue-Wdangling-field detects view members initalized from a by-value owner parameter
struct Foo {}; struct Bar { const Foo& foo; Bar(Foo f ) : foo(f) {} // good, clang warn on this case }; struct C { string view s; C(std::string c) : s(c) {} // bad, clang doesn't warn on this case. support it };
775186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.57 = 14.3 pts1 reactions, 8 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 16 days ago- Demand 25% × 0.57 = 141 reactions, 8 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 16 days ago
- Good first issueOptimize `decltype(T{})` to `T` in compiler error messages
In many cases clang generates an error like: note: because 'implicitly convertible(kind of {{{}, {}}}, kind of , per {{{}, {{}}}}) {{{}}})' evaluated to false besides the 88502 issue the decltype(T{}) also does not help in readability here. The above message could be simplified…
775186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.57 = 14.3 pts1 reactions, 12 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a none; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.96 = 19.3 ptsupdated 34 days ago- Demand 25% × 0.57 = 141 reactions, 12 comments
- Maintainer engagement 30% × 0.60 = 18filed by a none; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.96 = 19updated 34 days ago
- Good first issue[clang] add __builtin_elementwise_mulh
llvm.umulh and llvm.smulh already exist, but there is no way to emit them from C/C++ frontend. InstCombine is not always able to recognize manually created mulh patterns.
76filed by a maintainer5186 PRs merged in 30dgood first issueupdated 6d agowhy ▸
Demandweight 25% × value 0.35 = 8.8 pts0 reactions, 6 commentsMaintainer engagementweight 30% × value 1.00 = 30.0 ptsfiled by a project member; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 0.70 = 17.5 ptsstarter label; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 6 days ago- Demand 25% × 0.35 = 90 reactions, 6 comments
- Maintainer engagement 30% × 1.00 = 30filed by a project member; project merged 5186 PRs in 30 days
- Feasibility 25% × 0.70 = 18starter label; calm thread
- Freshness 20% × 1.00 = 20updated 6 days ago
- Good first issue[MIRSampleProfile] nullptr deref crash when profile sample use file not found
Trying to reproduce I failed to pass a valid file for -fprofile-sample-use= ; this caused a crash because Reader is nullptr in MIRProfileLoader::runOnFunction . Should be easy to guard against this I think. cc @htyu (author of 958a3d8e2dec95a878dfc9d823861b3a6c674534)
74filed by a maintainer5186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 8 commentsMaintainer engagementweight 30% × value 1.00 = 30.0 ptsfiled by a project member; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.45 = 9.0 ptsupdated 132 days ago- Demand 25% × 0.40 = 100 reactions, 8 comments
- Maintainer engagement 30% × 1.00 = 30filed by a project member; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.45 = 9updated 132 days ago
- Good first issue[CIR][AMDGPU] Implement the remaining AMDGPU target builtins in CIRGen
A number of AMDGPU builtins still hit errorNYI in CIRGen, so they can't be compiled through ClangIR yet. This issue collects the ones that are left so they can be knocked out incrementally. There's no lowering work involved here since these builtins map one-to-one onto their…
745186 PRs merged in 30dgood first issueclear scopeupdated 2d agowhy ▸
Demandweight 25% × value 0.68 = 16.9 pts2 reactions, 22 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 0.75 = 18.8 ptsstarter label; clear scope; long thread (22 comments)Freshnessweight 20% × value 1.00 = 20.0 ptsupdated 2 days ago- Demand 25% × 0.68 = 172 reactions, 22 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 0.75 = 19starter label; clear scope; long thread (22 comments)
- Freshness 20% × 1.00 = 20updated 2 days ago
- Good first issueclang mishandles a unicode escape beyond maximum codepoint limit.
Normally a unicode escape sequence can appear within an identifier token. However, if the escape denotes a value the maximum legal codepoint (0x10FFFF), this should not be a valid identifier. However, clang emits a diagnostic for the illegal codepoint, then ignores the escape…
735186 PRs merged in 30dgood first issueclear scopeupdated todaywhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 11 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a none; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 0 days ago- Demand 25% × 0.40 = 100 reactions, 11 comments
- Maintainer engagement 30% × 0.60 = 18filed by a none; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 0 days ago
- Good first issue[Clang] Wrong storage size for tentative array completed by later extern
A tentative definition of an incomplete array whose size is completed by a later extern declaration is emitted with storage for only one element (the fallback for a never-completed array), while sizeof correctly uses the completed type. Writes within the declared bounds can go…
735186 PRs merged in 30dgood first issueclear scopeupdated 7d agowhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 8 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a none; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 7 days ago- Demand 25% × 0.40 = 100 reactions, 8 comments
- Maintainer engagement 30% × 0.60 = 18filed by a none; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 7 days ago
- Good first issueLoading/storing an 8 aligned i128 uses two `movq` instead of a single `movups`
Consider this example: llvm target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86 64-unknown-linux-gnu" define void @foo(ptr noalias %slice.0, ptr noalias %value) unnamed addr { start: %0 = load i128, ptr %value, align…
735186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 10 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a none; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 26 days ago- Demand 25% × 0.40 = 100 reactions, 10 comments
- Maintainer engagement 30% × 0.60 = 18filed by a none; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 26 days ago
- Good first issueClang elides the wrong part of the template type in error message.
Repro: Error message: error: no viable conversion from returned value of type 'S3 ' to function return type 'S3 ' Expected: error: no viable conversion from returned value of type 'S3 ' to function return type 'S3 '
735186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 14 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 28 days ago- Demand 25% × 0.40 = 100 reactions, 14 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 28 days ago
- Good first issueguarded_by attributes not supported using c++11 style
c++ include class Foo { std::mutex m; int y attribute ((guarded by(m))); int z [[clang::guarded by(m)]]; }; :6:13: warning: unknown attribute 'clang::guarded by' ignored [-Wunknown-attributes] 6 int z [[clang::guarded by(m)]]; ^
73filed by a maintainer5186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 10 commentsMaintainer engagementweight 30% × value 1.00 = 30.0 ptsfiled by a project member; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.39 = 7.8 ptsupdated 152 days ago- Demand 25% × 0.40 = 100 reactions, 10 comments
- Maintainer engagement 30% × 1.00 = 30filed by a project member; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.39 = 8updated 152 days ago
- Good first issue[InstCombine] Add folds like UCmp(a ±ⁿᵘʷ n, b ±ⁿᵘʷ n) → UCmp(a, b)
So long as no overflow happens, llvm.[su]cmp are scale- and translation-invariant, but those folds seem to be missing. For example, these two currently don't fold: llvm define noundef i8 @demo addu(i12 noundef %a, i12 noundef %b, i12 noundef %n) unnamed addr 0 { start: %an = add…
735186 PRs merged in 30dgood first issueclear scopeupdated 2d agowhy ▸
Demandweight 25% × value 0.38 = 9.5 pts0 reactions, 7 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a none; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 2 days ago- Demand 25% × 0.38 = 90 reactions, 7 comments
- Maintainer engagement 30% × 0.60 = 18filed by a none; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 2 days ago
- Good first issueJavaScriptWrapImports:false doesn't work with ColumnLimit:0
I've run into an issue when using ColumnLimit: 0 . When JavaScriptWrapImports is false I'd expect clang-format to leave line breaks in import statements as they are in the original file. Instead, it seems that clang-format force-wraps them: $ cat .clang-format Language:…
735186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.38 = 9.5 pts0 reactions, 7 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a none; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 29 days ago- Demand 25% × 0.38 = 90 reactions, 7 comments
- Maintainer engagement 30% × 0.60 = 18filed by a none; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 29 days ago
- Good first issue`__builtin_bit_cast` of an ext_vector element yields lane 0 at run time, disagreeing with constant evaluation
Summary builtin bit cast(uint32 t, v.y) , where v has an ext vector type , produces the bits of lane 0 rather than lane 1. Every element accessor is affected — .x happens to be correct only because it is lane 0 — and the subscript form v[1] is wrong the same way. The constant…
725186 PRs merged in 30dgood first issuewhy ▸
Demandweight 25% × value 0.68 = 16.9 pts2 reactions, 10 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a none; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 0.70 = 17.5 ptsstarter label; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 29 days ago- Demand 25% × 0.68 = 172 reactions, 10 comments
- Maintainer engagement 30% × 0.60 = 18filed by a none; project merged 5186 PRs in 30 days
- Feasibility 25% × 0.70 = 18starter label; calm thread
- Freshness 20% × 1.00 = 20updated 29 days ago
- Good first issuegetNegatedExpression should handle FP16_TO_FP and FP_TO_FP16
getNegatedExpression does not handle the opcodes FP16 TO FP and FP TO FP16, but it could. This could improve use of source modifiers on AMDGPU with illegal f16. I started implementing it in this patch, but it requires additional work to avoid regressions.…
725186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 15 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.95 = 19.1 ptsupdated 36 days ago- Demand 25% × 0.40 = 100 reactions, 15 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.95 = 19updated 36 days ago
- Good first issue[clang] Add thousands-separator to "cannot allocate array; evaluated array bound [...] exceeds the limit" diagnostic
E.g. for c++ constexpr int foo() { auto p = new int[1'048'577]; delete[] p; return 0; } static assert(foo() == 0); we emit console a.cpp:10:15: error: static assertion expression is not an integral constant expression 10 static assert(foo() == 0); ^ a.cpp:5:20: note: cannot…
725186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 10 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.95 = 19.1 ptsupdated 36 days ago- Demand 25% × 0.40 = 100 reactions, 10 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.95 = 19updated 36 days ago
- Good first issueUnnecessary vector type produces wrong ll parser error
--- --- Bugzilla Link 28669 Version trunk OS Linux CC @ekatz Extended Description This testcase produces a misleading parse error ll ; RUN: llvm-as addrspace(1) %out, %in) { %arst = add %in, store %arst, addrspace(1) %out ret void } expected-type-wrong-error.ll:3:31: error:…
725186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.35 = 8.8 pts0 reactions, 6 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 19 days ago- Demand 25% × 0.35 = 90 reactions, 6 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 19 days ago
- Good first issueCopy elision when initializing a base class subobject
According to Copy elision cannot be guaranteed when initializing a base class subobject, because base classes can have different layout than the corresponding complete object type. But if we slightly modify the code example as follows: c++ struct Base { Base(Base&&) = delete;…
725186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 9 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a none; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.94 = 18.8 ptsupdated 37 days ago- Demand 25% × 0.40 = 100 reactions, 9 comments
- Maintainer engagement 30% × 0.60 = 18filed by a none; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.94 = 19updated 37 days ago
- Good first issueincorrectly permitting definition of class template via injected-class-name
--- --- Bugzilla Link 31765 Version trunk OS Linux CC @DougGregor Extended Description Clang accepts this: cpp template struct A {}; template struct A ::A {}; It's not obvious whether this is a valid use of the injected-class-name (the standard doesn't say the lookup in a…
725186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 12 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a mannequin; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.93 = 18.6 ptsupdated 39 days ago- Demand 25% × 0.40 = 100 reactions, 12 comments
- Maintainer engagement 30% × 0.60 = 18filed by a mannequin; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.93 = 19updated 39 days ago
- Good first issue-fdollar-in-identifiers support lacking behind gcc/tinycc
This is probably an extension, but all gcc, tinycc, and clang support transient weird token in preprocessor token concatenation, e.g., c define CAT(A,B) CAT (A,B) define CAT (A,B) A B int CAT(X,CAT(1, )); //✓ on clang, gcc, and tinycc works on all three even though it…
725186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 11 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a none; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.93 = 18.6 ptsupdated 39 days ago- Demand 25% × 0.40 = 100 reactions, 11 comments
- Maintainer engagement 30% × 0.60 = 18filed by a none; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.93 = 19updated 39 days ago
- Good first issue[GlobalISel] i64 sdiv/srem by constant is not expanded to a multiply (sdiv_by_const requires G_SMULH legal)
CombinerHelper::matchSDivOrSRemByConst requires G SMULH to be legal, while the udiv/urem version only requires it to be legal or the combiner to run before the legalizer. On AMDGPU s64 G SMULH is not legal, so i64 sdiv/srem by a constant gets the full 64-bit division expansion.…
715186 PRs merged in 30dgood first issueclear scopeupdated 7d agowhy ▸
Demandweight 25% × value 0.33 = 8.2 pts0 reactions, 5 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 7 days ago- Demand 25% × 0.33 = 80 reactions, 5 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 7 days ago
- Good first issue[GlobalISel] (and (zext x), mask) is not relaxed to (and (anyext x), mask)
When the constant mask of a G AND clears every bit at or above the width of a G ZEXT source, the zero extension is redundant and can be an any extension. On AMDGPU GlobalISel keeps the zext and emits a v cvt u32 u16 to zero the high half of a 16-bit value just before masking it.…
715186 PRs merged in 30dgood first issueclear scopeupdated 12d agowhy ▸
Demandweight 25% × value 0.33 = 8.2 pts0 reactions, 5 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 12 days ago- Demand 25% × 0.33 = 80 reactions, 5 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 12 days ago
- Good first issue[clang] Bogus error about converting pointer to void* when using `void*` constant parameter/NTTP and a generic lambda
Compiled with -std=c++20 -fsyntax-only : c++ extern int x; template void f() { [] () { static assert(p == &x); }(); } int main() { f (); } :6:23: error: conversion from 'int ' to 'void ' is not allowed in a converted constant expression 6 static assert(p == &x); ^ :5:5: note: in…
715186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.33 = 8.2 pts0 reactions, 5 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 14 days ago- Demand 25% × 0.33 = 80 reactions, 5 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 14 days ago
- Good first issue[clang][RISCV] canonicalizeMaskForVLPredicate accepts a wrapping (mod 2^EltBits) step sequence, so lanes of `(splat(b) | <..., 4,5,6,7>) < n` are computed wrong
The following code: cpp / [RISCV] canonicalizeMaskForVLPredicate (RISCVISelLowering.cpp, called from performSETCCCombine) rewrites setcc ult (add nuw / or disjoint splat(base), ), splat(n) - setcc ult , splat(n - umin(n, base + a)) but BuildVectorSDNode::isArithmeticSequence…
715186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.33 = 8.2 pts0 reactions, 5 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a none; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 28 days ago- Demand 25% × 0.33 = 80 reactions, 5 comments
- Maintainer engagement 30% × 0.60 = 18filed by a none; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 28 days ago
- Good first issue`[[gnu::weak]]` disables constant evaluation of constexpr variables in C++14
GCC and Clang disagree on their handling of [[gnu::weak]] before C++17 cpp struct S { static constexpr int var = 0; }; [[gnu::weak]] constexpr int S::var; static constexpr int usage = S::var; While it would be unsafe to constant-fold this code, it should be fine to…
715186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.57 = 14.3 pts1 reactions, 15 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.68 = 13.5 ptsupdated 80 days ago- Demand 25% × 0.57 = 141 reactions, 15 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.68 = 14updated 80 days ago
- Good first issueconstant evaluator loses track of most-derived array information when reconstructing `LValue` from `APValue`
Testcase: c++ struct A { int n; }; struct B : A {} b[2]; constexpr int f() { // Loses MostDerived array information. A p = b; return &static cast (p)[1].n; } static assert(f() == &b[1].n); Clang incorrectly rejects: console :10:15: error: static assertion expression is not an…
715186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 9 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.89 = 17.7 ptsupdated 45 days ago- Demand 25% × 0.40 = 100 reactions, 9 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.89 = 18updated 45 days ago
- Help wantedImplement AMX support
Description Enabling AMX within gVisor needs at least the following: - Handling user calls to arch prctl to enable it. - Adjusting signal stack sizes to support the extra 8256 bytes necessary for AMX. Currently it is fully disabled on host kernels that enable it. Is this feature…
70filed by a maintainer865 PRs merged in 30dhelp wantedclear scopewhy ▸
Demandweight 25% × value 0.25 = 6.3 pts0 reactions, 3 commentsMaintainer engagementweight 30% × value 1.00 = 30.0 ptsfiled by a project member; project merged 865 PRs in 30 daysFeasibilityweight 25% × value 0.55 = 13.8 ptsclear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 27 days ago- Demand 25% × 0.25 = 60 reactions, 3 comments
- Maintainer engagement 30% × 1.00 = 30filed by a project member; project merged 865 PRs in 30 days
- Feasibility 25% × 0.55 = 14clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 27 days ago
- Good first issue[clang] warn on operator in macro expansion whose operand doesn't lie entirely within the same macro expansion
Testcase: c++ define FOO 2+3 // 2+(3 4) == 14, not (2+3) 4 == 20 int n = FOO 4; Clang doesn't warn on this, but I think it should. In general, I think a good heuristic would be: if the location of an operator is within a macro expansion, and an operand of that operator is not…
705186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.29 = 7.3 pts0 reactions, 4 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.98 = 19.6 ptsupdated 32 days ago- Demand 25% × 0.29 = 70 reactions, 4 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.98 = 20updated 32 days ago
- Good first issue[AMDGPU][GlobalISel] inreg arguments passed in VGPRs keep a readfirstlane even when only used by VALU
When an inreg argument does not fit in SGPRs and is passed in a VGPR, AMDGPUCallLowering reads it into an SGPR with the llvm.amdgcn.readfirstlane intrinsic (same for SGPR return values). When the value is then only used by VALU instructions, the readfirstlane stays, and so does…
695186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.25 = 6.3 pts0 reactions, 3 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 1.00 = 20.0 ptsupdated 25 days ago- Demand 25% × 0.25 = 60 reactions, 3 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 1.00 = 20updated 25 days ago
- Good first issue[GlobalISel] Ignore debug instructions in the trunc-store search budget
Summary Compiling the same C source with -g0 and -g can produce different AArch64 machine code under GlobalISel. Five source labels lower to five DBG LABEL instructions between two byte stores. They consume the fixed backward-search budget in LoadStoreOptImpl::mergeTruncStore ,…
695186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.35 = 8.8 pts0 reactions, 6 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.87 = 17.5 ptsupdated 47 days ago- Demand 25% × 0.35 = 90 reactions, 6 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.87 = 17updated 47 days ago
- Good first issueCodegen for type-aware allocation attempts to compute the size of an incomplete type when building in c++17 mode
I've been trying to build a self-targeting fuzzer that does not involve LLMs by working with the various builtin clang AST tooling. Focused solely on operator new because that is something I found bugs in today. Currently it is in no way scalable :D That aside it found a bug \o/…
685186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 8 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 1.00 = 25.0 ptsstarter label; clear scope; calm threadFreshnessweight 20% × value 0.73 = 14.6 ptsupdated 70 days ago- Demand 25% × 0.40 = 100 reactions, 8 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 1.00 = 25starter label; clear scope; calm thread
- Freshness 20% × 0.73 = 15updated 70 days ago
- Help wanted[C++20] [Modules] Not properly mangling for entities in named modules for MSVC ABI
Reproducer: for C++ export module a; export int func() { return 43; } Clang in Windows ABI generates: "?func@@YAHXZ" but MSVC generates: ?func@@YAHXZ:: This is a compatibility problem. And also this is a correctness problem. Since the design of C++20 Named Modules ask toolchains…
67filed by a maintainer5186 PRs merged in 30dhelp wantedclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 8 commentsMaintainer engagementweight 30% × value 1.00 = 30.0 ptsfiled by a project member; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 0.55 = 13.8 ptsclear scope; calm threadFreshnessweight 20% × value 0.67 = 13.5 ptsupdated 81 days ago- Demand 25% × 0.40 = 100 reactions, 8 comments
- Maintainer engagement 30% × 1.00 = 30filed by a project member; project merged 5186 PRs in 30 days
- Feasibility 25% × 0.55 = 14clear scope; calm thread
- Freshness 20% × 0.67 = 13updated 81 days ago
- Good first issueTrivial memset optimization not applied to loops under -Oz (LoopIdiomRecognize)
--- --- Bugzilla Link 50964 Version 12.0 OS All CC @fhahn,@TH3CHARLie Extended Description Issue description:
675186 PRs merged in 30dgood first issueclear scopeupdated 2d agowhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 32 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a mannequin; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 0.75 = 18.8 ptsstarter label; clear scope; long thread (32 comments)Freshnessweight 20% × value 1.00 = 20.0 ptsupdated 2 days ago- Demand 25% × 0.40 = 100 reactions, 32 comments
- Maintainer engagement 30% × 0.60 = 18filed by a mannequin; project merged 5186 PRs in 30 days
- Feasibility 25% × 0.75 = 19starter label; clear scope; long thread (32 comments)
- Freshness 20% × 1.00 = 20updated 2 days ago
- Good first issue[Clang] Explain satisfaction failure for more type traits
Last week, we added the scaffolding for clang to explain why a standard type trait is not satisfied - when used either in a static assert or as atomic constraint, in Sema::DiagnoseTypeTraitDetails ( 141238) So far, this has only been done for std::is trivially relocatable .…
675186 PRs merged in 30dgood first issueclear scopeupdated 13d agowhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 31 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a contributor; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 0.75 = 18.8 ptsstarter label; clear scope; long thread (31 comments)Freshnessweight 20% × value 1.00 = 20.0 ptsupdated 13 days ago- Demand 25% × 0.40 = 100 reactions, 31 comments
- Maintainer engagement 30% × 0.60 = 18filed by a contributor; project merged 5186 PRs in 30 days
- Feasibility 25% × 0.75 = 19starter label; clear scope; long thread (31 comments)
- Freshness 20% × 1.00 = 20updated 13 days ago
- Good first issueSpecific structure name can cause shadowing of globally defined lambda, causing "struct::operator()" to be called instead of "lambda::operator()"
Defining structure with naming convention used by the compiler for lambda expressions ("$ \ ") causes compiler to use structure's "operator()" instead of the one defined for a global lambda(s). In the following code: cpp struct $ 0 { int c; void operator()() const {std::cout <<…
675186 PRs merged in 30dgood first issueclear scopewhy ▸
Demandweight 25% × value 0.40 = 10.0 pts0 reactions, 25 commentsMaintainer engagementweight 30% × value 0.60 = 18.0 ptsfiled by a none; project merged 5186 PRs in 30 daysFeasibilityweight 25% × value 0.75 = 18.8 ptsstarter label; clear scope; long thread (25 comments)Freshnessweight 20% × value 1.00 = 20.0 ptsupdated 29 days ago- Demand 25% × 0.40 = 100 reactions, 25 comments
- Maintainer engagement 30% × 0.60 = 18filed by a none; project merged 5186 PRs in 30 days
- Feasibility 25% × 0.75 = 19starter label; clear scope; long thread (25 comments)
- Freshness 20% × 1.00 = 20updated 29 days ago