Skip to content

LLVM and SPIRV-LLVM-Translator pulldown (WW05) #3094

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 1,072 commits into from
Jan 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1072 commits
Select commit Hold shift + click to select a range
719b563
[PowerPC][Power10] Exploit splat instruction xxsplti32dx in Power10
Jan 20, 2021
cc4244d
[MLIR][Standard] Add log1p operation to std
frgossen Jan 20, 2021
36e62b1
[AArch64] Fix -Wunused-but-set-variable in GCC -DLLVM_ENABLE_ASSERTIO…
MaskRay Jan 20, 2021
b8b5e87
[X86][AVX] Handle vperm2x128 shuffling of a subvector splat.
RKSimon Jan 20, 2021
9d792fe
[RISCV] Remove unnecessary APInt copy. NFC
topperc Jan 20, 2021
16d6e85
[BuildLibcalls] Mark some libcalls with inaccessiblememonly and inacc…
davidbolvansky Jan 20, 2021
69e0bc7
[COFF] Use range for on relocations, NFC
rnk Jan 20, 2021
b270fd5
Revert "[clang] Change builtin object size when subobject is invalid"
gburgessiv Jan 20, 2021
a512260
Revert "[DAGCombiner] Enable SimplifyDemandedBits vector support for …
zmodem Jan 20, 2021
e8aec76
[NPM][Inliner] Factor ImportedFunctionStats in the InlineAdvisor
mtrofin Jan 19, 2021
ff3b51b
[flang] Fix ASSOCIATE statement name resolution
klausler Jan 20, 2021
d97f776
Revert "[NPM][Inliner] Factor ImportedFunctionStats in the InlineAdvi…
mtrofin Jan 20, 2021
b3e73dc
[lld-macho][easy] Create group for LLD-specific CLI flags
int3 Jan 12, 2021
697f4e4
[lld-macho] Run ObjCContractPass during LTO
int3 Jan 12, 2021
560d7e0
[NFC][AMDGPU] Split AMDGPUSubtarget.h to R600 and GCN subtargets
dfukalov Jan 20, 2021
f5d8eb0
[mlir][Linalg] NFC - getAssumedNonShapedOperands now returns OperandR…
nicolasvasilache Jan 20, 2021
11802ec
[WebAssembly] Prototype new f64x2 conversions
tlively Jan 20, 2021
8776e3f
[EXTINT][OMP] Fix _ExtInt type checking in device code
Jan 20, 2021
b564b12
[flang][driver] Refactor one unit-test case to use fixtures (nfc)
banach-space Jan 20, 2021
ca4ed1e
[PredicateInfo] Generalize processing of conditions
nikic Jan 11, 2021
ea616f9
[libomptarget][devicertl][nfc] Remove some cuda intrinsics, simplify
JonChesterfield Jan 20, 2021
9e708ac
[COFF] Fix relocation offsets in pdb-file-statics test input
rnk Jan 20, 2021
599fdfc
Revert "[lldb] Re-enable TestPlatformProcessConnect on macos"
labath Jan 20, 2021
fbc1dcb
[libomptarget][devicertl][nfc] Simplify target_atomic abstraction
JonChesterfield Jan 20, 2021
c075572
[mlir][Linalg] NFC - Expose getSmallestBoundingIndex as an utility fu…
nicolasvasilache Jan 20, 2021
1a9bd5b
Reland "[PDB] Defer relocating .debug$S until commit time and paralle…
rnk Jan 20, 2021
e406de7
[PredicateInfo][SCCP][NewGVN] Add tests for logical and/or (NFC)
nikic Jan 11, 2021
8fc9b6c
[lldb/Commands] Align process launch --plugin with process attach (NFC)
medismailben Jan 20, 2021
1c6d1e5
[PredicateInfo] Handle logical and/or
nikic Jan 20, 2021
866cb26
[mlir] Fix SubTensorInsertOp semantics
nicolasvasilache Jan 20, 2021
b1e1bba
[mlir] Add ComplexDialect to SCF->GPU pass.
pifon2a Jan 20, 2021
8dd58a5
[mlir][Linalg] NFC - Fully compose map and operands when creating Aff…
nicolasvasilache Jan 20, 2021
0996b59
[flang] Infrastructure improvements in utility routines
klausler Jan 20, 2021
a3d7cee
[CodeView] Emit function types in -gline-tables-only.
amykhuang Jan 12, 2021
33a5d21
[OpenMP][NVPTX] Added forward declaration to pave the way for buildin…
shiltian Jan 20, 2021
bebbe64
[flang] Fix creation of deferred shape arrays by POINTER statement
psteinfeld Jan 20, 2021
95ce32c
[NFC] Move ImportedFunctionsInliningStatistics to Analysis
mtrofin Jan 20, 2021
36b05d2
[gn build] Port 95ce32c7878d
llvmgnsyncbot Jan 20, 2021
a2223b0
[mlir:async] Fix data races in AsyncRuntime
ezhulenev Jan 20, 2021
ccec2cf
Reland "[NPM][Inliner] Factor ImportedFunctionStats in the InlineAdvi…
mtrofin Jan 20, 2021
7b5d7c7
[hip] Fix `<complex>` compilation on Windows with VS2019.
darkbuck Jan 20, 2021
079967c
[NFC][AMDGPU] Document target ID syntax for code object V2 to V3
t-tye Jan 20, 2021
555a395
[mlir] NFC - Fix unused variable in non-debug mode
nicolasvasilache Jan 20, 2021
6afdf13
Makefile.rules: Avoid redundant .d generation (make restart) and inli…
MaskRay Jan 20, 2021
045d84f
D94954: Fixes Snapdragon Kryo CPU core detection
Sonicadvance1 Jan 20, 2021
5959c28
[mlir][sparse] add asserts on reading in tensor data
aartbik Jan 20, 2021
735a07f
Revert "[mlir][Affine] Add support for multi-store producer fusion"
dcaballe Jan 20, 2021
0f8386c
[RISCV] Add addu.w and slliu.w test that uses getelementptr with zero…
topperc Jan 20, 2021
e996f1d
[RISCV] Add another isel pattern for slliu.w.
topperc Jan 20, 2021
bb3f169
[BuildLibcalls, Attrs] Support more variants of C++'s new, add attrib…
davidbolvansky Jan 20, 2021
1df0dbf
[libc][NFC] add "LlvmLibc" as a prefix to all test names
michaelrj-google Jan 15, 2021
689de58
[libc][NFC][obvious] fix the names of MPFR tests
michaelrj-google Jan 20, 2021
87a8954
[NFC] Minor cleanup for ValueHandle code.
varungandhi-apple Jan 7, 2021
6ccf2d6
[mlir] Add an interface for Cast-Like operations
River707 Jan 21, 2021
c78219f
[mlir] Add a new builtin `unrealized_conversion_cast` operation
River707 Jan 21, 2021
8a7ff73
[mlir] Make MLIRContext::getOrLoadDialect(StringRef, TypeID, ...) public
math-fehr Jan 21, 2021
825c2b4
[mlir][OpFormatGen] Fix incorrect kind used for RegionsDirective
River707 Jan 21, 2021
96296d9
[DAGCombiner] Precommit test case for D95086
weiguozhi Jan 21, 2021
3809e5d
[Clang][OpenMP] Use `clang_cc1` test for `declare_target_device_only_…
shiltian Jan 21, 2021
34e8fcf
[lld-macho] Add dependency on ObjCARC to fix shared build
int3 Jan 21, 2021
bff3891
Fix a bug with setting breakpoints on C++11 inline initialization sta…
jimingham Jan 21, 2021
f86db34
[MSan] Move origins for overlapped memory transfer
stephan-yichao-zhao Jan 13, 2021
98feb08
Use CXX_SOURCES and point to the right source file.
jimingham Jan 21, 2021
f354b87
[dsymutil] Compare object modification times using second precision
JDevlieghere Jan 21, 2021
6cab3f8
[RISCV] Use update_llc_test_checks.py to regenerate check lines in vl…
topperc Jan 21, 2021
baf6c29
[lldb] Upstream eCore_arm_arm64e enum value in ArchSpec
JDevlieghere Jan 21, 2021
47228f7
[RISCV] Implement vsseg intrinsics.
Hsiangkai Jan 14, 2021
e5e3290
[RISCV] Implement vlsseg intrinsics.
Hsiangkai Jan 15, 2021
a8b96ea
[RISCV] Implement vssseg intrinsics.
Hsiangkai Jan 16, 2021
d6bb96e
[X86] Add experimental option to separately tune alignment of innermo…
xortator Jan 21, 2021
8f5da41
[llvm] Construct SmallVector with iterator ranges (NFC)
kazutakahirata Jan 21, 2021
e53472d
[Transforms] Use llvm::append_range (NFC)
kazutakahirata Jan 21, 2021
6de4865
[llvm] Use hasSingleElement (NFC)
kazutakahirata Jan 21, 2021
dd8ae42
[IndirectFunctions] Skip propagating attributes to address taken func…
Jan 13, 2021
51f4958
[yaml2obj/obj2yaml] - Improve dumping/creating of ELF versioning sect…
Jan 18, 2021
20013d0
[X86][AMX] Fix tile config register spill issue.
LuoYuanke Jan 5, 2021
dd5c982
[llvm-nm][ELF] - Make -D display symbol versions.
Jan 14, 2021
71635ea
MCDwarf: Delete uneeded parameter
MaskRay Jan 21, 2021
fc58bfd
[mlir] Remove complex ops from Standard dialect.
pifon2a Jan 20, 2021
bee4868
[LoopUnswitch] Implement first version of partial unswitching.
fhahn Jan 21, 2021
facea4a
[clangd] Fix a missing override keyword, NFC.
hokein Jan 21, 2021
64132f5
Revert "[X86][AMX] Fix tile config register spill issue."
LuoYuanke Jan 21, 2021
86021d9
[X86] Avoid a std::string copy by replacing auto with const auto&. NFC.
RKSimon Jan 21, 2021
bc9ab9a
[DAG] CombineToPreIndexedLoadStore - use const APInt& for getAPIntVal…
RKSimon Jan 21, 2021
ff41ae8
MC: AArch64: Add support for gotpage_lo15
zatrazz Jan 13, 2021
99b7b41
[lldb][import-std-module] Do some basic file checks before trying to …
Teemperor Jan 21, 2021
060b51e
[lldb] Make TestBSDArchives a no-debug-info-test
Teemperor Jan 21, 2021
ed2853d
Reland [lldb] Fix TestThreadStepOut.py after "Flush local value map o…
Teemperor Nov 26, 2020
935bacd
[DAG] SimplifyDemandedBits - correctly adjust truncated shift amount …
RKSimon Jan 21, 2021
0ca81b9
[X86][SSE] Add uitofp(trunc(and(lshr(x,c)))) vector test
RKSimon Jan 21, 2021
294e254
Add log1p lowering from standard to NVVM intrinsics
frgossen Jan 21, 2021
69bc099
[DAGCombiner] Enable SimplifyDemandedBits vector support for TRUNCATE…
RKSimon Jan 21, 2021
4ef38f9
Add log1p lowering from standard to ROCDL intrinsics
frgossen Jan 21, 2021
2b4716d
[MC] Use std::make_tuple to make some toolchains happy again
mikaelholmen Jan 21, 2021
070af1b
[InstCombine] avoid crashing on attribute propagation
rotateright Jan 21, 2021
726de41
[clang][AST] Add get functions for CXXFoldExpr paren locations.
balazske Jan 21, 2021
37510f6
[lldb][NFC] Fix build with GCC<6
Teemperor Jan 21, 2021
20566a2
AMDGPU: Add occupancy to serialized MachineFunctionInfo
arsenm Jan 15, 2021
e4eaf9d
[OpenMP] Add support for mapping names in mapper API
jhuber6 Jan 15, 2021
0eeb157
[flang][driver] Make the driver report diagnostics from the prescanner
banach-space Jan 21, 2021
dfac521
[ARM] Fix vector saddsat costs.
davemgreen Jan 21, 2021
ba7dcd8
[AMDGPU] Implement mir parseCustomPseudoSourceValue
Flakebi Jan 15, 2021
35c535a
AArch64/GlobalISel: Factor out parametersInCSRMatch
arsenm Jan 12, 2021
48c54f0
[OpenMP][NVPTX] Added forward declaration for atomic operations
shiltian Jan 21, 2021
2a0db8d
AMDGPU: Use more accurate fast f64 fdiv
arsenm Jan 20, 2021
94375d1
AMDGPU: Remove v_rsq_f64 patterns
arsenm Jan 20, 2021
c0b3c5a
[AMDGPU][GlobalISel] Run SIAddImgInit
jayfoad Jan 21, 2021
4234292
[mlir][SPIRV] Rename OpSpecConstantOperation -> OpSpecConstantOp
Jan 20, 2021
615167c
[mlir]][SPIRV] Define OrderedOp and UnorderedOp and add lowerings fro…
Jan 20, 2021
9dd5aea
[RISCV] Make LMUL field in VTYPE continuous.
Hsiangkai Dec 21, 2020
aba24c1
[flang][driver] Move fixed/free from detection out of FrontendAction API
banach-space Jan 21, 2021
266820b
[RISCV] Add new V instructions in v1.0-08a0b46.
Hsiangkai Dec 21, 2020
f3b979b
[libc++] Use ioctl when available to get random_device entropy.
mkurdej Jan 21, 2021
4dbdff6
Revert "[AMDGPU] Implement mir parseCustomPseudoSourceValue"
Flakebi Jan 21, 2021
6b7645d
[OpenMP] Add time profiling support in libomp
ggeorgakoudis Jan 16, 2021
b8921af
[RISCV] Update V instructions constraints to conform to v1.0
Hsiangkai Dec 28, 2020
b3a5abc
[NFC][Doc] Mention SystemZ supports StackMap generation
uweigand Jan 21, 2021
a75840a
[flang] Better C_LOC and C_ASSOCIATED in flang/module
klausler Jan 14, 2021
127091b
[CUDA] Normalize handling of defauled dtor.
Artem-B Jan 15, 2021
119a9ea
[OpenMP] Fix failing test due to change in offloading flags
jhuber6 Jan 21, 2021
f2fd41d
X86: Fix use-after-realloc in X86AsmParser::ParseIntelExpression
dexonsmith Jan 21, 2021
65fd034
[FunctionAttrs] Infer willreturn for functions without loops
nikic Jan 13, 2021
15033c9
Merge from 'sycl' to 'sycl-web'
Jan 21, 2021
8e0b179
[ELF] report section sizes when output file too large
inglorion Jan 12, 2021
d777533
[SLP] simplify reduction matching
rotateright Jan 21, 2021
4ab0f51
Recommit "[RISCV] Legalize select when Zbt extension available"
mundaym Jan 21, 2021
d7ff003
ADT: Fix reference invalidation in SmallVector::emplace_back and assi…
dexonsmith Jan 15, 2021
8827e07
Remove deprecated methods from OpState.
chsigg Jan 21, 2021
bfec914
Scalar: Don't visit constants in findInnerReductionPhi in LoopInterch…
willir Jan 21, 2021
2f03528
[SLP] rename reduction variable to avoid shadowing; NFC
rotateright Jan 21, 2021
39db575
[LV][ARM] Inloop reduction cost modelling
davemgreen Jan 21, 2021
39239f9
[lldb-vscode] improve modules request
walter-erquinigo Jan 4, 2021
d57ae01
Merge from 'main' to 'sycl-web' (#255)
ochupina Jan 21, 2021
866d480
[libc++abi] Add an option to avoid demangling in terminate.
DanAlbert Jan 21, 2021
bd3a387
Revert [mlir] Link mlir_runner_utils statically into cuda/rocm-runtim…
chsigg Jan 21, 2021
d75b371
[WebAssembly] Test that invalid symbol/relocation types generate errors
sbc100 Jan 21, 2021
7a7401f
Merge from 'main' to 'sycl-web' (#1)
ochupina Jan 21, 2021
1deee5c
Fix crash when emitting NullReturn guards for functions returning BOOL
jroelofs Jan 21, 2021
922b26c
Add Python bindings for the builtin dialect
joker-eph Jan 20, 2021
d38be2b
[llvm-mca] Initial implementation of serialization using JSON. The views
Jan 21, 2021
cfe9ccb
[libc++abi] Simplify scan_eh_tab
MaskRay Jan 21, 2021
0cd1e47
[gn build] Port d38be2ba0e4e
llvmgnsyncbot Jan 21, 2021
b014335
[libc] Distinguish compiler and run failures
petrhosek Jan 21, 2021
b7ab672
[RISCV] New vector load/store in V extension v1.0
Hsiangkai Dec 21, 2020
04af1ca
[llvm-mca] Forgot a couple of override specifiers.
Jan 21, 2021
6e36046
[RISCV] Use v8-v23 as argument registers to conform to the proposal.
Hsiangkai Jan 21, 2021
3738447
[flang] Address name resolution problems
klausler Jan 21, 2021
020c00b
[llvm-mca] Test case was missing a triple.
Jan 22, 2021
0cfadb3
[flang] Allow NULL() actual argument for pointer dummy
klausler Jan 21, 2021
1be2524
[libcxx] Check return value for asprintf()
brad0 Jan 22, 2021
2de5ea3
[flang] Fix bogus error message with binding
klausler Jan 21, 2021
8120cfe
[NFC] [TargetRegisterInfo] add another API to get srcreg through copy.
Jan 19, 2021
3b5430e
[RISCV] Add a VL output to vleff intrinsics.
topperc Jan 22, 2021
c6e8f81
[llvm-mca] Addressing build failures due to missing override specifiers
Jan 22, 2021
0a7a1ac
[mlir] Support FuncOpSignatureConversion for more FunctionLike ops.
mikeurbach Jan 19, 2021
3d349ed
[CodeGen][ObjC] Fix broken IR generated when there is a nil receiver
ahatanaka Jan 22, 2021
b6c3a59
[AMDGPU] Test case demonstrating issues with generation of .debug_frame
RamNalamothu Jan 22, 2021
449f2f7
[PowerPC] Duplicate inherited heuristic from base scheduler
ecnelises Jan 22, 2021
bd3ca66
[Inlining] Delete redundant optnone/alwaysinline check
lxfind Jan 22, 2021
bea661d
[RISCV] Add intrinsics for RVV 1.0 vrgatherei16
arcbbb Jan 19, 2021
976cf53
[RISCV] Add intrinsics for vector unordered indexed load in RVV 1.0
arcbbb Jan 19, 2021
9667750
[RISCV] Add intrinsics for RVV1.0 VFRSQRTE7 & VFRECE7
arcbbb Jan 21, 2021
3dedad4
[AArch64][GlobalISel] Make G_USUBO legal and select it.
porglezomp Jan 22, 2021
f8f1b20
[RISCV] Don't create LMUL=8 pseudo instructions for ternary widening …
topperc Jan 22, 2021
5d35422
[RISCV] Correct DWARF number for vector registers.
Hsiangkai Jan 15, 2021
be61143
[NewPM][opt] Run the "default" AA pipeline by default
aeubanks Jan 21, 2021
c5c4dbd
[CodeGen] Use llvm::append_range (NFC)
kazutakahirata Jan 22, 2021
cfa2416
[llvm] Don't include StringSwitch.h where unnecessary (NFC)
kazutakahirata Jan 22, 2021
551aaa2
[llvm] Use isDigit (NFC)
kazutakahirata Jan 22, 2021
aee622f
[mlir] Enable passing crash reproducer stream factory method
jpienaar Jan 21, 2021
ba9b4ea
Revert "[NewPM][opt] Run the "default" AA pipeline by default"
aeubanks Jan 22, 2021
a11bf9a
[AMDGPU][Inliner] Remove amdgpu-inline and add a new TTI inline hook
aeubanks Jan 6, 2021
c042aff
[NFC] Disallow unused prefixes under llvm/test
mtrofin Jan 21, 2021
b0e8990
[ASTReader] Allow controlling separately whether validation should be…
akyrtzi Jan 21, 2021
f9b5f69
[JITLink][ELF/x86-64] Range check 32-bit relocs.
lhames Jan 22, 2021
6699029
[NewPM][opt] Run the "default" AA pipeline by default
aeubanks Jan 21, 2021
f374138
[test] Make incorrect-exit-count.ll work under NPM
aeubanks Jan 22, 2021
16d4bbe
[mlir][Linalg] Introduce linalg.pad_tensor op.
hanhanW Jan 22, 2021
2cb130f
[mlir][StandardToSPIRV] Add support for lowering uitofp to SPIR-V
hanhanW Jan 22, 2021
541d98e
[AArch64][GlobalISel] Implement widenScalar for signed overflow
porglezomp Jan 22, 2021
5660dc5
[TargetLowering] Simplify some code in SimplifySetCC that tries to ha…
topperc Jan 22, 2021
c971bcd
[AMDGPU] Test clean up (NFC)
cdevadas Jan 22, 2021
f20bb85
Update filename to workers.py file in documentation
dyung Jan 22, 2021
75f10c9
NFC: Remove simple_ilist comment mentioning ilist/iplist allocating
lanza Jan 22, 2021
c953a83
[TargetLowering] Use getBoolConstant instead of assuming zero or one …
topperc Jan 22, 2021
ff5f42e
[clang][cli] Port visibility LangOptions to marshalling system
jansvoboda11 Jan 22, 2021
4edb63b
[RISCV] Fix intrinsic CodeGen test cases for vrgather
arcbbb Jan 22, 2021
ff8a1ca
[AMDGPU] Fix the inconsistency in soffset for MUBUF stack accesses.
cdevadas Jan 15, 2021
3ccc691
Merge from 'main' to 'sycl-web' (#35)
AlexeySachkov Jan 22, 2021
3e8d1e8
[APSInt][NFC] Clean up doxygen comments
svenvh Jan 22, 2021
94660ed
Merge from 'sycl' to 'sycl-web' (#3)
Jan 22, 2021
2e080eb
[SVE] Add support for scalable vectorization of loops with selects an…
david-arm Jan 19, 2021
14eea6b
[LegacyPM] Update InversedLastUser on the fly. NFC.
jayfoad Nov 27, 2020
3b1f17c
[JITLink][ELF/x86-64] Add support for weak and hidden symbols.
lhames Jan 22, 2021
83e7a96
Fix build failure caused by 2e080eb00ad76654313e0e119bb7fa0ffe2f9866
david-arm Jan 22, 2021
5b74cc3
Merge from 'main' to 'sycl-web' (#8)
AlexeySachkov Jan 22, 2021
481659c
[X86][SSE] Add v16i8 02_20_uu_uu_uu_uu_uu_uu_uu_uu_uu_uu_uu_uu_uu_uu …
RKSimon Jan 21, 2021
636b877
[X86][SSE] Add PR48823 HSUB test case
RKSimon Jan 22, 2021
251377e
Merge from 'sycl' to 'sycl-web' (#1)
Jan 22, 2021
8214982
[AMDGPU] Implement mir parseCustomPseudoSourceValue
Flakebi Jan 21, 2021
5097413
[gn build] Port 8214982b5042
llvmgnsyncbot Jan 22, 2021
176c7f2
[IR] Optimize adding attribute to AttributeList (NFC)
nikic Jan 22, 2021
476de8c
[ARM] Add new and regenerate SSAT tests. NFC
davemgreen Jan 22, 2021
4cca222
[clangd] Add documentation for building and testing clangd
kadircet Nov 10, 2020
9ae73cd
[ARM] Adjust isSaturatingConditional to return a new SDValue. NFC
davemgreen Jan 22, 2021
ffe72f9
[X86][SSE] Don't fold shuffle(binop(),binop()) -> binop(shuffle(),shu…
RKSimon Jan 22, 2021
5dbe5d2
[DAG] Commute shuffle(splat(A,u), shuffle(C,D)) -> shuffle'(shuffle(C…
RKSimon Jan 22, 2021
def99ad
[NFC] Add CMakeUserPresets.json filename to .gitignore
steakhal Jan 22, 2021
d972d4c
Revert "[clang] Suppress "follow-up" diagnostics on recovery call exp…
hokein Jan 22, 2021
e16959c
Don't delete default constructor of PathDiagnosticConsumerOptions
MoritzS Nov 27, 2020
a0e3091
[clang][Tooling] Get rid of a hack in SymbolOccurrences, NFCI
miyuki Jan 22, 2021
b24fc16
Merge from 'main' to 'sycl-web' (#216)
AlexeySachkov Jan 22, 2021
a4914dc
[SLP] do not traverse constant uses
willir Jan 22, 2021
b1166e1
[X86][AVX] combineX86ShufflesRecursively - attempt to constant fold b…
RKSimon Jan 22, 2021
7388c34
[clangd][SwapIndex] ensure that the old index is alive while we are u…
ArcsinX Jan 22, 2021
9f4c5ca
Merge from 'sycl' to 'sycl-web' (#2)
Jan 22, 2021
60cd75a
[clangd] Inject context provider rather than config into ClangdServer…
sam-mccall Jan 20, 2021
2a8cbdd
[LTO] Add support for existing Config::Freestanding option.
fhahn Jan 22, 2021
b465455
Avoid fragile type lookups in GDB pretty printer
MoritzS Jan 11, 2021
af03324
[ARM] Disable sign extended SSAT pattern recognition.
davemgreen Jan 22, 2021
98a8344
[clang][ASTImporter] Add support for importing CXXFoldExpr.
balazske Jan 22, 2021
0895b83
[SimplifyCFG] FoldBranchToCommonDest(): don't deal with unconditional…
LebedevRI Jan 21, 2021
aabed37
[NFCI-ish][SimplifyCFG] FoldBranchToCommonDest(): really don't deal w…
LebedevRI Jan 21, 2021
256a035
[NFC][SimplifyCFG] FoldBranchToCommonDest(): unclutter Cond/CondInPre…
LebedevRI Jan 21, 2021
7b89efb
[NFC][SimplifyCFG] FoldBranchToCommonDest(): somewhat better structur…
LebedevRI Jan 21, 2021
b482560
[NFC][SimplifyCFG] FoldBranchToCommonDest(): extract check for destin…
LebedevRI Jan 21, 2021
efeb8ca
[NFC][SimplifyCFG] FoldBranchToCommonDest(): extract the actual trans…
LebedevRI Jan 21, 2021
4ed0d8f
[NFC][InstCombine] Extract freelyInvertAllUsersOf() out of canonicali…
LebedevRI Jan 22, 2021
6260490
[NFC][InstCombine] Add tests for `(~x) &/| y` --> `~(x |/& (~y))` fold
LebedevRI Jan 22, 2021
79b0d21
[InstCombine] Fold `(~x) & y` --> `~(x | (~y))` iff it is free to do so
LebedevRI Jan 22, 2021
d1a6f92
[InstCombine] Fold `(~x) | y` --> `~(x & (~y))` iff it is free to do so
LebedevRI Jan 22, 2021
d869f5a
Merge from 'main' to 'sycl-web' (#151)
AlexeySachkov Jan 22, 2021
85e7578
Revert "[NFCI-ish][SimplifyCFG] FoldBranchToCommonDest(): really don'…
LebedevRI Jan 22, 2021
9b19ecb
[libomptarget][devicertl] Drop templated atomic functions
JonChesterfield Jan 22, 2021
87b628d
[coro.async] Make sure we process async coroutines
aschwaighofer Jan 21, 2021
c8b4337
[LoopUnswitch] Add test cases with atomic loads & call
fhahn Jan 22, 2021
86991d3
[LoopUnswitch] Fix logic to avoid unswitching with atomic loads.
fhahn Jan 22, 2021
02e174e
[flang] Fix typo in error message
psteinfeld Jan 22, 2021
4846f6a
[X86][AVX] combineTargetShuffle - simplify the X86ISD::VPERM2X128 sub…
RKSimon Jan 22, 2021
c33d36e
[X86][AVX] canonicalizeLaneShuffleWithRepeatedOps - handle unary vper…
RKSimon Jan 22, 2021
bd122f6
[X86][AVX] canonicalizeLaneShuffleWithRepeatedOps - handle vperm2x128…
RKSimon Jan 22, 2021
06f8a49
[SystemZ][z/OS] Fix No such file or directory expression error
abhina-sree Jan 22, 2021
622eaa4
[HIP] Support __managed__ attribute
yxsamliu Oct 15, 2020
d8d0d5f
Merge from 'sycl' to 'sycl-web'
Jan 22, 2021
2f8ebfe
Merge from 'main' to 'sycl-web' (#2)
AlexeySachkov Jan 25, 2021
f686eb6
Merge remote-tracking branch 'otcshare_llvm/sycl-web' into llvmspirv_…
vmaksimo Jan 25, 2021
30a4e14
Print capability string instead of number in debug
svenvh Jan 19, 2021
adaf4c7
Set capabilities for BuiltIn Decorations
svenvh Jan 19, 2021
82e6293
Do not truncate subgroup return value
svenvh Jan 19, 2021
a52d3d3
[SYCL] Update clang options processing
vladimirlaz Jan 27, 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.
8 changes: 8 additions & 0 deletions .github/lockdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Configuration for Repo Lockdown - https://github.com/dessant/repo-lockdown

skipCreatedBefore: "2020-03-21"

pulls:
comment: >
This repository does not accept pull requests.
Please follow http://llvm.org/docs/Contributing.html#how-to-submit-a-patch for contribution to LLVM.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
#OS X specific files.
.DS_store

# Ignore the user specified CMake presets in subproject directories.
/*/CMakeUserPresets.json

# Nested build directory
/build*
!buildbot
Expand Down Expand Up @@ -64,3 +67,5 @@ pythonenv*
/clang/utils/analyzer/projects/*/PatchedSource
/clang/utils/analyzer/projects/*/ScanBuildResults
/clang/utils/analyzer/projects/*/RefScanBuildResults
# automodapi puts generated documentation files here.
/lldb/docs/python_api/
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void UpgradeDurationConversionsCheck::check(

if (!match(isInTemplateInstantiation(), *OuterExpr, *Result.Context)
.empty()) {
if (MatchedTemplateLocations.count(Loc.getRawEncoding()) == 0) {
if (MatchedTemplateLocations.count(Loc) == 0) {
// For each location matched in a template instantiation, we check if the
// location can also be found in `MatchedTemplateLocations`. If it is not
// found, that means the expression did not create a match without the
Expand All @@ -144,7 +144,7 @@ void UpgradeDurationConversionsCheck::check(
internal::Matcher<Stmt> IsInsideTemplate =
hasAncestor(decl(anyOf(classTemplateDecl(), functionTemplateDecl())));
if (!match(IsInsideTemplate, *ArgExpr, *Result.Context).empty())
MatchedTemplateLocations.insert(Loc.getRawEncoding());
MatchedTemplateLocations.insert(Loc);

DiagnosticBuilder Diag = diag(Loc, Message);
CharSourceRange SourceRange = Lexer::makeFileCharRange(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

#include "../ClangTidyCheck.h"

#include <unordered_set>
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/DenseSet.h"

namespace clang {
namespace tidy {
Expand All @@ -32,7 +33,7 @@ class UpgradeDurationConversionsCheck : public ClangTidyCheck {
void check(const ast_matchers::MatchFinder::MatchResult &Result) override;

private:
std::unordered_set<unsigned> MatchedTemplateLocations;
llvm::DenseSet<SourceLocation> MatchedTemplateLocations;
};

} // namespace abseil
Expand Down
1 change: 1 addition & 0 deletions clang-tools-extra/clangd/AST.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ getQualification(ASTContext &Context, const DeclContext *DestContext,
if (auto *TD = llvm::dyn_cast<TagDecl>(CurContext)) {
// There can't be any more tag parents after hitting a namespace.
assert(!ReachedNS);
(void)ReachedNS;
NNS = NestedNameSpecifier::Create(Context, nullptr, false,
TD->getTypeForDecl());
} else {
Expand Down
42 changes: 42 additions & 0 deletions clang-tools-extra/clangd/ASTSignals.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
//===--- ASTSignals.cpp ------------------------------------------*- C++-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "ASTSignals.h"
#include "AST.h"
#include "FindTarget.h"

namespace clang {
namespace clangd {
ASTSignals ASTSignals::derive(const ParsedAST &AST) {
ASTSignals Signals;
const SourceManager &SM = AST.getSourceManager();
findExplicitReferences(AST.getASTContext(), [&](ReferenceLoc Ref) {
for (const NamedDecl *ND : Ref.Targets) {
if (!isInsideMainFile(Ref.NameLoc, SM))
continue;
SymbolID ID = getSymbolID(ND);
if (!ID)
continue;
unsigned &SymbolCount = Signals.ReferencedSymbols[ID];
SymbolCount++;
// Process namespace only when we see the symbol for the first time.
if (SymbolCount != 1)
continue;
if (const auto *NSD = dyn_cast<NamespaceDecl>(ND->getDeclContext())) {
if (NSD->isAnonymousNamespace())
continue;
std::string NS = printNamespaceScope(*NSD);
if (!NS.empty())
Signals.RelatedNamespaces[NS]++;
}
}
});
return Signals;
}
} // namespace clangd
} // namespace clang
39 changes: 39 additions & 0 deletions clang-tools-extra/clangd/ASTSignals.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
//===--- ASTSignals.h --------------------------------------------*- C++-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_ASTSIGNALS_H
#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_ASTSIGNALS_H

#include "ParsedAST.h"
#include "index/SymbolID.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringMap.h"

namespace clang {
namespace clangd {

/// Signals derived from a valid AST of a file.
/// Provides information that can only be extracted from the AST to actions that
/// can't access an AST. The signals are computed and updated asynchronously by
/// the ASTWorker and thus they are always stale and also can be absent.
/// Example usage: Information about the declarations used in a file affects
/// code-completion ranking in that file.
struct ASTSignals {
/// Number of occurrences of each symbol present in the file.
llvm::DenseMap<SymbolID, unsigned> ReferencedSymbols;
/// Namespaces whose symbols are used in the file, and the number of such
/// distinct symbols.
llvm::StringMap<unsigned> RelatedNamespaces;

static ASTSignals derive(const ParsedAST &AST);
};

} // namespace clangd
} // namespace clang

#endif // LLVM_CLANG_TOOLS_EXTRA_CLANGD_ASTSIGNALS_H
1 change: 1 addition & 0 deletions clang-tools-extra/clangd/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ include_directories(BEFORE "${CMAKE_CURRENT_BINARY_DIR}/../clang-tidy")

add_clang_library(clangDaemon
AST.cpp
ASTSignals.cpp
ClangdLSPServer.cpp
ClangdServer.cpp
CodeComplete.cpp
Expand Down
6 changes: 6 additions & 0 deletions clang-tools-extra/clangd/ClangdLSPServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,12 @@ ClangdLSPServer::ClangdLSPServer(class Transport &Transp,
MsgHandler(new MessageHandler(*this)), TFS(TFS),
SupportedSymbolKinds(defaultSymbolKinds()),
SupportedCompletionItemKinds(defaultCompletionItemKinds()), Opts(Opts) {
if (Opts.ConfigProvider) {
assert(!Opts.ContextProvider &&
"Only one of ConfigProvider and ContextProvider allowed!");
this->Opts.ContextProvider = ClangdServer::createConfiguredContextProvider(
Opts.ConfigProvider, this);
}

// clang-format off
MsgHandler->bind("initialize", &ClangdLSPServer::onInitialize);
Expand Down
2 changes: 2 additions & 0 deletions clang-tools-extra/clangd/ClangdLSPServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class SymbolIndex;
class ClangdLSPServer : private ClangdServer::Callbacks {
public:
struct Options : ClangdServer::Options {
/// Supplies configuration (overrides ClangdServer::ContextProvider).
config::Provider *ConfigProvider = nullptr;
/// Look for compilation databases, rather than using compile commands
/// set via LSP (extensions) only.
bool UseDirBasedCDB = true;
Expand Down
Loading