Skip to content

Merge 24.07.2024 #126

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

Merged
merged 973 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
973 commits
Select commit Hold shift + click to select a range
786b491
[Utils] Fix clang-tidy warning: Use boolean false, not 0 (NFC) (#99828)
AZero13 Jul 23, 2024
b830790
[NFC] changes all run lines
Jul 23, 2024
b4ef0ba
[LoongArch] Enable 128-bits vector by default (#100056)
Ami-zhang Jul 23, 2024
5a1b989
[LoongArch] Support -march=la64v1.0 and -march=la64v1.1 (#100057)
Ami-zhang Jul 23, 2024
2114947
MCObjectStreamer: Remove an unneeded getBackendPtr test
MaskRay Jul 23, 2024
f9c349f
[RISCV] Create mapping symbols with non-unique names
MaskRay Jul 23, 2024
de2bfe0
[CSKY] Create mapping symbols with non-unique names
MaskRay Jul 23, 2024
cd9e42c
[clang-tidy] fix misc-const-correctness to work with function-try-blo…
schenker Jul 23, 2024
ea48629
[clang][Interp] Calculate APValue offsets for base classes
tbaederr Jul 22, 2024
019136e
[MLIR] Add f8E4M3 IEEE 754 type (#97118)
apivovarov Jul 23, 2024
5da4310
[MLIR][LLVM] Always print variadic callee type (#99293)
gysit Jul 23, 2024
f017d89
MCAssembler: Move SubsectionsViaSymbols; to MCObjectWriter
MaskRay Jul 23, 2024
b2f5ac6
MCAssembler: Remove unused functions
MaskRay Jul 23, 2024
5663639
[analyzer] Model builtin-like functions as builtin functions (#99886)
steakhal Jul 23, 2024
0a6233a
[clang][ASTImporter] Fix import of anonymous enums if multiple are pr…
balazske Jul 23, 2024
f0fad9f
Revert "[clang-tidy] fix misc-const-correctness to work with function…
PiotrZSL Jul 23, 2024
404ca22
Replace |& with 2>&1 in ignore_free_hooks test. (#100004)
amykhuang Jul 23, 2024
70e7d26
[RISCV] Mark zacas as experimental again due to unresolved ABI issue …
asb Jul 23, 2024
fcec298
[LoongArch] Support la664 (#100068)
Ami-zhang Jul 23, 2024
2db576c
ELFObjectWriter: Remove unneeded subclasses
MaskRay Jul 23, 2024
89d1eb6
[LoongArch] Remove experimental `auto-vec` feature. (#100070)
ylzsx Jul 23, 2024
8a615bc
[LoongArch] Summary the release notes for LLVM 19
SixWeining Jul 23, 2024
d59925c
[LoongArch] Fix test issue of init-loongarch.c
Ami-zhang Jul 23, 2024
2de1333
[clang][test][RISCV] Add missing test change from #99898
asb Jul 23, 2024
26c99c4
[clang-tidy] fix misc-const-correctness to work with function-try-blo…
schenker Jul 23, 2024
2dd82c5
[clang-tidy][NFC] Added -fexceptions to const-correctness-values.cp
PiotrZSL Jul 23, 2024
6db5f4f
[Clang] Ignore empty FieldDecls when asking for the field number (#10…
bwendling Jul 23, 2024
939a662
[AMDGPU] Implement workaround for GFX11.5 export priority (#99273)
perlfu Jul 23, 2024
eeb7feb
[AMDGPU] Define constrained multi-dword scalar load instructions. (#9…
cdevadas Jul 23, 2024
96d4121
[llvm-cgdata] Remove `GENERATE_DRIVER` option (#100066)
petrhosek Jul 23, 2024
2d2d685
[GlobalIsel][AArch64] Legalize G_SCMP and G_UCMP (#99820)
tschuett Jul 23, 2024
0998e3c
[clang] Add method 'backupStr' to ASTContext (#99417)
JOE1994 Jul 23, 2024
a1d7da0
[AMDGPU][SILoadStoreOptimizer] Merge constrained sloads (#96162)
cdevadas Jul 23, 2024
7d0a584
Revert "[llvm-cgdata] Remove `GENERATE_DRIVER` option" (#100078)
petrhosek Jul 23, 2024
229e118
[AMDGPU] Codegen support for constrained multi-dword sloads (#96163)
cdevadas Jul 23, 2024
430b254
[Clang] Do not attempt to access the `DefinitionData` of an incomplet…
a-tarasyuk Jul 23, 2024
528a662
Fix sign of largest known divisor of div. (#100081)
jreiffers Jul 23, 2024
f2ccf80
[LICM] Fold associative binary ops to promote code hoisting (#81608)
rj-jesus Jul 23, 2024
8f701b5
Set version to 20.0.0git
tru Jul 23, 2024
10c6d63
Clear release notes for upcoming LLVM 20 dev cycle
tru Jul 23, 2024
b5fb7b2
[PS5] Adopt new compiler-rt naming scheme for the profile library. (#…
goussepi Jul 23, 2024
5f05d5e
Revert "[Clang][Interp] `__builtin_os_log_format_buffer_size` should …
hctim Jul 23, 2024
dd23b34
[clang-tidy][performance-unnecessary-value-param] Make `handleMoveFix…
legrosbuffle Jul 23, 2024
f18dd9e
Reapply "[Clang][Interp] `__builtin_os_log_format_buffer_size` should…
tbaederr Jul 23, 2024
b48819d
Revert " [LICM] Fold associative binary ops to promote code hoisting …
nikic Jul 23, 2024
c1b70fa
Precommit vscale-fixups.ll test (NFC)
MacDue Jul 23, 2024
363e036
[AST] NFC: add an assertion for invariant of CXXFoldExpr
ilya-biryukov Jul 22, 2024
d89f3e8
[VPlan] Remove dead HeaderVPBB argument from addUsersInExitBlock (NFC).
fhahn Jul 23, 2024
fde27bd
[mlir] Added new attributes to the llvm.call op in llvmir target (#99…
FMarno Jul 23, 2024
5bd38a9
[DAG] ComputeNumSignBits - subo_carry(x,x,c) -> bitwidth 'allsignbits…
RKSimon Jul 23, 2024
a0971f0
[Infra] Fix version-check workflow (#100090)
tru Jul 23, 2024
20d7fff
[clang][Interp] Fix atomic builtins with integral pointers
tbaederr Jul 23, 2024
d5a614d
[CodeGen][NFC] Fix documentation comments (#100092)
pfusik Jul 23, 2024
b60fec2
[analyzer] Assume the result of 'fopen' can't alias with 'std{in,out,…
steakhal Jul 23, 2024
4d5f81c
[APINotes] Support nested tags
egorzhdan Jul 23, 2024
ef7d46c
Template Diagnostic Improvements (#99933)
bradenhelmer Jul 23, 2024
73d7897
Revert "[CGData] llvm-cgdata (#89884)"
gulfemsavrun Jul 23, 2024
8ebe499
[LLVM] Fix typo "depedent"
jayfoad Jul 23, 2024
eb9bf18
[flang][OpenMP] Fix copyprivate semantic checks (#95799)
luporl Jul 23, 2024
16f22c0
Fold `fma x, -1.0, y` into `fsub x, y` (#100106)
dtcxzyw Jul 23, 2024
2eea9d6
[mlir] Rename memory attribute to memory_effects in llvmir dialect (#…
FMarno Jul 23, 2024
c747300
[clang][OpenMP] Move "loop" directive mapping from sema to codegen (#…
kparzysz Jul 23, 2024
a213edd
[FunctionAttrs] Determine underlying object by `getUnderlyingObjectAg…
dianqk Jul 23, 2024
1ee686a
Revert "[FunctionAttrs] Determine underlying object by `getUnderlying…
nikic Jul 23, 2024
cc7308a
[ctx_prof] Make the profile output analyzable by llvm-bcanalyzer (#99…
mtrofin Jul 23, 2024
ec56790
[libcxx] don't `#include <cwchar>` if wide chars aren't enabled (#99911)
stuij Jul 23, 2024
b97bc56
[X86] Add MMX nontemporal store DAG test
RKSimon Jul 23, 2024
25952ec
[X86] Add MMX nontemporal store pattern
RKSimon Jul 23, 2024
1ebfc81
[RISCV] Fix InsnCI register type (#100113)
svs-quic Jul 23, 2024
1df4d86
[PowerPC] Add support for -mcpu=pwr11 / -mtune=pwr11 (#99511)
azhan92 Jul 23, 2024
63b382b
[PowerPC] Add builtin_cpu_is P11 support (#99550)
azhan92 Jul 23, 2024
37123e9
Fix link error after cc7308a156 with shared libraries
kparzysz Jul 23, 2024
5589f29
[clang][Interp] Merge FunctionPointer into Pointer
tbaederr Jul 23, 2024
cd2214b
[Frontend][OpenMP] Add deduction guide for `ConstructCompositionT`
kparzysz Jul 22, 2024
f1b76c5
X86] combineConcatVectorOps - IsConcatFree - peek through bitcasts to…
RKSimon Jul 23, 2024
6476a1d
Revert "[gn build] Port d3fb41dddc11 (llvm-cgdata)"
nico Jul 23, 2024
f8cdffa
[AArch64] Lower scalable i1 vector add reduction to cntp (#100118)
DevM-uk Jul 23, 2024
b4ebf2d
[WebAssembly] Disable running `wasm-opt` on components (#98373)
alexcrichton Jul 23, 2024
20fe252
[Utils] Updates to bump-version.py (#100089)
tru Jul 23, 2024
81e2a57
AMDGPU: Fix assembler asserting on expressions in vop3 instructions (…
arsenm Jul 23, 2024
58f3c5e
[lld-macho] Fix thunks for non-__text TEXT sections (#99052)
speednoisemovement Jul 23, 2024
9628777
[libc++][math] Fix undue overflowing of `std::hypot(x,y,z)` (#93350)
PaulXiCao Jul 23, 2024
1a3cfe5
[LinkerWrapper] Pass all files to the device linker (#97573)
jhuber6 Jul 23, 2024
b42fe67
[DAG] Add users of operand of simplified extract_vector_elt to workli…
davemgreen Jul 23, 2024
e3b30bc
[lld][InstrProf] Profile guided function order (#96268)
ellishg Jul 23, 2024
0cf92b1
[gn build] Port e3b30bc55377
llvmgnsyncbot Jul 23, 2024
d1e28e2
[RISCV] Support __builtin_cpu_init and __builtin_cpu_supports (#99700)
preames Jul 23, 2024
fd58e50
[RISCV] Reverse iteration/deletion structure in vsetvli coalescing [N…
preames Jul 23, 2024
a138d75
[GlobalIsel] Fix tests for G_SCMP and G_UCMP (#100133)
tschuett Jul 23, 2024
d64eccf
[clang] Split ObjectFilePCHContainerReader from ObjectFilePCHContaine…
ChuanqiXu9 Jul 23, 2024
4854e25
[Offload] Re-enable tests that are now passing
jhuber6 Jul 23, 2024
b8d2b77
[SelectionDAGBuilder] Avoid const_cast on call to matchSelectPattern.…
topperc Jul 23, 2024
df4fa47
[RISCV] Use MVT::changeVectorElementType. NFC
topperc Jul 23, 2024
3c8efd7
[OpenMP] Ensure the actual kernel is annotated with launch bounds (#9…
jdoerfert Jul 23, 2024
c2e4386
[libc++][vector<bool>] Tests shrink_to_fit requirement. (#98009)
mordante Jul 23, 2024
87f2c25
[lldb] Unify WaitForSetEvents and WaitForEventsToReset (#99997)
JDevlieghere Jul 23, 2024
ef1367f
[RISCV] Use vnclip(u) to handle fp_to_(s/u)int_sat that needs additio…
topperc Jul 23, 2024
d0ca9f2
[libc++][string] Fixes shrink_to_fit. (#97961)
mordante Jul 23, 2024
a51d263
Adding warning for Master as it is deprecated in 5.2 (#98955)
anchuraj Jul 23, 2024
1e58c9d
[libc] Fix math tests for macos arm64. (#100060)
lntue Jul 23, 2024
ca102b2
lldb: android: fix missing Python import of urlparse in lldb test uti…
andrurogerz Jul 23, 2024
f227dc9
[UnifyLoopExits] Never generate phis of only `undef` values (#99924)
jdoerfert Jul 23, 2024
fc832d5
[AMDGPU] Implement llvm.lround intrinsic lowering. (#98970)
sgundapa Jul 23, 2024
5623b06
[libc++][doc] Fixes building the release notes.
mordante Jul 23, 2024
ca076f7
[LLVM] [MC] Update frame layout & CFI generation to handle frames lar…
wesleywiser Jul 23, 2024
298a922
[ARM] Create mapping symbols with non-unique names
MaskRay Jul 23, 2024
0ee0eeb
[flang] Enhance location information (#95862)
clementval Jul 23, 2024
1c40910
[bazel] Port cc7308a1563e5ebab4dffeb85deefdde61e6711a (#100163)
keith Jul 23, 2024
e9bb4e3
[libc++][doc] Update the release notes for LLVM 19. (#99061)
mordante Jul 23, 2024
7395191
[libc] Skip NaN death tests for asan build. (#100161)
lntue Jul 23, 2024
3a8a0b8
[bazel] Update for new deps (#100166)
keith Jul 23, 2024
b316ceb
[AMDGPU][MC] Improve error message for missing dim operand (#96588)
jwanggit86 Jul 23, 2024
1c9085e
[Sema] Default arguments for template parameters affect ContainsUnexp…
ilya-biryukov Jul 23, 2024
43ca631
[lldb/Commands] Add `scripting template list` command with auto disco…
medismailben Jul 23, 2024
e59a619
Clang: don't unnecessarily convert inline-asm operands to x86mmx in I…
jyknight Jul 23, 2024
6cea818
[libc++][vector] Updates LWG3778 status. (#99818)
mordante Jul 23, 2024
e6388fe
[libc++][memory] Implements LWG3307. (#99776)
mordante Jul 23, 2024
5fc9502
[SLP] NFC. ShuffleInstructionBuilder::add V1->getType() is always a F…
HanKuanChen Jul 23, 2024
05b586b
[libc][RISCV] Add naked attribute to setjmp/longjmp (#100036)
ilovepi Jul 23, 2024
0b262bb
[clang][Interp] Properly reject StmtExprs with Stmt result
tbaederr Jul 23, 2024
e0649a5
[NVPTX] Fix internal indirect call prototypes not obeying the ABI (#1…
jhuber6 Jul 23, 2024
1b60c38
[libc++][NFC] Add comment about __builtin_verbose_trap per review com…
ldionne Jul 23, 2024
511823c
[MC] Make *ObjectWriter final
MaskRay Jul 23, 2024
6a8c5a9
[flang] Fix warning in build (#100134)
psteinfeld Jul 23, 2024
c92d9b0
[SPIRV][HLSL] Add lowering of frac to SPIR-V (#97111)
ritskii Jul 23, 2024
e64e745
[libc++][libc++abi] Minor follow-up changes after ptrauth upstreaming…
ldionne Jul 23, 2024
df741b2
[HeaderSearch] Make a test independent of the local environment. (#10…
vsapsai Jul 23, 2024
34e67ff
[lldb] Drop LOG_CONS from openlog call.
JDevlieghere Jul 23, 2024
95ea37c
[scudo] Added LRU eviction policy to secondary cache. (#99409)
JoshuaMBa Jul 23, 2024
3993da2
[SandboxIR] Implement BranchInst (#100063)
vporpo Jul 23, 2024
735852f
[WebAssembly] Enable simd128 when relaxed-simd is set in AsmPrinter (…
aheejin Jul 23, 2024
c312a1a
Revert "[SandboxIR] Implement BranchInst (#100063)"
vporpo Jul 23, 2024
1c3a99c
[libc++] Add clang-20 to failing tests on Windows (#100119)
gulfemsavrun Jul 23, 2024
eb90ac5
[MLGO] Bump MLGO utils version to 20
boomanaiden154 Jul 23, 2024
795a47f
Suppress a redundant hardening check in basic_string_view::substr (#9…
davidben Jul 23, 2024
c444548
Reapply "[SandboxIR] Implement BranchInst (#100063)"
vporpo Jul 23, 2024
7e1fcf5
[Clang] Correctly forward `--cuda-path` to the nvlink wrapper (#100170)
jhuber6 Jul 23, 2024
055e431
[MemProf] Reduce cloning overhead by sharing nodes when possible (#99…
teresajohnson Jul 23, 2024
7d388ae
Revert "[Clang] Correctly forward `--cuda-path` to the nvlink wrapper…
jhuber6 Jul 23, 2024
adbe247
Reapply "[Clang] Correctly forward `--cuda-path` to the nvlink wrappe…
jhuber6 Jul 23, 2024
cb1a3bb
[MLGO][Infra] Add mlgo-utils to bump-version script (#100186)
boomanaiden154 Jul 23, 2024
7cd7a1e
[BOLT][DWARF][NFC] Split processUnitDIE into two lambdas (#99957)
sayhaan Jul 23, 2024
d19e71d
[clang/Lex/DependencyDirectivesScanner] Ignore import/include directi…
akyrtzi Jul 23, 2024
92a9d48
[clang][headers] Including stddef.h always redefines NULL (#99727)
ian-twilightcoder Jul 23, 2024
bb60dd3
[VPlan] Only use force-target-instruction-cost for recipes with insts.
fhahn Jul 23, 2024
14e20ee
[libc] Fix missing default value for errno config (#100175)
jhuber6 Jul 23, 2024
cb0ead7
[Clang] Add back in REQUIRES lines that were accidentally removed
jhuber6 Jul 23, 2024
e858a92
[msan] Add more NEON VST tests (#100189)
thurstond Jul 23, 2024
8bdc3d9
Revert "[libc][RISCV] Add naked attribute to setjmp/longjmp" (#100193)
ilovepi Jul 23, 2024
d0c8e26
[libc++][Android] Fix Android bugs in the CI Dockerfile (#99623)
rprichard Jul 23, 2024
cbd5ba2
[Modules] Don't search for modulemaps in the immediate sub-directorie…
vsapsai Jul 23, 2024
ce811fb
[NFCI][scudo] Remove unused variable 'MaxCount' (#100201)
thurstond Jul 23, 2024
8be1325
[clang][test] Add function type discrimination tests to static destru…
ojhunt Jul 23, 2024
541a631
[Clang] Mark test XFAIL until a fix is merged
jhuber6 Jul 23, 2024
5e97bfb
[msan] Add baseline output for neon_vst_float.ll (#100210)
thurstond Jul 23, 2024
0a6a3c1
[PAC][compiler-rt][UBSan] Strip signed vptr instead of authenticating…
ahatanak Jul 23, 2024
7868c04
[clang-doc] add ftime profiling (#97644)
PeterChou1 Jul 23, 2024
caaba2a
[RISCV] Replace VNCLIP RISCVISD opcodes with TRUNCATE_VECTOR_VL_SSAT/…
topperc Jul 23, 2024
e7f8d4b
[libc][math] Optimize maximum and minimum functions using builtins wh…
overmighty Jul 23, 2024
7aa6598
[COFF] Add help text for /time flag to make it visible in /? output
rnk Jul 23, 2024
61dcc9f
[libc][math] Fix use of float16 not guarded by LIBC_TYPES_HAS_FLOAT16…
overmighty Jul 23, 2024
80d1c6a
Revert "[clang-doc] add ftime profiling" (#100251)
PeterChou1 Jul 23, 2024
fb55db5
[clang-doc] fix broken tests (#100260)
PeterChou1 Jul 23, 2024
25f0381
[libc][malloc] Reduce block overhead by 4 bytes plus alignment effect…
mysterymath Jul 23, 2024
39c23a3
Revert "[lldb/Commands] Add `scripting template list` command with au…
medismailben Jul 23, 2024
2bf71b8
[WebAssembly] Fix phi handling for Wasm SjLj (#99730)
aheejin Jul 23, 2024
5150704
[clang][OpenMP] Mark all SIMD regions as non-throwing (#100162)
kparzysz Jul 23, 2024
3a51788
[gn build] Port d64eccf4335e
llvmgnsyncbot Jul 23, 2024
adc59f4
[Frontend][OpenMP] Fix typo in comment, NFC
kparzysz Jul 23, 2024
4f516aa
[Clang] Make the GPU toolchains implicitly link `-lm` and `-lc` (#98170)
jhuber6 Jul 23, 2024
ef8de68
[MLIR][DebugInfo] Enable the use of DILocalVariable DIFlags (#100190)
walter-erquinigo Jul 23, 2024
73ac953
[RISCV][compiler-rt] Small fixes for __riscv_feature_bits (#100158)
BeMg Jul 23, 2024
f3f0d99
Revert "[WebAssembly] Fix phi handling for Wasm SjLj (#99730)"
aheejin Jul 24, 2024
f9cf539
[libc][malloc] Align blocks to max_align_t. (#100279)
mysterymath Jul 24, 2024
ea4a348
[BOLT][DWARF][NFC] Move initialization of DWOName outside of lambda (…
sayhaan Jul 24, 2024
ae1de3e
[Flang] Remove tests checking now removed 'libc-gpu.a`
jhuber6 Jul 24, 2024
56535a0
[lldb] Don't crash when attaching to pid and no binaries found (#100287)
jasonmolenda Jul 24, 2024
52ebd8d
[tsan] Enable test on linux (#99659)
vitalybuka Jul 24, 2024
4f79ef4
[libc++] Revert "Make std::pair trivially copyable if its members are…
ldionne Jul 24, 2024
26fa399
[RegisterCoalescer] Fix SUBREG_TO_REG handling in the RegisterCoalesc…
stefanp-synopsys Jul 24, 2024
0420d2f
[libc] Fix leftover debug commandline argument
jhuber6 Jul 24, 2024
bc829b5
[LoongArch][test] Pre-commit for fix codegen for ISD::ROTR. NFC
heiher Jul 24, 2024
9d1d0cc
[LoongArch][test] Revert "Pre-commit for fix codegen for ISD::ROTR". NFC
heiher Jul 24, 2024
785d376
[ORC][JITLink] Treat common symbols as weak definitions.
lhames Jul 24, 2024
690dc4e
Add AsmParser::parseDecimalInteger. (#96255)
quartersdg Jul 24, 2024
c49837f
Revert "[ORC][JITLink] Treat common symbols as weak definitions."
lhames Jul 24, 2024
b91c75f
[RISCV] Add unit strided load/store to whole register peephole (#100116)
lukel97 Jul 24, 2024
599f8e1
Reland "[compiler-rt][X86] Use functions in cpuid.h instead of inline…
boomanaiden154 Jul 24, 2024
d27ee36
[llvm][CodeGen] Fixed max cycle calculation with zero-cost instructio…
kaiyan96 Jul 24, 2024
2d6ff0c
[llvm][CodeGen] Added missing initialization failure information for …
kaiyan96 Jul 24, 2024
e386aac
[LoongArch] Fix codegen for ISD::ROTR (#100292)
heiher Jul 24, 2024
6810c05
[RISCV] Update test for #99821 after #100116. NFC
lukel97 Jul 24, 2024
cd1a2ed
[llvm][CodeGen] Added a new restriction for II by pragma in window sc…
kaiyan96 Jul 24, 2024
2ca300f
[GlobalIsel][NFC] Move cast code (#100196)
tschuett Jul 24, 2024
6942f1d
[MLIR][Linalg] Scalable Vectorization of Reduction on the Trailing Di…
zhaoshiz Jul 24, 2024
6461e53
[Driver] Don't claim -c/-S
MaskRay Jul 24, 2024
2ae862b
[ELF] Remove `consumeLabel` in ScriptLexer (#99567)
hongyu-dev Jul 24, 2024
7b61973
[clang][Interp][test] Try to make a test case work on Windows
tbaederr Jul 24, 2024
9d45b45
[SimplifyLibCalls] Constant fold `remquo` (#99647)
dtcxzyw Jul 24, 2024
f4e8fbc
[compiler-rt][nsan] Add lit config for tests (#100286)
alexander-shaposhnikov Jul 24, 2024
63ae1e9
[RISCV] Emit VP strided loads/stores in RISCVGatherScatterLowering (#…
lukel97 Jul 24, 2024
dbe308c
[clang][ExprConst] Allow non-literal types in C++23 (#100062)
tbaederr Jul 24, 2024
e7698a1
Re-apply "[ORC][JITLink] Treat common symbols as weak definitions." w…
lhames Jul 24, 2024
63e1799
[ORC] Re-add test files that were accidentally left out of e7698a13e31.
lhames Jul 24, 2024
455990d
Reland "SelectionDAG: Avoid using MachineFunction::getMMI" (#99779)
vitalybuka Jul 24, 2024
ddb75ca
[AMDGPU] Utilities to asan instrument memory instructions. (#98863)
skc7 Jul 24, 2024
ef1c70d
[compiler-rt] Implement `DumpAllRegisters` for arm-linux and aarch64-…
chestnykh Jul 24, 2024
fad17b4
[clang] replaced the usage of `asctime` with `std::put_time` (#99075)
yichi170 Jul 24, 2024
d09fc8f
[compiler-rt][builtins] Fix `-Werror` build problem (#100312)
chestnykh Jul 24, 2024
c34d673
[asan][cmake][test] Fix finding dynamic asan runtime lib (#100083)
rorth Jul 24, 2024
3993a47
[PS4/PS5][Driver][DWARF] Always emit .debug_aranges for SCE tuning (#…
playstation-edd Jul 24, 2024
ddf5725
[nsan] Emit calls to optimized functions (#98900)
chestnykh Jul 24, 2024
a3de21c
[WebAssembly] Ofast pmin/pmax pattern matchers (#100107)
sparker-arm Jul 24, 2024
1ead51a
[flang] fix C_PTR function result lowering (#100082)
jeanPerier Jul 24, 2024
9a25866
CodeGen: Avoid using MachineFunction::getMMI in MachineModuleSlotTrac…
arsenm Jul 24, 2024
ba8126b
[LV] Mark dead instructions in loop as free.
fhahn Jul 24, 2024
eff6250
M68k: Remove hasDebugInfo check
arsenm Jul 24, 2024
666e332
[PAC] Define __builtin_ptrauth_type_discriminator (#100204)
ahatanak Jul 24, 2024
6a1b119
[AMDGPU] Add intrinsics for atomic struct buffer loads (#100140)
OutOfCache Jul 24, 2024
7fad04e
[LSR] Fix matching vscale immediates (#100080)
MacDue Jul 24, 2024
3cb5604
MachineOutliner: Use PM to query MachineModuleInfo (#99688)
arsenm Jul 24, 2024
cd82fee
[nsan] Fix `Wstring-conversion` error (#100328)
chestnykh Jul 24, 2024
71a8486
[libcxx][test] Update picolib xfails (#99631)
DavidSpickett Jul 24, 2024
f0bd705
[CodeGen] Restore MachineBlockPlacement block ordering (#99351)
john-brawn-arm Jul 24, 2024
d36edf8
[clang][Interp] Bail out on value dependent variable initializers
tbaederr Jul 24, 2024
aa53f0d
[ASTContext] Make the end of the switch case unreachable in `encodeTy…
4vtomat Jul 24, 2024
cba63c0
[MLIR][OpenMP] Keep -verify-openmp-ops output as dependency (#99638)
skatrak Jul 24, 2024
05e9506
[RISCV] Update combine-vmv.ll to have more foldable cases. NFC
lukel97 Jul 24, 2024
893a303
[clang][analyzer] Support `ownership_{returns,takes}` attributes (#98…
pskrgag Jul 24, 2024
1031335
Revert "[libc++][math] Fix undue overflowing of `std::hypot(x,y,z)` (…
hctim Jul 24, 2024
2ce865d
ARM: Avoid using MachineFunction::getMMI
arsenm Jul 24, 2024
68a0d0c
[flang][OpenMP] Handle common blocks in delayed privatization (#100317)
ergawy Jul 24, 2024
a5bc549
[gn] port 73ac9536268f
nico Jul 24, 2024
559be8e
Reapply "[FunctionAttrs] Determine underlying object by `getUnderlyin…
dianqk Jul 24, 2024
59eae91
[ValueTracking] Don't use CondContext in dataflow analysis of phi nod…
dtcxzyw Jul 24, 2024
c1c6ed8
[libc] Remove 'packaged' GPU build support (#100208)
jhuber6 Jul 24, 2024
99c5140
[gn build] Port 2ca300f914b1
llvmgnsyncbot Jul 24, 2024
48e1eb4
[gn build] Port ddb75ca6062c
llvmgnsyncbot Jul 24, 2024
e6c20e1
[AMDGPU] Move AMDGPUAsanInstrumentation outside of utils (#100323)
skc7 Jul 24, 2024
e1052fa
[AMDGPU][MC][NFC] Drop remaining -wavesize32/64 attributes in tests. …
kosarev Jul 24, 2024
445bb35
[libc] Enable 'sscanf' on the GPU (#100211)
jhuber6 Jul 24, 2024
404071b
[SelectionDAG] Preserve volatile undef stores. (#99918)
enferex Jul 24, 2024
929b474
[libcxx][test] Explain picolib unsupported in sort.pass.cpp
DavidSpickett Jul 24, 2024
9914609
Revert "[libc] Enable 'sscanf' on the GPU (#100211)"
jhuber6 Jul 24, 2024
550b83d
Revert "[libc] Remove 'packaged' GPU build support (#100208)"
jhuber6 Jul 24, 2024
4bb3a1e
[clang] Define `ATOMIC_FLAG_INIT` correctly for C++. (#97534)
chrisnc Jul 24, 2024
20957d2
[AIX] Add -msave-reg-params to save arguments to stack (#97524)
ecnelises Jul 24, 2024
1a9dfc9
Merge remote-tracking branch 'upstream/main' into amd-trunk-dev
ergawy Jul 24, 2024
558a895
[compiler-rt] Move `endif` to correct place (#100342)
chestnykh Jul 24, 2024
69a15f5
Merge remote-tracking branch 'upstream/main' into amd-trunk-dev
ergawy Jul 24, 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
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ clang/test/AST/Interp/ @tbaederr
/mlir/**/*VectorToLLVM* @banach-space @dcaballe @nicolasvasilache
/mlir/**/*X86Vector* @aartbik @dcaballe @nicolasvasilache
/mlir/include/mlir/Dialect/Vector @banach-space @dcaballe @nicolasvasilache
/mlir/include/mlir/Dialect/Vector/IR @kuhar
/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
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 }}
2 changes: 1 addition & 1 deletion .github/workflows/version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:

- name: Version Check
run: |
version=$(grep -o 'LLVM_VERSION_\(MAJOR\|MINOR\|PATCH\) [0-9]\+' llvm/CMakeLists.txt | cut -d ' ' -f 2 | tr "\n" "." | sed 's/.$//g')
version=$(grep -o 'LLVM_VERSION_\(MAJOR\|MINOR\|PATCH\) [0-9]\+' cmake/Modules/LLVMVersion.cmake | cut -d ' ' -f 2 | tr "\n" "." | sed 's/.$//g')
.github/workflows/version-check.py "$version"
11 changes: 5 additions & 6 deletions bolt/docs/CommandLineArgumentReference.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

- `--comp-dir-override=<string>`

Overrides DW_AT_comp_dir, and provides an alterantive base location, which is
Overrides DW_AT_comp_dir, and provides an alternative base location, which is
used with DW_AT_dwo_name to construct a path to *.dwo files.

- `--create-debug-names-section`
Expand All @@ -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
13 changes: 7 additions & 6 deletions bolt/include/bolt/Core/MCPlusBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ enum class IndirectBranchType : char {
POSSIBLE_PIC_JUMP_TABLE, /// Possibly a jump table for PIC.
POSSIBLE_GOTO, /// Possibly a gcc's computed goto.
POSSIBLE_FIXED_BRANCH, /// Possibly an indirect branch to a fixed location.
POSSIBLE_PIC_FIXED_BRANCH, /// Possibly an indirect jump to a fixed entry in a
/// PIC jump table.
};

class MCPlusBuilder {
Expand Down Expand Up @@ -1474,12 +1476,11 @@ class MCPlusBuilder {
/// will be set to the different components of the branch. \p MemLocInstr
/// is the instruction that loads up the indirect function pointer. It may
/// or may not be same as \p Instruction.
virtual IndirectBranchType
analyzeIndirectBranch(MCInst &Instruction, InstructionIterator Begin,
InstructionIterator End, const unsigned PtrSize,
MCInst *&MemLocInstr, unsigned &BaseRegNum,
unsigned &IndexRegNum, int64_t &DispValue,
const MCExpr *&DispExpr, MCInst *&PCRelBaseOut) const {
virtual IndirectBranchType analyzeIndirectBranch(
MCInst &Instruction, InstructionIterator Begin, InstructionIterator End,
const unsigned PtrSize, MCInst *&MemLocInstr, unsigned &BaseRegNum,
unsigned &IndexRegNum, int64_t &DispValue, const MCExpr *&DispExpr,
MCInst *&PCRelBaseOut, MCInst *&FixedEntryLoadInst) const {
llvm_unreachable("not implemented");
return IndirectBranchType::UNKNOWN;
}
Expand Down
Loading