Skip to content

LLVM and SPIRV-LLVM-Translator pulldown (WW42) #2628

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 327 commits into from
Oct 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
327 commits
Select commit Hold shift + click to select a range
567462b
[flang] Correct kP scaling on F output
klausler Sep 30, 2020
e00f189
[InstCombine] Revert rL226781 "Teach InstCombine to canonicalize load…
LebedevRI Oct 5, 2020
1b31b50
[MLIR][SPIRV] Extend _reference_of to support SpecConstantCompositeOp.
ergawy Oct 5, 2020
6bec45e
[SVE] Add legalisation tests to sve-fixed-length-int-reduce.ll
Oct 5, 2020
9afb1c5
Revert "Outline non returning functions unless a longjmp"
vedantk Oct 5, 2020
27e1cc6
Cleanup CodeGen/CallingConvLower.cpp
MaskRay Oct 5, 2020
1127662
[SelectionDAG] Make sure FMF are propagated when getSetcc canonicaliz…
topperc Oct 5, 2020
4da4e7c
[X86] Remove X86ISD::LCMPXCHG8_SAVE_EBX_DAG and LCMPXCHG8B_SAVE_EBX p…
topperc Oct 5, 2020
e426ae2
[libcxx][dsl] Fix mutable default argument warning
arichardson Oct 5, 2020
69f8740
[OpenMP][Archer][Tests] NFC: fix spurious test failure
jprotze Oct 5, 2020
a4b842e
Show register names in DWARF unwind info.
clayborg Oct 3, 2020
be66987
Fix raciness in the StopHook check for "has the target run".
jimingham Oct 2, 2020
2ea8fec
[libc++] Improve tests for std::quoted
ldionne Oct 5, 2020
b268e24
[NFC][regalloc] Separate iteration from AllocationOrder
mtrofin Sep 24, 2020
a48d480
[RISCV] Fix broken test
ebahapo Oct 6, 2020
ea9d639
Fix reordering of instructions during VirtRegRewriter unbundling
perlfu Oct 6, 2020
c3e07a0
[AMDGPU] SIInsertSkips: Refactor early exit block creation
perlfu Oct 6, 2020
36bb1fb
[MLInliner] Factor out logging
mtrofin Oct 3, 2020
d4e08c9
[NewPM] Set -enable-npm-optnone to true by default
aeubanks Sep 17, 2020
ebf6fd6
Make OpenMP tests less brittle in the face of changes in constant
zygoloid Oct 6, 2020
ded79be
[c++17] Implement P0145R3 during constant evaluation.
zygoloid Oct 6, 2020
f22496a
[dotest] Simplify logic to find the Python path
JDevlieghere Oct 5, 2020
b988898
[GVN LoadPRE] Extend the scope of optimization by using context to pr…
Oct 2, 2020
2a078c3
[AttributeFuncs] Consider `align` in `typeIncompatible`
jdoerfert Sep 8, 2020
ef48436
[AttributeFuncs] Consider `noundef` in `typeIncompatible`
jdoerfert Sep 8, 2020
01baeda
[JITLink][ELF] Handle BSS sections, improve some error messages.
lhames Oct 6, 2020
848342b
[AttributeFuncs][FIX] Update new tests (D87304) after sret changes
jdoerfert Oct 6, 2020
bbb0ee6
Revert "[SCEV] Prove implicaitons via AddRec start"
xortator Oct 6, 2020
ee599bf
[AttributeFuncs][FIX] Update new tests (D87304, D87306) after sret ch…
jdoerfert Oct 6, 2020
70d9dc8
[AST][RecoveryExpr] Support dependent binary operator in C for error …
hokein Oct 6, 2020
4ed47d5
[SVE][CodeGen] Fix DAGCombiner::ForwardStoreValueToDirectLoad for sca…
david-arm Sep 3, 2020
ce4d15f
[lldb] Symlink the Clang resource directory to the LLDB build directo…
Teemperor Oct 6, 2020
3dffec0
[LLDB] Add QEMU testing environment setup guide for SVE testing
omjavaid Oct 6, 2020
25692b7
[flang][NFC] Remove redundant `;`
banach-space Oct 6, 2020
4a8c70c
[mlir][Linalg] Reintroduced missing verification check
nicolasvasilache Oct 6, 2020
77d3b14
[clangd] Fix an inconsistent ReasonToReject enum usage, NFC.
hokein Oct 6, 2020
b81bedf
[MLIR][SPIRVToLLVM] Conversion for composite extract and insert
georgemitenkov Oct 6, 2020
9fc535f
[AMDGPU] Fix gcc warnings
Flakebi Oct 6, 2020
48a82c4
[clangd] Verify the diagnostic code in include-fixer diagnostic tests…
hokein Oct 5, 2020
f1ceaa2
[llvm-readobj/elf][test] - Stop using precompiled binaries in mips-go…
Sep 30, 2020
cef0de5
[VPlan] Add vplan native path vectorization test case for inner loop …
Kazhuu Oct 6, 2020
8ed7946
Revert "[llvm-objcopy][MachO] Add missing std::move."
gribozavr Oct 6, 2020
80f66ac
Revert "[llvm-objcopy][MachO] Add support for universal binaries"
gribozavr Oct 6, 2020
fe2bd54
[mlir] Add file to implement bufferization for shape ops.
tpopp Sep 22, 2020
3a12ff0
[OpenMP][RTL] Remove dead code
pdhaliwal-amd Oct 5, 2020
8bb702a
[SVE] Lower fixed length vector floating point rounding operations.
paulwalker-arm Oct 1, 2020
27f3d51
[SVE] Lower fixed length vector fneg and fsqrt operations.
paulwalker-arm Oct 1, 2020
3cb1220
[clangd] Add `score` extension to workspace/symbol response.
sam-mccall Oct 5, 2020
f0a78bd
[AArch64] Correct parameter type for unsigned Neon scalar shift intri…
DavidSpickett Sep 21, 2020
04f908b
[libcxx][lit] Add support for custom ssh/scp flags in ssh.py
arichardson Oct 6, 2020
c08d48f
[Statepoints] Change statepoint machine instr format to better suit V…
dantrushin Sep 4, 2020
315970d
[llvm-objcopy][MachO] Add support for universal binaries
Oct 6, 2020
d6c9dc3
[clang-tidy] Remove obsolete checker google-runtime-references
Oct 6, 2020
95429b8
[gn build] Port d6c9dc3c17e
llvmgnsyncbot Oct 6, 2020
7bbb65b
[llvm-objcopy][NFC] fix style issues reported by clang-format.
avl-llvm Oct 6, 2020
0b402e9
[InstCombine] FoldShiftByConstant - remove unnecessary cast<>. NFC.
RKSimon Oct 6, 2020
21100f8
[InstCombine] FoldShiftByConstant - use PatternMatch for logicalshift…
RKSimon Oct 6, 2020
a825eaa
[lldb] [Platform] Move common ::DebugProcess() to PlatformPOSIX
mgorny Oct 5, 2020
5588dbc
[SystemZAsmParser] Treat VR128 separately in ParseDirectiveInsn().
JonPsson Oct 6, 2020
8fa45e1
Convert diagnostics about multi-character literals from extension to …
cychen2021 Oct 6, 2020
d8ee28b
[mlir][Linalg] Extend buffer allocation to support Linalg init tensors
nicolasvasilache Oct 6, 2020
e2452f5
[AMDGPU][MC] Added detection of unsupported instructions
dpreobra Oct 6, 2020
68e002e
[ARM] Fold select_cc(vecreduce_[u|s][min|max], x) into VMINV or VMAXV
SamTebbs33 Sep 23, 2020
8a3cbb1
[clangd] Add basic keyword-name-validation in rename.
hokein Oct 6, 2020
75d33a3
[InstCombine] FoldShiftByConstant - consistently use ConstantExpr in …
RKSimon Oct 6, 2020
17b9a91
[InstCombine] canRewriteGEPAsOffset - don't dereference a dyn_cast<>.…
RKSimon Oct 6, 2020
37c74df
Revert "[c++17] Implement P0145R3 during constant evaluation."
gribozavr Oct 6, 2020
b3876ef
Silence -Wunused-variable in NDEBUG mode
gribozavr Oct 6, 2020
66e4f07
Add ability to turn off -fpch-instantiate-templates in clang-cl
shivanshu3 Oct 6, 2020
957094e
[Attributor][NFC] Ignore benign uses in AAMemoryBehaviorFloating
jdoerfert Sep 7, 2020
04f6951
[Attributor][FIX] Dead return values are not `noundef`
jdoerfert Sep 9, 2020
4a7a988
[Attributor][FIX] Move assertion to make it not trivially fail
jdoerfert Sep 9, 2020
61d4b34
[test][NewPM] Make dead-uses.ll work under NPM
aeubanks Sep 22, 2020
8df17b4
[test][InstCombine][NewPM] Fix InstCombine tests under NPM
aeubanks Sep 23, 2020
40251fe
[BPF][NewPM] Make BPFTargetMachine properly adjust NPM optimizer pipe…
aeubanks Oct 5, 2020
aa2b593
[HIP] Restructure hip headers to add cmath
aaronenyeshi Oct 1, 2020
260892d
[gn build] Port aa2b593f149
llvmgnsyncbot Oct 6, 2020
86429c4
[SimplifyLibCalls] Optimize mempcpy_chk to mempcpy
davidbolvansky Oct 5, 2020
4209356
[HIP] NFC properly reference Differential Revision
aaronenyeshi Oct 6, 2020
8d2a0c1
[HIP] NFC Add comments to cmath functions
aaronenyeshi Oct 6, 2020
43c7dc5
[X86] .code16: temporarily set Mode32Bit when matching an instruction…
MaskRay Oct 6, 2020
281de8f
[libc++] Allow retries in two flaky tests
ldionne Oct 6, 2020
3cb8347
[APIntTest] Extend extractBits to check 'lshr+trunc' pattern for each…
RKSimon Oct 6, 2020
53bf28b
[flang] Track CHARACTER length better in TypeAndShape
klausler Oct 1, 2020
f78bb4d
[libc++] Check _LIBCPP_USE_CLOCK_GETTIME before using clock_gettime
abidh Oct 5, 2020
80cde02
[MemCpyOpt] Add separate statistic for call slot optimization (NFC)
nikic Oct 6, 2020
6b441ca
[MemCpyOpt] Check for throwing calls during call slot optimization
nikic Oct 4, 2020
616f545
[MemCpyOpt] Use dereferenceable pointer helper
nikic Oct 4, 2020
b426421
[AMDGPU] Remove SIInstrInfo::calculateLDSSpillAddress
Flakebi Oct 6, 2020
6c7d713
[X86][SSE] combineX86ShuffleChain add 'CanonicalizeShuffleInput' help…
RKSimon Oct 6, 2020
c781dc7
[SystemZ][z/OS] Set default alignment rules for z/OS target
fanbo-meng Oct 6, 2020
acce6b6
[AMDGPU] Create isGFX9Plus utility function
rampitec Oct 6, 2020
92e83af
[mlir][vector] Fold extractOp coming from broadcastOp
ThomasRaoux Oct 6, 2020
e4a9e4e
[AMDGPU] Emit correct kernel descriptor on big-endian hosts
slinder1 Oct 5, 2020
c9f1c50
[mlir][spirv] Fix extended insts deserialization generation
Oct 6, 2020
a3adcba
[mlir][Linalg] Implement tiling on tensors
nicolasvasilache Oct 6, 2020
43cd0a9
[SystemZ][z/OS] Set default alignment rules for z/OS target
fanbo-meng Oct 6, 2020
0f82940
[NFC][flang] Add the header file Todo.h. This file is being upstreame…
schweitzpgi Oct 6, 2020
bf5c1d9
[AMDGPU] Fix remaining kernel descriptor test
slinder1 Oct 6, 2020
6e557bc
[mlir][spirv] Add Vector to SPIR-V conversion pass
ThomasRaoux Oct 6, 2020
d85b845
[NFC][MC] Type uses of MCRegUnitIterator as MCRegister
mtrofin Oct 5, 2020
00d3e6c
[c++17] Implement P0145R3 during constant evaluation.
zygoloid Oct 6, 2020
370b788
[libc++] Add a script to setup CI on macOS nodes
ldionne Oct 6, 2020
d3d790f
Revert [lit] Support running tests on Windows without GnuWin32
aganea Oct 6, 2020
5a305f8
Remove unneeded "allow-unregistered-dialect" from shape-type-conversi…
joker-eph Oct 6, 2020
c6c67f6
[mlir] [sparse] convenience runtime support to read Matrix Market format
aartbik Oct 6, 2020
9eff07a
[libc++] Add assert to check bounds in `constexpr string_view::operat…
Oct 6, 2020
4540d66
[CMake] Track TSan's dependency on C++ headers
petrhosek Oct 6, 2020
4d1d8ae
Replace shadow space zero-out by madvise at mmap
stephan-yichao-zhao Oct 5, 2020
7193f72
docs: Emphasize ArrayRef over SmallVectorImpl
dexonsmith Oct 6, 2020
b45b516
[RuntimeDyld][COFF] Report fatal error on error, rather than emiting …
lhames Oct 6, 2020
5e4409f
Fix out-of-tree clang build due to sysexits change
airlied Oct 6, 2020
7060920
Relax FuseTensorReshapeOpAsproducer identity mapping constraint
asaadaldien Oct 6, 2020
dfa70a4
[gn build] manually port 5e4409f308177
nico Oct 6, 2020
e3b0414
[lldb] Change the xcrun (fallback) logic in GetXcodeSDK
JDevlieghere Oct 6, 2020
3f540c0
[Attributor] Give up early on AANoReturn::initialize
jdoerfert Sep 8, 2020
c4cfe7a
[Attributor] Ignore read accesses to constant memory
jdoerfert Sep 9, 2020
7993d61
[Attributor] Use smarter way to determine alignment of GEPs
jdoerfert Sep 13, 2020
2f40e20
[flang][openacc] Fix device_num and device_type clauses for init dire…
clementval Oct 7, 2020
d2c61d2
[CodeGen][TailDuplicator] Don't duplicate blocks with INLINEASM_BR
isanbard Oct 7, 2020
0492dd9
[PowerPC] add more builtins for PPCTargetLowering::getTgtMemIntrinsic
Sep 27, 2020
f056087
[PowerPC] implement target hook getTgtMemIntrinsic
Sep 27, 2020
ed46e84
[MachineInstr] exclude call instruction in mayAlias
Oct 7, 2020
5a3f6bf
Reapply "[OpenMP][FIX] Verify compatible types for declare variant ca…
jdoerfert Sep 29, 2020
0c009e0
[Test] Add test showing that we can avoid inserting trunc/zext
xortator Oct 7, 2020
edd71db
BPF: avoid duplicated globals for CORE relocations
yonghong-song Oct 7, 2020
7fa503e
[SROA] rewritePartition()/findCommonType(): if uses have conflicting …
LebedevRI Oct 7, 2020
0fcacef
[lldb] Format unix signal table (NFC)
JDevlieghere Oct 7, 2020
fba42ae
[NFC] Use getZero instead of getConstant(0)
xortator Oct 7, 2020
53b3873
[Support][unittests] Enforce alignment in ConvertUTFTest
rorth Oct 7, 2020
334ec6f
[AST][RecoveryExpr] Support dependent conditional operators in C for …
hokein Oct 7, 2020
31dc908
[clang] Use isCompoundAssignmentOp to simplify the code, NFC.
hokein Oct 7, 2020
f24649b
[clangd] Don't set the Underlying bit on targets of UsingDecls.
hokein Oct 7, 2020
872d72e
[mlir][NFC] Style cleanup in comments
tpopp Oct 7, 2020
85a6f8f
[Test] Add one more test where we can avoid creating trunc
xortator Oct 7, 2020
1aa8e6a
[SDag] SimplifyDemandedBits: simplify to FP constant if all bits known
jayfoad Sep 30, 2020
20cfd5f
[LAA] Add test for PR47751, which currently uses wrong bounds.
fhahn Oct 7, 2020
6625892
[ARM] Regenerate vldlane tests
RKSimon Oct 7, 2020
dce03e3
[InstCombine] Tweak funnel by constant tests for better shl/lshr comm…
RKSimon Oct 7, 2020
f71f5f3
[AMDGPU] Implement hardware bug workaround for image instructions
rdomingu Apr 3, 2020
fed0f89
InstCombine: Negator: don't rely on complexity sorting already being …
LebedevRI Oct 7, 2020
6e6a5ac
[LLD] [MinGW] Move an option definitions to alphabetical order, wrap …
mstorsjo Oct 6, 2020
7b5dfb4
[mlir] Add support for diagnostics in C API.
ftynse Oct 7, 2020
602c193
[libc++] Make sure __clear_and_shrink() maintains string invariants
ldionne Oct 5, 2020
ce1365f
[libc++] Add a CMake option to control whether the debug mode is supp…
ldionne Oct 6, 2020
029290f
[lldb/docs] Clarify python/swig version incompatibility
labath Oct 6, 2020
3dfb949
[lldb] Check for and use ptsname_r if available
labath Oct 2, 2020
62d4ee5
[libc++] Use the existing CMake caches when running build bots
ldionne Oct 7, 2020
4a7e762
[AMDGPU][MC] Improved diagnostics for instructions with missing features
dpreobra Oct 7, 2020
55a60af
[llvm-readelf] - Implement --addrsig option.
Oct 5, 2020
8231176
[obj2yaml] - Rename `Group` to `GroupSection`. NFC.
Oct 6, 2020
149dc94
[mlir] fix the types used during the generation of the kernel param a…
gysit Oct 7, 2020
4cae622
[ADT] function_ref's constructor is unavailable if the argument is no…
sam-mccall Oct 6, 2020
fbce456
[gn build] (manually) port ce1365f8f7e
nico Oct 7, 2020
281703e
Revert "[ADT] function_ref's constructor is unavailable if the argume…
sam-mccall Oct 7, 2020
fc819b6
[AMDGPU] Use @LINE for error checking in gfx10.3 assembler tests
jayfoad Oct 7, 2020
333b2ab
[SVE] Lower fixed length VECREDUCE_OR operation
Oct 7, 2020
528057c
[AMDGPU] Support disassembly for AMDGPU kernel descriptors
Oct 7, 2020
bcd8422
[clangd] Fix argument type (bool->float).
gislan Oct 7, 2020
63dead2
Introduce subtraction for FlatAffineConstraints
Superty Oct 7, 2020
9908ee5
[SystemZ][z/OS] Add test of zero length bitfield type size larger tha…
fanbo-meng Oct 7, 2020
ddf1864
BPF: add AdjustOpt IR pass to generate verifier friendly codes
yonghong-song Aug 6, 2020
d6af25e
[gn build] Port ddf1864ace4
llvmgnsyncbot Oct 7, 2020
14d5ee6
[Tests] Precommit test showing gap around load forwarding of vectors …
preames Oct 7, 2020
bef27e5
[NFC][InstCombine] Autogenerate a few tests being affected by upcomin…
LebedevRI Oct 7, 2020
7a01fc5
[MemCpyOpt] Add additional callslot test cases (NFC)
nikic Oct 6, 2020
0a3c82e
[clang-format][NFC] Store FormatToken::Type as an enum instead of bit…
arichardson Oct 7, 2020
ff6e444
[clang-format][tests] Fix MacroExpander lexer not parsing C++ keywords
arichardson Oct 7, 2020
b953a01
Reapply [ADT] function_ref's constructor is unavailable if the argume…
sam-mccall Oct 7, 2020
91a98ec
[json] Provide a means to delegate writing a value to another API
dsandersllvm Oct 6, 2020
3bba91f
[WebAssembly] Rename Emscripten EH functions
aheejin Sep 28, 2020
4aa2171
[mlir][CAPI] Attribute set/remove on operations.
stellaraccident Oct 7, 2020
19bc894
[NFC] Add contributors names to CREDITS.TXT
fanbo-meng Oct 7, 2020
322d0af
[llvm][mlir] Promote the experimental reduction intrinsics to be firs…
aemerson Oct 3, 2020
69daa36
[clangd] Disambiguate overloads of std::move for header insertion.
sam-mccall Oct 6, 2020
e72cfd9
Rename the VECREDUCE_STRICT_{FADD,FMUL} SDNodes to VECREDUCE_SEQ_{FAD…
aemerson Oct 4, 2020
7361ce7
[AMDGPU] Use default zero flag operands in flat scratch
rampitec Oct 6, 2020
a73166a
[LAA] Use DL to get element size for bound computation.
fhahn Oct 7, 2020
dd2f79e
[test][MC] Use %python in llvm/test/MC/COFF/bigobj.py
playstation-edd Oct 7, 2020
45014ce
[AMDGPU] Add tied operand to d16 scratch loads
rampitec Oct 6, 2020
c1247f0
[mlir] Fix build after 322d0afd875df66b36e4810a2b95c20a8f22ab9b due t…
aemerson Oct 7, 2020
42d9143
[CodeGen][X86] Cleanup labels on some sse/avx intrinsics tests. NFCI.
RKSimon Oct 7, 2020
e9af30c
Fix Wdocumentation warnings due to case mismatch. NFCI.
RKSimon Oct 7, 2020
0328005
Fix MSVC "not all control paths return a value" warning. NFCI.
RKSimon Oct 7, 2020
42ffba0
Add a clarifying a comment on CastInst::isNoopCast
preames Oct 7, 2020
9c09e20
[clangd] Add a NewName optional parameter to clangdServer::prepareRen…
hokein Oct 7, 2020
ea274be
Add REQUIRES: x86-registered-target to test as it was failing on buil…
dyung Oct 7, 2020
a85e43e
Remove D80713.diff added in 528057c19755ad842052fba3a42dcbf7deafc6de
Oct 7, 2020
fe0197e
[InstCombine] Add checks for and(logicalshift(zext(x),undef),y) cases
RKSimon Oct 7, 2020
365ef49
[SVE] Add legalisation tests to sve-fixed-length-fp-reduce.ll
Oct 7, 2020
34cd06a
[BasicBlockSections] Make sure that the labels for address-taken bloc…
rlavaee Oct 7, 2020
ac2018d
[NFC][MLInliner] Getters should return by reference
mtrofin Oct 7, 2020
ef8b4e4
Add validity assert on entry to CastInst::isNoopCast [NFC]
preames Oct 7, 2020
4065a0d
[mlir] [sparse] Rename getSparseMatrix to getMatrix
aartbik Oct 7, 2020
40a2454
Add regular expressions to and DWARF Call Frame Information tests in …
clayborg Oct 7, 2020
da48fe1
[NPM] Port strip nonlinetable debuginfo pass to the new pass manager
rnk Oct 2, 2020
940d7aa
Port StripGCRelocates pass to NPM
rnk Oct 2, 2020
88afb6e
[flang] Semantic checks for bad usage of whole assumed-size arrays
klausler Oct 1, 2020
297655c
[NFC][regalloc] Use MCRegister instead of unsigned in InterferenceCache
mtrofin Oct 6, 2020
bd5fe7b
[M680x0] Add google/benchmark's CycleTimer support for M68K
mshockwave Oct 6, 2020
81b11c9
Fix a macOS build break caused by 3dfb94986170.
jimingham Oct 7, 2020
8da0df3
[libc++] Remove unused includes of Availability.h
ldionne Oct 7, 2020
d56fdc8
[flang][msvc] Avoid dependence on long double
klausler Oct 2, 2020
4d5b1de
[sanitizer] Skip stack symbolization when not required for print format
teresajohnson Sep 26, 2020
c102488
Add test for disabling Dead Virtual Function Elimination
ddcc Sep 26, 2020
68e1a8d
[X86] Defer the creation of LCMPXCHG16B_SAVE_RBX until finalize-isel
topperc Oct 7, 2020
35cb45c
[ImplicitNullChecks] Support complex addressing mode
annamthomas Sep 24, 2020
80ef412
[libcxx] Use runtime rather then compile-time glibc version check
petrhosek Sep 23, 2020
d9881e6
[IRMover] Avoid materializing global value that belongs to not-yet-li…
Oct 8, 2020
93db4a8
Remove unused variables
GMNGeoffrey Oct 8, 2020
dc3dba7
[X86] Move findDeadCallerSavedReg() into X86RegisterInfo
scottconstable Oct 8, 2020
ad4313f
[X86] Fix bug in -mlvi-cfi that may clobber a live register
scottconstable Oct 8, 2020
3161172
BPF: fix incorrect DAG2DAG load optimization
yonghong-song Oct 7, 2020
a4961f0
Revert "[Support][unittests] Enforce alignment in ConvertUTFTest"
nico Oct 8, 2020
6dcbea8
[NewPM] Use PassInstrumentation for -verify-each
aeubanks Sep 22, 2020
a5ef2e0
Return "[SCEV] Prove implicaitons via AddRec start"
xortator Oct 8, 2020
b4ffc40
Update documentation and implementation of stage3 build
Oct 7, 2020
9b2b327
[LLD] [ELF] Fix up a comment regarding the --wrap option. NFC.
mstorsjo Oct 6, 2020
9b58b0c
[LLD] Ignore ELF tests when ld.lld defaults to MinGW
mati865 Oct 8, 2020
81b4f33
[ARM] Replace llvm.experimental.vector.reduce.smax with llvm.vector.r…
davemgreen Oct 8, 2020
498f89d
[LV] Collect dead induction truncates
davemgreen Oct 8, 2020
ba268d2
[clangd] Fix a typo, NFC.
hokein Oct 8, 2020
a96bcfb
[AST][RecoveryExpr] Support dependent cast-expr in C for error-recovery.
hokein Oct 8, 2020
380087e
[AMDGPU] Add test with redundant copies to temporary stack slot produ…
mbrkusanin Oct 6, 2020
7c88d13
[AMDGPU] Prefer SplitVectorLoad/Store over expandUnalignedLoad/Store
mbrkusanin Oct 6, 2020
e7cf723
[mlir] Added strides check to rank reducing subview verification
limo1996 Oct 8, 2020
8e9622f
[cmake] Fix cmake warning in standalone compiler-rt builds.
goussepi Oct 8, 2020
568035a
[llvm-readobj] Add --coff-tls-directory flag to print TLS Directory &…
luqmana Oct 8, 2020
9824d5c
[Test] Add test showing that we fail to eliminate implied exit condit…
xortator Oct 8, 2020
3578945
[llvm-readobj][test] - Improve testing in hash-table.test
Oct 5, 2020
cc83dc1
Import llvm::StringSwitch into mlir namespace.
chsigg Oct 7, 2020
aa47962
[InstCombine] canNarrowShiftAmt - replace custom Constant matching wi…
RKSimon Oct 8, 2020
c1fd430
[mlir] Add basic support for dynamic tensor results in TensorToBuffer…
pifon2a Oct 8, 2020
e1d4ca0
[InstCombine] matchRotate - add support for matching general funnel s…
RKSimon Oct 8, 2020
7d01bb8
[llvm-objdump] Ensure we consistently use the llvm::stable_sort wrapp…
RKSimon Oct 8, 2020
38348fa
AArch64: treat MC expressions as 2s complement arithmetic.
TNorthover Sep 22, 2020
1e75668
[AMDGPU][MC][GFX1030] Disabled v_mac_f32
dpreobra Oct 8, 2020
06758c6
[DebugInfo] Improve dbg preservation in LSR.
markuslavin Oct 8, 2020
70bf350
[Driver] Add output file to properties of Command
spavloff Apr 23, 2020
2b6902c
Merge from 'sycl' to 'sycl-web'
Oct 10, 2020
afda5ef
Merge from 'master' to 'sycl-web' (#74)
vmaksimo Oct 12, 2020
62ed1de
Merge remote-tracking branch 'otcshare_llvm/sycl-web' into llvmspirv_…
vmaksimo Oct 12, 2020
47d007e
Refactor OCLBuiltinFuncMangleInfo
AlexeySachkov Oct 5, 2020
05b4cda
Add llvm.abs.i32 translation (#758)
MochalovaAn Oct 7, 2020
5cd55b4
Fix IVDep translation for accesses to kernel closure fields
Oct 4, 2020
afa5592
Add llvm.ctpop* intrinsic translation
MochalovaAn Oct 8, 2020
9c26b47
Add nearbyint support (#774)
fadeeval Oct 9, 2020
d8d8bb5
Add ReadNone attr for Builtin functions (#768)
fadeeval Oct 12, 2020
b8e0e3c
Implementing VectorComputeCallableFunctionINTEL decoration
DmitryBushev Oct 8, 2020
97d7eec
Translate the llvm.fshl intrinsic function
Oct 20, 2020
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
  •  
  •  
  •  
1 change: 0 additions & 1 deletion clang-tools-extra/clang-tidy/google/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ add_clang_library(clangTidyGoogleModule
GlobalVariableDeclarationCheck.cpp
GoogleTidyModule.cpp
IntegerTypesCheck.cpp
NonConstReferences.cpp
OverloadedUnaryAndCheck.cpp
TodoCommentCheck.cpp
UnnamedNamespaceInHeaderCheck.cpp
Expand Down
3 changes: 0 additions & 3 deletions clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "GlobalNamesInHeadersCheck.h"
#include "GlobalVariableDeclarationCheck.h"
#include "IntegerTypesCheck.h"
#include "NonConstReferences.h"
#include "OverloadedUnaryAndCheck.h"
#include "TodoCommentCheck.h"
#include "UnnamedNamespaceInHeaderCheck.h"
Expand Down Expand Up @@ -63,8 +62,6 @@ class GoogleModule : public ClangTidyModule {
"google-runtime-int");
CheckFactories.registerCheck<runtime::OverloadedUnaryAndCheck>(
"google-runtime-operator");
CheckFactories.registerCheck<runtime::NonConstReferences>(
"google-runtime-references");
CheckFactories
.registerCheck<readability::AvoidUnderscoreInGoogletestNameCheck>(
"google-readability-avoid-underscore-in-googletest-name");
Expand Down
148 changes: 0 additions & 148 deletions clang-tools-extra/clang-tidy/google/NonConstReferences.cpp

This file was deleted.

41 changes: 0 additions & 41 deletions clang-tools-extra/clang-tidy/google/NonConstReferences.h

This file was deleted.

3 changes: 2 additions & 1 deletion clang-tools-extra/clangd/ClangdLSPServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,8 @@ void ClangdLSPServer::onWorkspaceSymbol(
void ClangdLSPServer::onPrepareRename(const TextDocumentPositionParams &Params,
Callback<llvm::Optional<Range>> Reply) {
Server->prepareRename(
Params.textDocument.uri.file(), Params.position, Opts.Rename,
Params.textDocument.uri.file(), Params.position, /*NewName*/ llvm::None,
Opts.Rename,
[Reply = std::move(Reply)](llvm::Expected<RenameResult> Result) mutable {
if (!Result)
return Reply(Result.takeError());
Expand Down
10 changes: 6 additions & 4 deletions clang-tools-extra/clangd/ClangdServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,11 @@ void ClangdServer::formatOnType(PathRef File, llvm::StringRef Code,
}

void ClangdServer::prepareRename(PathRef File, Position Pos,
llvm::Optional<std::string> NewName,
const RenameOptions &RenameOpts,
Callback<RenameResult> CB) {
auto Action = [Pos, File = File.str(), CB = std::move(CB), RenameOpts,
auto Action = [Pos, File = File.str(), CB = std::move(CB),
NewName = std::move(NewName), RenameOpts,
this](llvm::Expected<InputsAndAST> InpAST) mutable {
if (!InpAST)
return CB(InpAST.takeError());
Expand All @@ -412,9 +414,9 @@ void ClangdServer::prepareRename(PathRef File, Position Pos,
// - for cross-file rename, we deliberately pass a nullptr index to save
// the cost, thus the result may be incomplete as it only contains
// main-file occurrences;
auto Results = clangd::rename({Pos, /*NewName*/ "", InpAST->AST, File,
RenameOpts.AllowCrossFile ? nullptr : Index,
RenameOpts});
auto Results = clangd::rename(
{Pos, NewName.getValueOr("__clangd_rename_dummy"), InpAST->AST, File,
RenameOpts.AllowCrossFile ? nullptr : Index, RenameOpts});
if (!Results) {
// LSP says to return null on failure, but that will result in a generic
// failure message. If we send an LSP error response, clients can surface
Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/clangd/ClangdServer.h
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,9 @@ class ClangdServer {

/// Test the validity of a rename operation.
///
/// The returned result describes edits in the main-file only (all
/// occurrences of the renamed symbol are simply deleted.
/// If NewName is provided, it performs a name validation.
void prepareRename(PathRef File, Position Pos,
llvm::Optional<std::string> NewName,
const RenameOptions &RenameOpts,
Callback<RenameResult> CB);

Expand Down
15 changes: 9 additions & 6 deletions clang-tools-extra/clangd/FindSymbols.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,13 @@ getWorkspaceSymbols(llvm::StringRef Query, int Limit,
return;
}

SymbolKind SK = indexSymbolKindToSymbolKind(Sym.SymInfo.Kind);
std::string Scope = std::string(Sym.Scope);
llvm::StringRef ScopeRef = Scope;
ScopeRef.consume_back("::");
SymbolInformation Info = {(Sym.Name + Sym.TemplateSpecializationArgs).str(),
SK, *Loc, std::string(ScopeRef)};
llvm::StringRef Scope = Sym.Scope;
Scope.consume_back("::");
SymbolInformation Info;
Info.name = (Sym.Name + Sym.TemplateSpecializationArgs).str();
Info.kind = indexSymbolKindToSymbolKind(Sym.SymInfo.Kind);
Info.location = *Loc;
Info.containerName = Scope.str();

SymbolQualitySignals Quality;
Quality.merge(Sym);
Expand All @@ -121,6 +122,8 @@ getWorkspaceSymbols(llvm::StringRef Query, int Limit,
dlog("FindSymbols: {0}{1} = {2}\n{3}{4}\n", Sym.Scope, Sym.Name, Score,
Quality, Relevance);

// Exposed score excludes fuzzy-match component, for client-side re-ranking.
Info.score = Score / Relevance.NameMatch;
Top.push({Score, std::move(Info)});
});
for (auto &R : std::move(Top).items())
Expand Down
6 changes: 3 additions & 3 deletions clang-tools-extra/clangd/FindTarget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,9 @@ struct TargetFinder {
add(TND->getUnderlyingType(), Flags | Rel::Underlying);
Flags |= Rel::Alias; // continue with the alias.
} else if (const UsingDecl *UD = dyn_cast<UsingDecl>(D)) {
// no Underlying as this is a non-renaming alias.
for (const UsingShadowDecl *S : UD->shadows())
add(S->getUnderlyingDecl(), Flags | Rel::Underlying);
add(S->getUnderlyingDecl(), Flags);
Flags |= Rel::Alias; // continue with the alias.
} else if (const auto *NAD = dyn_cast<NamespaceAliasDecl>(D)) {
add(NAD->getUnderlyingDecl(), Flags | Rel::Underlying);
Expand All @@ -354,7 +355,7 @@ struct TargetFinder {
UUVD->getQualifier()->getAsType(),
[UUVD](ASTContext &) { return UUVD->getNameInfo().getName(); },
ValueFilter)) {
add(Target, Flags | Rel::Underlying);
add(Target, Flags); // no Underlying as this is a non-renaming alias
}
Flags |= Rel::Alias; // continue with the alias
} else if (const UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D)) {
Expand All @@ -364,7 +365,6 @@ struct TargetFinder {
// Shadow decls are synthetic and not themselves interesting.
// Record the underlying decl instead, if allowed.
D = USD->getTargetDecl();
Flags |= Rel::Underlying; // continue with the underlying decl.
} else if (const auto *DG = dyn_cast<CXXDeductionGuideDecl>(D)) {
D = DG->getDeducedTemplate();
} else if (const ObjCImplementationDecl *IID =
Expand Down
15 changes: 11 additions & 4 deletions clang-tools-extra/clangd/FindTarget.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,20 @@ enum class DeclRelation : unsigned {
TemplatePattern,

// Alias options apply when the declaration is an alias.
// e.g. namespace clang { [[StringRef]] S; }
// e.g. namespace client { [[X]] x; }

/// This declaration is an alias that was referred to.
/// e.g. using llvm::StringRef (the UsingDecl directly referenced).
/// e.g. using ns::X (the UsingDecl directly referenced),
/// using Z = ns::Y (the TypeAliasDecl directly referenced)
Alias,
/// This is the underlying declaration for an alias, decltype etc.
/// e.g. class llvm::StringRef (the underlying declaration referenced).
/// This is the underlying declaration for a renaming-alias, decltype etc.
/// e.g. class ns::Y (the underlying declaration referenced).
///
/// Note that we don't treat `using ns::X` as a first-class declaration like
/// `using Z = ns::Y`. Therefore reference to X that goes through this
/// using-decl is considered a direct reference (without the Underlying bit).
/// Nevertheless, we report `using ns::X` as an Alias, so that some features
/// like go-to-definition can still target it.
Underlying,
};
llvm::raw_ostream &operator<<(llvm::raw_ostream &, DeclRelation);
Expand Down
5 changes: 4 additions & 1 deletion clang-tools-extra/clangd/Protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -662,12 +662,15 @@ bool fromJSON(const llvm::json::Value &Params, ExecuteCommandParams &R,
}

llvm::json::Value toJSON(const SymbolInformation &P) {
return llvm::json::Object{
llvm::json::Object O{
{"name", P.name},
{"kind", static_cast<int>(P.kind)},
{"location", P.location},
{"containerName", P.containerName},
};
if (P.score)
O["score"] = *P.score;
return std::move(O);
}

llvm::raw_ostream &operator<<(llvm::raw_ostream &O,
Expand Down
18 changes: 13 additions & 5 deletions clang-tools-extra/clangd/Protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -1015,6 +1015,14 @@ struct SymbolInformation {

/// The name of the symbol containing this symbol.
std::string containerName;

/// The score that clangd calculates to rank the returned symbols.
/// This excludes the fuzzy-matching score between `name` and the query.
/// (Specifically, the last ::-separated component).
/// This can be used to re-rank results as the user types, using client-side
/// fuzzy-matching (that score should be multiplied with this one).
/// This is a clangd extension, set only for workspace/symbol responses.
llvm::Optional<float> score;
};
llvm::json::Value toJSON(const SymbolInformation &);
llvm::raw_ostream &operator<<(llvm::raw_ostream &, const SymbolInformation &);
Expand Down Expand Up @@ -1175,11 +1183,11 @@ struct CompletionItem {
/// Indicates if this item is deprecated.
bool deprecated = false;

/// This is Clangd extension.
/// The score that Clangd calculates to rank completion items. This score can
/// be used to adjust the ranking on the client side.
/// NOTE: This excludes fuzzy matching score which is typically calculated on
/// the client side.
/// The score that clangd calculates to rank the returned completions.
/// This excludes the fuzzy-match between `filterText` and the partial word.
/// This can be used to re-rank results as the user types, using client-side
/// fuzzy-matching (that score should be multiplied with this one).
/// This is a clangd extension.
float score = 0.f;

// TODO: Add custom commitCharacters for some of the completion items. For
Expand Down
Loading