Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
244 commits
Select commit Hold shift + click to select a range
7051e79
Drop the 'git' suffix from various version variables
tstellar Jan 27, 2021
f2a45d3
Import workflows from release/11.x branch
tstellar Jan 27, 2021
d64226e
[clangd] Work around GCC bug 66735
sam-mccall Jan 27, 2021
ea99c88
Permit __VA_OPT__ in all language modes and allow it to be detected w…
zygoloid Jan 27, 2021
9ea2a10
Don't allow __VA_OPT__ to be detected by #ifdef.
zygoloid Jan 27, 2021
9df2b64
[cxx_status] Mark P0732R2 as only 'partial', not 'Clang 12', as some of
zygoloid Jan 28, 2021
8d22f25
[llvm-c] Move LLVMX86_AMXTypeKind & LLVMPoisonValueValueKind to the b…
MaskRay Jan 28, 2021
8364f53
Revert "Suppress non-conforming GNU paste extension in all standard-c…
rnk Jan 27, 2021
b0085d2
Itanium Mangling: Mangle `__alignof__` differently than `alignof`.
jyknight Dec 7, 2020
7da92af
Itanium Mangling: Fix handling of <expr-primary> in <template-arg>.
jyknight Jan 24, 2021
0b7b698
Itanium Mangling: In 'enable_if', omit X/E around <expr-primary>.
jyknight Jan 24, 2021
de3396d
workflows: Update branch names
tstellar Jan 28, 2021
0a32d93
[clang-format] Avoid considering include directive as a template closer.
mkurdej Jan 27, 2021
8c5d184
clang: Fix static_assert in a few contexts in microsoft mode
nico Jan 27, 2021
1edbbf9
[clangd] Log warning when using legacy (theia) semantic highlighting.
sam-mccall Jan 20, 2021
61e05d1
[clangd] Parse Diagnostics block, and nest ClangTidy block under it.
sam-mccall Jan 25, 2021
074ad6d
[OpenMP] libomp: fix build by cl with vs2019
AndreyChurbanov Jan 29, 2021
99f43f5
Relax test expectations in debug-info-gline-tables-only-codeview.cpp
zmodem Jan 28, 2021
c5a1eb9
[AMDGPU] Avoid an illegal operand in si-shrink-instructions
piotrAMD Jan 27, 2021
b2710e7
[sanitizer] Fix msan test build on FreeBSD after 7afdc89c2054
DimitryAndric Jan 28, 2021
4e20d9c
Make the profile-filter.c test compatible with 32-bit systems
petrhosek Jan 29, 2021
07f8d43
[clang-tidy] Fix linking tests to LLVMTestingSupport
mgorny Jan 29, 2021
f54cf61
[OpenMP][NVPTX] Disable building NVPTX deviceRTL by default on a non-…
shiltian Jan 27, 2021
07dc516
[LoopUnswitch] Properly update MSSA if header has non-clobbering stores.
fhahn Jan 30, 2021
c5fd87e
workflows: Fix LLVM ABI checks to work for X.0.0 releases
tstellar Jan 27, 2021
b6d2402
[docs] Add release notes for things I've done for the 12.x release br…
mstorsjo Feb 2, 2021
0db882a
workflows: Fix libclc tests
tstellar Feb 1, 2021
c0097c7
[OpenMP][Libomptarget] Remove possible harmful copy constructor call …
atmnpatel Feb 1, 2021
162642b
Revert "[ConstantFold] Fold more operations to poison"
aqjune Feb 3, 2021
91f34da
workflows: Re-enable lldb test on Mac OS X
tstellar Feb 3, 2021
8726089
workflows: Fix actions repository name for llvm tests
tstellar Feb 3, 2021
2a57ea2
workflows: Add job to check for ABI changes in libclang.so and libcla…
tstellar Feb 1, 2021
c1899cd
[X86][AVX] Add PR48908 shuffle test case
RKSimon Jan 28, 2021
52a70a0
[X86][AVX] canonicalizeLaneShuffleWithRepeatedOps - don't merge VPERM…
RKSimon Jan 28, 2021
0564dd9
[OpenMP] Fix python3 compatibility in openmp's lit.cfg
Jan 29, 2021
e3658ce
[VE] Change inetger constants 32-bit friendly
kaz7 Jan 30, 2021
b351efc
[PowerPC] Do not emit XXSPLTI32DX for sub 64-bit constants
nemanjai Jan 28, 2021
dfb7633
[PowerPC][Power10] Fix XXSPLI32DX not correctly exploiting specific c…
Jan 28, 2021
237b39a
[RISCV] Update the version number to v0.10 for vector.
Hsiangkai Jan 29, 2021
c738c8a
[RISCV] Update the version number to v0.10 for vector.
Hsiangkai Jan 29, 2021
c5904f5
[LV] Fix crash when computing max VF too early
c-rhodes Jan 16, 2021
b15f3fc
[X86] Fix disassembly of x86-64 GDTLS code sequence
nga888 Jan 27, 2021
e2d822c
[elfabi] Fix tests which failed on different timezones
zeroomega Jan 28, 2021
12b6579
[OpenMP][Libomptarget] Fix conditional in CMake for remote plugin
atmnpatel Jan 27, 2021
4d0874c
[OpenMP][NVPTX] Added the missing -O1 when building NVPTX bitcode lib…
shiltian Jan 28, 2021
5d926bb
[OpenMP][deviceRTLs] Added `[[clang::loader_uninitialized]]` explicitly
shiltian Jan 28, 2021
255f739
[OpenMP][NFC] Added release note for new `deviceRTLs` and hidden help…
shiltian Jan 29, 2021
922e414
[OpenMP] Fix seg fault in libomptarget when using Info with multiple …
jhuber6 Feb 1, 2021
678c259
PR44325 (and duplicates): don't issue -Wzero-as-null-pointer-constant
zygoloid Feb 3, 2021
2a917b7
Extend release notes for AST Matchers changes
steveire Feb 3, 2021
f5602e0
[OpenMP] Disabled profiling in `libomp` by default to unblock link er…
shiltian Jan 28, 2021
7d096f9
[CSSPGO] Support of CS profiles in extended binary format.
htyu Jan 28, 2021
f2cabaa
[CSSPGO] Tweaking inlining with pseudo probes.
htyu Feb 1, 2021
b9fa16f
[CSSPGO] Passing the clang driver switch -fpseudo-probe-for-profiling…
htyu Jan 22, 2021
27ff658
[CSSPGO] Call site prioritized inlining for sample PGO
WenleiHe Jan 4, 2021
c2f3f45
[CSSPGO] Factor out common part for CSSPGO inline and AFDO inline
WenleiHe Jan 20, 2021
a9157c5
[CSSPGO] Introducing distribution factor for pseudo probe.
htyu Dec 11, 2020
ad20866
[OpenMP][NVPTX] Take functions in `deviceRTLs` as `convergent`
shiltian Feb 4, 2021
e8cdcae
[X86] Accept 64-bit GPRs for vextractps when using a register that re…
topperc Feb 1, 2021
7fad20e
Revert "[OpenMP] Disabled profiling in `libomp` by default to unblock…
shiltian Feb 4, 2021
bc2dad1
[clang][aarch64][WOA64][docs] Release note for longjmp crash with /gu…
peterwaller-arm Jan 26, 2021
66c7b44
[OpenMP] Fix building using LLVM_ENABLE_RUNTIMES
ggeorgakoudis Jan 25, 2021
92a5106
[OpenMP] Disabled profiling in `libomp` by default to unblock link er…
shiltian Jan 28, 2021
72f1246
Add a release note about deprecating the clang-cl /fallback flag
zmodem Feb 4, 2021
4e79339
workflows: Update libclang-abi-tests to work with minor release basel…
tstellar Feb 5, 2021
81febec
[MemCpyOpt] Add test for incorrect optimization across lifetime (NFC)
nikic Jan 29, 2021
12a772b
[MemorySSA] Don't treat lifetime.end as NoAlias
nikic Jan 31, 2021
716eef9
[OpenMP][libomptarget] Fixed an issue that device sync is skipped if …
shiltian Feb 5, 2021
395ef8d
[🍒][libc++] Rename include/support to include/__support
ldionne Feb 2, 2021
bc39d53
[🍒]Disable CFI in __get_elem to allow casting a pointer to uninitiali…
rnk Feb 1, 2021
251f329
[🍒][libc++] Fix libcxx build on 32bit architectures with 64bit time_t…
ldionne Feb 3, 2021
d7d818c
Fix runInTerminal failures on Windows
walter-erquinigo Jan 27, 2021
27aff2a
Fix lldb-vscode builds on Windows targeting POSIX
walter-erquinigo Jan 28, 2021
1cb6551
[lldb-vscode] correctly use Windows macros
walter-erquinigo Feb 4, 2021
c9fb4a9
[AST] Update LVal before evaluating lambda decl fields.
ZequanWu Feb 5, 2021
8153dee
PR48606: The lifetime of a constexpr heap allocation always started
zygoloid Feb 9, 2021
b46924e
Fix "not all control paths return a value" warning. NFCI.
RKSimon Jan 27, 2021
8d20c14
[clangd] Fix clang tidy provider when multiple config files exist in …
njames93 Feb 12, 2021
6604c30
[GlobalISel] Check if branches use the same MBB in matchOptBrCondByIn…
Feb 2, 2021
04cb6b5
PR48587: is_constant_evaluated() should not evaluate to true during a
zygoloid Feb 9, 2021
205ecd9
[DAGCombine] Do not remove masking argument to FP16_TO_FP for some ta…
nemanjai Feb 9, 2021
34cda01
[RISCV] Fix incorrect RVV sdiv/udiv lowering
frasercrmck Feb 2, 2021
2cf21fd
[Support] Indent multi-line descr of enum cli options.
fodinabor Dec 17, 2020
a67a434
[ARM] Do not emit ldrexd/strexd on Cortex-M chips
aykevl Feb 2, 2021
dccfafa
Revert "[BuildLibcalls, Attrs] Support more variants of C++'s new, ad…
zygoloid Feb 4, 2021
97dd922
Don't infer attributes on '::operator new'.
zygoloid Feb 4, 2021
3287b6f
[RISCV] Replace NoX0 SDNodeXForm with a ComplexPattern to do the sele…
topperc Feb 2, 2021
ef27138
[RISCV] Add new vector instructions in v0.10.
Hsiangkai Feb 1, 2021
e5c6c5c
IntrinsicEmitter: Change IntrinsicsToAttributesMap from uint8_t[] to …
MaskRay Jan 28, 2021
fbb4aa0
[LoopPeel] Use llvm.experimental.noalias.scope.decl for duplicating n…
dobbelaj-snps Feb 1, 2021
66b3193
[InlineFunction] Only update noalias scopes once for an instruction.
dobbelaj-snps Feb 2, 2021
54b68d5
[clang-tidy] Fix crash in readability-identifier-naming check
njames93 Feb 3, 2021
72db3a9
workflows: Increase the fetch-depth for actions/checkout steps
tstellar Feb 15, 2021
3fe28ce
[AssumptionCache] Do not track llvm.assume calls (PR49043)
jdoerfert Feb 6, 2021
343ba97
[OpenMP][NFC] Pre-commit test changes regarding PR48933
jdoerfert Feb 2, 2021
3b9ea2d
[OpenMP] Attribute target diagnostics properly
jdoerfert Jan 29, 2021
0d14528
[OpenMP] Delay more diagnostics of potentially non-emitted code
jdoerfert Feb 2, 2021
d14016d
Define new/delete in libc++ when using libcxxrt
DimitryAndric Feb 15, 2021
a29ff5b
[OpenMP][NVPTX] Refined CMake logic to choose compute capabilites
shiltian Jan 30, 2021
a4a4036
[AIX] Actually push back "-mabi=vec-extabi" when option is on.
ZarkoT Jan 29, 2021
db9731e
[AIX] Improve option processing for mabi=vec-extabi and mabi=vec=defaul
ZarkoT Feb 2, 2021
f5b2787
[ELF] Allow R_386_GOTOFF from .debug_info
MaskRay Feb 4, 2021
a6ea391
[AArch64] Use '//' as comment string for MSVC assembly
mstorsjo Feb 8, 2021
5ae2b97
Recommit of a2fdf9d4d734732a6fa9288f1ffdf12bf8618123.
darkbuck Feb 4, 2021
3979099
[RISCV] Remove SRO* and SLO* instructions from bitmanip.
topperc Feb 9, 2021
6aff13f
[X86] Always assign reassoc flag for intrinsics *reduce_add/mul_ps/pd.
phoebewang Feb 9, 2021
23a40f7
[Verifier] Allow DW_TAG_class_type/DW_TAG_union_type to have no filename
MaskRay Feb 8, 2021
0d6859e
Revert "[PowerPC] [Clang] Enable float128 feature on P9 by default"
ecnelises Feb 5, 2021
075e262
[ASTMatchers] Avoid pathological traversal over nested lambdas
steveire Jan 27, 2021
9460751
Ensure that we traverse non-op() method bodys of lambdas
steveire Jan 28, 2021
8c24a88
[ASTMatchers] Fix traversal below range-for elements
steveire Jan 27, 2021
aaf23ab
Fix traversal with hasDescendant into lambdas
steveire Jan 28, 2021
cd25aa9
[ASTMatchers] Fix definition of decompositionDecl
steveire Jan 30, 2021
e76f438
[ASTMatchers] Fix matching after generic top-level matcher
steveire Jan 30, 2021
0c01bbf
Revert "Disable rosegment for old Android versions."
nico Jan 29, 2021
f290f3b
doc: Add a release note for the changed comment char for aarch64-msvc…
mstorsjo Feb 16, 2021
d5d089b
Fix exegesis build on aarch64-windows-msvc host
maxim-kuvyrkov Feb 12, 2021
d44bf33
[X86] Add reduced test case for PR49162
RKSimon Feb 13, 2021
d9910c2
[DAG] Fix shift amount limit in SimplifyDemandedBits trunc(shift(x,c)…
RKSimon Feb 13, 2021
439fd4b
[X86][AVX] Add 'OK' tests cases for PR48877
RKSimon Feb 1, 2021
fa9dc0c
[X86][AVX] Add missing VEX_WIG tags from VPACKUSDW/VPHSUBD/VPCMPISTRI…
RKSimon Feb 2, 2021
f23ee06
[clangd] Fix race in Global CDB shutdown
sam-mccall Feb 2, 2021
440b16a
[lld-macho] Fill out release notes for 12.x
int3 Feb 2, 2021
6584a9a
[release][docs] Update contributions to LLVM 12 for scalable vectors.
david-arm Feb 8, 2021
dda7ef0
[PowerPC] Update release notes for changes to PowerPC for V12.0
lei137 Feb 19, 2021
c2a0b08
[DCE] Add tests for non-willreturn function being removed (NFC)
nikic Feb 18, 2021
d1d7dc7
[IR] Move willReturn() to Instruction
nikic Feb 18, 2021
8e9c2ad
[DCE] Don't remove non-willreturn calls
nikic Feb 18, 2021
17daef8
[LLD] Fix tests after D96993
nikic Feb 19, 2021
a338d57
[clang] functions with the 'const' or 'pure' attribute must always re…
dobbelaj-snps Feb 18, 2021
2f74c22
[OpenMP][NVPTX] Add the support for CUDA 11.2 and CUDA 11.1
shiltian Feb 19, 2021
34e8fd5
[clangd] Treat "null" optional fields as missing
kadircet Jan 22, 2021
b1106a5
[llvm-dwp] Join dwo paths correctly when DWOPath is absolute
nagisa Feb 16, 2021
0d4f8a3
[llvm-symbolizer] - Fix the crash in GNU output style with --no-inlin…
Jan 28, 2021
d3f9f51
[SROA] Propagate correct TBAA/TBAA Struct offsets
wsmoses Feb 1, 2021
a7629a2
[CSSPGO] Fix MSVC initializing truncation warning (NFC)
nullptr-cpp Feb 3, 2021
78b35e2
[CSSPGO][llvm-profgen] Pseudo probe based CS profile generation
wlei-llvm Jan 11, 2021
6209b07
[CSSPGO][llvm-profgen] Compress recursive cycles in calling context
wlei-llvm Jan 29, 2021
e562ff0
[CSSPGO][llvm-profgen] Aggregate samples on call frame trie to speed …
wlei-llvm Jan 11, 2021
87c2702
[CSSPGO][llvm-profgen] Merge and trim profile for cold context to red…
wlei-llvm Jan 21, 2021
db88d92
[CSSPGO][llvm-profgen] Fix bug with parsing hybrid sample trace line
wlei-llvm Jan 21, 2021
1071279
[CSSPGO] Use merged base profile for hot threshold calculation
WenleiHe Feb 3, 2021
e8e45f5
[CSSPGO] Unblock optimizations with pseudo probe instrumentation.
htyu Feb 8, 2021
1a5bb1e
[CSSPGO] Restrict pseudo probe tests to x86_64 only.
htyu Feb 10, 2021
1f5e201
[CSSPGO] Process functions in a top-down order on a dynamic call graph.
htyu Feb 9, 2021
989b5c9
Remove test code that cause MSAN failure.
htyu Feb 11, 2021
beb80ff
[CSSPGO][llvm-profgen] Add brackets for context id to support extende…
wlei-llvm Feb 3, 2021
66873fb
[CSSPGO][llvm-profgen] Renovate perfscript check and command line inp…
wlei-llvm Feb 10, 2021
610b51c
[CSSPGO][llvm-profgen] Filter out the instructions without location i…
wlei-llvm Feb 10, 2021
b5b3111
[clang] Add -ffinite-loops & -fno-finite-loops options.
fhahn Feb 20, 2021
bdafd28
[SROA] Amend failing test from D95826
wsmoses Feb 17, 2021
ee7eaf8
[llvm-objdump] --source: drop the warning when there is no debug info
MaskRay Feb 4, 2021
76d5d54
Avoid use of stack allocations in asynchronous calls
jdoerfert Feb 14, 2021
a3545a0
[Analysis][LoopVectorize] do not form reductions of pointers
rotateright Feb 19, 2021
3444f05
[clang][Driver][OpenBSD] libcxx also requires pthread
brad0 Feb 21, 2021
76e4c93
clang-extra: fix incorrect use of std::lock_guard by adding variable …
poelmanc Feb 2, 2021
8eeb3d9
[clangd] Rename: merge index/AST refs path-insensitively where needed
sam-mccall Jan 31, 2021
d840463
[clangd] Treat paths case-insensitively depending on the platform
kadircet Feb 15, 2021
b601100
[clangd] Fix windows buildbots after ecea7218fb9b994b26471e9877851cdb…
kadircet Feb 16, 2021
67d6fbe
[clangd] Release notes for 12.x
sam-mccall Feb 22, 2021
a750a23
clang-tidy: Disable cppcoreguidlines-prefer-member-initializer check
tstellar Feb 23, 2021
da7fa74
[JumpThreading] Clone noalias.scope.decl when threading blocks
nikic Feb 21, 2021
a92ceea
Revert "[llvm-cov] reset executation count to 0 after wrapped segment"
tstellar Feb 23, 2021
99df95f
[clang][CodeComplete] Fix crash on ParenListExprs
kadircet Feb 3, 2021
7fc6c60
[clang][CodeComplete] Ensure there are no crashes when completing wit…
kadircet Feb 18, 2021
1c0a0c7
[12.0.0][llvm-symbolizer][test] Fix test broken after cherry-pick
tstellar Feb 23, 2021
eccac5a
Add auto-upgrade support for annotation intrinsics
Feb 4, 2021
06e5dec
Fix test failures after a92ceea91116e7b95d23eff634507fa2cff86ef2
nikic Feb 23, 2021
d56d2c8
[libc++] Fix extern template test failing on Windows
ldionne Jan 27, 2021
4918a3d
[libc++] Fix extern-templates.sh.cpp test on Linux
ldionne Jan 28, 2021
e0e6b1e
ReleaseNotes: add lld/ELF notes
MaskRay Feb 24, 2021
98f06b1
[AArch64][Docs] Release notes 12.x on outline atomics
ilinpv Feb 25, 2021
c637d4d
[OpenMP][NVPTX] Fixed a compilation error in deviceRTLs caused by uns…
shiltian Feb 23, 2021
692808e
[InstCombine] avoid infinite loop in demanded bits for select
rotateright Feb 28, 2021
f73ba0f
[SimplifyCFG] avoid illegal phi with both poison and undef
rotateright Feb 27, 2021
3442169
Revert "[c++20] Mark class type NTTPs as done and start defining the …
zygoloid Mar 1, 2021
9760b28
[DAGCombiner][X86] Don't peek through ANDs on the shift amount in mat…
topperc Feb 28, 2021
4ed9f17
[analyzer] Add 12.0.0 release notes
Szelethus Feb 5, 2021
99350dc
[OpenMP] Fix clang-cl build error regarding TSX intrinsics
Mar 2, 2021
52510d8
[GlobalISel] Bail on G_PHI narrowing of odd types (PR48188)
nikic Mar 1, 2021
d24e102
[OpenMP] Fixed a crash when offloading to x86_64 with target nowait
shiltian Feb 24, 2021
46a1b06
[AArch64] Legalize horizontal fmax/fmin reductions on f16 vectors
LemonBoy Mar 5, 2021
f8b3298
[clang-tidy] Deprecate readability-deleted-default check
njames93 Mar 3, 2021
a123bea
[LoopVectorize] Fix VPRecipeBuilder::createEdgeMask to correctly gene…
aqjune Feb 9, 2021
bff59ac
[TargetLowering] Use HandleSDNodes to prevent nodes from being delete…
topperc Mar 5, 2021
15d1ee3
[CMake][compiler-rt] Use copying instead of symlinking for LSE builti…
tambry Mar 6, 2021
c016eda
[release][docs] List all cores Arm has added support for in LLVM 12.
amilendra Mar 12, 2021
ca14f02
[release][docs] List all cores Arm has added support for in LLVM 12.
amilendra Mar 12, 2021
00441b8
[OpenCL][Docs] Release notes
Mar 16, 2021
e3186ba
[aarch64][WOA64][docs] Release note for WoA-hosted LLVM 12 binary
maxim-kuvyrkov Mar 18, 2021
4990141
[WoA][MSVC] Use default linker setting in MSVC-compatible driver [tak…
maxim-kuvyrkov Mar 19, 2021
f4c01f3
[Support] Fix 'keeping' temporary files on Windows 7
aganea Mar 24, 2021
e94372d
[SimplifyCFG] avoid sinking insts within an infinite-loop
rotateright Mar 12, 2021
f43958b
[OpenMP] Fixed a crash in hidden helper thread
shiltian Mar 18, 2021
8ca5690
[PowerPC] Fix infinite loop in peephole CR optimization (PR49509)
nikic Mar 10, 2021
e89cdf8
[OpenMP] Restore backwards compatibility for libomptarget
jhuber6 Mar 10, 2021
f05b649
[FastISel] Don't trivially kill extractvalues (PR49467)
nikic Mar 7, 2021
79a79d1
[X86] Add test for PR49587 (NFC)
nikic Mar 14, 2021
38dd45b
[X86][FastISel] Fix with.overflow eflags clobber (PR49587)
nikic Mar 14, 2021
5b34806
[InstCombine] add test for zext-of-icmps; NFC
rotateright Mar 12, 2021
ff2cf8f
[InstCombine] avoid creating an extra instruction in zext fold and po…
rotateright Mar 13, 2021
9ae9ab1
[RISCV][MC] Fix nf encoding for vector ld/st whole register
arcbbb Mar 30, 2021
31001be
[LoopVectorize] Refine hasIrregularType predicate
LemonBoy Mar 17, 2021
04ba60c
[ORC][C-bindings] Fix some ORC C bindings function names and signatures.
lhames Mar 28, 2021
d28af7c
remove -fpch-codegen and -fpch-debuginfo from Clang 12.0 release notes
llunak Apr 6, 2021
5225699
ScalarEvolution: mark destructor virtual
aleclearmind Mar 12, 2019
98ed293
IRBuilderCallbackInserter: override destructor
pfez Nov 11, 2020
86d64d5
Add virtual destructor to `DWARFContext`
drblallo Jan 24, 2020
15245c3
Disable failing Mach-O test
aleclearmind Dec 29, 2020
550ccf8
Fix ambiguous operator!= on enums in elf2yaml.cpp
pfez May 25, 2021
5d62970
APFixedPointTest.cpp: fix C++20 compilation error
pfez May 25, 2021
08de5cd
Fix C++20 UTF8 string literals
pfez May 25, 2021
046ace3
Fix warnings on deprecated-enum-enum-conversion
pfez Mar 4, 2021
57aca71
Disable failing tests on file permissions
pfez Jun 1, 2021
14275ae
[NFC] Correctly assert the indents for printEnumValHelpStr.
fodinabor May 6, 2021
b78ddb5
Fix build failure with GCC 11 in C++20 mode
Godin Jan 6, 2022
00b850c
Fix constructor declarations that are invalid in C++20 onwards.
zygoloid Feb 23, 2021
2777ba1
Remove cyclades
aleclearmind Mar 13, 2022
e1d9c08
Drop class template argument from constructor
aleclearmind Mar 13, 2022
0597b8e
ld.bfd test: fix linking flags
aleclearmind Mar 13, 2022
754704f
Enable llvm documentation
andrealinux1 Nov 29, 2018
5d721a3
Enable clang documentation
andrealinux1 Apr 28, 2019
7bff0fe
Triple.cpp: fix getArchTypeForLLVMName for "x86_64"
pfez Jun 23, 2020
6b6a37b
Triple.cpp: fix getArchTypeForLLVMName for "s390x"
Oct 15, 2020
c9f9e52
Triple.cpp: fix getArchTypeForLLVMName for "i386"
Oct 15, 2020
a6e8877
Fix memory leak in `CreateSigAltStack`
pfez Mar 5, 2019
24093a3
MachO: improve relocation information
aleclearmind May 21, 2019
968b1c6
LazyValueInfo: handle Intrinsic::ctlz
aleclearmind May 21, 2019
3e9e748
LazyValueInfo: handle x & 0xfff0 == 0x1230
aleclearmind May 22, 2019
6549979
Drop git remove in --version
aleclearmind Sep 2, 2020
6085e9c
InstPrinter: Add AArch64 register markup
Nov 26, 2020
65ceb3e
InstPrinter: Add AArch64 immediate markup
Nov 26, 2020
3b6cfc5
InstPrinter: Add SystemZ markup
Nov 26, 2020
6011904
InstPrinter: Add MIPS markup
Nov 27, 2020
9348903
InstPrinter: Improve X86 markup
Dec 14, 2020
bd6c34f
YAML::SequenceTraits: support custom inserter
aleclearmind Jan 27, 2021
a29124e
YAMLTraits: support quoted EnumScalar
aleclearmind Feb 10, 2021
2cca658
Add support to Dominators for FilteredGraphTraits
pfez Feb 24, 2020
7433c47
Enable PDT on GraphTraits using mapped_iterator
pfez May 27, 2021
4043235
SROA: speculate load across transitive PHI and SelectInst
pfez Jun 10, 2021
79a55d0
Bitcast wrapped in a call obscures function attributes, pessimizing M…
antoniofrighetto Sep 17, 2021
1b17650
[Cloning] Clone metadata on function declarations
aeubanks Nov 12, 2021
349dce9
Quote ambiguous boolean-like strings
Mar 7, 2022
ab6de2f
YAMLParser: allow : and - at plain scalar start
aleclearmind Apr 7, 2022
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
  •  
  •  
  •  
43 changes: 43 additions & 0 deletions .github/workflows/clang-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Clang Tests

on:
push:
branches:
- 'release/**'
paths:
- 'clang/**'
- 'llvm/**'
- '.github/workflows/clang-tests.yml'
pull_request:
paths:
- 'clang/**'
- 'llvm/**'
- '.github/workflows/clang-tests.yml'

jobs:
build_clang:
name: clang check-all
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
uses: llvm/actions/setup-windows@main
with:
arch: amd64
- name: Install Ninja
uses: llvm/actions/install-ninja@main
- uses: actions/checkout@v1
with:
fetch-depth: 250
- name: Test clang
uses: llvm/actions/build-test-llvm-project@main
with:
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_BUILD_TYPE=Release
build_target: check-clang
152 changes: 152 additions & 0 deletions .github/workflows/libclang-abi-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
name: libclang ABI Tests

on:
push:
branches:
- 'release/**'
paths:
- 'clang/**'
- '.github/workflows/libclang-abi-tests.yml'
pull_request:
paths:
- 'clang/**'
- '.github/workflows/libclang-abi-tests.yml'

jobs:
abi-dump-setup:
runs-on: ubuntu-latest
outputs:
BASELINE_REF: ${{ steps.vars.outputs.BASELINE_REF }}
ABI_HEADERS: ${{ steps.vars.outputs.ABI_HEADERS }}
ABI_LIBS: ${{ steps.vars.outputs.ABI_LIBS }}
BASELINE_VERSION_MAJOR: ${{ steps.vars.outputs.BASELINE_VERSION_MAJOR }}
BASELINE_VERSION_MINOR: ${{ steps.vars.outputs.BASELINE_VERSION_MINOR }}
LLVM_VERSION_MAJOR: ${{ steps.version.outputs.LLVM_VERSION_MAJOR }}
LLVM_VERSION_MINOR: ${{ steps.version.outputs.LLVM_VERSION_MINOR }}
LLVM_VERSION_PATCH: ${{ steps.version.outputs.LLVM_VERSION_PATCH }}
steps:
- name: Checkout source
uses: actions/checkout@v1
with:
fetch-depth: 250

- name: Get LLVM version
id: version
uses: llvm/actions/get-llvm-version@main

- name: Setup Variables
id: vars
run: |
minor_version=0
remote_repo='https://github.com/llvm/llvm-project'
if [ ${{ steps.version.outputs.LLVM_VERSION_MINOR }} -ne 0 -o ${{ steps.version.outputs.LLVM_VERSION_PATCH }} -eq 0 ]; then
major_version=$(( ${{ steps.version.outputs.LLVM_VERSION_MAJOR }} - 1))
baseline_ref="$major_version.0.0"

# If there is a minor release, we want to use that as the base line.
minor_ref=`git ls-remote --refs -t $remote_repo llvmorg-$major_version.[1-9].[0-9] | tail -n1 | grep -o 'llvmorg-.\+' || true`
if [ -n "$minor_ref" ]; then
baseline_ref=$minor_ref
else
# Check if we have a release candidate
rc_ref=`git ls-remote --refs -t $remote_repo llvmorg-$major_version.[1-9].[0-9]-rc* | tail -n1 | grep -o 'llvmorg-.\+' || true`
if [ -n "$rc_ref" ]; then
baseline_ref=$rc_ref
fi
fi
echo ::set-output name=BASELINE_VERSION_MAJOR::$major_version
echo ::set-output name=BASELINE_REF::$baseline_ref
echo ::set-output name=ABI_HEADERS::clang-c
echo ::set-output name=ABI_LIBS::libclang.so
else
echo ::set-output name=BASELINE_VERSION_MAJOR::${{ steps.version.outputs.LLVM_VERSION_MAJOR }}
echo ::set-output name=BASELINE_REF::${{ steps.version.outputs.LLVM_VERSION_MAJOR }}.0.0
echo ::set-output name=ABI_HEADERS::.
echo ::set-output name=ABI_LIBS::libclang.so libclang-cpp.so
fi


abi-dump:
needs: abi-dump-setup
runs-on: ubuntu-latest
strategy:
matrix:
name:
- build-baseline
- build-latest
include:
- name: build-baseline
llvm_version_major: ${{ needs.abi-dump-setup.outputs.BASELINE_VERSION_MAJOR }}
ref: ${{ needs.abi-dump-setup.outputs.BASELINE_REF }}
repo: llvm/llvm-project
- name: build-latest
llvm_version_major: ${{ needs.abi-dump-setup.outputs.LLVM_VERSION_MAJOR }}
ref: ${{ github.sha }}
repo: ${{ github.repository }}
steps:
- name: Install Ninja
uses: llvm/actions/install-ninja@main
- name: Install abi-compliance-checker
run: |
sudo apt-get install abi-dumper autoconf pkg-config
- name: Install universal-ctags
run: |
git clone https://github.com/universal-ctags/ctags.git
cd ctags
./autogen.sh
./configure
sudo make install
- name: Download source code
uses: llvm/actions/get-llvm-project-src@main
with:
ref: ${{ matrix.ref }}
repo: ${{ matrix.repo }}
- name: Configure
run: |
mkdir install
cmake -B build -S llvm -G Ninja -DLLVM_ENABLE_PROJECTS=clang -DCMAKE_BUILD_TYPE=Debug -DLLVM_TARGETS_TO_BUILD="" -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_C_FLAGS_DEBUG="-g -Og" -DCMAKE_CXX_FLAGS_DEBUG="-g -Og" -DCMAKE_INSTALL_PREFIX=`pwd`/install llvm
- name: Build
run: ninja -C build/ ${{ needs.abi-dump-setup.outputs.ABI_LIBS }} install-clang-headers
- name: Dump ABI
run: |
parallel abi-dumper -lver ${{ matrix.ref }} -skip-cxx -public-headers ./install/include/${{ needs.abi-dump-setup.outputs.ABI_HEADERS }} -o {}-${{ matrix.ref }}.abi ./build/lib/{} ::: ${{ needs.abi-dump-setup.outputs.ABI_LIBS }}
for lib in ${{ needs.abi-dump-setup.outputs.ABI_LIBS }}; do
# Remove symbol versioning from dumps, so we can compare across major versions.
sed -i 's/LLVM_${{ matrix.llvm_version_major }}/LLVM_NOVERSION/' $lib-${{ matrix.ref }}.abi
tar -czf $lib-${{ matrix.ref }}.abi.tar.gz $lib-${{ matrix.ref }}.abi
done
- name: Upload ABI file
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.name }}
path: "*${{ matrix.ref }}.abi.tar.gz"

abi-compare:
runs-on: ubuntu-latest
needs:
- abi-dump-setup
- abi-dump
steps:
- name: Download baseline
uses: actions/download-artifact@v1
with:
name: build-baseline
- name: Download latest
uses: actions/download-artifact@v1
with:
name: build-latest

- name: Install abi-compliance-checker
run: sudo apt-get install abi-compliance-checker
- name: Compare ABI
run: |
for lib in ${{ needs.abi-dump-setup.outputs.ABI_LIBS }}; do
abi-compliance-checker -lib $lib -old build-baseline/$lib*.abi.tar.gz -new build-latest/$lib*.abi.tar.gz
done
- name: Upload ABI Comparison
if: always()
uses: actions/upload-artifact@v2
with:
name: compat-report-${{ github.sha }}
path: compat_reports/

53 changes: 53 additions & 0 deletions .github/workflows/libclc-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: libclc Tests

on:
push:
branches:
- 'release/**'
paths:
- 'clang/**'
- 'llvm/**'
- 'libclc/**'
- '.github/workflows/libclc-tests.yml'
pull_request:
paths:
- 'clang/**'
- 'llvm/**'
- 'libclc/**'
- '.github/workflows/libclc-tests.yml'

jobs:
build_libclc:
name: libclc test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
# Disable build on windows, because I can't figure out where llvm-config is.
#- windows-latest
- macOS-latest
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
uses: llvm/actions/setup-windows@main
with:
arch: amd64
- name: Install Ninja
uses: llvm/actions/install-ninja@main
- uses: actions/checkout@v1
with:
fetch-depth: 250
- name: Build clang
uses: llvm/actions/build-test-llvm-project@main
with:
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_BUILD_TYPE=Release
build_target: ""
- name: Build and test libclc
# spirv targets require llvm-spirv, so skip building them until we figure out
# how to install this tool.
run: |
cmake -G Ninja -S libclc -B libclc-build -DLLVM_CONFIG=`pwd`/build/bin/llvm-config -DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
ninja -C libclc-build
ninja -C libclc-build test
43 changes: 43 additions & 0 deletions .github/workflows/lld-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: LLD Tests

on:
push:
branches:
- 'release/**'
paths:
- 'lld/**'
- 'llvm/**'
- '.github/workflows/lld-tests.yml'
pull_request:
paths:
- 'lld/**'
- 'llvm/**'
- '.github/workflows/lld-tests.yml'

jobs:
build_lld:
name: lld check-all
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
uses: llvm/actions/setup-windows@main
with:
arch: amd64
- name: Install Ninja
uses: llvm/actions/install-ninja@main
- uses: actions/checkout@v1
with:
fetch-depth: 250
- name: Test lld
uses: llvm/actions/build-test-llvm-project@main
with:
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="lld" -DCMAKE_BUILD_TYPE=Release
build_target: check-lld
50 changes: 50 additions & 0 deletions .github/workflows/lldb-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: lldb Tests

on:
push:
branches:
- 'release/**'
paths:
- 'clang/**'
- 'llvm/**'
- 'lldb/**'
- '.github/workflows/lldb-tests.yml'
pull_request:
paths:
- 'clang/**'
- 'llvm/**'
- 'lldb/**'
- '.github/workflows/lldb-tests.yml'

jobs:
build_lldb:
name: lldb build
runs-on: ${{ matrix.os }}
# Workaround for build faliure on Mac OS X: llvm.org/PR46190, https://github.com/actions/virtual-environments/issues/2274
env:
CPLUS_INCLUDE_PATH: /usr/local/opt/llvm/include/c++/v1:/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- name: Setup Windows
if: startsWith(matrix.os, 'windows')
uses: llvm/actions/setup-windows@main
with:
arch: amd64
- name: Install Ninja
uses: llvm/actions/install-ninja@main
- uses: actions/checkout@v1
with:
fetch-depth: 250
- name: Build lldb
uses: llvm/actions/build-test-llvm-project@main
with:
# Mac OS requries that libcxx is enabled for lldb tests, so we need to disable them.
cmake_args: -G Ninja -DLLVM_ENABLE_PROJECTS="clang;lldb" -DCMAKE_BUILD_TYPE=Release -DLLDB_INCLUDE_TESTS=OFF
# check-lldb is not consistent, so we only build lldb.
build_target: ""
Loading