Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
777 commits
Select commit Hold shift + click to select a range
0684db3
[flang] A nested STRUCTURE must declare entities (#99379)
klausler Jul 18, 2024
bda1893
[compiler-rt] Add `DumpAllRegisters` impl (#99049)
chestnykh Jul 18, 2024
996d31c
[msan] Fix goo.gl link in comment for Valgrind paper
thesamesam Jul 18, 2024
4120570
[LLDB][SaveCore] Add SBSaveCoreOptions Object, and SBProcess::SaveCor…
Jlalond Jul 19, 2024
9e4c236
[gn build] Port 4120570dc408
llvmgnsyncbot Jul 19, 2024
71ab0dc
[docs] Fix goo.gl link in comment for 'Straight-line scalar optimizat…
thesamesam Jul 19, 2024
59441f2
[sanitizer] Use strict-whitespace in tests
vitalybuka Jul 19, 2024
914a00a
[bazel] Add support for pybind (#98398)
keith Jul 19, 2024
f304b88
[bazel] Port #98403 (#99592)
keith Jul 19, 2024
c072580
[ADT] Add unit tests for set_subtract (#99561)
kazutakahirata Jul 19, 2024
bf4347b
[sanitizer_common] Use %p to print addresses (#98578)
vitalybuka Jul 19, 2024
467f969
[compiler-rt] Fix a warning
kazutakahirata Jul 19, 2024
d4b28fb
[compiler-rt] Cleanup use of COMPILER_RT_INCLUDE_TESTS (#98246)
vitalybuka Jul 19, 2024
98ebdd0
[NFC][sanitizer] Fix `unused variable 'RegName'` warning
vitalybuka Jul 19, 2024
cbbd153
[SandboxIR][Tracker] Track Instruction::moveBefore() (#99568)
Jul 19, 2024
962d018
[clang] [hexagon] handle --unwindlib arg (#99552)
androm3da Jul 19, 2024
e1d0913
[bazel] Replace git_repository with http_archive. (#99422)
rupprecht Jul 19, 2024
1df2e0c
[clang codegen] Emit int TBAA metadata on FP math libcall expf (#96025)
vfdff Jul 19, 2024
e475bb7
[libc++][memory] P1132R8: `out_ptr` - a scalable output pointer abstr…
H-G-Hristov Jul 19, 2024
401d7bc
[gn build] Port e475bb7ac33d
llvmgnsyncbot Jul 19, 2024
3023b15
[BOLT] Support POSSIBLE_PIC_FIXED_BRANCH
aaupov May 9, 2024
9b007a1
[BOLT] Expose pseudo probe function checksum and GUID (#99389)
aaupov Jul 19, 2024
6c3aa62
[MC][NFC] Use std::map for AddressProbesMap
aaupov Jul 19, 2024
c905db6
[BOLT] Attach pseudo probes to blocks in YAML profile
aaupov Jul 19, 2024
8717407
[CodeGen] Remove checks for vectors in unsigned division prior to com…
AZero13 Jul 19, 2024
f554dd7
[GlobalIsel] import G_SCMP and G_UCMP (#99518)
tschuett Jul 19, 2024
687fc08
[ADT] Use UnorderedElementsAre in SetOperationsTest.cpp (NFC) (#99596)
kazutakahirata Jul 19, 2024
88e9bd8
[X86][Driver] Enable feature zu for -mapxf
KanRobert Jul 19, 2024
592233a
[TableGen][SelectionDAG] Make CheckValueTypeMatcher use MVT::SimpleVa…
4vtomat Jul 19, 2024
79a0b66
[BOLT] Add MC dependency for Profile
aaupov Jul 19, 2024
82af008
[safestack] Various 32-bit Linux fixes (#99455)
rorth Jul 19, 2024
2e5b451
[DebugInfo][SimpleLoopUnswitch] Fix missing debug location updates fo…
Apochens Jul 19, 2024
3b78dfa
[libc][libcxx] Support for building libc++ against LLVM libc (#99287)
petrhosek Jul 19, 2024
2f0910d
[C++20] [Modules] Skip ODR checks if either declaration comes from GMF
ChuanqiXu9 Jul 19, 2024
377e1eb
[asan] Consume leading zeroes in a test
vitalybuka Jul 19, 2024
55a7be5
[AArch64,ELF] Use getCurrentSection().first in changeSection
MaskRay Jul 19, 2024
6f710fe
[Doc] Update documentation for no-transitive-change (#96453)
ChuanqiXu9 Jul 19, 2024
90668d2
[CVP][LVI] Add support for InsertElementInst in LVI (#99368)
rajatbajpai Jul 19, 2024
a1d77ca
[test][PAC][clang] Add missing tests against linux triples (#99482)
kovdan01 Jul 19, 2024
2df9fd7
Fix diagnostics-dsym.test on mac-arm64 (#99399)
zeroomega Jul 19, 2024
cfe043c
[mlir][linalg] Restrict scalable vectorisation (#98639)
banach-space Jul 19, 2024
8d0cbef
[ADT] Use range-based for loops (NFC) (#99605)
kazutakahirata Jul 19, 2024
e6668b1
[mlir][tosa] Use roundeven in TOSA cast splat constant op folding (#9…
cferry-AMD Jul 19, 2024
5c93a94
[Clang][OpenMP] Add interchange directive (#93022)
Meinersbur Jul 19, 2024
c248d05
[Clang] make SVE types known to device targets too (#99446)
ema Jul 19, 2024
c813667
[clang] Fix static analyzer concerns in #embed code (#99331)
Fznamznon Jul 19, 2024
25f4bd8
AMDGPU: Clear kill flags after FoldZeroHighBits (#99582)
changpeng Jul 19, 2024
3a7c187
[safestack] Support multilib testing (#98002)
rorth Jul 19, 2024
ae2e66b
[AArch64] Use TargetStackID::ScalableVector instead of hard-coded val…
davemgreen Jul 19, 2024
a6b204b
[lld][AArch64] Fix handling of SHT_REL relocation addends. (#98291)
statham-arm Jul 19, 2024
270f5e4
[LV] Add tests where uniform recipe gets predicated for scalable VFs.
fhahn Jul 19, 2024
e8fbefe
[TLI] Add basic support for remquo libcall (#99611)
dtcxzyw Jul 19, 2024
39185da
[Clang][AArch64] Add missing SME/SVE2.1 feature macros (#98285)
SpencerAbson Jul 19, 2024
f0617d2
[libcxx][test] Remove picolib UNSUPPORTED for now.pass.cpp (#99503)
DavidSpickett Jul 19, 2024
e5df657
[Sema] Fix assertion error in Sema::FindInstantiatedDecl (#96509)
alejandro-alvarez-sonarsource Jul 19, 2024
092dd9c
[AArch64] Remove redundant instructions in int-to-fp of lowest vector…
SpencerAbson Jul 19, 2024
ac6061e
[Analysis] Add new function isDereferenceableReadOnlyLoop (#97292)
david-arm Jul 19, 2024
d2e8b1d
[CVP] Regenerate test checks (NFC)
nikic Jul 19, 2024
6235698
[CVP] Add tests for range return attributes (NFC)
nikic Jul 19, 2024
b7b0071
[AArch64][SVE] Improve code quality of vector unsigned/signed add red…
Jul 19, 2024
17f98ba
[LV] Add test with users both demanding all lanes and first-lane-only.
fhahn Jul 19, 2024
a27037b
[lldb] Forward-declare lldb-private::SaveCoreOptions
labath Jul 19, 2024
7f763b1
[MLIR][OpenMP] NFC: Sort clause definitions (#99504)
skatrak Jul 19, 2024
6cc8774
[CodeGen][ARM64EC] Add support for hybrid_patchable attribute. (#92965)
cjacek Jul 19, 2024
5a45fed
[clang][NFC] Fix typo in `-Ofast` deprecation warning
Endilll Jul 19, 2024
02cb5bc
[ADT] Teach set_intersect to erase with iterators (#99569)
kazutakahirata Jul 19, 2024
0f23156
[LoongArch] Support parsing the `%le_{hi20,add,lo12}_r` modifiers
wangleiat Jul 19, 2024
6b98ab9
[lld][ELF][LoongArch] Add support for R_LARCH_LE_{HI20,ADD,LO12}_R re…
wangleiat Jul 19, 2024
b8741cc
[VPlan] Relax assertion retrieving a scalar from VPTransformState::get.
fhahn Jul 19, 2024
812694c
[ValueTracking] Pre-commit ComputeNumSignBits test for (shl (zext X), C)
bjope Jul 4, 2024
098bd84
[ValueTracking] Let ComputeKnownSignBits handle (shl (zext X), C) (#9…
bjope Jul 18, 2024
008df3c
[LV] Check isPredInst instead of isScalarWithPred in uniform analysis…
fhahn Jul 19, 2024
42a7c42
[clang] Add `std::span` to the default gsl pointer annotation list. (…
hokein Jul 19, 2024
243af2f
[LLDB][test] Improve SHELL detection on Windows in Makefile.rules (#9…
dzhidzhoev Jul 19, 2024
e404eed
[clang] Add the `const` to all default lists in SemaAttr.cpp, NFC
hokein Jul 19, 2024
fdfc491
[lldb] SHT_NOBITS sections type (#99044)
dlav-sc Jul 19, 2024
6da23b6
[BoundsSafety] Add `-fexperimental-bounds-safety` CC1 and language op…
delcypher Jul 19, 2024
ef47bbb
[libc] Add AMDGPU Timing to CMake (#99603)
jameshu15869 Jul 19, 2024
123c036
Recommit "[TBAA] Emit distinct TBAA tags for pointers with different …
fhahn Jul 19, 2024
176bf50
[clang][NFC] Move Bounds Safety Sema code to `SemaBoundsSafety.cpp` (…
delcypher Jul 19, 2024
7b60f2d
[gn build] Port 176bf50cd244
llvmgnsyncbot Jul 19, 2024
7122b70
[clang] Fix underlying type of EmbedExpr (#99050)
Fznamznon Jul 19, 2024
7d8375b
[clang][driver] Fix -print-libgcc-file-name on Darwin platforms (#98325)
Xazax-hun Jul 19, 2024
007aa6d
[SLP] Increase UsesLimit to 64 (#99467)
cyyself Jul 19, 2024
8a79dc7
[APINotes] Support annotating C++ methods
egorzhdan Jul 19, 2024
d31603e
[clang][Interp] Control InitStack activity state in visitInitList
tbaederr Jul 19, 2024
47c08fb
[TBAA] Remove references to entry BB in check lines for tbaa-pointers.c
fhahn Jul 19, 2024
9145ffa
[clang][Interp] Only diagnose out of bounds enum values in C++
tbaederr Jul 18, 2024
38d0b2d
[mlir] New canonicalization patterns for shape.shape_of and tensor.re…
rafaelubalmw Jul 19, 2024
4c28494
[SLP][NFC]Add a test for incorrect minbitwidth analysis for trunc'ed …
alexey-bataev Jul 19, 2024
c719d7b
[FMV][AArch64] Do not optimize away runtime checks for implied featur…
labrinea Jul 19, 2024
e2f463b
[aarch64] Add hyperbolic and arc trig intrinsic lowering (#98937)
farzonl Jul 19, 2024
def3944
[WebAssembly] Add Support for Arc and Hyperbolic trig llvm intrinsics…
farzonl Jul 19, 2024
a14baec
[clang] Emit constraint intrinsics for arc and hyperbolic trig clang …
farzonl Jul 19, 2024
7e37d02
[libc] Fix headers for statvfs implementation
jhuber6 Jul 19, 2024
f6e01b9
[SLP]Do not trunc bv nodes, if the user is vectorized an requires wid…
alexey-bataev Jul 19, 2024
f1c27a9
Reapply "Add source file name for template instantiations in -ftime-t…
usx95 Jul 19, 2024
9da9127
[libc][math] Fix signaling nan handling of hypot(f) and improve hypot…
lntue Jul 19, 2024
71e2b8d
[clang] NFC, simplify the code in CheckExprLifetime.cpp (#99637)
hokein Jul 19, 2024
f9f6f5a
[TBAA] Remove remaining entry BB in check lines for tbaa-pointers.c (2)
fhahn Jul 19, 2024
4b9fab5
[flang][OpenMP] Implement lastprivate with collapse (#99500)
DavidTruby Jul 19, 2024
9d86722
[TOSA] Add lowering for `tosa.sin` and `tosa.cos` (#99651)
dchauhan-arm Jul 19, 2024
ac11430
[libc] Fix missing sysroot path for kernel headers when crosscompilin…
mikhailramalho Jul 19, 2024
cf50a84
[PAC] Authenticate function pointers in UBSan type checks (#99590)
ahatanak Jul 19, 2024
d463617
[PAC] Fix a crash when signing a pointer to a function with an incomp…
ahatanak Jul 19, 2024
2d69c36
[tsan] Consume leading zeroes in a test
vitalybuka Jul 19, 2024
d1ca1d0
[mlir] Makes `zip_shortest` an optional keyword in `transform.foreach…
Guillermo-Callaghan Jul 19, 2024
da44c06
[libc++][docs] Add tip for developers running the test suite on macOS…
ldionne Jul 19, 2024
2f8c786
[libc++] Refactor buildkite-pipeline.yml (#99483)
ldionne Jul 19, 2024
600d493
[AArch64] Remove superfluous sxtw in peephole opt (#96293)
davemgreen Jul 11, 2024
1bdd761
[AArch64] Additional sqxtn and uqxtn tests. NFC
davemgreen Jul 19, 2024
6e68b75
[AMDGPU] Reland: Do not use original PHIs in coercion chains
jrbyrnes Jul 16, 2024
09fec46
[AMDGPU][RFC] Combine asm and disasm tests. (#92895)
kosarev Jul 19, 2024
04760bf
[libc++][ranges] P1223R5: `find_last` (#99312)
strega-nil Jul 19, 2024
22eb290
[PS4/PS5][Driver][DWARF] Always emit .debug_aranges for SCE tuning (#…
playstation-edd Jul 19, 2024
2f8b64d
[flang][runtime] Build ISO_FORTRAN_ENV to export kind arrays as linka…
mjklemm Jul 19, 2024
9ba5244
[LV] Add option to still enable the legacy cost model. (#99536)
fhahn Jul 19, 2024
a56f37d
[flang][Lower] get ultimate symbol when querying if pointer or alloca…
tblah Jul 19, 2024
54dab7d
[msan] Implement support for Arm NEON vst{2,3,4} instructions (#99360)
thurstond Jul 19, 2024
0f0cfcf
CodeGen: Avoid some references to MachineFunction's getMMI (#99652)
arsenm Jul 19, 2024
a8b90c8
[libc][newheadergen]: adding entry_point testing (#99587)
aaryanshukla Jul 19, 2024
a96c906
[lldb/Target] Add GetStartSymbol method to DynamicLoader plugins (#99…
medismailben Jul 19, 2024
9b02b75
[libc] Increase test timeout (#99678)
mikhailramalho Jul 19, 2024
0ca98af
Dump regs fbsd fix (#99676)
devnexen Jul 19, 2024
49ef0a8
Revert "[NVPTX] Add Volta Load/Store Atomics (.relaxed, .acquire, .re…
slackito Jul 19, 2024
296a956
[BOLT] Match functions with call graph (#98125)
shawbyoung Jul 19, 2024
ffda521
[libc++] Make libc++ forward-compatible with AppleClang's definition …
ldionne Jul 19, 2024
d54ec64
[BOLT][DWARF] Remove deprecated opt (#99575)
sayhaan Jul 19, 2024
63625f4
[SandboxIR] Implement LoadInst (#99597)
Jul 19, 2024
2b37100
[mlir][docs] Update documentation for `vector.multi_reduction`. NFC (…
obtuseangleAZ Jul 19, 2024
9d03275
[ASan][libc++] Turn off SSO annotations for Apple platforms (#96269)
AdvenamTacet Jul 19, 2024
837d606
[libc] Temporarily disable hypotf sNaN tests for NVPTX targets. (#99708)
lntue Jul 19, 2024
9e74f66
[compiler-rt] dump registers for FreeBSD/i386 (#99702)
devnexen Jul 19, 2024
84658fb
Revert "[PS4/PS5][Driver][DWARF] Always emit .debug_aranges for SCE t…
playstation-edd Jul 19, 2024
a2f61ba
[libc][math]fadd implementation (#99694)
aaryanshukla Jul 19, 2024
56ffbd9
[workflows] Avoid usage of access token in issue-write.yml (#94011)
tstellar Jul 19, 2024
fada922
[LLDB][SBSaveCoreOptions] Fix TestProcessSaveCore (#99692)
Jlalond Jul 19, 2024
b686600
[BOLT] Skip instruction shortening (#93032)
hilldani Jul 19, 2024
b172f4a
[SandboxIR] Fix -Wunused-variable in SandboxIR.cpp (NFC)
DamonFool Jul 19, 2024
7f56323
[bolt][Docs] fix missing option in cmake of stage3 in OptimizingClang…
Itis-hard2name Jul 19, 2024
1ee8238
[BOLT][test] Fix Filecheck typos (#93979)
klensy Jul 19, 2024
8bc02bf
fix(bolt/**.py): fix comparison to None (#94012)
e-kwsm Jul 19, 2024
be7f182
[LV] Use llvm::all_of in LoopVectorizationCostModel::getMaximizedVFFo…
topperc Jul 20, 2024
05f0e86
[lldb] Change lldb's breakpoint handling behavior (#96260)
jasonmolenda Jul 20, 2024
6747f12
[BOLT][DWARF][NFC] Split processUnitDIE into two lambdas (#99225)
sayhaan Jul 20, 2024
4a739fb
[Clang] [docs] [MSVC] Add sections on `__forceinline` and intrinsic b…
MaxEW707 Jul 20, 2024
a3ebb66
[libc][math]: updated math docs for newhdrgen (#99715)
aaryanshukla Jul 20, 2024
52c08d7
Revert "[lldb] Change lldb's breakpoint handling behavior (#96260)"
jasonmolenda Jul 20, 2024
cfc2260
InstrProf: Mark BiasLI as invariant. (#95588)
chapuni Jul 20, 2024
abaf13a
Revert "Reapply "Add source file name for template instantiations in …
slackito Jul 20, 2024
d4dc8e4
Fixup for #95588, don't assume `align 8`.
chapuni Jul 20, 2024
2d756d9
[lld-macho,test] Adjust reproduce-thin-archive-objc.s
MaskRay Jul 20, 2024
740161a
Revert "[LLVM][LTO] Factor out RTLib calls and allow them to be dropp…
chapuni Jul 20, 2024
e2965fe
Revert "[LLVM][LTO] Add missing dependency"
chapuni Jul 20, 2024
168ecd7
Revert "[bazel] Fix llvm:Core build (#99054)"
chapuni Jul 20, 2024
5893b1e
Reformat
chapuni Jul 20, 2024
72d8c27
[Fuchsia] Remove linker flags from stage2 pass through (#99722)
zeroomega Jul 20, 2024
672cc8b
[GlobalISel] Allow customizing instruction-select pass
darkbuck Jul 20, 2024
96fb0ea
[compiler-rt] remove unneeded comma for pthread_atfork declaration (#…
devnexen Jul 20, 2024
37be437
[lld-macho] Fix erasing category names for ObjC categories (#99400)
alx32 Jul 20, 2024
06d2176
[clang][Interp][NFC] Move global variable init case to the top
tbaederr Jul 19, 2024
b201ab8
[MC] Move setIncrementalLinkerCompatible() calls to MCWinCOFFStreamer
MaskRay Jul 20, 2024
79a8279
[MC] Remove IncrementalLinkerCompatible parameters from create*WinCOF…
MaskRay Jul 20, 2024
c2019a3
SelectionDAG: Avoid using MachineFunction::getMMI (#99696)
arsenm Jul 20, 2024
867ff2d
[lit] Add a flag to disable lit time tests (#98270)
thevinster Jul 20, 2024
d386a55
[libc] Make static_assert available even if NDEBUG is set (#99742)
petrhosek Jul 20, 2024
0d26f65
[clang][Interp] Emit diagnostics if final ltor conversion fails
tbaederr Jul 20, 2024
bbd4af5
[mlir][Transforms] Dialect conversion: Simplify handling of dropped a…
matthias-springer Jul 20, 2024
62aa596
[AMDGPU] Add no return image_sample intrinsics and instructions (#97542)
perlfu Jul 20, 2024
155f6b4
[clang][Interp] Fix reporting invalid new/delete expressions
tbaederr Jul 20, 2024
a8a7d62
AArch64: Avoid using MachineFunction::getMMI
arsenm Jul 19, 2024
b4f3a96
X86: Avoid using MachineFunction::getMMI
arsenm Jul 19, 2024
f65d7fd
[libc++][vector] Fixes shrink_to_fit. (#97895)
mordante Jul 20, 2024
a03935b
M68k: Remove hasDebugInfo check when deciding to emit CFI (#99750)
arsenm Jul 20, 2024
d8116cf
AsmPrinter: Avoid use of MachineFunction::getMMI (#99751)
arsenm Jul 20, 2024
54de554
[Clang] Fix C library wrappers for offloading (#99716)
jhuber6 Jul 20, 2024
710dab6
[VPlan] Remove VPPredInstPHIRecipes without users after region merging.
fhahn Jul 20, 2024
e77a01d
[Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros (#9…
yronglin Jul 20, 2024
7d80ee5
CodeGen: Use IR function to query Module instead of MachineModuleInfo…
arsenm Jul 20, 2024
56a9f7c
[clang][Interp] Pass ASTContext to toAPValue()
tbaederr Jul 20, 2024
6395603
[X86][MC] Check AdSize16 for 16-bit addressing (#99761)
phoebewang Jul 20, 2024
615b7ee
Reapply "[LLVM][LTO] Factor out RTLib calls and allow them to be drop…
jhuber6 Jul 20, 2024
3c6ea7b
Remove 3DNow! from X86TargetParser. (#99352)
jyknight Jul 20, 2024
5303ca1
[clang][Interp] Start computing APValue offsets
tbaederr Jul 20, 2024
af0d731
[libc++][math] Mathematical Special Functions: Hermite Polynomial (#8…
PaulXiCao Jul 20, 2024
4d8e42e
[NVPTX] enforce signed 32 bit type for immediate offset (#99682)
AlexMaclean Jul 20, 2024
afbfb16
[libc++][TZDB] Implements zoned_time formatters. (#98347)
mordante Jul 20, 2024
29be889
reland "[libc] implement cached process/thread identity (#98989)" (#9…
SchrodingerZhu Jul 20, 2024
aa86f4f
[MC] Remove unnecessary DWARFMustBeAtTheEnd check
MaskRay Jul 20, 2024
d157884
Add logging for emit functions in BytecodeWriter.cpp (#99558)
GleasonK Jul 20, 2024
f9dd885
[libc++] Make std::pair trivially copyable if its members are (#89652)
philnik777 Jul 20, 2024
91bf0a0
[libc] Added static casts to fix implicit conversion warnings in 32-b…
mikhailramalho Jul 20, 2024
18f7ee5
[MC] Remove unused Register*Streamer
MaskRay Jul 20, 2024
2308c7f
[libc] Enable most of the libc entrypoitns for riscv (#99771)
mikhailramalho Jul 20, 2024
c59ee7e
Fix 40056: Prevent outlining of blocks with token type instructions (…
hiraditya Jul 20, 2024
1492e5f
Replace distutils.version with looseversion since the former was depr…
dyung Jul 20, 2024
98c0e55
Revert "SelectionDAG: Avoid using MachineFunction::getMMI" (#99777)
vitalybuka Jul 20, 2024
ce1a874
[clang-format] Fix a bug in annotating `*` in `#define`s (#99433)
owenca Jul 20, 2024
cc2fb58
[MC,ELF] Use loc from the directive for `.abort` (#99648)
chestnykh Jul 20, 2024
569814e
[libc] Implement pwait2 using pwait (#99781)
mikhailramalho Jul 20, 2024
1f00c42
[VPlan] Assert masked interleave accesses are allowed if needed (NFC)
fhahn Jul 20, 2024
28045ce
[ELF] Support (TYPE=<value>) beside output section address
MaskRay Jul 20, 2024
52a46bc
[SandboxIR] Implement StoreInst (#99707)
Jul 20, 2024
a23efcc
[VPlan] Move VPInterleaveRecipe::execute to VPlanRecipes.cpp (NFC).
fhahn Jul 20, 2024
c93554b
[ELF] Simplify ScriptLexer::consume. NFC
MaskRay Jul 20, 2024
efa833d
[ELF] Simplify readExpr. NFC
MaskRay Jul 20, 2024
2572a76
Revert "Replace distutils.version with looseversion since the former …
JDevlieghere Jul 20, 2024
16c24a8
[libc] Disable bind test for riscv
mikhailramalho Jul 20, 2024
ae2012d
[libc] Disable epoll_create fail test when SYS_epoll_create1 is used …
mikhailramalho Jul 20, 2024
7cbd899
[compiler-rt] lsan remove unneeded comma for pthread_atfork declarati…
devnexen Jul 20, 2024
ba9b5ff
[ELF,test] Fix RUN line issue in defsym.s
MaskRay Jul 20, 2024
b828c13
[ELF] Delete peek2 in Lexer (#99790)
hongyu-dev Jul 20, 2024
1d5d189
Revert "[LoongArch] Remove spurious mask operations from andn->icmp o…
heiher Jul 21, 2024
c8e69fa
[libc] Fix GPU 'printf' on strings with padding
jhuber6 Jul 21, 2024
d69eb7b
[MC] Move createMC{Object,Asm}Streamer to .cpp
MaskRay Jul 21, 2024
b8220b9
[MC] Remove unused bool arguments from createMCObjectStreamer callers
MaskRay Jul 21, 2024
6c9086d
[AArch64] Support varargs for preserve_nonecc (#99434)
antangelo Jul 21, 2024
86e21e1
[BOLT] Remove unused bool arguments from createMCObjectStreamer callers
MaskRay Jul 21, 2024
f1422a8
[MC] Deprecate createMCObjectStreamer with 3 unused trailing bool
MaskRay Jul 21, 2024
aefe411
[LoongArch] Add a test for spurious mask removal. NFC
heiher Jul 21, 2024
52e79ed
[MC] MCAsmStreamer: use MCTargetOptions
MaskRay Jul 21, 2024
9e69e6b
[MC] createAsmStreamer: add overload without unused bool parameters
MaskRay Jul 21, 2024
0caf0c9
[llvm-profgen] Support creating profiles of arbitrary events (#99026)
tcreech-intel Jul 21, 2024
05f986e
[LV] Add tests for loops with switches.
fhahn Jul 21, 2024
a41a4ac
[compiler-rt][RISCV] Implement __init_riscv_feature_bits (#85790)
BeMg Jul 21, 2024
14ec474
[libc++] Makes `unique_ptr operator*() noexcept. (#98047)
mordante Jul 21, 2024
cbebace
[AArch64] Add UQXTN2 patterns
davemgreen Jul 21, 2024
f6eb89c
[lldb][Windows] Fixed Host::Kill() (#99721)
slydiman Jul 21, 2024
c8c0b18
[LV] Update tests to not have dead interleave groups.
fhahn Jul 21, 2024
af0f58c
[libc][math][c23] Add entrypoints and tests for fsqrt{,l,f128} (#99669)
Jul 21, 2024
7f17b6b
[MC] Migrate to new createAsmStreamer that avoids unused bool parameters
MaskRay Jul 21, 2024
14a543e
[mlir][test] Add comments in a test (nfc) (#99810)
banach-space Jul 21, 2024
867faee
[MC] Migrate to createAsmStreamer without unused bool parameters
MaskRay Jul 21, 2024
233cca1
[ARM,Hexagon] Ignore IsVerboseAsm parameter in favor of MCStreamer::i…
MaskRay Jul 21, 2024
8f14e39
[MC] Remove unnecessary isVerboseAsm from Target::AsmTargetStreamerCt…
MaskRay Jul 21, 2024
e9c8514
[MC] Remove unnecessary isVerboseAsm from createAsmTargetStreamer
MaskRay Jul 21, 2024
7f017f0
[MC] Drop unnecessary MCSymbol::setExternal calls for ELF
MaskRay Jul 21, 2024
e299b16
[MC] Move isPrivateExtern to MCSymbolMachO
MaskRay Jul 21, 2024
6717dc5
*AsmBackend.cpp: Include StringSwitch.h
MaskRay Jul 21, 2024
a2af375
[MC] Move LOHContainer to MachObjectwriter
MaskRay Jul 21, 2024
ecaacd1
Reapply "Add source file name for template instantiations in -ftime-t…
usx95 Jul 21, 2024
6db2465
[Flang][Runtime] Fix implicit conversion warning when targeting 32bit…
serge-sans-paille Jul 21, 2024
9539a77
[MC] Export llvm::WinCOFFObjectWriter and access it from MCWinCOFFStr…
MaskRay Jul 21, 2024
ffcd7e9
[MC] Export llvm::SPIRVObjectTargetWriter and drop reliance on Mach-o…
MaskRay Jul 21, 2024
c156237
[libc][math][c23] Add entrypoints and tests for dsqrt{l,f128} (#99815)
Jul 21, 2024
09a399a
[MC] Move VersionInfo to MachObjectWriter
MaskRay Jul 21, 2024
5c83498
[Transforms] Use range-based for loops (NFC) (#99607)
kazutakahirata Jul 21, 2024
dcebe29
[clang-format] Fix a bug in annotating StartOfName (#99791)
owenca Jul 21, 2024
568845a
[mlir] Add a ValueSemantics trait. (#99493)
pifon2a Jul 21, 2024
5684a43
[llvm-profgen] Add --sample-period to estimate absolute counts
tcreech-intel Jul 21, 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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,6 @@ b9079baaddfed5e604fbfaa1d81a7a1c38e78c26

# [libc++][NFC] Run clang-format on libcxx/include again (#95874)
e2c2ffbe7a1b5d9e32a2ce64279475b50c4cba5b

# [lldb][nfc] Deindent ProcessGDBRemote::SetThreadStopInfo by two levels
b32931c5b32eb0d2cf37d688b34f8548c9674c19
14 changes: 7 additions & 7 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ clang/test/AST/Interp/ @tbaederr
/mlir/include/mlir/Dialect/Linalg @dcaballe @nicolasvasilache @rengolin
/mlir/lib/Dialect/Linalg @dcaballe @nicolasvasilache @rengolin
/mlir/lib/Dialect/Linalg/Transforms/DecomposeLinalgOps.cpp @MaheshRavishankar @nicolasvasilache
/mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp @MaheshRavishankar @nicolasvasilache
/mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp @dcaballe @MaheshRavishankar @nicolasvasilache
/mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp @MaheshRavishankar @nicolasvasilache
/mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp @hanhanW @nicolasvasilache
/mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp @hanhanW @nicolasvasilache
/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp @hanhanW @nicolasvasilache
/mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp @dcaballe @hanhanW @nicolasvasilache
/mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp @banach-space @dcaballe @hanhanW @nicolasvasilache

# MemRef Dialect in MLIR.
/mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp @MaheshRavishankar @nicolasvasilache
Expand All @@ -85,10 +85,10 @@ clang/test/AST/Interp/ @tbaederr
/mlir/**/*VectorToSCF* @banach-space @dcaballe @matthias-springer @nicolasvasilache
/mlir/**/*VectorToLLVM* @banach-space @dcaballe @nicolasvasilache
/mlir/**/*X86Vector* @aartbik @dcaballe @nicolasvasilache
/mlir/include/mlir/Dialect/Vector @dcaballe @nicolasvasilache
/mlir/lib/Dialect/Vector @dcaballe @nicolasvasilache
/mlir/lib/Dialect/Vector/Transforms/* @hanhanW @nicolasvasilache
/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp @MaheshRavishankar @nicolasvasilache
/mlir/include/mlir/Dialect/Vector @banach-space @dcaballe @nicolasvasilache
/mlir/lib/Dialect/Vector @banach-space @dcaballe @nicolasvasilache
/mlir/lib/Dialect/Vector/Transforms/* @banach-space @dcaballe @hanhanW @nicolasvasilache
/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp @banach-space @dcaballe @MaheshRavishankar @nicolasvasilache
/mlir/**/*EmulateNarrowType* @dcaballe @hanhanW

# Presburger library in MLIR
Expand Down
17 changes: 13 additions & 4 deletions .github/workflows/issue-write.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,21 @@ jobs:
github.event.workflow_run.conclusion == 'failure'
)
steps:
- name: Fetch Sources
uses: actions/checkout@v4
with:
sparse-checkout: |
.github/workflows/unprivileged-download-artifact/action.yml
sparse-checkout-cone-mode: false
- name: 'Download artifact'
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
uses: ./.github/workflows/unprivileged-download-artifact
id: download-artifact
with:
github-token: ${{ secrets.ISSUE_WRITE_DOWNLOAD_ARTIFACT }}
run-id: ${{ github.event.workflow_run.id }}
name: workflow-args
artifact-name: workflow-args

- name: 'Comment on PR'
if: steps.download-artifact.outputs.artifact-id != ''
uses: actions/github-script@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -144,5 +151,7 @@ jobs:
});

- name: Dump comments file
if: always()
if: >-
always() &&
steps.download-artifact.outputs.artifact-id != ''
run: cat comments
81 changes: 81 additions & 0 deletions .github/workflows/unprivileged-download-artifact/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Unprivileged Download Artifact
description: >-
Download artifacts from another workflow run without using an access token.
inputs:
run-id:
description: >-
The run-id for the workflow run that you want to download the artifact
from. If ommitted it will download the most recently created artifact
from the repo with the artifact-name.
required: false
artifact-name:
desciption: The name of the artifact to download.
required: true


outputs:
filename:
description: >-
The filename of the downloaded artifact or the empty string if the
artifact was not found.
value: ${{ steps.download-artifact.outputs.filename }}
artifact-id:
description: "The id of the artifact being downloaded."
value: ${{ steps.artifact-url.outputs.id }}


runs:
using: "composite"
steps:
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea #v7.0.1
id: artifact-url
with:
script: |
var response;
if (!"${{ inputs.run-id }}") {
response = await github.rest.actions.listArtifactsForRepo({
owner: context.repo.owner,
repo: context.repo.repo,
name: "${{ inputs.artifact-name }}"
})
} else {
response = await github.rest.actions.listWorkflowRunArtifacts({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: "${{ inputs.run-id }}",
name: "${{ inputs.artifact-name }}"
})
}

console.log(response)

for (artifact of response.data.artifacts) {
console.log(artifact);
}

if (response.data.artifacts.length == 0) {
console.log("Could not find artifact ${{ inputs.artifact-name }} for workflow run ${{ inputs.run-id }}")
return;
}

const url_response = await github.rest.actions.downloadArtifact({
owner: context.repo.owner,
repo: context.repo.repo,
artifact_id: response.data.artifacts[0].id,
archive_format: "zip"
})

core.setOutput("url", url_response.url);
core.setOutput("id", response.data.artifacts[0].id);

- shell: bash
if: steps.artifact-url.outputs.url != ''
id: download-artifact
run: |
curl -L -o ${{ inputs.artifact-name }}.zip "${{ steps.artifact-url.outputs.url }}"
echo "filename=${{ inputs.artifact-name }}.zip" >> $GITHUB_OUTPUT

- shell: bash
if: steps.download-artifact.outputs.filename != ''
run: |
unzip ${{ steps.download-artifact.outputs.filename }}
9 changes: 4 additions & 5 deletions bolt/docs/CommandLineArgumentReference.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,6 @@

Prints out offsets for abbrev and debug_info of Skeleton CUs that get patched.

- `--deterministic-debuginfo`

Disables parallel execution of tasks that may produce nondeterministic debug
info

- `--dot-tooltip-code`

Add basic block instructions as tool tips on nodes
Expand Down Expand Up @@ -686,6 +681,10 @@
threshold means fewer functions to process. E.g threshold of 90 means only top
10 percent of functions with profile will be processed.

- `--match-with-call-graph`

Match functions with call graph

- `--memcpy1-spec=<func1,func2:cs1:cs2,func3:cs1,...>`

List of functions with call sites for which to specialize memcpy() for size 1
Expand Down
1 change: 1 addition & 0 deletions bolt/docs/OptimizingClang.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ $ cd ${TOPLEV}/stage3
$ CPATH=${TOPLEV}/stage2-prof-use-lto/install/bin/
$ cmake -G Ninja ${TOPLEV}/llvm -DLLVM_TARGETS_TO_BUILD=X86 -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=$CPATH/clang -DCMAKE_CXX_COMPILER=$CPATH/clang++ \
-DLLVM_ENABLE_PROJECTS="clang" \
-DLLVM_USE_LINKER=lld -DCMAKE_INSTALL_PREFIX=${TOPLEV}/stage3/install
$ perf record -e cycles:u -j any,u -- ninja clang
```
Expand Down
4 changes: 2 additions & 2 deletions bolt/docs/generate_doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def parse_bolt_options(output):
cleaned_line = line.strip()

if cleaned_line.casefold() in map(str.casefold, section_headers):
if prev_section != None: # Save last option from prev section
if prev_section is not None: # Save last option from prev section
add_info(sections, current_section, option, description)
option, description = None, []

Expand Down Expand Up @@ -76,7 +76,7 @@ def parse_bolt_options(output):
description = [descr]
if option.startswith("--print") or option.startswith("--time"):
current_section = "BOLT printing options:"
elif prev_section != None:
elif prev_section is not None:
current_section = prev_section
continue

Expand Down
21 changes: 17 additions & 4 deletions bolt/include/bolt/Core/BinaryContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCPseudoProbe.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCStreamer.h"
Expand Down Expand Up @@ -246,6 +247,9 @@ class BinaryContext {
/// DWP Context.
std::shared_ptr<DWARFContext> DWPContext;

/// Decoded pseudo probes.
std::shared_ptr<MCPseudoProbeDecoder> PseudoProbeDecoder;

/// A map of DWO Ids to CUs.
using DWOIdToCUMapType = std::unordered_map<uint64_t, DWARFUnit *>;
DWOIdToCUMapType DWOCUs;
Expand Down Expand Up @@ -377,6 +381,15 @@ class BinaryContext {
RtLibrary = std::move(Lib);
}

const MCPseudoProbeDecoder *getPseudoProbeDecoder() const {
return PseudoProbeDecoder.get();
}

void setPseudoProbeDecoder(std::shared_ptr<MCPseudoProbeDecoder> Decoder) {
assert(!PseudoProbeDecoder && "Cannot set pseudo probe decoder twice.");
PseudoProbeDecoder = Decoder;
}

/// Return BinaryFunction containing a given \p Address or nullptr if
/// no registered function contains the \p Address.
///
Expand Down Expand Up @@ -431,6 +444,9 @@ class BinaryContext {
return nullptr;
}

/// Deregister JumpTable registered at a given \p Address and delete it.
void deleteJumpTable(uint64_t Address);

unsigned getDWARFEncodingSize(unsigned Encoding) {
if (Encoding == dwarf::DW_EH_PE_omit)
return 0;
Expand Down Expand Up @@ -1436,10 +1452,7 @@ class BinaryContext {
std::unique_ptr<MCObjectWriter> OW = MAB->createObjectWriter(OS);
std::unique_ptr<MCStreamer> Streamer(TheTarget->createMCObjectStreamer(
*TheTriple, *Ctx, std::unique_ptr<MCAsmBackend>(MAB), std::move(OW),
std::unique_ptr<MCCodeEmitter>(MCE), *STI,
/* RelaxAll */ false,
/* IncrementalLinkerCompatible */ false,
/* DWARFMustBeAtTheEnd */ false));
std::unique_ptr<MCCodeEmitter>(MCE), *STI));
return Streamer;
}

Expand Down
8 changes: 8 additions & 0 deletions bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,9 @@ class BinaryFunction {
/// different parameters by every pass.
mutable uint64_t Hash{0};

/// Function GUID assigned externally.
uint64_t GUID{0};

/// For PLT functions it contains a symbol associated with a function
/// reference. It is nullptr for non-PLT functions.
const MCSymbol *PLTSymbol{nullptr};
Expand Down Expand Up @@ -2256,6 +2259,11 @@ class BinaryFunction {
/// Returns the last computed hash value of the function.
size_t getHash() const { return Hash; }

/// Returns the function GUID.
uint64_t getGUID() const { return GUID; }

void setGUID(uint64_t Id) { GUID = Id; }

using OperandHashFuncTy =
function_ref<typename std::string(const MCOperand &)>;

Expand Down
12 changes: 2 additions & 10 deletions bolt/include/bolt/Core/DIEBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,6 @@ class DIEBuilder {

/// Returns current state of the DIEBuilder
State &getState() { return *BuilderState.get(); }
/// Resolve the reference in DIE, if target is not loaded into IR,
/// pre-allocate it. \p RefCU will be updated to the Unit specific by \p
/// RefValue.
DWARFDie resolveDIEReference(
const DWARFFormValue &RefValue,
const DWARFAbbreviationDeclaration::AttributeSpec AttrSpec,
DWARFUnit *&RefCU, DWARFDebugInfoEntry &DwarfDebugInfoEntry);

/// Resolve the reference in DIE, if target is not loaded into IR,
/// pre-allocate it. \p RefCU will be updated to the Unit specific by \p
Expand All @@ -165,10 +158,9 @@ class DIEBuilder {
const DWARFFormValue &Val);

/// Clone an attribute in reference format.
void cloneDieReferenceAttribute(
void cloneDieOffsetReferenceAttribute(
DIE &Die, const DWARFUnit &U, const DWARFDie &InputDIE,
const DWARFAbbreviationDeclaration::AttributeSpec AttrSpec,
const DWARFFormValue &Val);
const DWARFAbbreviationDeclaration::AttributeSpec AttrSpec, uint64_t Ref);

/// Clone an attribute in block format.
void cloneBlockAttribute(
Expand Down
Loading