Skip to content

Feature/merge upstream 20211214 #120

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 826 commits into from
Dec 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
826 commits
Select commit Hold shift + click to select a range
a1968d5
Prevent abseil-cleanup-ctad check from stomping on surrounding context
CJ-Johnson Dec 9, 2021
06ca0a2
[InstCombine] (~a & b & c) | ~(a | b | c) -> ~(a | (b ^ c))
rampitec Nov 17, 2021
2d31b02
Compute estimated trip counts for multiple exit loops
preames Dec 9, 2021
a1e7f62
Revert "[sanitizer] Run Stack compression in background thread"
petrhosek Dec 9, 2021
4c7de4f
Thread safety analysis: Remove unused variable. NFC.
d0k Dec 9, 2021
98f5ab6
[instcombine] Do demanded elts last when visiting extractelement
preames Dec 9, 2021
fa24c4a
[sanitizer] Run Stack compression in background thread
vitalybuka Nov 23, 2021
d71775c
[asan] Run background thread for asan only on THUMB
vitalybuka Dec 8, 2021
b24db85
[recurrence] Delete dead flag/fmf handling [NFC]
preames Dec 9, 2021
2204a7b
[dsymutil][NFC] Fix typo in help message
ellishg Dec 9, 2021
0d13f94
[reductions] Delete another piece of dead flag handling [NFC]
preames Dec 9, 2021
19c5cf4
[SLP]Fix comparator for cmp instruction vectorization.
alexey-bataev Dec 7, 2021
a9a1499
[NFC][lsan] Change LeakSuppressionContext interface
vitalybuka Dec 8, 2021
529a793
Reapply #2 of [runtimes] Fix building initial libunwind+libcxxabi+lib…
mstorsjo Oct 23, 2021
0b20c96
[benchmark] Reapply fix for -Wcovered-switch-default warning
mstorsjo Dec 9, 2021
f72e509
[lsan] Reduce StopTheWorld access to StackDepot
vitalybuka Dec 8, 2021
47e1f67
[AArch64][GlobalISel] Legalize scalar G_FMAXIMUM + G_FMINIMUM
Dec 8, 2021
880021d
[mlir][sparse] reenable asan for sampled mm integration test
aartbik Dec 8, 2021
3c6c306
[NFC][sanitizer] Relax InternalLowerBound interface
vitalybuka Dec 8, 2021
f86deb1
[lsan] Move out suppression of invalid PCs from StopTheWorld
vitalybuka Dec 9, 2021
2d6dfce
[libFuzzer] Remove entropic-scale-per-exec-time.test.
morehouse Dec 9, 2021
5e171ce
[ifs] Add options to allow llvm-ifs to generate multiple outputs
zeroomega Dec 3, 2021
2717f62
[GlobalISel] Make G_PTR_ADD pattern matcher non-commutative.
mysterymath Dec 9, 2021
46c96fc
[mlir][tosa] Fix quantized type for tosa.conv2d canonicalization
rsuderman Dec 9, 2021
b3db7dd
[TargetInstrInfo][PowerPC] Remove virtual function that is only calle…
topperc Dec 9, 2021
afdec43
[AArch64][GlobalISel] Add regbankselect support for G_FMAXIMUM/G_FMIN…
Dec 8, 2021
cfb0750
Unify libstdcpp and libcxx formatters for `std::optional`
zrthxn Dec 9, 2021
075eb78
[gn build] Port cfb075089128
llvmgnsyncbot Dec 9, 2021
f5687e0
[NFC] Use getAlign() instead of getAlignment() in haveSameSpecialState()
aeubanks Dec 9, 2021
e3a58dd
[MLIR] PresburgerSetTest: expectEqual: pass by ref, not value
Superty Dec 9, 2021
c1cd698
[InstSimplify] Simplify bool icmp with not in LHS
hasyimibhar Dec 9, 2021
ad3bb7c
[flang] Simplify RaggedArrayHeader and make it plain C struct
clementval Dec 9, 2021
bc9c4d7
[OpenMP][FIX] Pass the num_threads value directly to parallel_51
jhuber6 Dec 9, 2021
bc7f0fb
[libc++abi][AIX] Add 2 LIT tests for the AIX unwinder
xingxue-ibm Dec 9, 2021
2bce0c1
[mlir][sparse] minor corrections and updates in sparse compiler doc
aartbik Dec 9, 2021
ad2e5be
[PGO] Adjust BFI verification option default values [NFC]
xur-llvm Dec 9, 2021
20db8e0
[lldb/Target] Refine source display warning for artificial locations …
medismailben Dec 9, 2021
ce2a345
[bazel] Exclude MLModelRunnerTest.cpp
mtrofin Dec 9, 2021
428ed61
[ASan] Shared optimized callbacks implementation.
kstoimenov Dec 9, 2021
3012f35
[flang] Updated FIR dialect to _Both
jpienaar Dec 9, 2021
2f625ae
[ASan] Fix Windows build by excluding asan_rtl_x86_64.S.
kstoimenov Dec 9, 2021
cdf6a58
[libc] Use intrinsics for x86-64 fma and optimize PolyEval for x86-64…
lntue Dec 8, 2021
d3ca749
[ASan] Fix Windows build by excluding a test which requires assembly …
kstoimenov Dec 9, 2021
76d3d07
[ASan] Fixed Windows test by excluding macro instantiated INTERFACE_F…
kstoimenov Dec 10, 2021
715c72b
[NFC][analyzer] Return underlying strings directly instead of OS.str()
kepler-5 Dec 9, 2021
ad17ea1
[NFC][AST] Return underlying strings directly instead of OS.str()
kepler-5 Dec 9, 2021
08eb614
[NFC][testing] Return underlying strings directly instead of OS.str()
kepler-5 Dec 9, 2021
0cf6f7b
[NFC][clang] Return underlying strings directly instead of OS.str()
kepler-5 Dec 9, 2021
5276002
[NFC][Sema] Return underlying strings directly instead of OS.str()
kepler-5 Dec 9, 2021
5336bef
[NFC][tools] Return underlying strings directly instead of OS.str()
kepler-5 Dec 9, 2021
e2ad4f1
[Symbolizer][Debuginfo] Add debuginfod client to llvm-symbolizer.
noajshu Dec 10, 2021
7b9ab06
[amdgpu][nfc] Delete dead code in LowerModuleLDS
JonChesterfield Dec 10, 2021
afa3c14
Revert "[Symbolizer][Debuginfo] Add debuginfod client to llvm-symboli…
noajshu Dec 10, 2021
d7c07f6
[X86][MS-InlineAsm] Make the constraint *m to be simple place holder
phoebewang Dec 10, 2021
5bba0fe
[Symbolizer][Debuginfo] Add debuginfod client to llvm-symbolizer.
noajshu Dec 10, 2021
c4360b4
[flang] Fix folding of ac-implied-do indices in structure c'tors
klausler Dec 9, 2021
e9ab29b
[mlir] Add filegroup for Conversion/PassDetail
ChiaHungDuan Dec 10, 2021
ab39616
Revert "[ASan] Shared optimized callbacks implementation."
kstoimenov Dec 10, 2021
925ec98
Revert "[X86][clang] Emit diagnostic for float and double when we hav…
phoebewang Dec 10, 2021
1131738
Support: Avoid using SmallVector::set_size() in MemoryBuffer
dexonsmith Dec 8, 2021
50f3380
[dfsan] Add missing test for the new pass manager with -dfsan-ignore-…
taewookoh Dec 9, 2021
98095af
[AArch64][GlobalISel] Split vector stores of zero.
aemerson Dec 10, 2021
f829630
[llvm] Use llvm::count (NFC)
kazutakahirata Dec 10, 2021
79a0330
Fix crash from use of a temporary after its scope exit
joker-eph Dec 10, 2021
e308b8e
[RISCV] Fix arch string parsing for multi-character extensions
Oct 23, 2021
a4bf1b4
[RISCV] Unify depedency check and extension implication parsing logics
Oct 23, 2021
2ff795a
[sanitizer] Update symbols after D113717
vitalybuka Dec 10, 2021
e5d104b
[libc][NFC] Add NOLINT annotations at call sites to immintrin functions.
Dec 10, 2021
223e8ca
Set a default number of address bits on Darwin arm64 systems
jasonmolenda Dec 10, 2021
b9321d4
[NFC] Format the newly added table for coro.end in coroutines.rst
ChuanqiXu9 Dec 10, 2021
a344653
[GlobalISel] Fix IRTranslator for constexpr fcmp
konstantinschwarz Dec 9, 2021
ccafd2d
[Inline] Add test for exponential deferred inlining (NFC)
nikic Dec 10, 2021
d3cd063
[PowerPC] Require htm feature for HTM builtins
ecnelises Dec 10, 2021
cf58b9c
[AMDGPU] Add AV class spill pseudo instructions
cdevadas Dec 9, 2021
75db341
[flang][codegen] Add a conversion for `!fir.coordinate_of` - part 1
banach-space Nov 17, 2021
e6e7da5
[flang][nfc] Fix formatting
banach-space Dec 10, 2021
efdac16
Remove one change from https://reviews.llvm.org/D115431
jasonmolenda Dec 10, 2021
1d0244a
Reapply CycleInfo: Introduce cycles as a generalization of loops
ssahasra Dec 10, 2021
37a395b
[gn build] Port 1d0244aed781
llvmgnsyncbot Dec 10, 2021
1aa59ff
[msan] Implement -msan-disable-checks.
ramosian-glider Dec 7, 2021
69faae2
[ARM][libcxxabi] Add PACBTI-M support to libcxxabi
stuij Dec 10, 2021
978883d
[VPlan] Add InductionDescriptor to VPWidenIntOrFpInduction. (NFC)
fhahn Dec 10, 2021
350fe22
[llvm] [Debuginfo] Add llvm-debuginfod-find tool and end-to-end-tests.
noajshu Dec 10, 2021
8dcaf3a
[clang][dataflow] Implement a basic algorithm for dataflow analysis
sgatev Dec 10, 2021
0f30012
Revert "[llvm] [Debuginfo] Add llvm-debuginfod-find tool and end-to-e…
noajshu Dec 10, 2021
b618880
[mlir] Move `linalg.tensor_expand/collapse_shape` to TensorDialect.
pifon2a Dec 10, 2021
2b55492
[asan] Add support for disable_sanitizer_instrumentation attribute
ramosian-glider Nov 23, 2021
eef8f3f
[LV][NFC] New test case for compile time known trip count (TC)
Nov 24, 2021
acea6e9
[Passes] Only run extra vector passes if loops have been vectorized.
fhahn Dec 10, 2021
ab01833
[libcxx][test][NFC] Tests for set comparisons
kboyarinov Dec 10, 2021
fbf489c
Add PACBTI-M support to LLVM release notes.
stuij Dec 10, 2021
d3606a3
[clangd] Provide documentation as MarkupContent in signaturehelp
kadircet Dec 9, 2021
82ff94a
[libcxx][test][NFC] Extend testing for vector.cons
kboyarinov Dec 10, 2021
754e310
[gn build] (manually) port 8dcaf3aa0bf25 and 6e2aecd759dc
nico Dec 10, 2021
77e9d36
[clang][dataflow] Fix build breakage from commit 8dcaf3aa0bf25508700a…
ymand Dec 10, 2021
1031e43
[OpenMP] libomp: fix Fortran header: lines exceeded 72-char length
AndreyChurbanov Dec 10, 2021
1e68c79
Reapply [xray] add support for hexagon
androm3da Dec 9, 2021
652faed
[CodeGen] Improve SelectionDAGBuilder lowering code for get.active.la…
david-arm Dec 7, 2021
2586c23
[gn build] Prevent deps on HTTP requests in clang and lld at GN time
nico Dec 10, 2021
505ad03
[LV] Remove redundant IV casts using VPlan (NFCI).
fhahn Dec 10, 2021
47d526d
[clang][dataflow] Add framework for testing analyses.
ymand Nov 16, 2021
80ce01c
[MCA][X86] Add missing PSHUFLW from AVX512BWVL tests
RKSimon Dec 10, 2021
d2b68c4
[M68k][NFC] Fixed unused argument warnings in M68kInstrControl.td
mshockwave Dec 10, 2021
28d3976
Revert "[clang][dataflow] Add framework for testing analyses."
ymand Dec 10, 2021
52faad8
[AArch64] Use Feature for A53 Erratum 835769 Fix
lenary Dec 10, 2021
fcf7490
[GlobalOpt] Add test for PR51879 (NFC)
nikic Dec 9, 2021
9c244a3
[InstSimplify] Add test for load of aggregate (NFC)
nikic Dec 10, 2021
5a40df6
[clang][dataflow] Add framework for testing analyses.
ymand Nov 16, 2021
30f221b
Revert "[Symbolizer][Debuginfo] Add debuginfod client to llvm-symboli…
nico Dec 10, 2021
ebc31d2
[ASan] Shared optimized callbacks implementation.
kstoimenov Dec 10, 2021
db494bd
[gn build] Port 5a40df638181
nico Dec 10, 2021
5082c33
[gn build] (semimanually) port ebc31d2e7297
nico Dec 10, 2021
65bec04
[ConstantFold] Handle same type in ConstantFoldLoadThroughBitcast
nikic Dec 10, 2021
fed3041
[LV][ARM] Improve reduction costmodel for mismatching extension types.
davemgreen Dec 10, 2021
3b5e104
Verify inferattrs doesn't infer unexpected attributes
pogo59 Dec 10, 2021
550bf36
[MCA][X86] Add missing PACKSS/PACKUS from AVX512BW/AVX512BWVL tests
RKSimon Dec 10, 2021
ebcc92c
[MCA][X86] Add missing PSLLDQ/PSRLDQ from AVX512BW/AVX512BWVL tests
RKSimon Dec 10, 2021
b025b06
[MCA][X86] Add missing PALIGNR from AVX512BW/AVX512BWVL tests
RKSimon Dec 10, 2021
6fae235
[MCA][X86] Add missing ALIGND/ALIGNQ from AVX512F/AVX512VL tests
RKSimon Dec 10, 2021
78ff12d
Revert "[clang][dataflow] Add framework for testing analyses."
nico Dec 10, 2021
1d1e29b
[IR] Extract method to get single GEP index from offset (NFC)
nikic Dec 10, 2021
a93b179
[AArch64] Fix a warning
kazutakahirata Dec 10, 2021
6a399bf
[analyzer] Implemented RangeSet::Factory::unite function to handle in…
ASDenysPetrov Nov 18, 2021
3dbccca
[Support] Use range-based for loops (NFC)
kazutakahirata Dec 10, 2021
57b5f4b
[RISCV][Clang] Compute the default target-abi if it's empty.
zakk0610 Nov 4, 2021
5861cf7
[RISCV] Remove FCSR from RISCVRegisterInfo.
topperc Dec 10, 2021
c7c84b9
[DwarfDebug] Refuse to emit DW_OP_LLVM_arg values wider than 64 bits
adrian-prantl Dec 10, 2021
80ed2f6
[RISCV] Share tablegen classes for F, D, and Zfh. Other simplificatio…
topperc Dec 10, 2021
51168ce
[OpenMP] Add test for custom state machine if have reduction
jdenny-ornl Dec 10, 2021
7f09aee
[MCA][X86] Add missing VPMOVSX/VPMOVZX from AVX512 tests
RKSimon Dec 10, 2021
ec6870b
[llvm] Make ScopedPrinter interface virtual
Jaysonyan Dec 10, 2021
10602f2
[NFC] Remove unneeded printString methods
Jaysonyan Dec 10, 2021
80a0ee6
[NFC] Move printNumber method
Jaysonyan Dec 10, 2021
d25a650
[llvm] Add ScopedPrinter unit tests
Jaysonyan Dec 10, 2021
928d172
[llvm] Add JSONScopedPrinter class
Jaysonyan Dec 10, 2021
824eef2
[llvm-readobj] Add JSONScopedPrinter to llvm-readelf
Jaysonyan Dec 10, 2021
2d1761b
[gn build] Port d25a65030bc1
llvmgnsyncbot Dec 10, 2021
28309c5
[OpenMP] Part 2 of At present, amdgpu plugin merges both asynchronous
carlobertolli Dec 10, 2021
04f2712
[NFC][MLGO] Factor ModelUnderTrainingRunner for reuse
mtrofin Dec 9, 2021
dcd6162
utils: Remove some no-op raw_string_ostream flush calls, NFC
dexonsmith Dec 10, 2021
2a31b24
[sanitizers] include build ids in stacks on linux.
fmayer Nov 18, 2021
7c8f4e7
[OpenMP] Avoid costly shadow map traversals whenever possible
jhuber6 Dec 10, 2021
0845635
[mlir][ir] Custom ops' parse/print fall back to dialect hooks
Mogball Dec 10, 2021
d658a4b
[mlir][ir] OpRewritePattern should accept generatedNames
Mogball Dec 10, 2021
e40624a
[mlir][ods] Fix OpFormatGen sometimes not calling inferReturnTypes
Mogball Dec 10, 2021
9debc35
[mlir:PDL] Fix assembly format for pdl.apply_native_rewrite
River707 Dec 10, 2021
98f5bd3
[mlir:PDL] Adjust the assembly format for AttributeOp to avoid confli…
River707 Dec 10, 2021
06c3b9c
[mlir:PDL] Fix bugs in PDLPatternModule merging
River707 Dec 10, 2021
233e947
[mlir:PDL] Allow non-bound pdl.attribute/pdl.type operations that cre…
River707 Dec 10, 2021
06430ac
Revert "[sanitizers] include build ids in stacks on linux."
fmayer Dec 10, 2021
bebfbfd
[gn build] Port 04f2712ef4e4
llvmgnsyncbot Dec 10, 2021
b575405
Verifier: accept enums as scopes
durin42 Dec 10, 2021
9a74c75
[ThinLTO][MC] Use conditional assignments for promotion aliases
samitolvanen Dec 10, 2021
17414b6
Fix shared build of unittests.
darkbuck Dec 10, 2021
df20599
[OpenMP][libomp] Add core attributes to KMP_HW_SUBSET
jpeyton52 Nov 30, 2021
8425bde
Revert "[OpenMP] Avoid costly shadow map traversals whenever possible"
jhuber6 Dec 10, 2021
492de35
Revert "Revert "Use `GNUInstallDirs` to support custom installation d…
Ericson2314 Nov 4, 2021
2526335
Revert "[llvm-readobj] Add JSONScopedPrinter to llvm-readelf"
Jaysonyan Dec 10, 2021
9a3df8f
[gn build] (manually) port 492de35df44
nico Dec 10, 2021
5601821
[mlir][tensor] Fix insert_slice + tensor cast overflow
nicolasvasilache Dec 10, 2021
e31a5e0
[ASan] Added NO_EXEC_STACK_DIRECTIVE to assembly callback file.
kstoimenov Dec 10, 2021
bc657b2
[MLIR][NFC] Move out affine scalar replacement utility to affine utils
bondhugula Dec 10, 2021
f56933b
[mlir][vector] NFC move vector unroll/distribute patterns to their ow…
ThomasRaoux Dec 10, 2021
ea81cea
Revert "X86InstrInfo: Support immediates that are +1/-1 different in …
Dec 10, 2021
98db55f
[MLIR] IntegerPolyhedron: introduce getNumIdKind to replace calls to …
Superty Dec 10, 2021
d6f9bb0
[MLIR] FlatAffineConstraints::isIntegerEmpty: fix bug in computation …
Superty Dec 10, 2021
d08303e
[Docs][ORCv2] GetForCurrentProcess now returns an Expected<std::uniqu…
jroelofs Oct 5, 2021
edd2b99
[sanitizers] include build ids in stacks on linux.
fmayer Dec 10, 2021
9ec5acc
Move x86-specific test into the DebugInfo/X86 directory
dwblaikie Dec 10, 2021
7c004c2
Revert "[asan] Add support for disable_sanitizer_instrumentation attr…
browneee Dec 10, 2021
f2e945a
Revert "[mlir][tensor] Fix insert_slice + tensor cast overflow"
nicolasvasilache Dec 10, 2021
1f35d7b
[llvm-readobj] Add JSONScopedPrinter to llvm-readelf
Jaysonyan Dec 10, 2021
8cbd9c4
[mlir] Update BUILD rule for AffineUtils
ChiaHungDuan Dec 10, 2021
db124df
[ASan] Replace IR based callbacks with shared assembly code callbacks.
kstoimenov Dec 8, 2021
b289266
[mlir][spirv] Add serialization control to emit symbol name
antiagainst Dec 10, 2021
222d7fc
[mlir][spirv] Avoid duplicated Block decoration during serialization
antiagainst Dec 10, 2021
1bfa40a
[mlir][spirv] Change default subgroup size
antiagainst Dec 10, 2021
3ed47bc
[mlir][spirv] Propagate LogicalResult in (de)serialization
antiagainst Dec 10, 2021
a8bf389
[clangd] Clean up some include-fixer tests. NFC
sam-mccall Dec 10, 2021
86caf51
Revert "[amdgpu][nfc] Delete dead code in LowerModuleLDS"
JonChesterfield Dec 11, 2021
06b9017
AMDGPU: Remove fixed function ABI option
arsenm Aug 14, 2021
a55e51f
Revert "[ASan] Replace IR based callbacks with shared assembly code c…
kstoimenov Dec 11, 2021
c25ea48
[clangd] Include-fixer: handle more "incomplete type" diags.
sam-mccall Dec 10, 2021
8d897ec
[llvm] Partial revert, hopefully fix LLVM module maps build
Ericson2314 Dec 11, 2021
1a68c14
[clangd] Restore -fno-ms-compatibility to tests
sam-mccall Dec 11, 2021
654aa3a
Revert "[llvm] Partial revert, hopefully fix LLVM module maps build"
medismailben Dec 11, 2021
30fc88b
Revert "Revert "Revert "Use `GNUInstallDirs` to support custom instal…
medismailben Dec 11, 2021
ac431fc
[clangd] ... and mark a new test as -fno-ms-compatibility too
sam-mccall Dec 11, 2021
3ca6928
Revert "[gn build] (manually) port 492de35df44"
nico Dec 11, 2021
cdd5fb6
[NFC][Clang] clang-format -i clang/lib/Sema/SemaOpenMP.cpp
shiltian Dec 11, 2021
40bcbe4
[lld-macho][nfc] InputSections don't need to track their total # of c…
int3 Dec 11, 2021
098430c
[lld-macho][nfc] Simplify LC_DATA_IN_CODE generation
int3 Dec 11, 2021
686dca8
Enable github issues
asl Dec 11, 2021
c6a8bec
[MLIR][FlatAffineConstraints] Add support for extracting divisions wi…
Groverkss Dec 11, 2021
3611119
[EarlyCSE] Retain poison flags, if program is UB if poison.
fhahn Dec 11, 2021
6bcf1f9
AMDGPU: Indicate pessimistic fixpoint for entry functions
arsenm Dec 11, 2021
1ab3efa
[mlir][python] Add fused location
jpienaar Dec 11, 2021
d395bef
[llvm] Use range-based for loops (NFC)
kazutakahirata Dec 11, 2021
36b8a4f
[llvm] Use llvm::is_contained (NFC)
kazutakahirata Dec 11, 2021
731676b
[mlir][spirv] Fix nested control flow serialization
antiagainst Dec 11, 2021
c2bb963
Use llvm::any_of and llvm::all_of (NFC)
kazutakahirata Dec 11, 2021
9932d4d
[SCEV] Fix unused variable warning (NFC)
nikic Dec 11, 2021
08aa40b
[libc] Add ADD_FMA_FLAG macro to add -mfma flag to functions that req…
lntue Dec 11, 2021
feeee78
[mlir] Flip dialects to _Prefixed
jpienaar Dec 11, 2021
93fbaa4
Revert "Revert "[clang][dataflow] Add framework for testing analyses.""
ymand Dec 10, 2021
e5a8af7
[Passes] Fix relative lookup table converter pass
gulfemsavrun Dec 11, 2021
67aeae0
[llvm] Use range-based for loops (NFC)
kazutakahirata Dec 12, 2021
ea68ce2
[AST] Remove isWhitespace in favor of clang::isWhitespace (NFC)
kazutakahirata Dec 12, 2021
474e1bc
[AST] Remove an unnecessary continue (NFC)
kazutakahirata Dec 12, 2021
8054883
[libc++][ranges] Add subsumption tests to `[special.mem.concepts]`.
var-const Dec 12, 2021
5ccfb73
Autolabel new issues
asl Dec 12, 2021
f3c91b4
Try another labeler implementation
asl Dec 12, 2021
c16ced9
Version bump
asl Dec 12, 2021
d7ec4d0
[MLIR] PresburgerSet subtraction: fix bug where the set `b` was not r…
Superty Dec 11, 2021
8e833d0
[X86][AVX512] Use WriteVPMOV256 sched class for all truncations/exten…
RKSimon Dec 12, 2021
a0c930d
[mlir][Vector] Support 0-D vectors in `CmpIOp`
michalt Dec 12, 2021
408553d
[mlir][Vector] Support 0-D vectors in `CreateMaskOp`
nicolasvasilache Dec 12, 2021
fc02ceb
[X86][AVX512] Use WriteShuffleX for xmm->xmm extensions
RKSimon Dec 12, 2021
abb5dd6
Microsoft's floating-point to_chars powered by Ryu and Ryu Printf
mordante Feb 9, 2021
efb7727
[mlir] Flag near misses in file splitting
jpienaar Dec 12, 2021
b743ff1
[mlir] Relax restriction on name location parsing
jpienaar Dec 12, 2021
c02f979
[X86][AVX512] Remove xmm->xmm vpmovsx/vpmovzx rm overrides
RKSimon Dec 12, 2021
4834996
[Target] Use llvm::reverse (NFC)
kazutakahirata Dec 12, 2021
77e019c
[OpenMP] Add "not" to test dependencies.
Meinersbur Dec 12, 2021
05bea53
[clang-format] [PR49298] Sort includes pass will sort inside raw strings
mydeveloperday Dec 12, 2021
318942d
[gn build] Port abb5dd6e99df
nico Dec 12, 2021
0a08813
[X86][MMX] Remove superfluous 'i' from MMX binop opnames. NFCI.
RKSimon Dec 12, 2021
41052fd
[X86][MMX] Remove superfluous 'i' from MMX cvt opnames. NFCI.
RKSimon Dec 12, 2021
90f9855
[X86] Update MMX opname test changes that were lost
RKSimon Dec 12, 2021
9633df0
[NFC][X86] Precommit tests for memset with minsize being present
dseredkin Dec 12, 2021
af520fb
[ELF][test] Remove unused/incorrect .got check line
MaskRay Dec 12, 2021
d2377f2
Ensure newlines at the end of files (NFC)
kazutakahirata Dec 12, 2021
24b28db
[amdgpu] Increase alignment of all LDS variables
JonChesterfield Dec 12, 2021
b6a2ddb
[LV] Use info from State in some helper functions (NFC).
fhahn Dec 12, 2021
8f64b5f
Use "new issue" label for tagging new issues
asl Dec 12, 2021
4c1d248
[MCA][X86] Fix duplicated cvtsi2ss/cvtsi2sd i32 + i64 folded tests
RKSimon Dec 12, 2021
9ad5969
[X86][Atom] Fix CVT uops + port usage
RKSimon Dec 12, 2021
bb6447a
[llvm] Use llvm::reverse (NFC)
kazutakahirata Dec 13, 2021
5fadb39
[Driver][test] Make some tests work with CLANG_DEFAULT_PIE_ON_LINUX=on
MaskRay Dec 13, 2021
a8024df
[ELF] Avoid mutable addend parameter. NFC
MaskRay Dec 13, 2021
4cfff19
[ELF] Move adjustSplitStackFunctionPrologues's splitStack check to th…
MaskRay Dec 13, 2021
d29766b
[ELF] relocateAlloc: remove variables type and expr. NFC
MaskRay Dec 13, 2021
1eaa9b4
[ELF] initializeSections: move SHT_LLVM_CALL_GRAPH_PROFILE check into…
MaskRay Dec 13, 2021
9115d75
[ELF] Use parallelSort for .rela.dyn
MaskRay Dec 13, 2021
2025e09
[LV] Make sure VF doesn't exceed compile time known TC
Nov 24, 2021
d37d0aa
[libc][NFC] Add back NOLINT anntotations to PolyEval.
Dec 13, 2021
7ad1059
Merge commit '9eb7322748cf138fea0a2c98ab1e6430735a15ba' into feature/…
kaz7 Dec 13, 2021
89399eb
Merge commit 'dfcfd14070bd75b33f57026ef0d1d1b83c64d787' into feature/…
kaz7 Dec 13, 2021
07b2314
Merge commit 'd37d0aadbf408f6144f616ebbefb363575532161' into feature/…
kaz7 Dec 13, 2021
18734d1
[VE][OpenMP] Fix compile errors for not X86
kaz7 Dec 13, 2021
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.
14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/do-not-file-an-issue.md

This file was deleted.

4 changes: 3 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# **DO NOT FILE A PULL REQUEST**

We are in the process of a github migration. Please do not create a pull request as this could interfere with the process.
This repository does not accept pull requests. Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.

# **DO NOT FILE A PULL REQUEST**
13 changes: 13 additions & 0 deletions .github/workflows/new-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Labeling new issues
on:
issues:
types: ['opened']

jobs:
automate-issues-labels:
runs-on: ubuntu-latest
steps:
- uses: andymckay/[email protected]
with:
add-labels: "new issue"
ignore-if-labeled: true
23 changes: 0 additions & 23 deletions clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,29 +155,6 @@ ClangTidyError::ClangTidyError(StringRef CheckName,
: tooling::Diagnostic(CheckName, DiagLevel, BuildDirectory),
IsWarningAsError(IsWarningAsError) {}

class ClangTidyContext::CachedGlobList {
public:
CachedGlobList(StringRef Globs) : Globs(Globs) {}

bool contains(StringRef S) {
switch (auto &Result = Cache[S]) {
case Yes:
return true;
case No:
return false;
case None:
Result = Globs.contains(S) ? Yes : No;
return Result == Yes;
}
llvm_unreachable("invalid enum");
}

private:
GlobList Globs;
enum Tristate { None, Yes, No };
llvm::StringMap<Tristate> Cache;
};

ClangTidyContext::ClangTidyContext(
std::unique_ptr<ClangTidyOptionsProvider> OptionsProvider,
bool AllowEnablingAnalyzerAlphaCheckers)
Expand Down
3 changes: 2 additions & 1 deletion clang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class CompilationDatabase;
} // namespace tooling

namespace tidy {
class CachedGlobList;

/// A detected error complete with information to display diagnostic and
/// automatic fix.
Expand Down Expand Up @@ -191,7 +192,7 @@ class ClangTidyContext {

std::string CurrentFile;
ClangTidyOptions CurrentOptions;
class CachedGlobList;

std::unique_ptr<CachedGlobList> CheckFilter;
std::unique_ptr<CachedGlobList> WarningAsErrorFilter;

Expand Down
20 changes: 18 additions & 2 deletions clang-tools-extra/clang-tidy/GlobList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
#include "GlobList.h"
#include "llvm/ADT/SmallString.h"

using namespace clang;
using namespace tidy;
namespace clang {
namespace tidy {

// Returns true if GlobList starts with the negative indicator ('-'), removes it
// from the GlobList.
Expand Down Expand Up @@ -62,3 +62,19 @@ bool GlobList::contains(StringRef S) const {
}
return false;
}

bool CachedGlobList::contains(StringRef S) const {
switch (auto &Result = Cache[S]) {
case Yes:
return true;
case No:
return false;
case None:
Result = GlobList::contains(S) ? Yes : No;
return Result == Yes;
}
llvm_unreachable("invalid enum");
}

} // namespace tidy
} // namespace clang
24 changes: 20 additions & 4 deletions clang-tools-extra/clang-tidy/GlobList.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

#include "clang/Basic/LLVM.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Regex.h"

Expand All @@ -24,6 +25,8 @@ namespace tidy {
/// them in the order of appearance in the list.
class GlobList {
public:
virtual ~GlobList() = default;

/// \p Globs is a comma-separated list of globs (only the '*' metacharacter is
/// supported) with an optional '-' prefix to denote exclusion.
///
Expand All @@ -36,18 +39,31 @@ class GlobList {

/// Returns \c true if the pattern matches \p S. The result is the last
/// matching glob's Positive flag.
bool contains(StringRef S) const;
virtual bool contains(StringRef S) const;

private:

struct GlobListItem {
bool IsPositive;
llvm::Regex Regex;
};
SmallVector<GlobListItem, 0> Items;
};

} // end namespace tidy
} // end namespace clang
/// A \p GlobList that caches search results, so that search is performed only
/// once for the same query.
class CachedGlobList final : public GlobList {
public:
using GlobList::GlobList;

/// \see GlobList::contains
bool contains(StringRef S) const override;

private:
enum Tristate { None, Yes, No };
mutable llvm::StringMap<Tristate> Cache;
};

} // namespace tidy
} // namespace clang

#endif // LLVM_CLANG_TOOLS_EXTRA_CLANG_TIDY_GLOBLIST_H
10 changes: 4 additions & 6 deletions clang-tools-extra/clang-tidy/abseil/CleanupCtadCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@ RewriteRule CleanupCtadCheckImpl() {
"deduction pattern in C++17 and higher");

return makeRule(
declStmt(has(varDecl(
declStmt(hasSingleDecl(varDecl(
hasType(autoType()), hasTypeLoc(typeLoc().bind("auto_type_loc")),
hasInitializer(traverse(
clang::TK_IgnoreUnlessSpelledInSource,
hasInitializer(hasDescendant(
callExpr(callee(functionDecl(hasName("absl::MakeCleanup"))),
argumentCountIs(1),
hasArgument(0, expr().bind("make_cleanup_argument")))
argumentCountIs(1))
.bind("make_cleanup_call")))))),
{changeTo(node("auto_type_loc"), cat("absl::Cleanup")),
changeTo(node("make_cleanup_call"), cat(node("make_cleanup_argument")))},
changeTo(node("make_cleanup_call"), cat(callArgs("make_cleanup_call")))},
warning_message);
}

Expand Down
47 changes: 29 additions & 18 deletions clang-tools-extra/clang-tidy/modernize/PassByValueCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,24 +190,35 @@ void PassByValueCheck::check(const MatchFinder::MatchResult &Result) {

auto Diag = diag(ParamDecl->getBeginLoc(), "pass by value and use std::move");

// Iterate over all declarations of the constructor.
for (const ParmVarDecl *ParmDecl : collectParamDecls(Ctor, ParamDecl)) {
auto ParamTL = ParmDecl->getTypeSourceInfo()->getTypeLoc();
auto RefTL = ParamTL.getAs<ReferenceTypeLoc>();

// Do not replace if it is already a value, skip.
if (RefTL.isNull())
continue;

TypeLoc ValueTL = RefTL.getPointeeLoc();
auto TypeRange = CharSourceRange::getTokenRange(ParmDecl->getBeginLoc(),
ParamTL.getEndLoc());
std::string ValueStr = Lexer::getSourceText(CharSourceRange::getTokenRange(
ValueTL.getSourceRange()),
SM, getLangOpts())
.str();
ValueStr += ' ';
Diag << FixItHint::CreateReplacement(TypeRange, ValueStr);
// If we received a `const&` type, we need to rewrite the function
// declarations.
if (ParamDecl->getType()->isLValueReferenceType()) {
// Check if we can succesfully rewrite all declarations of the constructor.
for (const ParmVarDecl *ParmDecl : collectParamDecls(Ctor, ParamDecl)) {
TypeLoc ParamTL = ParmDecl->getTypeSourceInfo()->getTypeLoc();
ReferenceTypeLoc RefTL = ParamTL.getAs<ReferenceTypeLoc>();
if (RefTL.isNull()) {
// We cannot rewrite this instance. The type is probably hidden behind
// some `typedef`. Do not offer a fix-it in this case.
return;
}
}
// Rewrite all declarations.
for (const ParmVarDecl *ParmDecl : collectParamDecls(Ctor, ParamDecl)) {
TypeLoc ParamTL = ParmDecl->getTypeSourceInfo()->getTypeLoc();
ReferenceTypeLoc RefTL = ParamTL.getAs<ReferenceTypeLoc>();

TypeLoc ValueTL = RefTL.getPointeeLoc();
CharSourceRange TypeRange = CharSourceRange::getTokenRange(
ParmDecl->getBeginLoc(), ParamTL.getEndLoc());
std::string ValueStr =
Lexer::getSourceText(
CharSourceRange::getTokenRange(ValueTL.getSourceRange()), SM,
getLangOpts())
.str();
ValueStr += ' ';
Diag << FixItHint::CreateReplacement(TypeRange, ValueStr);
}
}

// Use std::move in the initialization list.
Expand Down
3 changes: 3 additions & 0 deletions clang-tools-extra/clangd/ClangdLSPServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,8 @@ void ClangdLSPServer::onInitialize(const InitializeParams &Params,
Opts.CodeComplete.BundleOverloads = Params.capabilities.HasSignatureHelp;
Opts.CodeComplete.DocumentationFormat =
Params.capabilities.CompletionDocumentationFormat;
Opts.SignatureHelpDocumentationFormat =
Params.capabilities.SignatureHelpDocumentationFormat;
DiagOpts.EmbedFixesInDiagnostics = Params.capabilities.DiagnosticFixes;
DiagOpts.SendDiagnosticCategory = Params.capabilities.DiagnosticCategory;
DiagOpts.EmitRelatedLocations =
Expand Down Expand Up @@ -1058,6 +1060,7 @@ void ClangdLSPServer::onCompletion(const CompletionParams &Params,
void ClangdLSPServer::onSignatureHelp(const TextDocumentPositionParams &Params,
Callback<SignatureHelp> Reply) {
Server->signatureHelp(Params.textDocument.uri.file(), Params.position,
Opts.SignatureHelpDocumentationFormat,
[Reply = std::move(Reply), this](
llvm::Expected<SignatureHelp> Signature) mutable {
if (!Signature)
Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clangd/ClangdLSPServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class ClangdLSPServer : private ClangdServer::Callbacks,
/// Per-feature options. Generally ClangdServer lets these vary
/// per-request, but LSP allows limited/no customizations.
clangd::CodeCompleteOptions CodeComplete;
MarkupKind SignatureHelpDocumentationFormat = MarkupKind::PlainText;
clangd::RenameOptions Rename;
/// Returns true if the tweak should be enabled.
std::function<bool(const Tweak &)> TweakFilter = [](const Tweak &T) {
Expand Down
5 changes: 4 additions & 1 deletion clang-tools-extra/clangd/ClangdServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,11 @@ void ClangdServer::codeComplete(PathRef File, Position Pos,
}

void ClangdServer::signatureHelp(PathRef File, Position Pos,
MarkupKind DocumentationFormat,
Callback<SignatureHelp> CB) {

auto Action = [Pos, File = File.str(), CB = std::move(CB),
DocumentationFormat,
this](llvm::Expected<InputsAndPreamble> IP) mutable {
if (!IP)
return CB(IP.takeError());
Expand All @@ -416,7 +418,8 @@ void ClangdServer::signatureHelp(PathRef File, Position Pos,

ParseInputs ParseInput{IP->Command, &TFS, IP->Contents.str()};
ParseInput.Index = Index;
CB(clangd::signatureHelp(File, Pos, *PreambleData, ParseInput));
CB(clangd::signatureHelp(File, Pos, *PreambleData, ParseInput,
DocumentationFormat));
};

// Unlike code completion, we wait for a preamble here.
Expand Down
3 changes: 2 additions & 1 deletion clang-tools-extra/clangd/ClangdServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ class ClangdServer {

/// Provide signature help for \p File at \p Pos. This method should only be
/// called for tracked files.
void signatureHelp(PathRef File, Position Pos, Callback<SignatureHelp> CB);
void signatureHelp(PathRef File, Position Pos, MarkupKind DocumentationFormat,
Callback<SignatureHelp> CB);

/// Find declaration/definition locations of symbol at a specified position.
void locateSymbolAt(PathRef File, Position Pos,
Expand Down
Loading