Skip to content

[SYCL][ESIMD] Support device half type in intrinsics. #2

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

Closed
wants to merge 635 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
635 commits
Select commit Hold shift + click to select a range
31f9960
[lldb][AArch64] Add "memory tag read" command
DavidSpickett Feb 19, 2021
1ca4cf9
Update Bazel build for 929189a499
GMNGeoffrey Jun 24, 2021
6313626
[AsmParser][SystemZ][z/OS] Support for emitting labels in upper case
aniprasad Jun 24, 2021
aac4de9
[CMake] Don't LTO optimize targets on Darwin either
petrhosek May 21, 2021
03f9e04
[TargetLowering][ARM] Don't alter opaque constants in TargetLowering:…
topperc Jun 24, 2021
e13c62a
[InstSimplify][test] move tests that don't require InstCombine; NFC
rotateright Jun 24, 2021
3ba090e
[InstSimplify][test] add test for extract of splat; NFC
rotateright Jun 24, 2021
4498587
[MLIR][SCF] Inline single block ExecuteRegionOp
wsmoses Jun 24, 2021
e9a3637
Precommit tests for context senstive attribute dropping
annamthomas Jun 24, 2021
50db987
[InstSimplify] move extract with undef index fold; NFC
rotateright Jun 24, 2021
571c8c5
[AArch64][v8.3A] Avoid inserting implicit landing pads (PACI*SP)
pbarrio Jun 15, 2021
507df68
[NFC][SimplifyCFG] Revisit tail-merge-resume.ll test
LebedevRI Jun 24, 2021
3450398
[libcxx][ranges] Add contiguous_range.
zoecarver Jun 14, 2021
9824f86
[libcxx][nfc] Add one more test case for contiguous_range.
zoecarver Jun 24, 2021
652f4b5
Attempt to disable MLIR JIT tests on PowerPC to unbreak the bot
joker-eph Jun 24, 2021
d87f159
[libcxx][NFC] removes `swap`'s dependency on `swap_ranges`
cjdb Jun 23, 2021
6adbc83
[libcxx][modularisation] moves <utility> content out of <type_traits>
cjdb Jun 5, 2021
6ca730e
[gn build] Port 6adbc83ee9e4
llvmgnsyncbot Jun 24, 2021
ba032a6
[libcxx][ranges] Enable borrowed range for drop view when T has borro…
zoecarver Jun 24, 2021
46afdde
[libcxx][nfc] Update the synopsis comment in <ranges> to include drop…
zoecarver Jun 24, 2021
d064182
[SimplifyCFG] Tail-merging all blocks with `resume` terminator
LebedevRI Jun 24, 2021
3453f3d
[AMDGPU] Add gfx1035 target
aakanksha555 Jun 24, 2021
4867641
[NFC][Codegen] Autogenerate Thumb2/setjmp_longjmp.ll test
LebedevRI Jun 24, 2021
8db0dbb
[CodeGen] Don't create fake FunctionDecls when generating block/byref
ahatanaka Jun 24, 2021
b3ccf4f
[clang-format][NFC] Fix documentation
HazardyKnusperkeks Jun 24, 2021
1eda545
[BuildLibCalls/SimplifyLibCalls] Fix attributes on created CallInst …
JonPsson Jun 9, 2021
8e0ff44
[InstCombine] Make varargs cast transform compatible with opaque ptrs
nikic Jun 24, 2021
0464586
[PowerPC] Combine 64-bit bswap(load) without LDBRX
nemanjai Jun 24, 2021
a08fa8a
[Clang-Format] Add ReferenceAlignment directive
Seraphime Jun 24, 2021
7110510
[WPD] Don't optimize calls more than once
aeubanks Jun 23, 2021
4c8174f
[OpaquePtr] Introduce option to force all pointers to be opaque pointers
aeubanks Jun 24, 2021
5cb20ef
[InstCombine] Make indexed compare fold opaque ptr compatible
nikic Jun 24, 2021
f26adaa
[compiler-rt][test] fix zero_page_pc on arm64e
aralisza Jun 24, 2021
e2d4b02
[Polly][ScopInliner] Indicate if the IR has changed.
Meinersbur Jun 24, 2021
4a8503c
[lld-macho] Align all cstrings to 16 bytes when deduplicating
int3 Jun 24, 2021
2977401
[LangRef] clarify the meaning of noimplicitfloat
inglorion Jun 10, 2021
d09218a
[Hexagon] Opaquify pointer usage in GEP commoning
Jun 24, 2021
3eed57e
[ADT] Rename StringRef case insensitive methods for clarity
mstorsjo Jun 23, 2021
42f74e8
[llvm] Rename StringRef _lower() method calls to _insensitive()
mstorsjo Jun 23, 2021
e5c7c17
[clang] Rename StringRef _lower() method calls to _insensitive()
mstorsjo Jun 23, 2021
86029e4
[clang-tools-extra] Rename StringRef _lower() method calls to _insens…
mstorsjo Jun 24, 2021
3c6f8ca
[lld] Rename StringRef _lower() method calls to _insensitive()
mstorsjo Jun 24, 2021
e50f9c4
[lldb] Rename StringRef _lower() method calls to _insensitive()
mstorsjo Jun 24, 2021
9264728
[mlir] Rename StringRef _lower() method calls to _insensitive()
mstorsjo Jun 24, 2021
2e4a2b8
[ADT] Complete the StringRef case insensitive method renaming
mstorsjo Jun 23, 2021
9ca0171
[LLDB] Fix broken LLDB build due MemoryTagManager.h
omjavaid Jun 24, 2021
f1e2d58
[OptTable] Rename PrintHelp to printHelp
MaskRay Jun 24, 2021
3b4aad1
Fix typo in TestMemoryTag.py
omjavaid Jun 24, 2021
c4ca39e
[ELF] Fix .rela.llvm.call-graph-profile detection after D104080
MaskRay Jun 24, 2021
473a3a7
Disable check_qmemtags unit tests
omjavaid Jun 24, 2021
6413226
[mlir][VectorToGPU] Add conversion for splat constant to MMA const ma…
ThomasRaoux Jun 24, 2021
1a86559
[mlir][VectorToGPU] Add conversion for scf::For op with Matrix operands
ThomasRaoux Jun 24, 2021
975af86
Disable TestAArch64UnwindPAC.py for non PAC targets
omjavaid Jun 24, 2021
a1526af
[AMDGPU] Reserve AMDGPU ELF e_flags machine 0x43
t-tye Jun 24, 2021
b278794
[OpenMP][NFC] libomp: fix wrong debug assertion.
AndreyChurbanov Jun 24, 2021
744146f
[MLIR][Sparse] Refactor lattice code into its own file
gussmith23 Jun 24, 2021
dcccb2f
[PowerPC] Fix bswap combine for big endian systems
nemanjai Jun 24, 2021
f0dd6fa
Update Bazel build for 744146f60b
GMNGeoffrey Jun 24, 2021
ef90657
[PowerPC] Fix vec_add for 64-bit on pre-Power7 subtargets
nemanjai Jun 24, 2021
d6a91f6
Revert "[Clang] XFAIL sanitize-coverage-old-pm.c on 32bit Armv8l"
omjavaid Jun 24, 2021
a103402
Change the flang reshape runtime routine interface to use a result
mleair Jun 24, 2021
69d5a66
[libcxx][modularisation] splits `<utility>` into self-contained headers
cjdb Jun 9, 2021
67a8931
[gn build] Port 69d5a6662115
llvmgnsyncbot Jun 25, 2021
a435741
[scudo] Clang-format tests
vitalybuka Jun 25, 2021
a9f3ac9
Revert "[hwasan] print exact mismatch offset for short granules."
vitalybuka Jun 25, 2021
e8cded5
Unsupported sanitize-coverage-old-pm.c on 32 bit Arm
omjavaid Jun 25, 2021
f225367
[RISCV] Add vget/vset intrinsics for inserting and extracting between…
topperc Jun 24, 2021
f3ef4f5
[PowerPC] Add XL compat __compare_and_swap builtins
Jun 25, 2021
b904574
[PowerPC] Move PPCBranchSelector as close to asm printer as possible
Jun 25, 2021
8aa17d1
[lld-macho] Move ICF members from InputSection to ConcatInputSection
int3 Jun 25, 2021
1aa02b3
Revert "[BuildLibCalls/SimplifyLibCalls] Fix attributes on created C…
aeubanks Jun 25, 2021
ca3bdb5
[MC][ELF] Change SHT_LLVM_CALL_GRAPH_PROFILE relocations from SHT_REL…
MaskRay Jun 25, 2021
b36d214
[X86] Add description of FXAM instruction
spavloff Jun 23, 2021
ab1bd25
[RISCV] Permit larger RVV stacks and stack offsets
frasercrmck Jun 22, 2021
f9b3840
[ARM] Fix crash in chained BFI combine due to incorrectly RAUW'ing a …
aemerson Jun 24, 2021
d07f436
[LLD] [COFF] Fix handling of LTO comdats with nontrivial selection ty…
mstorsjo Jun 20, 2021
a08fc13
[PowerPC] Change VSRpRC allocation order
ecnelises Jun 25, 2021
536872a
[OpaquePtr] Enumerate global variable type
nikic Jun 25, 2021
18d7e82
[OpaquePtr] Enumerate alloca type
nikic Jun 25, 2021
51e434f
[AArch64] Custom lower <4 x i8> loads
Jun 24, 2021
effc333
[llvm-cov] Enforce alignment of function records
Jun 22, 2021
64f98aa
[lldb] Fix memory tag unsupported test
DavidSpickett Jun 25, 2021
7b8ed2b
[OpaquePtr] Split force-opaque-pointers test (NFC)
nikic Jun 25, 2021
7206ad0
[OpaquePtr] Allow alias to opaque pointer
nikic Jun 25, 2021
6478f3f
[SCEV] Support single-cond range check idiom in applyLoopGuards.
fhahn Jun 25, 2021
487ac0b
[lldb] Skip tests failing with GCC due to LLDB not being able to call…
Teemperor Jun 24, 2021
0adc66f
[lldb] Skip libstdc++ tests failing with GCC
Teemperor Jun 25, 2021
c3549d4
[lldb] Skip TestDataFormatterSynthVal.py with GCC as the test compiler
Teemperor Jun 25, 2021
0646e36
[Analyzer][solver] Fix crashes during symbol simplification
Jun 23, 2021
79c9827
[SLP][AArch64] Precommit test for D103629, checking <4 x i8> loads. NFC.
Jun 3, 2021
6e5c4a4
[lldb] Re-enable GDB server client memory tag read tests
DavidSpickett Jun 25, 2021
968980e
[GlobalISel] NFC: Change LLT::scalarOrVector to take ElementCount.
sdesmalen-arm Jun 25, 2021
8445dc1
[SYCL] Refactor LIT tests for diagnostics (#3956)
AlexeySachkov Jun 25, 2021
e47027d
[OpenCL] Use DW_LANG_OpenCL language tag for OpenCL C
StuartDBrady Jun 23, 2021
44c1cbc
[SYCL] Add/use is_device_copyable<> type trait class (#3905)
v-klochkov Jun 25, 2021
96f6873
[OpenMP][NFC] Drop unused headers from amdgpu plugin
JonChesterfield Jun 25, 2021
f7b1fa6
[NFC] remove unreferenced function ResolveIPV4HostName
Jun 25, 2021
2a7bb84
[flang][driver] Add `-fno-analyzed-objects-for-unparse`
banach-space Jun 4, 2021
91053e3
[LV] Reflow comment for VectorizationCostTy (NFC).
fhahn Jun 25, 2021
81fb9d2
Uplift GPU RT version for Linux to 21.23.20043 (#3930)
bb-sycl Jun 25, 2021
3193133
[OpenCL] Do not include default header for preprocessor output as input
yxsamliu Jun 23, 2021
4921ecf
[clang] Fix build failure due to _S
yxsamliu Jun 25, 2021
3aa6ca8
[clangd] Call malloc_trim in clangd-index-server periodically
kadircet Jun 24, 2021
8f2bf93
[clangd] Introduce a log-prefix flag to remote-index-server
kadircet Jun 24, 2021
c9acd2f
[GlobalISel] NFC: Change LLT::changeNumElements to LLT::changeElement…
sdesmalen-arm Jun 25, 2021
e00969c
[libc++][NFC] Rename include guard.
mordante Jun 25, 2021
c3ebb53
[flang][unittest] Add a missing dependency
banach-space Jun 25, 2021
8a9ec39
[Hexagon] Convert getTypeAlignment to return Align
Jun 25, 2021
c3cc9d1
[AMDGPU] Removed unused Predicate HasOffset3fBug. NFC.
jayfoad Jun 25, 2021
aeab9d9
[GlobalISel] NFC: Have LLT::getSizeInBits/Bytes return a TypeSize.
sdesmalen-arm Jun 25, 2021
1076b6c
[Analysis] use better version of getLibFunc to check for alloc/free c…
rotateright Jun 25, 2021
4d8156e
[lldb-vscode] Make extension contribute breakpoints use new package.j…
chrisnb Jun 25, 2021
1e6303e
[OpaquePtr] Allow globals with opaque pointer value type
nikic Jun 25, 2021
b732e6c
Revert "[GlobalISel] NFC: Have LLT::getSizeInBits/Bytes return a Type…
sdesmalen-arm Jun 25, 2021
b7f2492
[Coroutines] Remove all legacy test command
lxfind Jun 25, 2021
e15e141
[ModuloSchedule] Pass loop block explicitly to kernel rewriter.
Jun 23, 2021
fb0dbc5
[mlir][memref] Introduce UnrankedMemRefOf to tablegen definitions
Jun 25, 2021
e80a21d
[test][instcombine] Add test cases for all x.with.overflow overflow c…
preames Jun 24, 2021
9eaf0d1
[UpdateCCTestChecks] Support --check-globals
jdenny-ornl Jun 25, 2021
2cd23eb
[instcombine] Fold overflow check using umulo to comparison
preames Jun 25, 2021
d43b236
[mlir:Async] Add the size parameter to the async.group
ezhulenev Jun 23, 2021
86ad0af
[mlir:Async] Implement recursive async work splitting for scf.paralle…
ezhulenev Jun 24, 2021
cc5ee85
[LV] Doxygenize VectorizationFactor member comments (NFC).
fhahn Jun 25, 2021
9714d08
[test] Add coverage for existing overflow rule with uadd.with.overflow
preames Jun 25, 2021
fda790f
[clang] Make fewer assumptions about path to lit.site.cfg after 9eaf0…
nico Jun 25, 2021
f66b8fd
[libomptarget][amdgpu] Build openmp for two more targets
JonChesterfield Jun 25, 2021
372c182
[ESIMD] Fix a bug in CacheHint. (#3997)
kychendev Jun 25, 2021
77ae9b3
[AArch64] Extra negated shift tests. NFC
davemgreen Jun 25, 2021
cc60fa2
[UpdateCCTestChecks] Fix new test from 9eaf0d120d32
jdenny-ornl Jun 25, 2021
0f3bc00
[X86] Simplify part of the isel for X86ISD::FCMP/STRICT_FCMP/STRICT_F…
topperc Jun 25, 2021
b8c8bb0
[DAG] Fold neg(splat(neg(x)) -> splat(x)
davemgreen Jun 25, 2021
3cc5d4f
[flang] Fix generic/specific procedure confusion
klausler Jun 25, 2021
ad4bb82
[IR] Add Type::isOpaquePointerTy() helper (NFC)
nikic Jun 25, 2021
eddd662
[ESIMD][NFC] Added a comment about honoring integer promotion rules (…
DenisBakhvalov Jun 25, 2021
5854968
[libc++] Enable the rvalue overloads of operator<< and operator>> eve…
Quuxplusone Jun 15, 2021
843985c
[SYCL][{PL][L0]Changes cleanupAfterEvent not to query reset fence (#3…
kbsmith-intel Jun 25, 2021
5b2573e
[OpaquePtr] Enumerate GlobalAlias value type
nikic Jun 25, 2021
34a164c
[mlir:Async] Submit accidentally omitted changes
ezhulenev Jun 25, 2021
3638085
[Coroutines] Define __coro_frame_ty in function scope
htyu Jun 25, 2021
b267467
[SystemZ] Add support for .reloc assembler directive
uweigand Jun 25, 2021
2508733
[ELF] --sysroot: change sysrooted script to not fall back for an abso…
MaskRay Jun 25, 2021
bdb0355
[llvm-rc] Don't rewrite the arch in the default triple unless necessary
mstorsjo Jun 18, 2021
d646157
[analyzer] Fix assertion failure on code with transparent unions
SavchenkoValeriy Jun 22, 2021
4e22c72
[PowerPC] Disable combine 64-bit bswap(load) without LDBRX
nemanjai Jun 25, 2021
9ce02ea
[OpenMP] Add Module metadata for OpenMP compilation
jhuber6 Jun 24, 2021
5ccb742
[OpenMP] Change OpenMPOpt to check openmp metadata
jhuber6 Jun 24, 2021
1605593
[SimplifyLibCalls] Fix memchr opt to use CreateLogicalAnd
aqjune Jun 25, 2021
4cf7c6c
Change PathMappingList::RemapPath to return an optional result (NFC)
adrian-prantl Jun 25, 2021
c8d0d8a
[ms] [llvm-ml] Add support for ALIGN, EVEN, and ORG directives
ericastor Jun 25, 2021
8d5bf07
[NFC] Prefer ConstantRange::makeExactICmpRegion over makeAllowedICmpR…
efriedma-quic Jun 25, 2021
4eabb12
Add support for the NSMutableDictionary variant: "__NSFrozenDictionaryM"
jimingham Jun 25, 2021
ffc0533
[lldb] Use the non-locking variant of objc_copyRealizedClassList
JDevlieghere Jun 25, 2021
ad14b5b
[clang] Stop providing builtin overload candidate for relational func…
mizvekov Jun 22, 2021
557b101
[mlir][sparse] add print methods to Merger (for debugging)
aartbik Jun 25, 2021
4506f61
OpaquePtr: Reject 'ptr*' again when parsing textual IR
dexonsmith Jun 25, 2021
fdd4c19
Revert "[InstCombine] Make indexed compare fold opaque ptr compatible"
nikic Jun 25, 2021
2e9c75d
[libc] Use __builtin_ctzll instead of __builtin_ctzl in elements_x86.h.
Jun 25, 2021
45f6d55
[DFSan] Change shadow and origin memory layouts to match MSan.
browneee Jun 25, 2021
50ad347
Disable ReplaceLDS pass, patch up tests to match
JonChesterfield Jun 26, 2021
36003c2
[X86] Selecting fld0 for undefined value in fast ISEL.
LuoYuanke Jun 22, 2021
e074d58
[ms] [llvm-ml] Disable C-style comments
ericastor Jun 26, 2021
2c5f1f9
[ESIMD][NFC] Removed unused math APIs (#3968)
DenisBakhvalov Jun 26, 2021
043ce4e
[MLIR][Sparse] Move `buildLattices` into Merger
gussmith23 Jun 25, 2021
d4f4a1b
[RISCV] Add DAG combine to detect opportunities to replace (i64 (any_…
topperc Jun 25, 2021
c8f3f46
[Docs] Minor fixes with language extension docs
SaurabhJha Jun 26, 2021
779d2b0
[RISCV][NFC] Combine the control flow for different RetOp of interrup…
tclin914 Jun 26, 2021
3255db4
[clang][tests] Specify unwindlib in aix-ld tests
tbaederr Jun 25, 2021
aff57ff
[JITLink][ELF] Add generic ELFLinkGraphBuilder template.
lhames Jun 26, 2021
2b90167
[gn build] Port aff57ff24aca
llvmgnsyncbot Jun 26, 2021
7f36981
[LV] Adjust trip count based on IsOrdered in widenPHIInstruction (NFC).
fhahn Jun 26, 2021
991a88b
[ARM] Regenerate big-endian-vector-caller.ll test checks. NFC
davemgreen Jun 26, 2021
ee3b2c4
[clang-format] PR50525 doesn't handle AlignConsecutiveAssignments cor…
mydeveloperday Jun 26, 2021
37c2233
[clang-format] [PR50702] Lamdba processing does not respect AfterClas…
mydeveloperday Jun 26, 2021
8b7881a
[clang-format] Add basic support for formatting JSON
mydeveloperday Jun 26, 2021
b62de20
[gn build] Port 8b7881a084d0
llvmgnsyncbot Jun 26, 2021
8c2d462
[Verifier] Support masked load/store with opaque pointers
nikic Jun 26, 2021
2887f14
[ISel] Port AArch64 SABD and UABD to DAGCombine
davemgreen Jun 26, 2021
0f83d37
[ARM] MVE vabd
davemgreen Jun 26, 2021
81b2f95
[RISCV] Use zexti32/sexti32 in srliw/sraiw isel patterns to improve u…
topperc Jun 26, 2021
5955812
[ARM] Introduce MVETRUNC ISel lowering
davemgreen Jun 26, 2021
d6144c3
[clang] add C++ feature test macro for P2266 simpler implicit move
mizvekov Jun 26, 2021
41d8149
[ARM] Lower MVETRUNC to stack operations
davemgreen Jun 26, 2021
699d474
[Driver] do not link _p libs for -pg on FreeBSD 14 and later
emaste Jun 22, 2021
7a11235
[X86] Correct the conversion of VALIGND/Q intrinsics to shufflevector.
topperc Jun 27, 2021
d867824
[docs][llvm-strip] Fix documentation for -s/-S
Jun 27, 2021
81f6d7c
[X86] Tighten up some inline assembly constraint handling.
topperc Jun 27, 2021
0813700
[mlir][NFC] Cleanup: Move helper functions to StaticValueUtils
matthias-springer Jun 27, 2021
c19a289
llvm-dwarfdump: Print warnings on invalid DWARF
jankratochvil Jun 27, 2021
a7afaf9
Fix lld testsuite after llvm-dwarfdump now errors on invalid DWARF
jankratochvil Jun 27, 2021
0f24ffc
[lld/mac] Don't fold UNWIND_X86_64_MODE_STACK_IND unwind entries
nico Jun 26, 2021
f45eee2
[Orc][examples] LLJITWithRemoteDebugger: fix CMake when utils are not…
LittleFox94 Jun 27, 2021
7414bbe
[Analysis] improve function signature checking for calloc
rotateright Jun 25, 2021
1729d6b
[InstCombine][test] add tests for min/max intrinsics with select oper…
rotateright Jun 25, 2021
f1a6430
[VPlan] Track both incoming values for first-order recurrence phis.
fhahn Jun 27, 2021
a9129f8
[LoadStoreVectorizer] Support opaque pointers
nikic Jun 27, 2021
81fcdae
[MemCpyOpt] Support opaque pointers
nikic Jun 27, 2021
153da08
[InstCombine] hoist min/max intrinsics above select with constant op
rotateright Jun 27, 2021
f025053
[MemCpyOpt] Handle unusual memcpy element type
nikic Jun 27, 2021
e5a8f23
[clang-format] Fix the issue that empty lines being removed at the be…
darwin-x Jun 27, 2021
09ac97c
[Bazel] Update for 0813700de1
GMNGeoffrey Jun 27, 2021
f00941e
[DSE] Support opaque pointers
nikic Jun 27, 2021
010f0f0
Revert "[RISCV] Use zexti32/sexti32 in srliw/sraiw isel patterns to i…
topperc Jun 27, 2021
9aa951e
[MemCpyOpt] Preserve address space
nikic Jun 27, 2021
e817029
[DSE] Preserve address space
nikic Jun 27, 2021
4ae0ab0
[BitCode] Add noprofile to getAttrFromCode()
nathanchance Jun 27, 2021
4c92e31
[RISCV] Add tests for __builtin_parity idiom.
topperc Jun 27, 2021
b2b24b9
[SYCL][ESIMD] Amend intrinsics table to LowerESIMD.cpp (#3502)
NikitaRudenkoIntel Jun 27, 2021
887370e
[SYCL][L0] Wait for all events completion to do full cleanup (#3985)
smaslov-intel Jun 27, 2021
107bbd0
[SYCL] Move __ENABLE_USM_ADDR_SPACE__ initialization into FE (#3993)
AGindinson Jun 27, 2021
4170098
[NFC] Update tests to better work for x86 Windows host (#3996)
mdtoguchi Jun 27, 2021
1b112c8
PR37255: DebugInfo: LTO with -g inlined into -gmlt combined with Spli…
dwblaikie Jun 27, 2021
5c2ade0
PR50708: Update link to Intel SIMD ABI
dwblaikie Jun 27, 2021
3a6599b
Remove XFAIL flag from sanitize-coverage-old-pm.c
omjavaid Jun 27, 2021
8f43407
[M68k][GloballSel] Formal arguments lowering in IRTranslator
sushmaunnibhavi Jun 27, 2021
2ddca68
Tag sanitize-coverage-old-pm.c unsupported on arm 32 bit
omjavaid Jun 28, 2021
0f32d00
[LLDB] Silence warnings in cli-wrapper-mpxtable.cpp
omjavaid Jun 28, 2021
eb237ff
[PowerPC] Add XL Compat fetch builtins
Jun 28, 2021
7c73c2e
[LoopDeletion] Benefit from branches by undef conditions when symboli…
xortator Jun 28, 2021
555dfb2
Merge remote-tracking branch 'otcshare_llvm/sycl-web' into llvmspirv_…
vmaksimo Jun 28, 2021
5724776
Merge commit '7c73c2ede8088802adb8191d05cad09e3ad88539' into llvmspir…
vmaksimo Jun 28, 2021
1df6873
[SYCL] Add missing SYCL 2020 USM features (#3897)
dnmokhov Jun 28, 2021
0a54bef
[SYCL] Set local size as requested by attribute (#3920)
s-kanaev Jun 28, 2021
1aadebd
Replace assumptions during llvm.loop translation with checks
MrSidims Jun 16, 2021
d97e60f
Apply suggestion
MrSidims Jun 21, 2021
6805f21
Fix comments
MrSidims Jun 21, 2021
7944294
[sycl-post-link] Fix call graph traversal for assert property generat…
vmaksimo Jun 28, 2021
90b1ef0
Implemented SPIR-V support for loopcount attributes
Jun 21, 2021
d9ab923
Remove unncessary LLVM_FALLTHROUGH statements for empty switch cases
aratajew Jun 17, 2021
e6f027c
Fix SYCL/OpenCL vector size in DebugInfo reverse translation
Jun 23, 2021
ec624d7
Fix SPIRV-IR for group opcodes
aratajew Jun 16, 2021
d377c5c
Remove alias.scope/noalias exclusive restriction
MrSidims Jun 25, 2021
9598f11
Fix TopologicalSort memory leak
Jun 25, 2021
8f9f38b
[RFC] Improve code for IVDep backwards translation
Jun 25, 2021
2501f39
Move FPGA memory access enum definition
Jun 25, 2021
691d657
Add support of new IR pattern to transOCLBuiltinFromVariable
Fznamznon Jun 25, 2021
b21b3c3
[SYCL][NFC] Rename file and variables/methods (#4000)
elizabethandrews Jun 28, 2021
e9bec61
Emit spirv_internal.hpp include
svenvh Jun 23, 2021
2fba7e7
Sync spirv.hpp with SPIRV-Headers
svenvh Jun 23, 2021
63110f3
Regenerate *Enum.h files after spirv.hpp sync
svenvh Jun 23, 2021
b5c4b14
Fix a crash when alias metadata is attached to a call to lifetime inr…
MrSidims Jun 28, 2021
9778952
[Driver][SYCL] Allow for known aliases to be used for -fsycl-targets …
mdtoguchi Jun 28, 2021
51c747d
[SYCL] Deprecate some SYCL 1.2.1 APIs in SYCL2020 mode (#3954)
Jun 29, 2021
8f38045
Support Itanium demangling of the half precision FP type. (#3992)
kbobrovs Jun 29, 2021
e946a0f
LLVM and SPIRV-LLVM-Translator pulldown (WW27) #4006
vladimirlaz Jun 29, 2021
b3ebc62
[Driver][NFC] Update usage of array container used for triple aliases…
mdtoguchi Jun 29, 2021
fb97d21
[SYCL][PI][L0][NFC] Change std:string to const char * for ZeCallCount…
kbsmith-intel Jun 29, 2021
c56a270
[SYCL][PI][L0] Force reset of memcpy command-list. (#4001)
kbsmith-intel Jun 29, 2021
33bc8ad
[SYCL][FPGA] Restore legacy debug info version for the hardware (#3991)
MrSidims Jun 29, 2021
b4c322a
[SYCL] Allow fpga_reg only for PODs and Trivially-copyable structs (#…
ajaykumarkannan Jun 29, 2021
43b9a74
[SYCL][ESIMD] Support device half type in intrinsics.
kbobrovs Jun 24, 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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
#
# Please keep this file sorted.

<compnerd@compnerd.org> <abdulras@fb.com>
<compnerd@compnerd.org> <abdulras@google.com>
<i@maskray.me> <maskray@google.com>
<qiucofan@cn.ibm.com> <qiucf@cn.ibm.com>
<rnk@google.com> <reid@kleckner.net>
Expand All @@ -30,3 +32,4 @@ Jon Roelofs <jonathan_roelofs@apple.com> Jon Roelofs <jroelofs@jroelofs.com>
Jon Roelofs <jonathan_roelofs@apple.com> Jonathan Roelofs <jonathan@codesourcery.com>
Jon Roelofs <jonathan_roelofs@apple.com> Jonathan Roelofs <jroelofs@jroelofs.com>
Martin Storsjö <martin@martin.st>
Saleem Abdulrasool <compnerd@compnerd.org> <compnerd@compnerd.org>
6 changes: 3 additions & 3 deletions buildbot/dependency.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ ocl_cpu_rt_ver=2021.12.6.0.19
# https://github.com/intel/llvm/releases/download/2021-WW26/win-oclcpuexp-2021.12.6.0.19_rel.zip
ocl_cpu_rt_ver_win=2021.12.6.0.19
# Same GPU driver supports Level Zero and OpenCL
# https://github.com/intel/compute-runtime/releases/tag/21.19.19792
ocl_gpu_rt_ver=21.19.19792
# https://github.com/intel/compute-runtime/releases/tag/21.23.20043
ocl_gpu_rt_ver=21.23.20043
# Same GPU driver supports Level Zero and OpenCL
# https://downloadmirror.intel.com/30381/a08/igfx_win10_100.9466.zip
ocl_gpu_rt_ver_win=27.20.100.9466
Expand All @@ -30,7 +30,7 @@ ocloc_ver_win=27.20.100.9168
[DRIVER VERSIONS]
cpu_driver_lin=2021.12.6.0.19
cpu_driver_win=2021.12.6.0.19
gpu_driver_lin=21.19.19792
gpu_driver_lin=21.23.20043
gpu_driver_win=27.20.100.9466
fpga_driver_lin=2021.12.6.0.19
fpga_driver_win=2021.12.6.0.19
Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/clang-tidy/ClangTidyCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ llvm::Optional<int64_t> ClangTidyCheck::OptionsView::getEnumInt(
unsigned EditDistance = 3;
for (const auto &NameAndEnum : Mapping) {
if (IgnoreCase) {
if (Value.equals_lower(NameAndEnum.second))
if (Value.equals_insensitive(NameAndEnum.second))
return NameAndEnum.first;
} else if (Value.equals(NameAndEnum.second)) {
return NameAndEnum.first;
} else if (Value.equals_lower(NameAndEnum.second)) {
} else if (Value.equals_insensitive(NameAndEnum.second)) {
Closest = NameAndEnum.second;
EditDistance = 0;
continue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ void KernelNameRestrictionPPCallbacks::InclusionDirective(

bool KernelNameRestrictionPPCallbacks::fileNameIsRestricted(
StringRef FileName) {
return FileName.equals_lower("kernel.cl") ||
FileName.equals_lower("verilog.cl") ||
FileName.equals_lower("vhdl.cl");
return FileName.equals_insensitive("kernel.cl") ||
FileName.equals_insensitive("verilog.cl") ||
FileName.equals_insensitive("vhdl.cl");
}

void KernelNameRestrictionPPCallbacks::EndOfMainFile() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ static bool sameName(StringRef InComment, StringRef InDecl, bool StrictMode) {
return InComment == InDecl;
InComment = InComment.trim('_');
InDecl = InDecl.trim('_');
// FIXME: compare_lower only works for ASCII.
return InComment.compare_lower(InDecl) == 0;
// FIXME: compare_insensitive only works for ASCII.
return InComment.compare_insensitive(InDecl) == 0;
}

static bool looksLikeExpectMethod(const CXXMethodDecl *Expect) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void PreferMemberInitializerCheck::check(
if (S->getBeginLoc().isMacroID()) {
StringRef MacroName = Lexer::getImmediateMacroName(
S->getBeginLoc(), *Result.SourceManager, getLangOpts());
if (MacroName.contains_lower("assert"))
if (MacroName.contains_insensitive("assert"))
return;
}
if (isControlStatement(S))
Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/clang-tidy/misc/StaticAssertCheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ void StaticAssertCheck::check(const MatchFinder::MatchResult &Result) {

StringRef FalseMacroName =
Lexer::getImmediateMacroName(FalseLiteralLoc, SM, Opts);
if (FalseMacroName.compare_lower("false") == 0 ||
FalseMacroName.compare_lower("null") == 0)
if (FalseMacroName.compare_insensitive("false") == 0 ||
FalseMacroName.compare_insensitive("null") == 0)
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ bool nameMatch(StringRef L, StringRef R, bool Strict) {
return L.empty() || R.empty() || L == R;
// We allow two names if one is a prefix/suffix of the other, ignoring case.
// Important special case: this is true if either parameter has no name!
return L.startswith_lower(R) || R.startswith_lower(L) ||
L.endswith_lower(R) || R.endswith_lower(L);
return L.startswith_insensitive(R) || R.startswith_insensitive(L) ||
L.endswith_insensitive(R) || R.endswith_insensitive(L);
}

DifferingParamsContainer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ getNewSuffix(llvm::StringRef OldSuffix,
// Else, find matching suffix, case-*insensitive*ly.
auto NewSuffix = llvm::find_if(
NewSuffixes, [OldSuffix](const std::string &PotentialNewSuffix) {
return OldSuffix.equals_lower(PotentialNewSuffix);
return OldSuffix.equals_insensitive(PotentialNewSuffix);
});
// Have a match, return it.
if (NewSuffix != NewSuffixes.end())
Expand Down
10 changes: 9 additions & 1 deletion clang-tools-extra/clangd/CodeComplete.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Error.h"
Expand Down Expand Up @@ -1679,7 +1680,7 @@ class CodeCompleteFlow {
C.SemaResult->Kind == CodeCompletionResult::RK_Macro) ||
(C.IndexResult &&
C.IndexResult->SymInfo.Kind == index::SymbolKind::Macro)) &&
!C.Name.startswith_lower(Filter->pattern()))
!C.Name.startswith_insensitive(Filter->pattern()))
return None;
return Filter->match(C.Name);
}
Expand Down Expand Up @@ -1910,6 +1911,13 @@ bool isIndexedForCodeCompletion(const NamedDecl &ND, ASTContext &ASTCtx) {
if (isExplicitTemplateSpecialization(&ND))
return false;

// Category decls are not useful on their own outside the interface or
// implementation blocks. Moreover, sema already provides completion for
// these, even if it requires preamble deserialization. So by excluding them
// from the index, we reduce the noise in all the other completion scopes.
if (llvm::isa<ObjCCategoryDecl>(&ND) || llvm::isa<ObjCCategoryImplDecl>(&ND))
return false;

if (InTopLevelScope(ND))
return true;

Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/clangd/CompileCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ enum DriverMode : unsigned char {
DriverMode getDriverMode(const std::vector<std::string> &Args) {
DriverMode Mode = DM_GCC;
llvm::StringRef Argv0 = Args.front();
if (Argv0.endswith_lower(".exe"))
if (Argv0.endswith_insensitive(".exe"))
Argv0 = Argv0.drop_back(strlen(".exe"));
if (Argv0.endswith_lower("cl"))
if (Argv0.endswith_insensitive("cl"))
Mode = DM_CL;
for (const llvm::StringRef Arg : Args) {
if (Arg == "--driver-mode=cl") {
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clangd/ConfigYAML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class Parser {

void parse(Fragment::IndexBlock::ExternalBlock &F,
Located<std::string> ExternalVal) {
if (!llvm::StringRef(*ExternalVal).equals_lower("none")) {
if (!llvm::StringRef(*ExternalVal).equals_insensitive("none")) {
error("Only scalar value supported for External is 'None'",
ExternalVal.Range);
return;
Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/clangd/HeaderSourceSwitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ llvm::Optional<Path> getCorrespondingHeaderOrSource(
// Lookup in a list of known extensions.
auto SourceIter =
llvm::find_if(SourceExtensions, [&PathExt](PathRef SourceExt) {
return SourceExt.equals_lower(PathExt);
return SourceExt.equals_insensitive(PathExt);
});
bool IsSource = SourceIter != std::end(SourceExtensions);

auto HeaderIter =
llvm::find_if(HeaderExtensions, [&PathExt](PathRef HeaderExt) {
return HeaderExt.equals_lower(PathExt);
return HeaderExt.equals_insensitive(PathExt);
});
bool IsHeader = HeaderIter != std::end(HeaderExtensions);

Expand Down
6 changes: 3 additions & 3 deletions clang-tools-extra/clangd/InlayHints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ class InlayHintVisitor : public RecursiveASTVisitor<InlayHintVisitor> {
return false;

StringRef Name = getSimpleName(*Callee);
if (!Name.startswith_lower("set"))
if (!Name.startswith_insensitive("set"))
return false;

// In addition to checking that the function has one parameter and its
Expand All @@ -168,10 +168,10 @@ class InlayHintVisitor : public RecursiveASTVisitor<InlayHintVisitor> {
// This currently doesn't handle cases where params use snake_case
// and functions don't, e.g.
// void setExceptionHandler(EHFunc exception_handler);
// We could improve this by replacing `equals_lower` with some
// We could improve this by replacing `equals_insensitive` with some
// `sloppy_equals` which ignores case and also skips underscores.
StringRef WhatItIsSetting = Name.substr(3).ltrim("_");
return WhatItIsSetting.equals_lower(ParamNames[0]);
return WhatItIsSetting.equals_insensitive(ParamNames[0]);
}

bool shouldHint(const Expr *Arg, StringRef ParamName) {
Expand Down
4 changes: 2 additions & 2 deletions clang-tools-extra/clangd/Quality.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ static llvm::Optional<llvm::StringRef>
wordMatching(llvm::StringRef Name, const llvm::StringSet<> *ContextWords) {
if (ContextWords)
for (const auto &Word : ContextWords->keys())
if (Name.contains_lower(Word))
if (Name.contains_insensitive(Word))
return Word;
return llvm::None;
}
Expand Down Expand Up @@ -552,7 +552,7 @@ evaluateDecisionForest(const SymbolQualitySignals &Quality,
int NumMatch = 0;
if (Relevance.ContextWords) {
for (const auto &Word : Relevance.ContextWords->keys()) {
if (Relevance.Name.contains_lower(Word)) {
if (Relevance.Name.contains_insensitive(Word)) {
++NumMatch;
}
}
Expand Down
3 changes: 2 additions & 1 deletion clang-tools-extra/clangd/index/SymbolCollector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ class SymbolCollector::HeaderFileURICache {
Line = Line.ltrim();
if (!Line.startswith("error"))
return false;
return Line.contains_lower("includ"); // Matches "include" or "including".
return Line.contains_insensitive(
"includ"); // Matches "include" or "including".
}

// Heuristically headers that only want to be included via an umbrella.
Expand Down
80 changes: 63 additions & 17 deletions clang-tools-extra/clangd/index/remote/server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,18 @@
#include <grpc++/grpc++.h>
#include <grpc++/health_check_service_interface.h>
#include <memory>
#include <string>
#include <thread>
#include <utility>

#if ENABLE_GRPC_REFLECTION
#include <grpc++/ext/proto_server_reflection_plugin.h>
#endif

#ifdef __GLIBC__
#include <malloc.h>
#endif

namespace clang {
namespace clangd {
namespace remote {
Expand Down Expand Up @@ -74,6 +80,12 @@ llvm::cl::opt<bool> LogPublic{
llvm::cl::init(false),
};

llvm::cl::opt<std::string> LogPrefix{
"log-prefix",
llvm::cl::desc("A string that'll be prepended to all log statements. "
"Useful when running multiple instances on same host."),
};

llvm::cl::opt<std::string> TraceFile(
"trace-file",
llvm::cl::desc("Path to the file where tracer logs will be stored"));
Expand Down Expand Up @@ -354,12 +366,25 @@ class Monitor final : public v1::Monitor::Service {
std::atomic<llvm::sys::TimePoint<>> IndexBuildTime;
};

void maybeTrimMemory() {
#if defined(__GLIBC__) && CLANGD_MALLOC_TRIM
malloc_trim(0);
#endif
}

// Detect changes in \p IndexPath file and load new versions of the index
// whenever they become available.
void hotReload(clangd::SwapIndex &Index, llvm::StringRef IndexPath,
llvm::vfs::Status &LastStatus,
llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> &FS,
Monitor &Monitor) {
// glibc malloc doesn't shrink an arena if there are items living at the end,
// which might happen since we destroy the old index after building new one.
// Trim more aggresively to keep memory usage of the server low.
// Note that we do it deliberately here rather than after Index.reset(),
// because old index might still be kept alive after the reset call if we are
// serving requests.
maybeTrimMemory();
auto Status = FS->status(IndexPath);
// Requested file is same as loaded index: no reload is needed.
if (!Status || (Status->getLastModificationTime() ==
Expand Down Expand Up @@ -410,27 +435,48 @@ void runServerAndWait(clangd::SymbolIndex &Index, llvm::StringRef ServerAddress,
ServerShutdownWatcher.join();
}

std::unique_ptr<Logger> makeLogger(llvm::raw_ostream &OS) {
if (!LogPublic)
return std::make_unique<StreamLogger>(OS, LogLevel);
// Redacted mode:
// - messages outside the scope of a request: log fully
// - messages tagged [public]: log fully
// - errors: log the format string
// - others: drop
class RedactedLogger : public StreamLogger {
std::unique_ptr<Logger> makeLogger(llvm::StringRef LogPrefix,
llvm::raw_ostream &OS) {
std::unique_ptr<Logger> Base;
if (LogPublic) {
// Redacted mode:
// - messages outside the scope of a request: log fully
// - messages tagged [public]: log fully
// - errors: log the format string
// - others: drop
class RedactedLogger : public StreamLogger {
public:
using StreamLogger::StreamLogger;
void log(Level L, const char *Fmt,
const llvm::formatv_object_base &Message) override {
if (Context::current().get(CurrentRequest) == nullptr ||
llvm::StringRef(Fmt).startswith("[public]"))
return StreamLogger::log(L, Fmt, Message);
if (L >= Error)
return StreamLogger::log(L, Fmt,
llvm::formatv("[redacted] {0}", Fmt));
}
};
Base = std::make_unique<RedactedLogger>(OS, LogLevel);
} else {
Base = std::make_unique<StreamLogger>(OS, LogLevel);
}

if (LogPrefix.empty())
return Base;
class PrefixedLogger : public Logger {
std::string LogPrefix;
std::unique_ptr<Logger> Base;

public:
using StreamLogger::StreamLogger;
PrefixedLogger(llvm::StringRef LogPrefix, std::unique_ptr<Logger> Base)
: LogPrefix(LogPrefix.str()), Base(std::move(Base)) {}
void log(Level L, const char *Fmt,
const llvm::formatv_object_base &Message) override {
if (Context::current().get(CurrentRequest) == nullptr ||
llvm::StringRef(Fmt).startswith("[public]"))
return StreamLogger::log(L, Fmt, Message);
if (L >= Error)
return StreamLogger::log(L, Fmt, llvm::formatv("[redacted] {0}", Fmt));
Base->log(L, Fmt, llvm::formatv("[{0}] {1}", LogPrefix, Message));
}
};
return std::make_unique<RedactedLogger>(OS, LogLevel);
return std::make_unique<PrefixedLogger>(LogPrefix, std::move(Base));
}

} // namespace
Expand All @@ -454,7 +500,7 @@ int main(int argc, char *argv[]) {
llvm::errs().SetBuffered();
// Don't flush stdout when logging for thread safety.
llvm::errs().tie(nullptr);
auto Logger = makeLogger(llvm::errs());
auto Logger = makeLogger(LogPrefix.getValue(), llvm::errs());
clang::clangd::LoggingSession LoggingSession(*Logger);

llvm::Optional<llvm::raw_fd_ostream> TracerStream;
Expand Down
2 changes: 1 addition & 1 deletion clang-tools-extra/clangd/support/Path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace clangd {

#ifdef CLANGD_PATH_CASE_INSENSITIVE
std::string maybeCaseFoldPath(PathRef Path) { return Path.lower(); }
bool pathEqual(PathRef A, PathRef B) { return A.equals_lower(B); }
bool pathEqual(PathRef A, PathRef B) { return A.equals_insensitive(B); }
#else // NOT CLANGD_PATH_CASE_INSENSITIVE
std::string maybeCaseFoldPath(PathRef Path) { return Path.str(); }
bool pathEqual(PathRef A, PathRef B) { return A == B; }
Expand Down
18 changes: 18 additions & 0 deletions clang-tools-extra/clangd/test/remote-index/log-prefix.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# RUN: rm -rf %t
# RUN: clangd-indexer %S/Inputs/Source.cpp > %t.idx
# RUN: %python %S/pipeline_helper.py --input-file-name=%s --server-arg=--log=verbose --server-arg=-log-prefix=test-prefix --server-log=%t.log --project-root=%S --index-file=%t.idx > /dev/null
# RUN: FileCheck %s < %t.log
# REQUIRES: clangd-remote-index

# CHECK: [test-prefix] Server listening on
{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":123,"rootPath":"clangd","capabilities":{},"trace":"off"}}
---
{"jsonrpc":"2.0","id":1,"method":"workspace/symbol","params":{"query":"gFoo"}}
# CHECK: [test-prefix] <<< FuzzyFindRequest
# CHECK: [test-prefix] >>> FuzzyFindReply
# CHECK: [test-prefix] [public] request v1/FuzzyFind
---
{"jsonrpc":"2.0","id":4,"method":"shutdown"}
---
{"jsonrpc":"2.0","method":"exit"}

Loading