Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoBump] Merge with fe0dee4d (Jun 10) (62) #323

Closed
wants to merge 640 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
640 commits
Select commit Hold shift + click to select a range
c007883
Revert "[X86] Assign AVX10_1 feature priority to align with gcc. (#94…
FreddyLeaf Jun 7, 2024
b7d976d
[memprof] Use std::move in ContextEdge::ContextEdge (NFC) (#94687)
kazutakahirata Jun 7, 2024
4a7b800
[ORC] Switch ExecutionSession::ErrorReporter to use unique_function.
lhames Jun 7, 2024
f21c2fa
[LoongArch] Set isReMaterializable on LU{12,32,52}I.D/ADDI.D and {X}O…
heiher Jun 7, 2024
d224a03
[SCEV] Use insert_or_assign() (NFC)
nikic Jun 7, 2024
240512c
[LoongArch] Add a pass to rewrite rd to r0 for non-computational inst…
heiher Jun 7, 2024
c15b867
[clang][Interp][NFC] Add GetPtrFieldPop opcode
tbaederr Jun 7, 2024
e622996
[analyzer][NFC] Factor out NoOwnershipChangeVisitor (#94357)
Szelethus Jun 7, 2024
be18daa
Reland "[RISCV] Support select/merge like ops for bf16 vectors when h…
jacquesguan Jun 6, 2024
8ef5c98
[docs] Fix benchmarking tips (#94724)
maekawatoshiki Jun 7, 2024
36bc741
[test] Don't generate extra file for regalloc-amdgpu.mir test.
hokein Jun 7, 2024
1c0063b
[clang][Interp] Remove StoragKind limitation in Pointer assign operators
tbaederr Jun 7, 2024
ac40463
[NFC][LoongArch] Update test for #94590
heiher Jun 7, 2024
4f320e6
[MLIR] Translate DIStringType. (#94480)
abidh Jun 7, 2024
5f1adf0
[clangd] Fix crash with null check for Token at Loc (#94528)
usx95 Jun 7, 2024
8f11649
[flang][Transforms][NFC] Remove boilerplate from vscale range pass (#…
tblah Jun 7, 2024
0749b01
[PowerPC] modify the frameaddress case, NFC
chenzheng1030 Jun 7, 2024
3453ded
[PowerPC] return correct frame address for frameaddress intrinsic
chenzheng1030 Jun 7, 2024
c0b4685
[ARM] Add NEON support for ISD::ABDS/ABDU nodes. (#94504)
RKSimon Jun 7, 2024
0d1b367
[CMake][Release] Use the TXZ cpack generator for binaries (#90138)
tstellar Jun 7, 2024
1721c14
[DebugInfo] Add DW_OP_LLVM_extract_bits (#93990)
john-brawn-arm Jun 7, 2024
192cd68
Add checks before hoisting out in loop pipelining (#90872)
fotiskoun Jun 7, 2024
5d6acf8
[clang][Interp][NFC] Properly assign block pointer Pointee
tbaederr Jun 7, 2024
3a31eae
[clang][Interp] Fix refers_to_enclosing_variable_or_capture DREs
tbaederr Jun 7, 2024
1934c1a
[SimplifyCFG] Remove bogus UTC line from test (NFC)
nikic Jun 7, 2024
8719cb8
[SimplifyCFG] Regenerate switch to lookup tests (NFC)
nikic Jun 7, 2024
b87a80d
[mlir][vector] Add n-d deinterleave lowering (#94237)
mub-at-arm Jun 7, 2024
1a52392
[ARM] r11 is reserved when using -mframe-chain=aapcs (#86951)
ostannard Jun 7, 2024
af3ffff
[DAG] Always allow folding XOR patterns to ABS pre-legalization (#94601)
RKSimon Jun 7, 2024
fd45dcc
fix(mlir/**.py): fix comparison to None (#94019)
e-kwsm Jun 7, 2024
917afa8
[ARM] Add support for Cortex-R52+ (#94633)
jthackray Jun 7, 2024
537165b
[NFC][LoongArch] Update test for #94590
heiher Jun 7, 2024
54c5dbe
[clang][test] Skip interpreter value test on Arm 32 bit
DavidSpickett Jun 7, 2024
d3e531c
[gn build] Port e622996eddfb
llvmgnsyncbot Jun 7, 2024
6fe5428
[Flang] Handle the newly-added "Reserved" FramePointerKind for 1a5239…
hokein Jun 7, 2024
88e2bb4
[clang][SPIR-V] Add support for AMDGCN flavoured SPIRV (#89796)
AlexVlx Jun 7, 2024
3fefb3c
[BOLT][NFC] Infailable fns return void (#92018)
urnathan Jun 7, 2024
74d62c2
[CodeGen][SDAG] Remove CombinedNodes SmallPtrSet (#94609)
aengelke Jun 7, 2024
9ece3eb
[clang][Interp] Check ConstantExpr results for initialization
tbaederr Jun 7, 2024
9eb8a13
[clang][Interp][NFC] Fix a const-correctness warning
tbaederr Jun 7, 2024
b8cc85b
[clang][Interp] Limit lambda capture lazy visting to actual captures
tbaederr Jun 7, 2024
5a0181f
[serialization] no transitive decl change (#92083)
ChuanqiXu9 Jun 6, 2024
df6750e
[AMDGPU] Fix interaction between WQM and llvm.amdgcn.init.exec (#93680)
jayfoad Jun 7, 2024
acc927a
[Frontend][OpenMP] Sort all the things in OMP.td, NFC (#94653)
kparzysz Jun 7, 2024
913a824
[flang][OpenMP] Lower `target .. private(..)` to `omp.private` ops (#…
ergawy Jun 7, 2024
2c3723d
[libc] Correctly pass the C++ standard to NVPTX internal builds
jhuber6 Jun 7, 2024
5b2f7a1
[mlir][linalg] Support lowering unpack with outer_dims_perm (#94477)
ryan-holt-1 Jun 7, 2024
c886d66
[mlir] Add reshape propagation patterns for tensor.pad (#94489)
Max191 Jun 7, 2024
2117677
[mlir] Fix bugs in expand_shape patterns after semantics changes (#94…
Max191 Jun 7, 2024
ac02168
[ARM] Clean up neon_vabd.ll, vaba.ll and vabd.ll tests a bit. NFC
davemgreen Jun 7, 2024
2f0308e
[arm64] Add tan intrinsic lowering (#94545)
farzonl Jun 7, 2024
c5fcc2e
[AArch64] Add addp from shuffles tests. NFC
davemgreen Jun 7, 2024
2981f3a
[Clang] Add timeout for GPU detection utilities (#94751)
jhuber6 Jun 7, 2024
2afea72
[RISCV] Codegen support for XCVmem extension (#76916)
ChunyuLiao Jun 7, 2024
3b16630
[MachineOutliner] Sort by Benefit to Cost Ratio (#90264)
xuanzhang816 Jun 7, 2024
eb33e46
[memprof] Clean up IndexedMemProfReader (NFC) (#94710)
kazutakahirata Jun 7, 2024
55bdb36
[flang] lower SIZE and SIZEOF for assumed-ranks (#94684)
jeanPerier Jun 7, 2024
c348e26
[memprof] Use CallStackRadixTreeBuilder in the V3 format (#94708)
kazutakahirata Jun 7, 2024
7d69095
[mlir][vector] Remove Emulated Sub-directory (#94742)
mub-at-arm Jun 7, 2024
d099d6c
[gn] port 33a6ce18373ff (check-clang obj2yaml dep)
nico Jun 7, 2024
fc95645
[gn] port cb7690af09b95 (ntdll dep)
nico Jun 7, 2024
b25b1db
[KnownBits] Remove `hasConflict()` assertions (#94568)
c8ef Jun 7, 2024
790992d
[libc++][test][AIX] Only XFAIL atomic tests for before clang 19 (#94646)
jakeegan Jun 7, 2024
f7018ba
[AArch64] Add patterns for add(uzp1(x,y), uzp2(x, y)) -> addp.
davemgreen Jun 7, 2024
4f9c0fa
[LV] Add test with dead load and vector pointer.
fhahn Jun 7, 2024
e9adcc4
[libc++][regex] Correctly adjust match prefix for zero-length matches…
var-const Jun 7, 2024
35fa2de
Reapply PR/87550 (#94625)
oontvoo Jun 7, 2024
716ed5f
[libc++] Undeprecate shared_ptr atomic access APIs (#92920)
nico Jun 7, 2024
97b12df
[Reassociate] shifttest.ll - generate test checks to replace custom g…
RKSimon Jun 7, 2024
b01ac51
[flang][runtime] add SHAPE runtime interface (#94702)
jeanPerier Jun 7, 2024
1539da4
[flang][OpenMP] Add `--openmp-enable-delayed-privatization-staging` f…
ergawy Jun 7, 2024
374f655
[OpenMP] Fix passing target id features to AMDGPU offloading (#94765)
jhuber6 Jun 7, 2024
bbddedb
Fixed grammatical error in "enum specifier" error msg #94443 (#94592)
kper Jun 7, 2024
b59567b
[clang] always use resolved arguments for default argument deduction …
mizvekov Jun 7, 2024
c467e60
Check if LLD is built when checking if lto_supported (#92752)
jvoung Jun 7, 2024
b653357
[mlir][vector][NFC] Make function name more meaningful in lit tests. …
hanhanW Jun 7, 2024
0605e98
[SDISel][Builder] Fix the instantiation of <1 x bfloat|half> (#94591)
qcolombet Jun 7, 2024
e9fa6ff
[RISCV] Fold (vXi8 (trunc (vselect (setltu, X, 256), X, (sext (setgt …
topperc Jun 7, 2024
cce10cc
[RISCV] Add .insn alias for addresses without the leading immediate. …
topperc Jun 7, 2024
adcf33f
Revert "Reapply PR/87550 (#94625)"
felipepiovezan Jun 7, 2024
e564852
[AArch64] Add patterns for fadd(uzp1(x,y), uzp2(x, y)) -> faddp.
davemgreen Jun 7, 2024
f9ae07b
[libc++][NFC] Fix typo
ldionne Jun 7, 2024
6f2c610
[CGSCC] Verify that call graph is valid after iteration (#94692)
aeubanks Jun 7, 2024
66df614
Fix #pragma (packed, n) not emitting the alignment in debug info (#94…
augusto2112 Jun 7, 2024
2c047e6
[clang] Add fixit for using declaration with a (qualified) namespace …
nico Jun 7, 2024
11d643f
[libc] Add baremetal printf (#94078)
michaelrj-google Jun 7, 2024
e20b904
[PseudoProbe] Make probe discriminator compatible with dwarf base dis…
wlei-llvm Jun 7, 2024
c3a5087
[Driver,test] Add -Wno-msvc-not-found to gcc-param.c
MaskRay Jun 7, 2024
bd6e324
[clang][driver] Enable '-flto' on bare-metal (#94738)
walkerkd Jun 7, 2024
d3bcd9b
[CMake] Fix building on Haiku (#94721)
brad0 Jun 7, 2024
9a73710
[SPIR-V] Improve type inference, addrspacecast and dependencies betwe…
VyacheslavLevytskyy Jun 7, 2024
4196c18
[bazel] Port #94078 (#94792)
keith Jun 7, 2024
28dd55b
[RISCV][GISel] Do libcall for G_FPTOSI, G_FPTOUI when no D or F suppo…
spaits Jun 7, 2024
c6e9371
[llvm-dwarfdump] Add a null-check in `prettyPrintBaseTypeRef`. (#93156)
mgschossmann Jun 7, 2024
27084f7
[InstCombine] Add tests for folding `(icmp eq/ne (xor x, C0), C1)`; NFC
goldsteinn Apr 1, 2024
166c184
[InstCombine] Fold `(icmp eq/ne (xor x, y), C1)` even if multiuse
goldsteinn Apr 1, 2024
89c92b0
[OpenMP][Offload] - Ensure OPENMP_STANDALONE_BUILD is defined (#94801)
estewart08 Jun 7, 2024
75b89cc
InstCombine: Fix testing of pow libcall in errno case (#94772)
arsenm Jun 7, 2024
96d01a3
[lldb] Encode operands and arity in Dwarf.def and use them in LLDB. (…
JDevlieghere Jun 7, 2024
37e309f
[AArch64][LoopIdiom] Generalize AArch64LoopIdiomTransform into LoopId…
mshockwave Jun 7, 2024
4d9020c
[ELF] Implement --force-group-allocation
MaskRay Jun 7, 2024
d1b5a4b
[VectorCombine] Add tests for shuffleToIdentity of concats. NFC
davemgreen Jun 7, 2024
06188d9
[bazel] Port #94081 (#94805)
keith Jun 7, 2024
7520d0c
[BOLT][NFC] Unset UseAssemblerInfoForParsing for emission (#94778)
aaupov Jun 7, 2024
bfa937a
[ProfileData] Add const to a few places (NFC) (#94803)
kazutakahirata Jun 7, 2024
06e12b4
[RISCV] Add TargetConstraintType=2 to vnclip pseudoinstructions. NFC
topperc Jun 7, 2024
0cdb0b7
[libc][math][c23] Add fmodf16 C23 math function (#94629)
overmighty Jun 7, 2024
c4f83a0
[clang-tidy] new check misc-use-internal-linkage (#90830)
HerrCai0907 Jun 7, 2024
4346c38
[libc][math][c23] Temporarily disable fmodf16 on AArch64 (#94813)
overmighty Jun 7, 2024
32d8596
[RISCV] Remove unused tablegen multiclasses. NFC
topperc Jun 7, 2024
33f4a77
Reland "[python] Bump Python minimum version to 3.8 (#78828)"
boomanaiden154 Jun 7, 2024
6b4c122
[mlir][loops] Add getters for multi dim loop variables in `LoopLikeOp…
srcarroll Jun 7, 2024
7536474
[MemProf] Add matching statistics and tracing (#94814)
teresajohnson Jun 7, 2024
211edca
[memprof] Fix a build error
kazutakahirata Jun 7, 2024
507b372
[RISCV] Remove unused tablegen multiclass. NFC
topperc Jun 7, 2024
017e240
[RISCV] Remove CarryIn and Constraint parameters from VPseudoTiedBina…
topperc Jun 7, 2024
c8eff87
[RISCV] Rename VPseudoBinaryCarryIn to VPseudoBinaryCarry. NFC
topperc Jun 7, 2024
435dd97
Add AllowRepeats to SBCommandInterpreterRunOptions. (#94786)
jimingham Jun 8, 2024
dc3f8c2
[memprof] Improve deserialization performance in V3 (#94787)
kazutakahirata Jun 8, 2024
96af114
[InstCombine] Preserve the nsw/nuw flags for (X | Op01C) + Op1C --> X…
csstormq Jun 8, 2024
608fb46
[lld] Discard SHT_LLVM_LTO sections in relocatable links (#92825)
ilovepi Jun 8, 2024
4c28844
[ProfileData] Use default member initialization (NFC) (#94817)
kazutakahirata Jun 8, 2024
4cff8ef
[ProfileData] Use DenseMap::lookup (NFC) (#94818)
kazutakahirata Jun 8, 2024
18c67bf
[gn build] Port 37e309f16354 (AArch64 loopvectorize)
nico Jun 8, 2024
4e0ff05
[memprof] Remove extraneous memprof:: (NFC) (#94825)
kazutakahirata Jun 8, 2024
4d95850
[gn build] Port c4f83a004bf3
llvmgnsyncbot Jun 8, 2024
5422b5f
[RISCV] Rename VPseudoVWALU_VV_VX_VI to VPseudoVWSLL. NFC
topperc Jun 8, 2024
5fc1b82
[RISCV] Refactor VPseudoVROL and VPseudoVROR multiclasses to use inhe…
topperc Jun 8, 2024
7d203b1
[RISCV] Rename VPseudoBinaryNoMaskTU->VPseudoBinaryNoMaskPolicy. NFC
topperc Jun 8, 2024
5e94163
[RISCV] Rename VPatBinarySwapped to VPatBinaryMSwapped. NFC
topperc Jun 8, 2024
84b3fe6
[RISCV] Flatten VPatBinaryW_VI_VWSLL and VPatBinaryW_VX_VWSLL into VP…
topperc Jun 8, 2024
81671fe
[workflows] Add post-commit job that periodically runs the clang stat…
tstellar Jun 8, 2024
c0a1214
[mlir] Handle the newly-added "Reserved" FramePointerKind for 1a52392…
DamonFool Jun 8, 2024
221336c
[dfsan] Fix release_shadow_space.c (#94770)
thurstond Jun 8, 2024
5d87ba1
[HLSL] Use llvm::Triple::EnvironmentType instead of HLSLShaderAttr::S…
hekota Jun 8, 2024
5aabbf0
[CMake] Update CMake cache file for the ARM/Aarch64 cross toolchain b…
vvereschaka Jun 8, 2024
950605b
[RISCV] Remove many ImmType parameters from tablegen classes. NFC
topperc Jun 8, 2024
2fa14fc
[RISCV] Remove unused defaults for sew paramters in tablegen. NFC
topperc Jun 8, 2024
d3fc5cf
[lldb] Remove redundant c_str() calls in stream output (NFC) (#94839)
xgupta Jun 8, 2024
2e1788f
Revert "[lld][AArch64][ELF][PAC] Support `.relr.auth.dyn` section" (#…
kovdan01 Jun 8, 2024
a294e89
[RISCV] Replace VPseudoBinaryFV_VV with VPseudoBinaryV_VV. NFC
topperc Jun 8, 2024
3f0f2cd
[RISCV] Remove unnecessary setting of parameter with same default val…
topperc Jun 8, 2024
6885281
[Support] Do not use `llvm::size` in `getLoopPreheader` (#94540)
bnbarham Jun 8, 2024
7f5d1f1
[SystemZ] Fix handling of triples.
JonPsson1 Jun 8, 2024
6b3e000
[mlir][Transforms][NFC] `GreedyPatternRewriteDriver`: Use composition…
matthias-springer Jun 8, 2024
9ddc014
[clang] Report erroneous floating point results in _Complex math (#90…
tbaederr Jun 8, 2024
25506f4
[SDISel][Combine] Constant fold FP16_TO_FP (#94790)
qcolombet Jun 8, 2024
cac7821
[compiler-rt] Replace deprecated aligned_storage with aligned byte ar…
marcauberer Jun 8, 2024
82f6cde
lld/test: Make sure removing %t at first
chapuni Jun 8, 2024
d4eed43
Enable LLDB tests in Linux pre-merge CI (#94208)
Endilll Jun 8, 2024
540f68c
[SimplifyCFG] Don't use a mask for lookup tables generated from switc…
DaMatrix Jun 8, 2024
2d21851
[llvm] Remove useless headers in example BrainF (#93701)
FantasqueX Jun 8, 2024
d9507a3
[DAGCombine] Fix miscompilation caused by PR94008 (#94850)
dtcxzyw Jun 8, 2024
645fb04
[Reassociate] Use uint64_t for repeat count (#94232)
dtcxzyw Jun 8, 2024
bca7864
[X86] Support ATOMIC_LOAD_FP_BINOP_MI for other binops (#87524)
AreaZR Jun 8, 2024
c870882
[memprof] Make Version3 officially available (#94837)
kazutakahirata Jun 8, 2024
38124fe
[ProfileData] Use a range-based for loop (NFC) (#94856)
kazutakahirata Jun 8, 2024
6834e6d
[memprof] Remove redundant virtual (NFC) (#94858)
kazutakahirata Jun 8, 2024
c8992fb
[libc++][NFC] Simplify the implementation of `__promote` (#81379)
philnik777 Jun 8, 2024
bafff3e
[RISCV][MC] Implicit 0-offset aliases for JR/JALR (#94688)
lenary Jun 8, 2024
80d00bf
[ProfileData] Use default member initialization (NFC) (#94860)
kazutakahirata Jun 8, 2024
1e92ad4
[lldb] Use const reference for range variables to improve performance…
xgupta Jun 8, 2024
263be9f
[libc][math][c23] fmul correcly rounded to all rounding modes (#91537)
Jobhdez Jun 8, 2024
44aecca
[libc][math][C23] Implemented remquof128 function (#94809)
HendrikHuebner Jun 8, 2024
a43d999
[VPlan] Check if only first part is used for all per-part VPInsts.
fhahn Jun 8, 2024
643e471
[RISCV][GISel] Add calling convention support for half (#94110)
dtcxzyw Jun 8, 2024
998c33e
[VPlan] Mark FirstOrderRecurrenceSplice as not having side-effects.
fhahn Jun 8, 2024
e62c214
[ProfileData] Simplify calls to readNext in readBinaryIdsInternal (NF…
kazutakahirata Jun 8, 2024
febfbff
[mlir][nfc] Sort test passes registration (#94201)
Hardcode84 Jun 8, 2024
c2d68c4
[InstCombine] Add tests for propagating flags when folding consecutat…
goldsteinn Jun 8, 2024
2900d03
[InstCombine] Propagate flags when folding consecutative shifts
goldsteinn Jun 8, 2024
2e482b2
[clang][NFC] Update CWG issues list
Endilll Jun 8, 2024
dcb71c0
[MC] Simplify Sec.getFragmentList().insert(Sec.begin(), F). NFC
MaskRay Jun 8, 2024
f20d8b9
[SPARC][IAS] Add GNU extension for `addc`
koachan Jun 9, 2024
44f9357
[SPARC][IAS] Add support for %uhi and %ulo extensions
koachan Jun 9, 2024
715a5d8
[SPARC][IAS] Add aliases for %asr20-21 as defined in JPS1
koachan Jun 9, 2024
cc8fa1e
[clang][Interp][NFC] Refactor lvalue-to-rvalue conversion code
tbaederr Jun 8, 2024
d211abc
[clang-tidy] Ignore non-math operators in readability-math-missing-pa…
PiotrZSL Jun 9, 2024
338cbfe
[mlir][Transforms][NFC] Improve dialect conversion documentation (#94…
matthias-springer Jun 9, 2024
32b7043
[ARM] vector-store.ll - add big-endian test coverage
RKSimon Jun 9, 2024
e329bfc
[clang-tidy] Ignore implicit functions in readability-implicit-bool-c…
PiotrZSL Jun 9, 2024
31b84d4
[clang-tidy] Extend modernize-use-designated-initializers with new op…
PiotrZSL Jun 9, 2024
b55fb56
[clang-tidy] Improve bugprone-multi-level-implicit-pointer-conversion…
PiotrZSL Jun 9, 2024
46d94bd
[X86] Trim trailing whitespace to reduce diff in #94845
RKSimon Jun 9, 2024
53fecef
[DAG] FoldConstantArithmetic - allow binop folding to work with diffe…
RKSimon Jun 9, 2024
a284bdb
[DAG] Fold fdiv X, c2 -> fmul X, 1/c2 without AllowReciprocal if exac…
davemgreen Jun 9, 2024
2f4ebf8
[VPlan] Handle more cases in VPInstruction::onlyFirstPartUsed.
fhahn Jun 9, 2024
cb8e936
[clang][Interp] Implement ~ operator for complex values
tbaederr Jun 9, 2024
69cd2d2
[clang][Interp] Handle __extension__ for complex values
tbaederr Jun 9, 2024
5bb9c08
[clang][Interp] Reject compound assign operators pre-C++14
tbaederr Jun 9, 2024
cc19374
[AMDGPU] Swap range metadata to attribute for workitem id. (#94871)
andjo403 Jun 9, 2024
2388129
[SPARC][IAS] Add named prefetch tag constants
koachan Jun 9, 2024
41f2ea0
[SPARC][IAS] Add support for `prefetcha` instruction
koachan Jun 9, 2024
8901f71
Use StringRef::starts_with (NFC) (#94886)
kazutakahirata Jun 9, 2024
2bc36af
[SPARC][IAS] Handle the case of non-4-byte aligned writeNopData
koachan Jun 9, 2024
e0b9cce
[SPARC][IAS] Add movr(n)e alias for movr(n)z
koachan Jun 9, 2024
de736d9
[libc++][TZDB] Implements time_zone get_info(local_time). (#89537)
mordante Jun 9, 2024
f7ccb32
[Instrumentation] Remove an extraneous ArrayRef (NFC) (#94890)
kazutakahirata Jun 9, 2024
e090bac
[clang] NFC: add new cwg2398 tests
mizvekov Jun 8, 2024
089c4bb
[ProfileData] Use ArrayRef instead of const std::vector<T> & (NFC) (#…
kazutakahirata Jun 9, 2024
add8908
[RISCV] Cleanup some Constraint parameters in RISCVInstrInfoVPseudos.…
topperc Jun 9, 2024
e4b0655
[InstCombine] Fix missing argument typo in `InstCombinerImpl::foldICm…
dtcxzyw Jun 9, 2024
014446c
GlobalISel: Remove faulty assert in buildAtomicRMW op
arsenm Jun 8, 2024
d639b91
[NFC][mlir][gpu] Fully-qualify all namespaces in the GPU compilation …
fabianmcg Jun 9, 2024
dbe63e3
[Clang][OpenMP] throw compilation error instead of crash in Stmt::OMP…
Puellaquae Jun 9, 2024
521238d
[ProfileData] Refactor VTableNamePtr and CompressedVTableNamesLen (NF…
kazutakahirata Jun 9, 2024
77116bd
[libc++][TZDB] Implements time_zone::to_sys. (#90394)
mordante Jun 9, 2024
54373e0
[NFC][mlir][gpu] Make sym_name an inherent attr in GPUModuleOp (#94918)
fabianmcg Jun 9, 2024
acf6721
MCInst: decrease inline element count to 6. NFC
MaskRay Jun 9, 2024
63ef2ec
[RISCV] Remove unused tablegen classes. NFC
topperc Jun 10, 2024
cbd7eab
[RISCV] Replace TU with Policy in tablegen class name. NFC
topperc Jun 10, 2024
367d502
[mlir][python] Fix attribute registration in ir.py (#94615)
eospadov Jun 10, 2024
4403cdb
[ProfileData] Refactor BinaryIdsStart and BinaryIdsSize (NFC) (#94922)
kazutakahirata Jun 10, 2024
bf0d76d
[MC,test] Reorganize relax-recompute-align.s & layout-interdependency.s
MaskRay Jun 10, 2024
cb1a727
[libc][math][c23] Add nanf16 C23 math function (#94767)
overmighty Jun 10, 2024
9d0754a
[MC] Relax fragments eagerly
MaskRay Jun 10, 2024
13896b6
[mlir][bufferization] Fix handling of indirect function calls (#94896)
matthias-springer Jun 10, 2024
bb4ee27
[MC] Remove the last MCFragment::getPrevNode use. NFC
MaskRay Jun 10, 2024
87cedbe
[libc++][TZDB] Implements time_zone::to_sys. (#90901)
mordante Jun 10, 2024
a47e40b
[clang][Interp] Disallow ptr-to-int casts on dummy pointers
tbaederr Jun 9, 2024
a6929db
[lld] Remove const qualifier on symbolKind (NFC) (#94753)
nikic Jun 10, 2024
12d24e0
[CodeGen] Simplify codegen for array initialization (#93956)
nikic Jun 10, 2024
e4790ce
[TLI] ReplaceWithVecLib: drop Instruction support (#94365)
paschalis-mpeis Jun 10, 2024
832b91f
[dexter] Correctly identify stop-reason while driving VisualStudio (#…
OCHyams Jun 10, 2024
e58f830
[flang] add source to SHAPE API (#94781)
jeanPerier Jun 10, 2024
cc158d4
Reapply [ConstantFold] Remove non-trivial gep-of-gep fold (#93823)
nikic May 31, 2024
c0b65a2
[clang][Interp] Diagnose casts from void pointers
tbaederr Jun 10, 2024
26224ca
[clang][analyzer] Improved PointerSubChecker (#93676)
balazske Jun 10, 2024
d732a32
[RemoveDIs] C API: Add before-dbg-record versions of IRBuilder positi…
OCHyams Jun 10, 2024
0257f9c
[flang] lower SHAPE with assumed-rank arguments (#94812)
jeanPerier Jun 10, 2024
0af2e75
[lldb] Fix redundant condition in compression type check (NFC) (#94841)
xgupta Jun 10, 2024
30bfab3
[lldb] Remove redundant condition in watch mask check (NFC) (#94842)
xgupta Jun 10, 2024
38c01c3
NFC fix typos from #92417
OCHyams Jun 10, 2024
760d880
[scudo] Apply filling when realloc shrinks and re-grows a block in-pl…
fabio-d Jun 10, 2024
a0faf79
[flang][runtime] add LBOUND API for assumed-rank arrays (#94808)
jeanPerier Jun 10, 2024
23b8f59
[lldb] Gracefully down TestCoroutineHandle test in case the 'coroutin…
slydiman Jun 10, 2024
f97bcdb
[KnownBits] Speed up ForeachKnownBits in unit test. NFC. (#94939)
jayfoad Jun 10, 2024
c9fd7b1
[AMDGPU] Remove unused checks left over from X86
jayfoad Jun 10, 2024
415a82c
[clang-tidy] `doesNotMutateObject`: Handle calls to member functions …
legrosbuffle Jun 10, 2024
317ed77
[AMDGPU] Fix typos in GCN-PROMOTE check prefix
jayfoad Jun 10, 2024
81469a2
[flang] use hlfir base when translating assumed-rank entity to fir::E…
jeanPerier Jun 10, 2024
a6129a5
[flang][Transforms][NFC] reduce boilerplate in func attr pass (#94739)
tblah Jun 10, 2024
ae9d89d
[Clang][C++23] update constexpr diagnostics for missing return statem…
a-tarasyuk Jun 10, 2024
ecb9d94
[KnownBits] Speed up conflict handling in ForeachKnownBits in unit te…
jayfoad Jun 10, 2024
8dc8b9f
[flang][OpenMP] Fix unused prefixes in function-filtering-2 test (#94…
tblah Jun 10, 2024
da03175
[libc++][TZDB] Implements time_zone::to_local. (#91003)
mordante Jun 10, 2024
fe0dee4
[AArch64] Add tests for extending mul. NFC
davemgreen Jun 10, 2024
8b7e836
[mlir][emitc] Remove copy from scf.for lowering (#94898)
aniragil Jun 10, 2024
6f11615
[AutoBump] Merge with fe0dee4d (Jun 10)
jorickert Sep 5, 2024
6ae8317
[AutoBump] Merge with fixes of 8b7e8365 (Jun 10)
jorickert Sep 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ function exclude-linux() {
for project in ${projects}; do
case ${project} in
cross-project-tests) ;; # tests failing
lldb) ;; # tests failing
openmp) ;; # https://github.com/google/llvm-premerge-checks/issues/410
*)
echo "${project}"
Expand All @@ -170,7 +169,7 @@ function exclude-windows() {
compiler-rt) ;; # tests taking too long
openmp) ;; # TODO: having trouble with the Perl installation
libc) ;; # no Windows support
lldb) ;; # tests failing
lldb) ;; # custom environment requirements (https://github.com/llvm/llvm-project/pull/94208#issuecomment-2146256857)
bolt) ;; # tests are not supported yet
*)
echo "${project}"
Expand Down Expand Up @@ -213,7 +212,7 @@ function check-targets() {
echo "check-unwind"
;;
lldb)
echo "check-all" # TODO: check-lldb may not include all the LLDB tests?
echo "check-lldb"
;;
pstl)
echo "check-all"
Expand Down
1 change: 1 addition & 0 deletions .ci/monolithic-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ targets="${2}"

echo "--- cmake"
pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
pip install -q -r "${MONOREPO_ROOT}"/lldb/test/requirements.txt
cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
-D LLVM_ENABLE_PROJECTS="${projects}" \
-G Ninja \
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/ci-post-commit-analyzer-run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import json
import multiprocessing
import os
import re
import subprocess
import sys


def run_analyzer(data):
os.chdir(data["directory"])
command = (
data["command"]
+ f" --analyze --analyzer-output html -o analyzer-results -Xclang -analyzer-config -Xclang max-nodes=75000"
)
print(command)
subprocess.run(command, shell=True, check=True)


def pool_error(e):
print("Error analyzing file:", e)


def main():
db_path = sys.argv[1]
database = json.load(open(db_path))

with multiprocessing.Pool() as pool:
pool.map_async(run_analyzer, [k for k in database], error_callback=pool_error)
pool.close()
pool.join()


if __name__ == "__main__":
main()
95 changes: 95 additions & 0 deletions .github/workflows/ci-post-commit-analyzer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Post-Commit Static Analyzer

permissions:
contents: read

on:
push:
branches:
- 'release/**'
paths:
- 'clang/**'
- 'llvm/**'
- '.github/workflows/ci-post-commit-analyzer.yml'
pull_request:
types:
- opened
- synchronize
- reopened
- closed
paths:
- '.github/workflows/ci-post-commit-analyzer.yml'
- '.github/workflows/ci-post-commit-analyzer-run.py'
schedule:
- cron: '30 0 * * *'

concurrency:
group: >-
llvm-project-${{ github.workflow }}-${{ github.event_name == 'pull_request' &&
( github.event.pull_request.number || github.ref) }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
post-commit-analyzer:
if: >-
github.repository_owner == 'llvm' &&
github.event.action != 'closed'
runs-on: ubuntu-22.04
container:
image: 'ghcr.io/llvm/ci-ubuntu-22.04:latest'
env:
LLVM_VERSION: 18
steps:
- name: Checkout Source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1
with:
# A full build of llvm, clang, lld, and lldb takes about 250MB
# of ccache space. There's not much reason to have more than this,
# because we usually won't need to save cache entries from older
# builds. Also, there is an overall 10GB cache limit, and each
# run creates a new cache entry so we want to ensure that we have
# enough cache space for all the tests to run at once and still
# fit under the 10 GB limit.
# Default to 2G to workaround: https://github.com/hendrikmuhs/ccache-action/issues/174
max-size: 2G
key: post-commit-analyzer
variant: sccache

- name: Configure
run: |
cmake -B build -S llvm -G Ninja \
-DLLVM_ENABLE_ASSERTIONS=ON \
-DLLVM_ENABLE_PROJECTS=clang \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DLLVM_INCLUDE_TESTS=OFF \
-DCLANG_INCLUDE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release

- name: Build
run: |
# FIXME: We need to build all the generated header files in order to be able to run
# the analyzer on every file. Building libLLVM and libclang is probably overkill for
# this, but it's better than building every target.
ninja -v -C build libLLVM.so libclang.so

# Run the analyzer.
python3 .github/workflows/ci-post-commit-analyzer-run.py build/compile_commands.json

scan-build --generate-index-only build/analyzer-results

- name: Upload Results
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 #v4.3.0
if: always()
with:
name: analyzer-results
path: 'build/analyzer-results/*'

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN cmake -B ./build -G Ninja ./llvm \
-DLLVM_ENABLE_RUNTIMES="compiler-rt" \
-DCMAKE_INSTALL_PREFIX="$LLVM_SYSROOT" \
-DLLVM_ENABLE_PROJECTS="bolt;clang;lld;clang-tools-extra" \
-DLLVM_DISTRIBUTION_COMPONENTS="lld;compiler-rt;clang-format" \
-DLLVM_DISTRIBUTION_COMPONENTS="lld;compiler-rt;clang-format;scan-build" \
-DCLANG_DEFAULT_LINKER="lld" \
-DBOOTSTRAP_CLANG_PGO_TRAINING_DATA_SOURCE_DIR=/llvm-project-llvmorg-$LLVM_VERSION/llvm

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ jobs:
rm build.tar.zst

- name: Build Stage 2
# Re-enable once PGO builds are supported.
if: false
run: |
ninja -C /mnt/build stage2-instrumented

Expand Down Expand Up @@ -214,7 +216,7 @@ jobs:

- id: package-info
run: |
filename="LLVM-${{ needs.prepare.outputs.release-version }}-Linux.tar.gz"
filename="LLVM-${{ needs.prepare.outputs.release-version }}-Linux.tar.xz"
echo "filename=$filename" >> $GITHUB_OUTPUT
echo "path=/mnt/build/tools/clang/stage2-bins/$filename" >> $GITHUB_OUTPUT

Expand Down
7 changes: 3 additions & 4 deletions bolt/include/bolt/Core/DIEBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,9 @@ class DIEBuilder {
/// Along with current CU, and DIE being processed and the new DIE offset to
/// be updated, it takes in Parents vector that can be empty if this DIE has
/// no parents.
uint32_t
finalizeDIEs(DWARFUnit &CU, DIE &Die,
std::vector<std::optional<BOLTDWARF5AccelTableData *>> &Parents,
uint32_t &CurOffset);
uint32_t finalizeDIEs(DWARFUnit &CU, DIE &Die,
std::optional<BOLTDWARF5AccelTableData *> Parent,
uint32_t NumberParentsInChain, uint32_t &CurOffset);

void registerUnit(DWARFUnit &DU, bool NeedSort);

Expand Down
7 changes: 5 additions & 2 deletions bolt/include/bolt/Core/DebugNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,25 @@ class BOLTDWARF5AccelTableData : public DWARF5AccelTableData {
BOLTDWARF5AccelTableData(const uint64_t DieOffset,
const std::optional<uint64_t> DefiningParentOffset,
const unsigned DieTag, const unsigned UnitID,
const bool IsTU,
const bool IsParentRoot, const bool IsTU,
const std::optional<unsigned> SecondUnitID)
: DWARF5AccelTableData(DieOffset, DefiningParentOffset, DieTag, UnitID,
IsTU),
SecondUnitID(SecondUnitID) {}
SecondUnitID(SecondUnitID), IsParentRoot(IsParentRoot) {}

uint64_t getDieOffset() const { return DWARF5AccelTableData::getDieOffset(); }
unsigned getDieTag() const { return DWARF5AccelTableData::getDieTag(); }
unsigned getUnitID() const { return DWARF5AccelTableData::getUnitID(); }
bool isTU() const { return DWARF5AccelTableData::isTU(); }
bool isParentRoot() const { return IsParentRoot; }
std::optional<unsigned> getSecondUnitID() const { return SecondUnitID; }

void setPatchOffset(uint64_t PatchOffset) { OffsetVal = PatchOffset; }
uint64_t getPatchOffset() const { return std::get<uint64_t>(OffsetVal); }

private:
std::optional<unsigned> SecondUnitID;
bool IsParentRoot;
};

class DWARF5AcceleratorTable {
Expand All @@ -57,6 +59,7 @@ class DWARF5AcceleratorTable {
std::optional<BOLTDWARF5AccelTableData *>
addAccelTableEntry(DWARFUnit &Unit, const DIE &Die,
const std::optional<uint64_t> &DWOID,
const uint32_t NumberParentsInChain,
std::optional<BOLTDWARF5AccelTableData *> &Parent);
/// Set current unit being processed.
void setCurrentUnit(DWARFUnit &Unit, const uint64_t UnitStartOffset);
Expand Down
61 changes: 61 additions & 0 deletions bolt/include/bolt/Core/GDBIndex.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
//===-- bolt/Core/GDBIndex.h - GDB Index support ----------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
///
/// This file contains declaration of classes required for generation of
/// .gdb_index section.
///
//===----------------------------------------------------------------------===//

#ifndef BOLT_CORE_GDB_INDEX_H
#define BOLT_CORE_GDB_INDEX_H

#include "bolt/Core/BinaryContext.h"
#include <vector>

namespace llvm {
namespace bolt {

class GDBIndex {
public:
/// Contains information about TU so we can write out correct entries in GDB
/// index.
struct GDBIndexTUEntry {
uint64_t UnitOffset;
uint64_t TypeHash;
uint64_t TypeDIERelativeOffset;
};

private:
BinaryContext &BC;

/// Entries for GDB Index Types CU List.
using GDBIndexTUEntryType = std::vector<GDBIndexTUEntry>;
GDBIndexTUEntryType GDBIndexTUEntryVector;

public:
GDBIndex(BinaryContext &BC) : BC(BC) {}

std::mutex GDBIndexMutex;

/// Adds an GDBIndexTUEntry if .gdb_index section exists.
void addGDBTypeUnitEntry(const GDBIndexTUEntry &&Entry);

/// Rewrite .gdb_index section if present.
void updateGdbIndexSection(const CUOffsetMap &CUMap, const uint32_t NumCUs,
DebugARangesSectionWriter &ARangesSectionWriter);

/// Returns all entries needed for Types CU list.
const GDBIndexTUEntryType &getGDBIndexTUEntryVector() const {
return GDBIndexTUEntryVector;
}
};

} // namespace bolt
} // namespace llvm

#endif
10 changes: 2 additions & 8 deletions bolt/include/bolt/Core/MCPlusBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -1706,12 +1706,9 @@ class MCPlusBuilder {
}

/// Reverses the branch condition in Inst and update its taken target to TBB.
///
/// Returns true on success.
virtual bool reverseBranchCondition(MCInst &Inst, const MCSymbol *TBB,
virtual void reverseBranchCondition(MCInst &Inst, const MCSymbol *TBB,
MCContext *Ctx) const {
llvm_unreachable("not implemented");
return false;
}

virtual bool replaceBranchCondition(MCInst &Inst, const MCSymbol *TBB,
Expand Down Expand Up @@ -1751,12 +1748,9 @@ class MCPlusBuilder {
}

/// Sets the taken target of the branch instruction to Target.
///
/// Returns true on success.
virtual bool replaceBranchTarget(MCInst &Inst, const MCSymbol *TBB,
virtual void replaceBranchTarget(MCInst &Inst, const MCSymbol *TBB,
MCContext *Ctx) const {
llvm_unreachable("not implemented");
return false;
}

/// Extract a symbol and an addend out of the fixup value expression.
Expand Down
2 changes: 2 additions & 0 deletions bolt/lib/Core/BinaryEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ class BinaryEmitter {

void BinaryEmitter::emitAll(StringRef OrgSecPrefix) {
Streamer.initSections(false, *BC.STI);
Streamer.setUseAssemblerInfoForParsing(false);

if (opts::UpdateDebugSections && BC.isELF()) {
// Force the emission of debug line info into allocatable section to ensure
Expand Down Expand Up @@ -226,6 +227,7 @@ void BinaryEmitter::emitAll(StringRef OrgSecPrefix) {
// TODO Enable for Mach-O once BinaryContext::getDataSection supports it.
if (BC.isELF())
AddressMap::emit(Streamer, BC);
Streamer.setUseAssemblerInfoForParsing(true);
}

void BinaryEmitter::emitFunctions() {
Expand Down
1 change: 1 addition & 0 deletions bolt/lib/Core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ add_llvm_library(LLVMBOLTCore
DynoStats.cpp
Exceptions.cpp
FunctionLayout.cpp
GDBIndex.cpp
HashUtilities.cpp
JumpTable.cpp
MCPlusBuilder.cpp
Expand Down
Loading