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

[lldb] Implement WebAssembly debugging #76683

Closed
wants to merge 1,109 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1109 commits
Select commit Hold shift + click to select a range
c1d02bd
[mlir] Change end of OperationDefinition. (#77273)
jpienaar Jan 10, 2024
5c9b713
[libc++][NFC] Fix typo in comments
ldionne Jan 10, 2024
3358c77
[CMake] Deprecate GCC_INSTALL_PREFIX (#77537)
MaskRay Jan 10, 2024
e6c2952
[scudo] Condition variable can be disabled by setting the flag to off…
ChiaHungDuan Jan 10, 2024
408dce8
[SLP]Do not require external uses for roots and single use for other …
alexey-bataev Jan 10, 2024
51fbab1
[asan] Enable StackSafetyAnalysis by default
MaskRay Jan 10, 2024
e80b943
[clang][Interp] Fix discarded integral and floating casts (#77295)
tbaederr Jan 10, 2024
a1dc813
[mlir][mesh] fix unused variable error
cota Jan 10, 2024
2dde029
[MLIR][Presburger] Implement computation of generating function for u…
Abhinav271828 Jan 10, 2024
0a1b066
[RISCV] Support isel for Zacas for XLen and i32. (#77666)
topperc Jan 10, 2024
183eae0
[HLSL][Docs] Add documentation for HLSL functions (#75397)
llvm-beanz Jan 10, 2024
1c34257
[LV] Use value_or to simplify code. NFC (#77030)
topperc Jan 10, 2024
3378514
[RISCV] Use any_extend for type legalizing atomic_compare_swap with Z…
topperc Jan 10, 2024
fb7fe49
[CommandLine][NFCI] Do not add 'All' to 'RegisteredSubCommands' (#77041)
igorkudrin Jan 10, 2024
a08506e
[LLD] [MinGW] Add support for more ThinLTO specific options (#77387)
mstorsjo Jan 10, 2024
aec73ea
[mlir][sparse] allow unknown ops in one-shot bufferization in mini-pi…
aartbik Jan 10, 2024
e51fe95
[clang][NFC] Improve comments in C++ DR test suite (#77670)
Endilll Jan 10, 2024
8ca07e5
[Flang][OpenMP][Offloading][Test] Adjust slightly incorrect tests now…
agozillon Jan 10, 2024
98e3d98
[libc++] Rename local variable to avoid shadowing error (#77672)
cjdb Jan 10, 2024
21a784f
[llvm-exegesis] Add tablegen support for validation counters (#76652)
boomanaiden154 Jan 10, 2024
04a906e
[llvm][lld] Support R_AARCH64_GOTPCREL32 (#72584)
PiJoules Jan 10, 2024
f7678c8
[llvm][lld] Support R_RISCV_GOT32_PCREL (#72587)
PiJoules Jan 10, 2024
f65265a
[llvm-exegesis] Fix validation counters
boomanaiden154 Jan 10, 2024
fefdef8
[Clang] Implement the 'counted_by' attribute (#76348)
bwendling Jan 10, 2024
8ae8ae9
[llvm-exegesis] Update validation counters enum
boomanaiden154 Jan 10, 2024
4a3fb9c
[Clang] Update 'counted_by' documentation
bwendling Jan 10, 2024
422b84a
[MLIR][LLVM] DI Expression Rewrite & Legalization (#77541)
zyx-billy Jan 11, 2024
66981f9
[docs][IRPGO]Document two binary formats for instrumentation-based pr…
minglotus-6 Jan 11, 2024
03be448
[RISCV][AMDGPU] Mark test/CodeGen/Generic/live-debug-label.ll XFAIL f…
mshockwave Jan 11, 2024
753dc0a
[mlir][verifyMemref] Fix bug and support more types for verifyMemref …
yinying-lisa-li Jan 11, 2024
66d022f
[clang][analyzer] Fix incorrect range of 'ftell' in the StdLibraryFun…
benshi001 Jan 11, 2024
31fd6d1
[mlir][mesh] fix ProcessMultiIndexOp building (#77676)
sogartar Jan 11, 2024
d85a13b
Revert "[CommandLine][NFCI] Do not add 'All' to 'RegisteredSubCommand…
igorkudrin Jan 11, 2024
2dce772
Revert "[Clang] Implement the 'counted_by' attribute (#76348)"
nico Jan 11, 2024
6d19e89
[Pass] Remove trailing whitespace in `PassRegistry.def` NFC (#77710)
paperchalice Jan 11, 2024
e0c7345
[libc++][test] Replace uses of `_LIBCPP_ABI_MICROSOFT` in tests (#77233)
cpplearner Jan 11, 2024
5a66c8d
[Clang][doc] Add blank line before lists (#77573)
wangpc-pp Jan 11, 2024
4eb68f5
[Instrumentation] Use a range-based for loop (NFC)
kazutakahirata Jan 11, 2024
1bc4cb5
[X86][MC] Fix wrong action when encoding enqcmd/enqcmds (#77571)
XinWang10 Jan 11, 2024
cc77e33
[clang-format] Don't apply severe penalty if no possible column forma…
jamesg-nz Jan 11, 2024
b2c0c6f
[clang-format]: Split alignment of declarations around assignment (#6…
gedare Jan 11, 2024
093e6bd
[clang-format] Fix crash involving array designators (#77045)
XDeme1 Jan 11, 2024
9ed3001
[mlir][arith][nfc] Fix typos (#77700)
Hardcode84 Jan 11, 2024
1fe7bdb
[X86][CodeGen] Support lowering for NDD ADD/SUB/ADC/SBB/OR/XOR/NEG/NO…
KanRobert Jan 11, 2024
1e05236
[Target] Use isNullConstant (NFC)
kazutakahirata Jan 11, 2024
12bba0d
[clang-query] Use StringRef::ltrim (NFC)
kazutakahirata Jan 11, 2024
be76f16
[Target] Use getConstantOperandAPInt (NFC)
kazutakahirata Jan 11, 2024
e879002
[RISCV] Allow vsetvlis with same register AVL in doLocalPostpass (#76…
lukel97 Jan 11, 2024
164f85d
[Clang] Implement the 'counted_by' attribute (#76348)
bwendling Jan 10, 2024
3d795bd
[InstCombine] Handle a bitreverse idiom which ends with a bswap (#77677)
dtcxzyw Jan 11, 2024
211abe3
[SelectionDAG] Add space-optimized forms of OPC_CheckComplexPat (#73310)
wangpc-pp Jan 11, 2024
5c8d123
[SelectionDAG] Add space-optimized forms of OPC_CheckPatternPredicate…
wangpc-pp Jan 11, 2024
1a57927
[SelectionDAG] Add space-optimized forms of OPC_CheckPredicate (#73488)
wangpc-pp Jan 11, 2024
3643d11
[flang][hlfir] Support box in user defined assignments (#77578)
jeanPerier Jan 11, 2024
e3993e0
[clang][Interp] Implement __builtin_addressof (#77303)
tbaederr Jan 11, 2024
79889fe
[RISCV] Deduplicate version struct in RISCVISAInfo. NFC (#77645)
lukel97 Jan 11, 2024
16945bc
[AMDGPU] Don't send DEALLOC_VGPRs after calls (#77439)
rovka Jan 11, 2024
c9c8f0c
[AMDGPU] Update tests for GFX12 errors and unsupported instructions (…
jayfoad Jan 11, 2024
66eedd1
[InstCombine] Fix worklist management in select fold (#77738)
ParkHanbum Jan 11, 2024
158d72d
[Clang] Set writable and dead_on_unwind attributes on sret arguments …
nikic Jan 11, 2024
d7642b2
[GlobalIsel] Combine select to integer minmax (second attempt). (#77520)
tschuett Jan 11, 2024
9ef2ac3
[clangd] Handle lambda scopes inside Node::getDeclContext() (#76329)
zyn0217 Jan 11, 2024
ee43128
[NFC][OpenMP][Flang] Add smoke test for omp target parallel (#77579)
DominikAdamski Jan 11, 2024
33e5db6
[clang] Improve colors in status tracking web pages.
cor3ntin Jan 11, 2024
9d97247
[clang] Fix color consistency in C paper tracking web page
cor3ntin Jan 11, 2024
e034f20
[AArch64LoadStoreOptimizer] Debug messages to track decision making. …
sjoerdmeijer Jan 11, 2024
7bf13fe
[DAG] Fold (sext (sext_inreg x)) -> (sext (trunc x)) if the trunc is …
RKSimon Jan 11, 2024
75d820d
[AArch64] MI Scheduler: create more LDP/STP pairs (#77565)
sjoerdmeijer Jan 11, 2024
77f2ccb
[STLExtras] Add out-of-line definition of friend operator== for C++20…
usx95 Jan 11, 2024
1ee93ac
[libc] Add memcmp / bcmp fuzzers (#77741)
gchatelet Jan 11, 2024
1de3f46
Revert "[SLP]Do not require external uses for roots and single use fo…
mstorsjo Jan 11, 2024
4b0314d
[clang][ASTImporter] Improve import of friend class templates. (#74627)
balazske Jan 11, 2024
a02c0d9
[DWARFLinker][NFC] Move common code into the base library: Utils.h (#…
avl-llvm Jan 11, 2024
21aacb0
[mlir] Improve `GreedyPatternRewriteDriver` and pass documentation (#…
matthias-springer Jan 11, 2024
dc97457
[mlir][ArmSME][test] Make use of arm_sme.streaming_vl (NFC) (#77322)
MacDue Jan 11, 2024
bd2a6ef
[clang]not lookup name containing a dependent type (#77587)
HerrCai0907 Jan 11, 2024
9ca6e5b
[libc] Fix buggy AVX2 / AVX512 `memcmp` (#77081)
gchatelet Jan 11, 2024
19081f4
[clang][analyzer] Support 'tello' and 'fseeko' in the StreamChecker (…
benshi001 Jan 11, 2024
e4e0b65
[X86][test] Pre-commit test for #77731
KanRobert Jan 11, 2024
bbbe8ec
[GlobalISel][Localizer] Allow localization of a small number of repea…
aemerson Jan 11, 2024
bc98c31
Revert "[SelectionDAG] Add space-optimized forms of OPC_CheckPredicat…
metaflow Jan 11, 2024
cc53ec8
[Flang][Parser] Add missing dependencies to CMakeLists.txt (#77483)
kparzysz Jan 11, 2024
959a430
[flang] FDATE extension implementation: get date and time in ctime fo…
yi-wu-arm Jan 11, 2024
5661242
[TOSA] FFT2D operator (#77005)
d-smirnov Jan 11, 2024
5e40661
[sanitizer] Fix asserts in asan and tsan in pthread interceptors. (#7…
goussepi Jan 11, 2024
b7770be
[ClangFormat] Fix formatting bugs. (#76245)
r4nt Jan 11, 2024
40d5c2b
[clang][AArch64] Add a -mbranch-protection option to enable GCS (#75486)
john-brawn-arm Jan 11, 2024
b120dae
[AMDGPU] Support GFX12 VDSDIR instructions WAITVMSRC operand in GCNHa…
jayfoad Jan 11, 2024
d553934
[AArch64] Add missing field 'GuardedControlStack' initializer (NFC)
DamonFool Jan 11, 2024
9edcf7a
[flang][driver] Add support for -isysroot in the frontend (#77365)
luporl Jan 11, 2024
f1c88d7
[flang] Fix fveclib on Darwin (#77605)
luporl Jan 11, 2024
b6f9677
[clang][AArch64] Fix incorrect rebase (#77769)
john-brawn-arm Jan 11, 2024
f892cc3
[BranchFolding] Fix missing predecessors of landing-pad (#77608)
HaohaiWen Jan 11, 2024
5261339
[InstrRef] Add debug hint for not reachable blocks from entry (#77725)
HaohaiWen Jan 11, 2024
18798cf
[OpenMP] Add missing weak definitions of missing variables (#77767)
DominikAdamski Jan 11, 2024
d1ecd12
[IndVars] Add additional test for preserving NSW.
fhahn Jan 11, 2024
21133f1
[TOSA] Fix -Wdangling-gsl and -Wunused-variable in TosaToLinalg.cpp (…
DamonFool Jan 11, 2024
13b5882
[PowerPC] Add test for #77748 (NFC)
nikic Jan 11, 2024
ef4a95c
[AArch64] Enable certain instruction aliases for SVE/SME (#77745)
momchil-velikov Jan 11, 2024
dc717b1
[SLP][NFC]Add a test for final vector with minbitwidth, NFC.
alexey-bataev Jan 11, 2024
26a8664
[MemProf] Handle missing tail call frames (#75823)
teresajohnson Jan 11, 2024
18473eb
[SLP]Do not require external uses for roots and single use for other …
alexey-bataev Jan 10, 2024
731b295
[flang] Handle missing LOGIN_NAME_MAX definition in runtime (#77775)
rorth Jan 11, 2024
3b3ee1f
[RISCV] Add test for strided gather with disjoint or. NFC
lukel97 Jan 11, 2024
8f90e69
[runtimes] Use LLVM libunwind from libc++abi by default (#77687)
ldionne Jan 11, 2024
5794854
[libc][NFC] Use 16-byte indices for _mmXXX_shuffle_epi8 (#77781)
gchatelet Jan 11, 2024
b6fc463
[SEH] Redirect test output to /dev/null (#77784)
HaohaiWen Jan 11, 2024
c37699b
[MemProf] Add missing <unordered_map> include to fix buildbot (#77788)
teresajohnson Jan 11, 2024
31ce0f1
[flang][driver] Fix exec.f90 test with shared libs
luporl Jan 11, 2024
fc6faa1
[CloneFunction][DebugInfo] Avoid cloning DILocalVariables of inlined …
dzhidzhoev Jan 11, 2024
3867e66
[AMDGPU] Add new GFX12 image atomic float instructions (#76946)
mbrkusanin Jan 11, 2024
90eb4e2
[AArch64] Fix missing `pfalse` diagnostic (#77746)
momchil-velikov Jan 11, 2024
3b3da7c
[SLP] Add a set of tests with non-power-of-2 operations.
fhahn Jan 11, 2024
d21fb06
[lld][ELF] Allow Arm PC-relative relocations in PIC links (#77304)
eleanor-arm Jan 11, 2024
923f039
[OpenACC] Implement 'copy' Clause
erichkeane Jan 9, 2024
114e6d7
[RISCV] Add test for strided gather with recursive disjoint or. NFC
lukel97 Jan 11, 2024
3ede817
[Libomptarget] Fix JIT on the NVPTX target by calling ptx manually (#…
jhuber6 Jan 11, 2024
dd5ce45
[OpenACC] Implement 'use_device' clause parsing
erichkeane Jan 11, 2024
4278d9b
[mlir][spirv] Lower `arith` overflow flags to corresponding SPIR-V op…
Hardcode84 Jan 11, 2024
ee45710
[lldb] Fix MaxSummaryLength target property type (#72233)
dancing-leaves Jan 11, 2024
f5dd70c
[LSR] Require non-zero step when considering wrap around for term fol…
preames Jan 11, 2024
c2fd5b7
[NFC] Remove trailing whitespace
llvm-beanz Jan 11, 2024
21e1bf2
Add more ZA modes (#77361)
Leporacanthicus Jan 11, 2024
061b777
[mlir][affine] Add dependency on `UBDialect` for `PoisonAttr` (#77691)
ubfx Jan 11, 2024
4619e21
[mlir][memref] Transpose: allow affine map layouts in result, extend …
ubfx Jan 11, 2024
c3e3aa9
[AArch64][SVE2] Generate XAR (#77160)
UsmanNadeem Jan 11, 2024
2bb511e
[BOLT][NFC] Print BAT section size (#76897)
aaupov Jan 11, 2024
0cc3157
[clang-format] TableGen keywords support. (#77477)
hnakamura5 Jan 11, 2024
18734f6
[flang] Fix a warning
kazutakahirata Jan 11, 2024
cf3421d
[Format] Fix a warning
kazutakahirata Jan 11, 2024
fb09447
[flang] Fix a warning
kazutakahirata Jan 11, 2024
a7cf0a1
[BOLT] Add BOLT Address Translation documentation (#76899)
aaupov Jan 3, 2024
565f40d
[BOLT] Encode BAT using ULEB128 (#76899)
aaupov Dec 21, 2023
3e82663
[Dialect] Fix a warning
kazutakahirata Jan 11, 2024
e7f7948
Revert "[asan] Enable StackSafetyAnalysis by default"
ZequanWu Jan 11, 2024
75efddb
[ASan][libc++] Initialize `__r_` variable with lambda (#77394)
Jan 11, 2024
37c1a5e
[Libomptarget] Fix GPU Dtors referencing possibly deallocated image (…
jhuber6 Jan 11, 2024
40f5f90
[mlir][openacc][flang] Simplify gang, vector and worker representatio…
clementval Jan 11, 2024
d447304
Revert "[Flang][Parser] Add missing dependencies to CMakeLists.txt (#…
kparzysz Jan 11, 2024
bdfe5d6
[flang][openacc] Apply mutually exclusive clauses restriction to rout…
clementval Jan 11, 2024
5ce067d
Revert "[LSR][TTI][RISCV] Disable terminator folding for RISC-V."
preames Jan 11, 2024
69bc30b
[Fuchsia] Add stage2 cmake options
mysterymath Jan 11, 2024
8b61fc7
Add sync-up for floating-point working group (#71885)
Jan 11, 2024
238b579
[flang][openacc] Do not accept static and num for gang clause on rout…
clementval Jan 11, 2024
a6d4017
[StackSafetyAnalysis] Bail out if MemIntrinsic length is -1 (#77837)
MaskRay Jan 11, 2024
c8ad802
[flang][openacc] Carry device dependent info for routine in the modul…
clementval Jan 11, 2024
7740565
[asan] Enable StackSafetyAnalysis by default
MaskRay Jan 11, 2024
b3981ed
[libc++] Re-export libc++abi symbols on Apple platforms when using sy…
Jan 11, 2024
bbe0798
[BOLT] Delta-encode offsets in BAT (#76900)
aaupov Jan 11, 2024
8fb8ad6
[BOLT] Delta-encode function start addresses in BAT (#76902)
aaupov Jan 11, 2024
3513267
[mlir] Add op printing flag to skip regions (#77726)
kuhar Jan 11, 2024
b58f91a
Set the default value for MaxAtomicSizeInBitsSupported to 0.
jyknight Jan 9, 2024
649b391
Revert "[mlir][spirv] Lower `arith` overflow flags to corresponding S…
Hardcode84 Jan 11, 2024
5afc4f3
Revert "[mlir][arith][nfc] Fix typos (#77700)"
Hardcode84 Jan 11, 2024
5f59b72
Revert "[mlir][arith] Add overflow flags support to arith ops (#77211)"
Hardcode84 Jan 11, 2024
721dd3b
[analyzer] NFC: Don't regenerate duplicate HTML reports.
haoNoQ Jan 11, 2024
93b4705
[compiler-rt][fuchsia] Preallocate a vmar for sanitizer internals (#7…
PiJoules Jan 11, 2024
4cee0e3
[LLD] Fix llvm-driver cmake integration for LLD (#76305)
aganea Jan 12, 2024
3c6f47d
[llvm-driver] Fix usage of `InitLLVM` on Windows (#76306)
aganea Jan 12, 2024
dc61ebb
[clang] Mark clang-format-ignore.cpp as unsupported on Windows
nico Jan 12, 2024
ae1c1ed
[CodeGen] Allow `CodeGenPassBuilder` to add module pass after functio…
paperchalice Jan 12, 2024
22bc74e
[gn build] Port ae1c1ed6af8d
llvmgnsyncbot Jan 12, 2024
f626b1f
[clang][FatLTO][UnifiedLTO] Pass -enable-matrix to the LTO driver
ormris Jan 11, 2024
8e9c531
[llvm-ifs] Treat unknown symbol types as error. (#75872)
zeroomega Jan 12, 2024
3ef20e3
[CMake][Release] Add option for enabling LTO to cache file (#77035)
tstellar Jan 12, 2024
f33e927
github-automation: Use the llvm/llvm-project repo for backport pull r…
tstellar Jan 12, 2024
ab02372
[OpenMP] Fix or disable NVPTX tests failing currently (#77844)
jhuber6 Jan 12, 2024
17c062c
[CodeGen] Make CodeGenPassBuilder Pipeline test x86-64 only (#77860)
paperchalice Jan 12, 2024
791637e
[clang-format] Don't allow casts in front of ampamp (#77704)
rymiel Jan 12, 2024
9095eec
[X86][CodeGen] Support EVEX compression: NDD to nonNDD (#77731)
KanRobert Jan 12, 2024
6a0c440
[Driver,sanitizer] Remove RequiresPIE and msan's NeedPIE setting (#77…
MaskRay Jan 12, 2024
3f03231
[CodeGen] Fix ponential memory leak in CodeGenPassBuilderTest (#77864)
paperchalice Jan 12, 2024
c185a66
[SelectionDAG,TableGen] Use stable_sort after #73310
MaskRay Jan 12, 2024
5e5e98e
AMDGPU: Cleanup MAIFrag predicate code (#77734)
arsenm Jan 12, 2024
c230138
[SelectionDAG,TableGen] Use MapVector after #73310
MaskRay Jan 12, 2024
d1d1e7d
[NFC] Updating the tests for combine-ext.mir (#77756)
dfszabo Jan 12, 2024
9e40ba0
[RISCV] Remove period from Zvbb extension description.
topperc Jan 12, 2024
a2af374
[SelectionDAG] Add space-optimized forms of OPC_CheckPredicate (#77763)
wangpc-pp Jan 12, 2024
54c1954
[GlobalISel] Revise 'assignCustomValue' interface (#77824)
darkbuck Jan 12, 2024
3baedb4
[GISel] Fix #77762: extend correct source registers in combiner helpe…
widlarizer Jan 12, 2024
cc0065a
[builtins] Generate __multc3 for z/OS (#77554)
perry-ca Jan 12, 2024
6752f15
[TwoAddressInstruction] Recompute live intervals for partial defs (#7…
perlfu Jan 12, 2024
4f71068
[X86] Correct the asm comment for compression NF_ND -> NF
KanRobert Jan 12, 2024
c39926e
[MLIR][Presburger] Fix style violations in ff80414 (NFC) (#76720)
iambrj Jan 12, 2024
3699811
[AMDGPU] Handle bf16 operands the same way as f16. NFC. (#77826)
rampitec Jan 12, 2024
aa2a96a
[mlir][TilingInterface] Move TilingInterface tests to use transform d…
MaheshRavishankar Jan 12, 2024
dc4e85b
[C++20] [Modules] Remove hardcoded path to imported module in BMIs
ChuanqiXu9 Jan 12, 2024
1833e3f
Fix test failure introduced in 3baedb411121c188c4bb07f47efb755bf4d4cf87
aemerson Jan 12, 2024
4b99af3
[docs] Update doc for C++20 Modules after dc4e85b
ChuanqiXu9 Jan 12, 2024
a946934
[GlobalISel][NFC] Use GPhi wrapper in more places instead of iteratin…
aemerson Jan 12, 2024
bfb026e
[StaticAnalyzer] Use StringRef::contains_insensitive (NFC)
kazutakahirata Jan 12, 2024
5e9da33
[llvm] Use StringRef::consume_front_insensitive (NFC)
kazutakahirata Jan 12, 2024
7b9bc47
[IPO] Use a range-based for loop (NFC)
kazutakahirata Jan 12, 2024
d7ab65f
Revert "[builtins] Generate __multc3 for z/OS" (#77881)
vitalybuka Jan 12, 2024
528cd28
[mlir][Bazel] Adjust BUILD file for aa2a96a24ae3a8cc04635ab6ede474c5f…
akuegel Jan 12, 2024
2b83cee
[AMDGPU][GFX12] Default component broadcast store (#76212)
mariusz-sikora-at-amd Jan 12, 2024
a5dc3f6
[llvm] Use SmallString::operator std::string() (NFC)
kazutakahirata Jan 12, 2024
7e60448
[test] Improve x86 inline asm tests
MaskRay Jan 12, 2024
2e78c22
[RISCV] Simplify the description for ssaia and smaia. (#77870)
topperc Jan 12, 2024
2491867
[mlir][nvgpu] Improve verifier of `ldmatrix` (#77807)
grypp Jan 12, 2024
c297597
[mlir] Fix linking failure of libMLIRTilingInterfaceTestPasses.dylib …
DamonFool Jan 12, 2024
f489fb3
[clangd] Fix sysroot flag handling in CommandMangler to prevent dupli…
kon72 Jan 12, 2024
dabc901
[clangd] Use starts_with instead of startswith in CompileCommands.cpp…
DamonFool Jan 12, 2024
537bbb4
[clang][dataflow] Process terminator condition within `transferCFGBlo…
martinboehme Jan 12, 2024
ef156f9
[clang][dataflow] Remove unused private field 'StmtToEnv' (NFC)
DamonFool Jan 12, 2024
c65b939
[clang-format] SpacesInSquareBrackets not working for Java (#77833)
mydeveloperday Jan 12, 2024
011ba72
[flang] finish BIND(C) VALUE derived type passing ABI on X86-64 (#77742)
jeanPerier Jan 12, 2024
1aacdfe
Revert "[clang][dataflow] Process terminator condition within `transf…
martinboehme Jan 12, 2024
0a8e3dd
[mlir][Interfaces] `DestinationStyleOpInterface`: Rename `hasTensor/B…
matthias-springer Jan 12, 2024
3168192
[ObjC]: Make type encoding safe in symbol names (#77797)
qmfrederik Jan 12, 2024
9c9bffe
[AArch64] Disable FP loads/stores when fp-armv8 not enabled (#77817)
ostannard Jan 12, 2024
fbac3b0
Revert "[clang][dataflow] Remove unused private field 'StmtToEnv' (NFC)"
DamonFool Jan 12, 2024
a8f83cc
[AArch64][SME] Fix multi vector cvt builtins (#77656)
MDevereau Jan 12, 2024
42fe3bc
[AArch64][SME2] Fix SME2 mla/mls tests (#76711)
MDevereau Jan 12, 2024
2adbf25
[AMDGPU][NFC] Rename DotIUVOP3PMods to VOP3PModsNeg (#77785)
mbrkusanin Jan 12, 2024
4d46721
[Clang] Revert inintentional changes to cmake committed in 33e5db6e0
cor3ntin Jan 12, 2024
35c19fd
[mlir][vector] Support warp distribution of `transfer_read` with depe…
matthias-springer Jan 12, 2024
a762cc2
[flang] include sys/wait.h for EXECUTE_COMMAND_LINE (#77675)
dankm Jan 12, 2024
c87e94b
[flang] Get ProvenanceRange from CharBlock starting with expanded mac…
jeanPerier Jan 12, 2024
2798b72
[mlir] introduce debug transform dialect extension (#77595)
ftynse Jan 12, 2024
35708b0
[DWARFLinker][NFC] Rename libraries to match with directories name. (…
avl-llvm Jan 12, 2024
aa2dc79
[mlir][vector] Fix rewrite pattern API violation in `VectorToSCF` (#7…
matthias-springer Jan 12, 2024
39b2104
[SLP]Fix a crash for reduced values with minbitwidth, which are reused.
alexey-bataev Jan 12, 2024
59d6f03
[VPlan] Support narrowing widened loads in truncateToMinimimalBitwidths.
fhahn Jan 12, 2024
ae5d639
[mlir][nvvm] Introduce `cp.async.bulk.wait_group` (#77917)
grypp Jan 12, 2024
6c2fbc3
[IRBuilder] Add CreatePtrAdd() method (NFC) (#77582)
nikic Jan 12, 2024
b32001a
[mlir] update bazel for transform debug extension
ftynse Jan 12, 2024
39bb790
[SimplifyCFG] `switch`: Do Not Transform the Default Case if the Cond…
qiongsiwu Jan 12, 2024
4556813
[Sema] Use lexical DC for friend functions when getting constraint in…
antangelo Jan 12, 2024
460ff58
[clang] Reapply Handle templated operators with reversed arguments (#…
usx95 Jan 12, 2024
ad100b3
[mlir][vector] Fix dominance error in warp vector distribution (#77771)
matthias-springer Jan 12, 2024
7700ea1
[OpenACC] Implement the 'rest' of the simple 'var-list' clauses
erichkeane Jan 11, 2024
dec908a
[mlir][Transforms] `GreedyPatternRewriteDriver`: log successful foldi…
matthias-springer Jan 12, 2024
8751bbe
[libc++] Deprecate the _LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS…
ldionne Jan 12, 2024
5417a5f
[mlir][ArmSME] Add rudimentary support for tile spills to the stack (…
MacDue Jan 12, 2024
d199ab4
[LLVM][DWARF] Fix accelerator table switching between CU and TU (#77511)
ayermolo Jan 12, 2024
2aae304
[InstCombine] Fold `icmp pred (inttoptr X), (inttoptr Y) -> icmp pred…
dtcxzyw Jan 12, 2024
4f47372
[SPIR-V] Add Float16 support when targeting Vulkan (#77115)
sudonatalie Jan 12, 2024
4210eb1
Revert "[flang] Fix a warning"
DavidSpickett Jan 12, 2024
5dbf178
[TLI][NFC] Fix ordering of ArmPL and SLEEF tests (#77609)
mgabka Jan 12, 2024
6fdc2ce
[SLP]Fix PR77916: transform the whole mask, not only the elements for
alexey-bataev Jan 12, 2024
eaa4b6c
[mlir][bufferization] Clone simplify fails when input and result type…
cxy-1993 Jan 12, 2024
61b4609
Remove needless code
paolosevMSFT Jan 12, 2024
9fdc568
[TLI] Fix replace-with-veclib crash with invalid arguments (#77112)
paschalis-mpeis Jan 12, 2024
28ffc90
[lldb] Implement WebAssembly debugging
paolosevMSFT Jan 1, 2024
eac5cd1
Minor refactoring
paolosevMSFT Jan 4, 2024
63c4504
Refactor class WasmVirtualRegisterInfo
paolosevMSFT Jan 10, 2024
dc1943a
Remove needless code
paolosevMSFT Jan 12, 2024
fa61cdc
Fix formatting
paolosevMSFT Jan 12, 2024
0bfc624
Merge branch 'WebAssembly2024' of https://github.com/paolosevMSFT/llv…
paolosevMSFT Jan 12, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .ci/monolithic-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
-D LLVM_ENABLE_ASSERTIONS=ON \
-D LLVM_BUILD_EXAMPLES=ON \
-D COMPILER_RT_BUILD_LIBFUZZER=OFF \
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml" \
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --timeout=1200 --time-tests" \
-D LLVM_ENABLE_LLD=ON \
-D CMAKE_CXX_FLAGS=-gmlt \
-D BOLT_CLANG_EXE=/usr/bin/clang \
Expand Down
2 changes: 1 addition & 1 deletion .ci/monolithic-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
-D LLVM_ENABLE_ASSERTIONS=ON \
-D LLVM_BUILD_EXAMPLES=ON \
-D COMPILER_RT_BUILD_LIBFUZZER=OFF \
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml" \
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --timeout=1200 --time-tests" \
-D COMPILER_RT_BUILD_ORC=OFF \
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache \
Expand Down
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

# Tensor Dialect in MLIR.
/mlir/lib/Dialect/Tensor/IR/TensorTilingInterfaceImpl.cpp @hanhanW @nicolasvasilache
/mlir/lib/Dialect/Tensor/Transforms/FoldIntoPackAndUnpackPatterns.cpp @hanhanW @nicolasvasilache
/mlir/lib/Dialect/Tensor/Transforms/* @hanhanW @nicolasvasilache

# Transform Dialect in MLIR.
/mlir/include/mlir/Dialect/Transform/* @ftynse @nicolasvasilache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Github action workflows should be stored in this directrory.
Github action workflows should be stored in this directory.
60 changes: 60 additions & 0 deletions .github/workflows/build-ci-container.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@

name: Build CI Container

permissions:
contents: read

on:
push:
branches:
- main
paths:
- .github/workflows/build-ci-container.yml
- '.github/workflows/containers/github-action-ci/**'
pull_request:
branches:
- main
paths:
- .github/workflows/build-ci-container.yml
- '.github/workflows/containers/github-action-ci/**'

jobs:
build-ci-container:
if: github.repository_owner == 'llvm'
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Write Variables
id: vars
run: |
tag=`date +%s`
container_name="ghcr.io/$GITHUB_REPOSITORY_OWNER/ci-ubuntu-22.04"
echo "container-name=$container_name" >> $GITHUB_OUTPUT
echo "container-name-tag=$container_name:$tag" >> $GITHUB_OUTPUT

- name: Checkout LLVM
uses: actions/checkout@v4
with:
sparse-checkout: .github/workflows/containers/github-action-ci/

- name: Build Container
working-directory: ./.github/workflows/containers/github-action-ci/
run: |
podman build -t ${{ steps.vars.outputs.container-name-tag }} .
podman tag ${{ steps.vars.outputs.container-name-tag }} ${{ steps.vars.outputs.container-name }}:latest

- name: Test Container
run: |
for image in ${{ steps.vars.outputs.container-name-tag }} ${{ steps.vars.outputs.container-name }}; do
podman run --rm -it $image /usr/bin/bash -x -c 'printf '\''#include <iostream>\nint main(int argc, char **argv) { std::cout << "Hello\\n"; }'\'' | clang++ -x c++ - && ./a.out | grep Hello'
done

- name: Push Container
if: github.event_name == 'push'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
podman login -u ${{ github.actor }} -p $GITHUB_TOKEN ghcr.io
podman push ${{ steps.vars.outputs.container-name-tag }}
podman push ${{ steps.vars.outputs.container-name }}:latest
48 changes: 48 additions & 0 deletions .github/workflows/containers/github-action-ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
FROM docker.io/library/ubuntu:22.04 as base
ENV LLVM_SYSROOT=/opt/llvm/

FROM base as toolchain
ENV LLVM_MAJOR=17
ENV LLVM_VERSION=${LLVM_MAJOR}.0.6
ENV LLVM_DIRNAME=clang+llvm-${LLVM_VERSION}-x86_64-linux-gnu-ubuntu-22.04
ENV LLVM_FILENAME=${LLVM_DIRNAME}.tar.xz

RUN apt-get update && \
apt-get install -y \
curl \
xz-utils

RUN mkdir -p $LLVM_SYSROOT/bin/ $LLVM_SYSROOT/lib/

RUN curl -O -L https://github.com/llvm/llvm-project/releases/download/llvmorg-$LLVM_VERSION/$LLVM_FILENAME

RUN tar -C $LLVM_SYSROOT --strip-components=1 -xJf $LLVM_FILENAME \
$LLVM_DIRNAME/bin/clang \
$LLVM_DIRNAME/bin/clang++ \
$LLVM_DIRNAME/bin/clang-cl \
$LLVM_DIRNAME/bin/clang-$LLVM_MAJOR \
$LLVM_DIRNAME/bin/lld \
$LLVM_DIRNAME/bin/ld.lld \
$LLVM_DIRNAME/lib/clang/


FROM base

COPY --from=toolchain $LLVM_SYSROOT $LLVM_SYSROOT

# Need to install curl for hendrikmuhs/ccache-action
# Need nodejs for some of the GitHub actions.
# Need perl-modules for clang analyzer tests.
RUN apt-get update && \
apt-get install -y \
binutils \
cmake \
curl \
libstdc++-11-dev \
ninja-build \
nodejs \
perl-modules \
python3-psutil

ENV LLVM_SYSROOT=$LLVM_SYSROOT
ENV PATH=${LLVM_SYSROOT}/bin:${PATH}
1 change: 0 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,3 @@ jobs:
run: |
cmake -B flang-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS="clang;mlir;flang" -DLLVM_ENABLE_SPHINX=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF ./llvm
TZ=UTC ninja -C flang-build docs-flang-html docs-flang-man

39 changes: 39 additions & 0 deletions .github/workflows/libclang-python-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Libclang Python Binding Tests

permissions:
contents: read

on:
workflow_dispatch:
push:
paths:
- 'clang/bindings/python/**'
- 'clang/tools/libclang/**'
- 'clang/CMakeList.txt'
- '.github/workflows/libclang-python-tests.yml'
- '.github/workflows/llvm-project-tests.yml'
pull_request:
paths:
- 'clang/bindings/python/**'
- 'clang/tools/libclang/**'
- 'clang/CMakeList.txt'
- '.github/workflows/libclang-python-tests.yml'
- '.github/workflows/llvm-project-tests.yml'

concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: only if it is a pull request build.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
check-clang-python:
# Build libclang and then run the libclang Python binding's unit tests.
name: Build and run Python unit tests
uses: ./.github/workflows/llvm-project-tests.yml
with:
build_target: check-clang-python
projects: clang
# There is an issue running on "windows-2019".
# See https://github.com/llvm/llvm-project/issues/76601#issuecomment-1873049082.
os_list: '["ubuntu-latest"]'
3 changes: 1 addition & 2 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ jobs:
'generic-no-unicode',
'generic-no-wide-characters',
'generic-no-rtti',
'generic-optimized-speed',
'generic-static',
'generic-with_llvm_unwinder',
# TODO Find a better place for the benchmark and bootstrapping builds to live. They're either very expensive
# or don't provide much value since the benchmark run results are too noise on the bots.
'benchmarks',
Expand Down Expand Up @@ -207,4 +207,3 @@ jobs:
**/CMakeError.log
**/CMakeOutput.log
**/crash_diagnostics/*

2 changes: 1 addition & 1 deletion .github/workflows/llvm-project-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
# enough cache space for all the tests to run at once and still
# fit under the 10 GB limit.
max-size: 500M
key: sccache-${{ matrix.os }}
key: ${{ matrix.os }}
variant: sccache
- name: Build and Test
uses: llvm/actions/build-test-llvm-project@main
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ jobs:

- name: Build Clang
run: |
cmake -G Ninja -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_BUILD_TYPE=Release -DCMAKE_ENABLE_ASSERTIONS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DLLVM_ENABLE_PROJECTS=clang -S llvm -B build
ninja -v -C build
cmake -G Ninja -C clang/cmake/caches/Release.cmake -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_POSITION_INDEPENDENT_CODE=ON -S llvm -B build
ninja -v -C build clang


build-binaries:
Expand Down Expand Up @@ -152,6 +152,7 @@ jobs:
-triple ${{ matrix.target.triple }} \
-use-ninja \
-no-checkout \
-use-cmake-cache \
-no-test-suite \
-configure-flags "-DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache"

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# The LLVM Compiler Infrastructure

[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/llvm/llvm-project/badge)](https://securityscorecards.dev/viewer/?uri=github.com/llvm/llvm-project)
[![libc++](https://github.com/llvm/llvm-project/actions/workflows/libcxx-build-and-test.yaml/badge.svg?branch=main&event=schedule)](https://github.com/llvm/llvm-project/actions/workflows/libcxx-build-and-test.yaml?query=event%3Aschedule)

Welcome to the LLVM project!

Expand Down
101 changes: 101 additions & 0 deletions bolt/docs/BAT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# BOLT Address Translation (BAT)
# Purpose
A regular profile collection for BOLT involves collecting samples from
unoptimized binary. BOLT Address Translation allows collecting profile
from BOLT-optimized binary and using it for optimizing the input (pre-BOLT)
binary.

# Overview
BOLT Address Translation is an extra section (`.note.bolt_bat`) inserted by BOLT
into the output binary containing translation tables and split functions linkage
information. This information enables mapping the profile back from optimized
binary onto the original binary.

# Usage
`--enable-bat` flag controls the generation of BAT section. Sampled profile
needs to be passed along with the optimized binary containing BAT section to
`perf2bolt` which reads BAT section and produces fdata profile for the original
binary. Note that YAML profile generation is not supported since BAT doesn't
contain the metadata for input functions.

# Internals
## Section contents
The section is organized as follows:
- Functions table
- Address translation tables
- Fragment linkage table

## Construction and parsing
BAT section is created from `BoltAddressTranslation` class which captures
address translation information provided by BOLT linker. It is then encoded as a
note section in the output binary.

During profile conversion when BAT-enabled binary is passed to perf2bolt,
`BoltAddressTranslation` class is populated from BAT section. The class is then
queried by `DataAggregator` during sample processing to reconstruct addresses/
offsets in the input binary.

## Encoding format
The encoding is specified in
[BoltAddressTranslation.h](/bolt/include/bolt/Profile/BoltAddressTranslation.h)
and [BoltAddressTranslation.cpp](/bolt/lib/Profile/BoltAddressTranslation.cpp).

### Layout
The general layout is as follows:
```
Functions table header
|------------------|
| Function entry |
| |--------------| |
| | OutOff InOff | |
| |--------------| |
~~~~~~~~~~~~~~~~~~~~

Fragment linkage header
|------------------|
| ColdAddr HotAddr |
~~~~~~~~~~~~~~~~~~~~
```

### Functions table
Header:
| Entry | Encoding | Description |
| ------ | ----- | ----------- |
| `NumFuncs` | ULEB128 | Number of functions in the functions table |

The header is followed by Functions table with `NumFuncs` entries.
Output binary addresses are delta encoded, meaning that only the difference with
the previous output address is stored. Addresses implicitly start at zero.
| Entry | Encoding | Description |
| ------ | ------| ----------- |
| `Address` | Delta, ULEB128 | Function address in the output binary |
| `NumEntries` | ULEB128 | Number of address translation entries for a function |

Function header is followed by `NumEntries` pairs of offsets for current
function.

### Address translation table
Delta encoding means that only the difference with the previous corresponding
entry is encoded. Offsets implicitly start at zero.
| Entry | Encoding | Description |
| ------ | ------| ----------- |
| `OutputOffset` | Delta, ULEB128 | Function offset in output binary |
| `InputOffset` | Delta, SLEB128 | Function offset in input binary with `BRANCHENTRY` LSB bit |

`BRANCHENTRY` bit denotes whether a given offset pair is a control flow source
(branch or call instruction). If not set, it signifies a control flow target
(basic block offset).

### Fragment linkage table
Following Functions table, fragment linkage table is encoded to link split
cold fragments with main (hot) fragment.
Header:
| Entry | Encoding | Description |
| ------ | ------------ | ----------- |
| `NumColdEntries` | ULEB128 | Number of split functions in the functions table |

`NumColdEntries` pairs of addresses follow:
| Entry | Encoding | Description |
| ------ | ------| ----------- |
| `ColdAddress` | ULEB128 | Cold fragment address in output binary |
| `HotAddress` | ULEB128 | Hot fragment address in output binary |
2 changes: 1 addition & 1 deletion bolt/include/bolt/Profile/BoltAddressTranslation.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class BoltAddressTranslation {

/// Identifies the address of a control-flow changing instructions in a
/// translation map entry
const static uint32_t BRANCHENTRY = 0x80000000;
const static uint32_t BRANCHENTRY = 0x1;
};
} // namespace bolt

Expand Down
Loading
Loading