Skip to content

[SYCL] Fix wrong except. raising for ALLOWLIST #2719

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 491 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
491 commits
Select commit Hold shift + click to select a range
0f91038
Revert "[JITLink][ELF] Add support for ELF::R_X86_64_REX_GOTPCRELX re…
lhames Oct 23, 2020
310a8e1
[llvm-objcopy][NFC] Extract arg parsing logic into a helper function
keith Oct 23, 2020
13edfcc
[DebugInfo] Clear subreg in setDebugValueUndef()
dstenb Oct 22, 2020
7a78073
[ARM][SchedModels] Let ldm* instruction scheduling use MCSchedPredicate
eleviant Oct 23, 2020
ffc0f57
[llvm-mca] Add test for cortex-a57 NEON instructions
eleviant Oct 23, 2020
2415636
[SVE]Clarify TypeSize comparisons in llvm/lib/Transforms
CarolineConcatto Oct 16, 2020
86a480e
[AMDGPU] Add simplification/combines for llvm.amdgcn.fmul.legacy
jayfoad Oct 6, 2020
342040b
[lld][ELF][test] Add additional test coverage for LTO
jh7370 Oct 20, 2020
fea067b
[mem2reg] Remove dbg.values describing contents of dead allocas
OCHyams Oct 23, 2020
ff87c4d
[mlir] Fix exiting OpPatternRewriteDriver::simplifyLocally after firs…
chsigg Oct 23, 2020
0d1d363
[MLIR] Added PromoteBuffersToStackPass to convert heap- to stack-base…
dfki-jugr Oct 19, 2020
ab93e71
[DebugInstrRef] NFC: Separate collection of machine/variable values
jmorse Oct 23, 2020
dae7b10
[lldb] Split out NetBSD/x86 watchpoint impl for unification
mgorny Oct 22, 2020
0fcc6f7
[AArch64] Implement getIntrinsicInstrCost, handle min/max intrinsics.
fhahn Oct 23, 2020
cb86522
[ARM][SchedModels] Convert IsR1P0AndLaterPred to MCSchedPredicate. NFC
eleviant Oct 23, 2020
936ef89
[X86] lowerShuffleWithPERMV - use MVT::changeTypeToInteger helper. NFCI.
RKSimon Oct 23, 2020
19a13bf
[InstCombine] Rename InstCombinerImpl::matchBSwap to matchBSwapOrBitR…
RKSimon Oct 23, 2020
1cab3bf
[InstCombine] matchBSwapOrBitReverse - expose bswap/bitreverse matchi…
RKSimon Oct 23, 2020
448f25c
[mlir] Expose affine expression to C API
zhanghb97 Oct 21, 2020
748ecc6
[ValueTracking] add range limits for ctpop
rotateright Oct 23, 2020
55a2dee
[clang-tidy] Fix redefinition of module in the same module.modulemap …
Oct 21, 2020
421a2a0
[clangd] Migrate to proto2 syntax
kirillbobyrev Oct 23, 2020
81f7b2a
[CMake] generate_grpc_protos -> generate_protos(... GRPC). NFC
sam-mccall Oct 23, 2020
2d25004
[CMake] Fix hardcoding of protobuf output basename. NFC
sam-mccall Oct 23, 2020
e6c4d88
[clangd] NFC: Add using directives to avoid spelling out llvm::sys::path
kirillbobyrev Oct 23, 2020
9bcb437
[InstSimplify] add tests for ctlz constant range; NFC
rotateright Oct 23, 2020
0351bd9
[InstSimplify] add tests for cttz constant range; NFC
rotateright Oct 23, 2020
3fb0d6b
[ValueTracking] add range limits for ctlz
rotateright Oct 23, 2020
c721980
[ValueTracking] add range limits for cttz
rotateright Oct 23, 2020
e6c1c3f
[clang] Split remote index service definition into a separate file.
sam-mccall Oct 23, 2020
6d83e3b
[MLIR] Extract buffer alias analysis for reuse
frgossen Oct 23, 2020
c6561cc
[PowerPC][LLD] Support for PC Relative TLS for Local Dynamic
stefanp-synopsys Oct 23, 2020
ce63383
[clangd] Drop version from remote index proto names, fix clangd-index…
sam-mccall Oct 23, 2020
1e0b6c1
[LSR] ignore profitable chain when reg num is not major cost.
Oct 21, 2020
48e4b0f
[runtimes] Revert the libc++ __config_site change
ldionne Oct 23, 2020
13aff21
[gn build] port 48e4b0f (__config_site revert)
nico Oct 23, 2020
68f4715
[DebugInstrRef] Convert DBG_INSTR_REFs into variable locations
jmorse Oct 23, 2020
b651ecf
[llvm-mca] Extend cortex-a57 memory instructions test
eleviant Oct 23, 2020
8039b3f
[MLIR] Fix bad merge with buffer alias analysis.
frgossen Oct 23, 2020
f55eeea
Export TemplateArgumentMatcher so clients defining custom matchers do…
davidvancleve Oct 23, 2020
676ff75
[flang][openacc] Fix semantic check for wait and atomic directives
clementval Oct 23, 2020
d619964
AMDGPU: Increase branch size estimate with offset bug
arsenm Oct 23, 2020
8a59d4b
AMDGPU: Don't query for TII in TII
arsenm Oct 22, 2020
876af26
[TableGen] Change !getop and !setop to !getdagop and !setdagop.
Oct 20, 2020
9e7667e
[InstCombine] Add initial bitreverse test coverage
RKSimon Oct 23, 2020
61d1847
[InstCombine] Add 8/16/32/64 bitreverse test coverage
RKSimon Oct 23, 2020
a6ad077
[InstCombine] Add i8 bitreverse by multiplication test patterns
RKSimon Oct 23, 2020
1d32844
[flang][OpenMP] Upstream lowering of `ParallelOp` clauses
SouraVX Oct 20, 2020
a74fc48
CfgInterface: rename interface() to getInterface()
nhaehnle Oct 23, 2020
4f7ee55
Revert "[Statepoints] Allow deopt GC pointer on VReg if gc-live bundl…
dantrushin Oct 23, 2020
958130d
[AMDGPU] Add simplification/combines for llvm.amdgcn.fma.legacy
jayfoad Oct 23, 2020
b1b2c6a
[DebugInstrRef] Handle DBG_INSTR_REFs use-before-defs in LiveDebugValues
jmorse Oct 23, 2020
e7d3774
[flang][OpenMP] Upstream lowering of OpenMP `Flush` construct
SouraVX Oct 23, 2020
69e2797
[WebAssembly] Implementation of (most) table instructions
pmatos Oct 23, 2020
5dd3992
[clangd] Fix remote-server build and add it to check-clangd
kadircet Oct 23, 2020
00255f4
[AMDGPU] Fix access beyond the end of the basic block in execMayBeMod…
vpykhtin Oct 14, 2020
24a1fe7
[gn build] Port 00255f41929
llvmgnsyncbot Oct 23, 2020
7a74bb8
[PowerPC] Fix the Predicates for enabling pcrelative-memops and PLXVP…
VictorHuangIBM Oct 23, 2020
74a8783
SourceManager: Clarify that FileInfo always has a ContentCache, NFC
dexonsmith Oct 16, 2020
1e113c0
[AArch64][SVE] Fix umin/umax lowering to handle out of range imm.
huihzhang Oct 23, 2020
996a8b4
Re-apply "[JITLink][ELF] Add support for ELF::R_X86_64_REX_GOTPCRELX …
lhames Oct 23, 2020
dc98923
Added utility to launch tests on a target remotely.
orlov-alex Oct 23, 2020
5668eda
Revert "[CGSCC] Detect devirtualization in more cases"
aeubanks Oct 23, 2020
dbbc4f4
SourceManager: Encapsulate line number mapping into SrcMgr::LineOffse…
dexonsmith Oct 21, 2020
9df832d
These compiler-rt tests should be UNSUPPORTED instead of XFAIL.
orlov-alex Oct 23, 2020
de346cf
[lldb] Redesign Target::GetUtilityFunctionForLanguage API
JDevlieghere Oct 23, 2020
65d2064
[CUDA] Improve clang's ability to detect recent CUDA versions.
Artem-B Oct 19, 2020
e7fe125
[CUDA] Extract CUDA version from cuda.h if version.txt is not found
Artem-B Oct 20, 2020
bf44d36
[gn build] Port dbbc4f4e226
llvmgnsyncbot Oct 23, 2020
0f0fd38
[AArch64][GlobalISel] Introduce a new post-isel optimization pass.
aemerson Oct 14, 2020
5431c37
SourceManager: Make LastLineNoContentCache and ContentCache::SourceLi…
dexonsmith Oct 21, 2020
2b8fb51
[MLInliner] Disable always inliner in bounds tests
mtrofin Oct 23, 2020
9267cae
[ELF] Don't error on R_PPC64_REL24/R_PPC64_REL24_NOTOC referencing __…
MaskRay Oct 23, 2020
1253c40
[mlir] Add FuncOp::eraseResults
silvasean Oct 23, 2020
dd887d9
[PhiValues] Use SetVector to avoid non-determinism
nikic Oct 22, 2020
edb2791
[PowerPC] Add intrinsics for MMA
Oct 13, 2020
819044a
[NFC] Use [MC]Register in RegAllocGreedy
mtrofin Oct 22, 2020
1b65a51
[BasicAA] Add additional phi cycle test (NFC)
nikic Oct 23, 2020
b67a2ae
[MemProf] XFAIL test on avr until issue can be debugged
teresajohnson Oct 23, 2020
1602c6f
[AIX][cmake] Adjust management of `-G` for linking
hubert-reinterpretcast Oct 23, 2020
2e64ad9
[AMDGPU] Fixed isLegalRegOperand() with physregs
rampitec Oct 23, 2020
05bef88
[AIX] Let alloca return 16 bytes alignment
xling-liao Oct 23, 2020
a4459fe
[lldb] Fix use of undefined type 'lldb_private::UtilityFunction'
JDevlieghere Oct 23, 2020
b7926ce
[IR] add fn attr for no_stack_protector; prevent inlining on mismatch
nickdesaulniers Oct 23, 2020
cf52a85
SourceManager: Simplify by inlining what remains of ComputeLineNumber…
dexonsmith Oct 22, 2020
4b90a25
[gn build] Add missing comma
aeubanks Oct 23, 2020
8c72eea
[mlir][vector] Add folding for ExtractOp with ShapeCastOp source
ThomasRaoux Oct 23, 2020
2f8dd26
[libc++] Refactor the run-buildbot script to make it more modular, an…
ldionne Oct 23, 2020
bfb04ae
Unconditionally #include <future>
GMNGeoffrey Oct 23, 2020
ea6a60a
[mlir][vector] Add folder for ExtractStridedSliceOp
ThomasRaoux Oct 23, 2020
cb9f6c4
[libc++] Clean up unused CI files
ldionne Oct 23, 2020
73811d3
[lldb] Move copying of files into reproducer out of process
JDevlieghere Oct 23, 2020
089c1cc
[AArch64] Add vector compare/select cost-model tests.
fhahn Oct 23, 2020
9f4b888
[libc++] NFC: Remove unused includes from the test suite
ldionne Oct 15, 2020
b16f632
[mlir] Link with pthreads in AsyncRuntime
ezhulenev Oct 22, 2020
9497e2e
Fix shared build. NFC.
darkbuck Oct 23, 2020
3827eff
[Asan][Windows] Fix asan stack traces on Windows.
amykhuang Oct 23, 2020
2b7dfdd
Fix typo in diagnostic name.
zygoloid Oct 23, 2020
b22e2e4
Remove global dialect registration
joker-eph Oct 23, 2020
b6204b9
[mlir][Vector] Introduce UnrollVectorOptions to control vector unroll…
Oct 23, 2020
b6b589c
[flang] An erroneous type bound procedure was causing a call to CHECK()
psteinfeld Oct 23, 2020
6ec2c5e
GC-parseable element atomic memcpy/memmove
arpilipe Oct 2, 2020
f98bb41
Add a mlir natvis file for debugging with Visual Studio
kile0 Oct 23, 2020
a1cc274
[SVE] Lower fixed length VECREDUCE_SEQ_FADD operation
Oct 23, 2020
6a72635
Revert "Remove global dialect registration"
joker-eph Oct 23, 2020
cb9b984
PR47954 / DR2126: permit temporary objects that are lifetime-extended by
zygoloid Oct 23, 2020
fe9a7d9
[RISCV] Use the commercial name for scheduling model (NFC)
Oct 8, 2020
71e1a56
[CodeGen] Emit destructor calls to destruct non-trivial C struct
ahatanaka Oct 23, 2020
77cbf25
[llvm-install-name-tool] Add -prepend_rpath option
keith Oct 23, 2020
245d71b
[test] Simplify pr33641_remove_arg_dbgvalue.ll
aeubanks Oct 21, 2020
ba22c40
[Inliner][NPM] Properly pass callee AAResults
aeubanks Oct 16, 2020
baffd05
[StructurizeCFG][NewPM] Port -structurizecfg to NPM
aeubanks Oct 8, 2020
eeba325
[MemProf] Attempt to debug avr bot failure
teresajohnson Oct 23, 2020
dc62d5e
[libFuzzer] Added -print_full_coverage flag.
Dor1s Oct 23, 2020
1b5baa4
[Hexagon] Handle selection between HVX vector predicates
Oct 23, 2020
7fddda6
Merge from 'sycl' to 'sycl-web'
Oct 23, 2020
ccca93b
Don't allow structured binding declarations to decompose a
zygoloid Oct 23, 2020
48d8af9
[intel-pt] Disable/Enable tracing to guarantee the trace is correct
walter-erquinigo Oct 23, 2020
035a6b9
Fix a few warnings from GCC (NFC)
joker-eph Oct 24, 2020
3a4b832
Topologically sort the library to link to mlir-cpu-runner which is re…
joker-eph Oct 24, 2020
e702123
Remove global dialect registration
joker-eph Oct 23, 2020
8f492f6
Remove unused verifyRegStateMapping() function in RegAllocFast (NFC)
joker-eph Oct 24, 2020
a16cbdd
[AutoFDO] Remove a broken assert in merging inlinee samples
htyu Oct 23, 2020
81ac81f
FileManager: Reorder declarations of FileEntry and FileEntryRef, NFC
dexonsmith Oct 16, 2020
4bde9aa
Add CMake dependency from MLIRJitRunner on all dialects
joker-eph Oct 24, 2020
434f377
clangd: Stop calling FileEntryRef::FileEntryRef
dexonsmith Oct 15, 2020
0ec5baa
llvm-dwarfdump: Support verbose printing DW_OP_convert to print the C…
dwblaikie Oct 24, 2020
74910cb
HeaderSearch: Simplify use of FileEntryRef in HeaderSearch::LookupFil…
dexonsmith Oct 15, 2020
776a15d
[NFC][UBSAN] Avoid "not FileCheck" in tests
vitalybuka Oct 24, 2020
0b05732
fix lldb for recent libDebugInfoDWARF API change
dwblaikie Oct 24, 2020
e92eeaf
[llvm-cov] don't include all source files when provided source files …
ZequanWu Oct 14, 2020
b579378
[flang][windows] Support platform-specific path separator.
Meinersbur Oct 23, 2020
0b671a4
[flang][msvc] Fix lambda capture ambiguity. NFC.
Meinersbur Oct 24, 2020
fa66bcf
hwasan: Disable operator {new,delete} interceptors when interceptors …
pcc Oct 20, 2020
21d64c3
[NFC][UBSAN] Refine CHECK pattern in test
vitalybuka Oct 24, 2020
64c4dac
[llvm/DebugInfo] Emit DW_OP_implicit_value when tuning for LLDB
medismailben Oct 23, 2020
d590c85
[flang] Fix pimpl idiom for IntrinsicProcTable.
Meinersbur Oct 24, 2020
bf6518a
[AMDGPU] Cleanup AMDGPUUsage.rst
t-tye Oct 22, 2020
84ce6b9
[lldb] Fix building with GCC 7. NFC.
mstorsjo Oct 24, 2020
d96cb52
[lldb] [Process/NetBSD] Use XStateRegSet for all FPU registers
mgorny Oct 14, 2020
7c026a8
[SystemZ] Define MaxInstLength to have the value of 6.
JonPsson Oct 23, 2020
d09c592
[BasicAA] Fix caching in the presence of phi cycles
nikic Oct 23, 2020
1a7a9ef
[BasicAA] Avoid duplicate cache lookup (NFCI)
nikic Oct 24, 2020
62b17a7
[LegalizeTypes] Legalize vector rotate operations
RKSimon Oct 24, 2020
ce356e1
[DAG] Add BuildVectorSDNode::getRepeatedSequence helper to recognise …
RKSimon Oct 24, 2020
310f62b
[InstCombine] narrowFunnelShift - fold trunc/zext or(shl(a,x),lshr(b,…
RKSimon Oct 24, 2020
b481e00
Fix some signed/unsigned comparison gcc warnings from D87930
RKSimon Oct 24, 2020
138b9f1
[JITLink][ELF] PCRel32GOTLoad relocations are resolved like regular P…
weliveindetail Oct 23, 2020
e9955b0
[jitlink][ELF] Add zero-fill blocks for symbols in section SHN_COMMON
weliveindetail Oct 24, 2020
060a4fc
[LoopVersioning] Form dedicated exits for versioned loop to preserve …
TaWeiTu Oct 24, 2020
10b1a61
Revert "[jitlink][ELF] Add zero-fill blocks for symbols in section SH…
weliveindetail Oct 24, 2020
65a36bb
[NPM] Port -loop-versioning-licm to NPM
TaWeiTu Oct 24, 2020
4c5906c
[Flang][Driver] Add infrastructure for basic frontend actions and fil…
CarolineConcatto Oct 24, 2020
b6ef408
[JITLink][ELF] PCRel32GOTLoad edge offset can be smaller three
weliveindetail Oct 24, 2020
66abe65
Reapply "[jitlink][ELF] Add zero-fill blocks for symbols in section S…
weliveindetail Oct 24, 2020
cbb7f14
[flang][tests] Fix Python bug in the lit config
banach-space Oct 24, 2020
92205bf
[ARM] Remove some dead code. NFC
davemgreen Oct 24, 2020
9068c20
[AMDGPU][CostModel] Refine cost model for half- and quarter-rate inst…
dfukalov Oct 22, 2020
b8d2b6f
Unbreak the clang-interpreter example after 0aec49c8531bc5282b095730d…
d0k Oct 24, 2020
bd2cf96
[X86] Add a stub for znver3 based on the little public information th…
d0k Oct 24, 2020
39a0d68
[X86] Add a stub for Intel's alderlake.
d0k Oct 24, 2020
22d10b8
[CostModel] remove cost-kind predicate for vector reduction costs
rotateright Oct 23, 2020
6f9d84b
Revert "hwasan: Disable operator {new,delete} interceptors when inter…
nico Oct 24, 2020
d5adadb
[AArch64][GlobalISel] Fix -Wunused-variable. NFC
MaskRay Oct 24, 2020
29480c6
[asan][fuchsia] set current thread before reading thread state
zarvox Oct 24, 2020
1e09dbb
[asan] Fix stack-use-after-free checks on non-main thread on Fuchsia
zarvox Oct 24, 2020
f04d92a
[X86] Produce R_X86_64_GOTPCRELX for test/binop instructions (MOV32rm…
MaskRay Oct 24, 2020
398b810
[ELF] Don't crash on R_X86_64_GOTPCRELX for test/binop instructions
MaskRay Oct 24, 2020
c039e83
Fix typo SSC -> SCC
aeubanks Oct 24, 2020
aaa8b44
[clangd] Add a TestWorkspace utility
HighCommander4 Oct 13, 2020
7b35158
For P0732R2, P1907R1: ensure that template parameter objects don't refer
zygoloid Oct 25, 2020
13c62ce
[MemProf] Temporarily disable part of test
teresajohnson Oct 25, 2020
1c83716
Revert "[CostModel] remove cost-kind predicate for vector reduction c…
mstorsjo Oct 25, 2020
a222d83
[X86] Use TargetConstant for FPDiff with X86::TC_RETURN.
topperc Oct 25, 2020
f81f09b
[c++20] For P0732R2: Support string literal operator templates.
zygoloid Oct 25, 2020
5e9f172
[InstCombine] Add test for or(fshl(),fshl()) bswap pattern.
RKSimon Oct 25, 2020
3052e47
[InstCombine] matchBSwapOrBitReversem - recognise or(fshl(),fshl()) b…
RKSimon Oct 25, 2020
2e204e2
[clang] Enable support for #pragma STDC FENV_ACCESS
Sep 29, 2020
d64ea0f
Remove superfluous whitespace around if(). NFC.
RKSimon Oct 25, 2020
968aa6b
[SLP] Add AArch64 tests with vectorizable compare/select patterns.
fhahn Oct 25, 2020
576d436
Correct LIT test failure detected on buildbot after mibintc committed…
Oct 25, 2020
7de2add
[InstSimplify] add tests for logic-of-cmps with not op; NFC
rotateright Oct 25, 2020
e77ba26
[InstSimplify] peek through 'not' operand in logic-of-icmps fold
rotateright Oct 25, 2020
c571825
[IndVars] Regenerate test checks (NFC)
nikic Oct 25, 2020
0dda633
[SCEV] Strength nowrap flags after constant folding
nikic Oct 25, 2020
22a5cde
[SCEV] Separate out constant folding in mul expr creation
nikic Oct 25, 2020
1ff313f
[SCEV] Always constant fold mul expression operands
nikic Oct 25, 2020
5250a03
Thread safety analysis: Consider global variables in scope
aaronpuchert Oct 25, 2020
b296c64
Thread safety analysis: Nullability improvements in TIL, NFCI
aaronpuchert Jul 25, 2020
ebeef02
[SCEV] Strenthen nowrap flags after constant folding for mul exprs
nikic Oct 25, 2020
74ffc82
[CostModel] fix operand/type accounting for fadd/fmul reductions
rotateright Oct 25, 2020
f2c25c7
[CostModel] remove cost-kind predicate for some vector reduction costs
rotateright Oct 25, 2020
2ed16aa
[X86] Use TargetConstant instead of Constant for operands to X86vaarg64.
topperc Oct 25, 2020
63ba82e
[X86] Use TargetConstant for immediates for VASTART_SAVE_XMM_REGS.
topperc Oct 25, 2020
180548c
[X86] VEX/EVEX prefix doesn't work for inline assembly.
MoringLiu Oct 23, 2020
82974e0
[X86] Don't disassemble wbinvd with 0xf2 or 0x66 prefix.
topperc Oct 26, 2020
5a06104
[AMDGPU] Avoid offset register in MUBUF for direct stack object accesses
cdevadas Oct 9, 2020
15f6bad
[clangd] Add dependency on remote index service proto
kirillbobyrev Oct 26, 2020
c019099
[IndVars] Use contextual knowledge when proving trivial conds
xortator Oct 26, 2020
4b5e848
[NFC] Factor out common code into lambda for further improvement
xortator Oct 26, 2020
cdccc82
[NFC] Remove unused funciton param
xortator Oct 26, 2020
bfabd78
Fix broken build after previous commit
xortator Oct 26, 2020
52f03fe
[VE] Support atomic fence
kaz7 Oct 25, 2020
61bc18d
[Schedule] Add a MultiHazardRecognizer
davemgreen Oct 26, 2020
8000d27
[gn build] Port 61bc18de0b2
llvmgnsyncbot Oct 26, 2020
d613e39
[ARM][SchedModels] Convert IsLdrAm3NegRegOffPred to MCSchedPredicate
eleviant Oct 26, 2020
a4fc18e
[ARM][SchedModels] Convert IsLdstsoMinusRegPred to MCSchedPredicate
eleviant Oct 26, 2020
99b2756
[ARM][SchedModels] Get rid of IsLdrAm2ScaledPred
eleviant Oct 26, 2020
f32992a
[VE] Support atomic load
kaz7 Oct 23, 2020
82150da
[PowerPC] Add test case for pr47830. NFC.
Oct 26, 2020
a95ce5f
[ARM][SchedModels] Rename and generalize predicate. NFC
eleviant Oct 26, 2020
a094b4f
[AMDGPU] Emit new pal metadata by default
Flakebi Oct 23, 2020
b2bec7c
[AsmPrinter] Add per BB instruction mix remark.
fhahn Oct 26, 2020
0acf700
[VE] Add integer arithmetic vector instructions
kaz7 Oct 18, 2020
8aa60f6
[VE] Add vector comparison and min/max
kaz7 Oct 18, 2020
d3205bb
[Annotation] Allows annotation to carry some additional constant argu…
Ralender Oct 26, 2020
18eb83e
Merge from 'master' to 'sycl-web' (#2)
vmaksimo Oct 26, 2020
39c338d
Merge from 'sycl' to 'sycl-web' (#5)
Oct 26, 2020
fd070d4
Merge from 'master' to 'sycl-web' (#103)
vmaksimo Oct 26, 2020
a4eefe4
[SYCL] Fix FPGA built-ins/mem attrs after https://reviews.llvm.org/D8…
MrSidims Oct 28, 2020
709336c
Merge remote-tracking branch sycl-web into llvmspirv_pulldown
vladimirlaz Nov 2, 2020
2690adb
Implement SingleElementVectorINTEL decoration (#750)
NikitaRudenkoIntel Oct 20, 2020
fdf475d
Lower constant expressions inside metadata operands
Fznamznon Oct 19, 2020
c922f75
Re-organize tests a bit (#780)
AlexeySachkov Oct 21, 2020
af07567
Improve clang-tidy CI check
AlexeySachkov Oct 22, 2020
672e55e
Fix ptr/var/global annotations after https://reviews.llvm.org/D88645
MrSidims Oct 28, 2020
34ecb94
[SYCL] Fix wrong except. raising for ALLOWLIST
dm-vodopyanov Nov 2, 2020
c23c339
[Driver][SYCL] Refactor -fsycl-device-only behaviors (#2713)
mdtoguchi Nov 2, 2020
c62e237
LLVM and SPIRV-LLVM-Translator pulldown (WW44-45) #2717
vladimirlaz Nov 3, 2020
8b55062
[SYCL] Fix the check for read-only host pointer during memobj creatio…
sergey-semenov Nov 3, 2020
e93e0db
Remove exception from filterAllowList() and update
dm-vodopyanov Nov 3, 2020
4de2142
Apply missing clang-format
dm-vodopyanov Nov 3, 2020
b9bf9f5
[SYCL][PI][L0] Fix a problem with kernels and programs destruction wh…
kbsmith-intel Nov 3, 2020
6cc97d2
[SYCL] dot_product support. (#2609)
rdeodhar Nov 5, 2020
b4a3f03
[SYCL] Remove warning about SYCL_EXTERNAL with pointers (#2722)
srividya-sundaram Nov 5, 2020
764dea9
[SYCL] Remove host-task-dependency test added to llvm-test-suite (#2720)
alexanderfle Nov 5, 2020
68ab67a
[SYCL] Add support for new FPGA loop attribute nofusion (#2715)
smanna12 Nov 5, 2020
5cf8088
Added the SYCL_INTEL_mem_channel_property extension specification (#2…
GarveyJoe Nov 5, 2020
ab37268
Apply CR comments
dm-vodopyanov Nov 5, 2020
7521fd4
[SYCL] Fix link to ESIMD tests (#2736)
vladimirlaz Nov 5, 2020
2934aac
[SYCL][NFC] Extend ABI tests to cover device code (#2725)
Nov 5, 2020
6057e93
[SYCL][Test] Remove leftovers for FPGA archives (#2735)
Nov 5, 2020
e67681b
[SYCL] Move tests with dependencies to on-device directory (#2732)
vladimirlaz Nov 6, 2020
e79a0c9
[BuildBot] OpenCL CPU/FPGAEMU driver uplift (#2733)
yanfeng3721 Nov 6, 2020
0b7dacf
[SYCL] Improve performance of float atomic_ref (#2714)
cperkinsintel Nov 6, 2020
3302da1
[SYCL] Fix wrong except. raising for ALLOWLIST
dm-vodopyanov Nov 2, 2020
9728d98
Remove exception from filterAllowList() and update
dm-vodopyanov Nov 3, 2020
a84fdfe
Apply missing clang-format
dm-vodopyanov Nov 3, 2020
01c8340
Apply CR comments
dm-vodopyanov Nov 5, 2020
824d977
Merge branch 'private/dvodopya/fix-crash-in-allow-list-filter' of htt…
dm-vodopyanov Nov 6, 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
  •  
  •  
  •  
36 changes: 18 additions & 18 deletions buildbot/dependency.conf
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
[VERSIONS]
# https://github.com/intel/llvm/releases/download/2020-WW41/oclcpuexp-2020.11.10.0.05_rel.tar.gz
ocl_cpu_rt_ver=2020.11.10.0.05
# https://github.com/intel/llvm/releases/download/2020-WW41/win-oclcpuexp-2020.11.10.0.05_rel.zip
ocl_cpu_rt_ver_win=2020.11.10.0.05
# https://github.com/intel/llvm/releases/download/2020-WW45/oclcpuexp-2020.11.11.0.04_rel.tar.gz
ocl_cpu_rt_ver=2020.11.11.0.04
# https://github.com/intel/llvm/releases/download/2020-WW45/win-oclcpuexp-2020.11.11.0.04_rel.zip
ocl_cpu_rt_ver_win=2020.11.11.0.04
# Same GPU driver supports Level Zero and OpenCL:
# https://github.com/intel/compute-runtime/releases/tag/20.42.18209
ocl_gpu_rt_ver=20.42.18209
# Same GPU driver supports Level Zero and OpenCL:
# https://downloadmirror.intel.com/29879/a08/igfx_win10_100.8778.zip
ocl_gpu_rt_ver_win=27.20.100.8778
intel_sycl_ver=build
# https://github.com/oneapi-src/oneTBB/releases/download/v2021.1-beta08/oneapi-tbb-2021.1-beta08-lin.tgz
tbb_ver=2021.1.10.2267
# https://github.com/oneapi-src/oneTBB/releases/download/v2021.1-beta08/oneapi-tbb-2021.1-beta08-win.zip
tbb_ver_win=2021.1.10.2267
# https://github.com/intel/llvm/releases/download/2020-WW41/fpgaemu-2020.11.10.0.05_rel.tar.gz
ocl_fpga_emu_ver=2020.11.10.0.05
# https://github.com/intel/llvm/releases/download/2020-WW41/win-fpgaemu-2020.11.10.0.05_rel.zip
ocl_fpga_emu_ver_win=2020.11.10.0.05
fpga_ver=20200913_000017
fpga_ver_win=20200913_000017
# https://github.com/oneapi-src/oneTBB/releases/download/v2021.1-beta10/oneapi-tbb-2021.1-beta10-lin.tgz
tbb_ver=2021.1.053
# https://github.com/oneapi-src/oneTBB/releases/download/v2021.1-beta10/oneapi-tbb-2021.1-beta10-win.zip
tbb_ver_win=2021.1.049
# https://github.com/intel/llvm/releases/download/2020-WW45/fpgaemu-2020.11.11.0.04_rel.tar.gz
ocl_fpga_emu_ver=2020.11.11.0.04
# https://github.com/intel/llvm/releases/download/2020-WW45/win-fpgaemu-2020.11.11.0.04_rel.zip
ocl_fpga_emu_ver_win=2020.11.11.0.04
fpga_ver=20201021_000005
fpga_ver_win=20201022_000005

[DRIVER VERSIONS]
cpu_driver_lin=2020.11.10.0.05
cpu_driver_win=2020.11.10.0.05
cpu_driver_lin=2020.11.11.0.04
cpu_driver_win=2020.11.11.0.04
gpu_driver_lin=20.42.18209
gpu_driver_win=27.20.100.8778
fpga_driver_lin=2020.11.10.0.05
fpga_driver_win=2020.11.10.0.05
fpga_driver_lin=2020.11.11.0.04
fpga_driver_win=2020.11.11.0.04
# NVidia CUDA driver
# TODO provide URL for CUDA driver
nvidia_gpu_driver_lin=435.21
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,22 @@
#include "clang/Lex/PreprocessorOptions.h"
#include "clang/Serialization/ASTReader.h"

#define DEBUG_TYPE "clang-tidy"

namespace clang {
namespace tooling {

class ExpandModularHeadersPPCallbacks::FileRecorder {
public:
/// Records that a given file entry is needed for replaying callbacks.
void addNecessaryFile(const FileEntry *File) { FilesToRecord.insert(File); }
void addNecessaryFile(const FileEntry *File) {
// Don't record modulemap files because it breaks same file detection.
if (!(File->getName().endswith("module.modulemap") ||
File->getName().endswith("module.private.modulemap") ||
File->getName().endswith("module.map") ||
File->getName().endswith("module_private.map")))
FilesToRecord.insert(File);
}

/// Records content for a file and adds it to the FileSystem.
void recordFileContent(const FileEntry *File,
Expand All @@ -30,12 +39,12 @@ class ExpandModularHeadersPPCallbacks::FileRecorder {
return;

// FIXME: Why is this happening? We might be losing contents here.
if (!ContentCache.getRawBuffer())
llvm::Optional<StringRef> Data = ContentCache.getBufferDataIfLoaded();
if (!Data)
return;

InMemoryFs.addFile(File->getName(), /*ModificationTime=*/0,
llvm::MemoryBuffer::getMemBufferCopy(
ContentCache.getRawBuffer()->getBuffer()));
llvm::MemoryBuffer::getMemBufferCopy(*Data));
// Remove the file from the set of necessary files.
FilesToRecord.erase(File);
}
Expand All @@ -44,8 +53,8 @@ class ExpandModularHeadersPPCallbacks::FileRecorder {
/// `FilesToRecord` should be empty.
void checkAllFilesRecorded() {
for (auto FileEntry : FilesToRecord)
llvm::errs() << "Did not record contents for input file: "
<< FileEntry->getName() << "\n";
LLVM_DEBUG(llvm::dbgs() << "Did not record contents for input file: "
<< FileEntry->getName() << "\n");
}

private:
Expand Down
3 changes: 3 additions & 0 deletions clang-tools-extra/clang-tidy/google/AvoidCStyleCastsCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ namespace readability {
/// This check is similar to `-Wold-style-cast`, but it suggests automated fixes
/// in some cases. The reported locations should not be different from the
/// ones generated by `-Wold-style-cast`.
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/google-readability-casting.html
class AvoidCStyleCastsCheck : public ClangTidyCheck {
public:
AvoidCStyleCastsCheck(StringRef Name, ClangTidyContext *Context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ namespace readability {

// Check for underscores in the names of googletest tests, per
// https://github.com/google/googletest/blob/master/googletest/docs/faq.md#why-should-test-suite-names-and-test-names-not-contain-underscore
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/google-readability-avoid-underscore-in-googletest-name.html
class AvoidUnderscoreInGoogletestNameCheck : public ClangTidyCheck {
public:
using ClangTidyCheck::ClangTidyCheck;
Expand Down
3 changes: 3 additions & 0 deletions clang-tools-extra/clang-tidy/google/DefaultArgumentsCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ namespace google {
/// Checks that default parameters are not given for virtual methods.
///
/// See https://google.github.io/styleguide/cppguide.html#Default_Arguments
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/google-default-arguments.html
class DefaultArgumentsCheck : public ClangTidyCheck {
public:
DefaultArgumentsCheck(StringRef Name, ClangTidyContext *Context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ namespace google {
/// Checks that all single-argument constructors are explicit.
///
/// See https://google.github.io/styleguide/cppguide.html#Explicit_Constructors
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/google-explicit-constructor.html
class ExplicitConstructorCheck : public ClangTidyCheck {
public:
ExplicitConstructorCheck(StringRef Name, ClangTidyContext *Context)
Expand Down
3 changes: 3 additions & 0 deletions clang-tools-extra/clang-tidy/google/ExplicitMakePairCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ namespace build {
/// specified explicitly, and such use isn't intended in any case.
///
/// Corresponding cpplint.py check name: 'build/explicit_make_pair'.
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/google-build-explicit-make-pair.html
class ExplicitMakePairCheck : public ClangTidyCheck {
public:
ExplicitMakePairCheck(StringRef Name, ClangTidyContext *Context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ namespace readability {
///
/// For extension-less header files, using an empty string or leaving an
/// empty string between ";" if there are other filename extensions.
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/google-global-names-in-headers.html
class GlobalNamesInHeadersCheck : public ClangTidyCheck {
public:
GlobalNamesInHeadersCheck(StringRef Name, ClangTidyContext *Context);
Expand Down
3 changes: 3 additions & 0 deletions clang-tools-extra/clang-tidy/google/IntegerTypesCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ namespace runtime {
/// with `u?intXX(_t)?`.
///
/// Corresponding cpplint.py check: 'runtime/int'.
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/google-runtime-int.html
class IntegerTypesCheck : public ClangTidyCheck {
public:
IntegerTypesCheck(StringRef Name, ClangTidyContext *Context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ namespace runtime {
/// https://google.github.io/styleguide/cppguide.html#Operator_Overloading
///
/// Corresponding cpplint.py check name: 'runtime/operator'.
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/google-runtime-operator.html
class OverloadedUnaryAndCheck : public ClangTidyCheck {
public:
OverloadedUnaryAndCheck(StringRef Name, ClangTidyContext *Context)
Expand Down
3 changes: 3 additions & 0 deletions clang-tools-extra/clang-tidy/google/TodoCommentCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ namespace readability {
/// Finds TODO comments without a username or bug number.
///
/// Corresponding cpplint.py check: 'readability/todo'
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/google-readability-todo.html
class TodoCommentCheck : public ClangTidyCheck {
public:
TodoCommentCheck(StringRef Name, ClangTidyContext *Context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ namespace build {
/// https://google.github.io/styleguide/cppguide.html#Namespaces
///
/// Corresponding cpplint.py check name: 'build/namespaces'.
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/google-build-namespaces.html
class UnnamedNamespaceInHeaderCheck : public ClangTidyCheck {
public:
UnnamedNamespaceInHeaderCheck(StringRef Name, ClangTidyContext *Context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ namespace build {
/// \endcode
///
/// Corresponding cpplint.py check name: `build/namespaces`.
///
/// For the user-facing documentation see:
/// https://clang.llvm.org/extra/clang-tidy/checks/google-build-using-namespace.html
class UsingNamespaceDirectiveCheck : public ClangTidyCheck {
public:
UsingNamespaceDirectiveCheck(StringRef Name, ClangTidyContext *Context)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ void UnnecessaryCopyInitialization::registerMatchers(MatchFinder *Finder) {
declStmt(
has(varDecl(hasLocalStorage(),
hasType(qualType(
hasCanonicalType(
matchers::isExpensiveToCopy()),
hasCanonicalType(allOf(
matchers::isExpensiveToCopy(),
unless(hasDeclaration(namedDecl(
hasName("::std::function")))))),
unless(hasDeclaration(namedDecl(
matchers::matchesAnyListedName(
AllowedTypes)))))),
Expand Down
12 changes: 5 additions & 7 deletions clang-tools-extra/clangd/ParsedAST.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,9 @@ class ReplayPreamble : private PPCallbacks {

void replay() {
for (const auto &Inc : Includes) {
const FileEntry *File = nullptr;
llvm::Optional<FileEntryRef> File;
if (Inc.Resolved != "")
if (auto FE = SM.getFileManager().getFile(Inc.Resolved))
File = *FE;
File = expectedToOptional(SM.getFileManager().getFileRef(Inc.Resolved));

// Re-lex the #include directive to find its interesting parts.
auto HashLoc = SM.getComposedLoc(SM.getMainFileID(), Inc.HashOffset);
Expand Down Expand Up @@ -211,17 +210,16 @@ class ReplayPreamble : private PPCallbacks {
SynthesizedFilenameTok.setKind(tok::header_name);
SynthesizedFilenameTok.setLiteralData(Inc.Written.data());

const FileEntry *FE = File ? &File->getFileEntry() : nullptr;
llvm::StringRef WrittenFilename =
llvm::StringRef(Inc.Written).drop_front().drop_back();
Delegate->InclusionDirective(HashTok->location(), SynthesizedIncludeTok,
WrittenFilename, Inc.Written.front() == '<',
FileTok->range(SM).toCharRange(SM), File,
FileTok->range(SM).toCharRange(SM), FE,
"SearchPath", "RelPath",
/*Imported=*/nullptr, Inc.FileKind);
if (File)
// FIXME: Use correctly named FileEntryRef.
Delegate->FileSkipped(FileEntryRef(File->getName(), *File),
SynthesizedFilenameTok, Inc.FileKind);
Delegate->FileSkipped(*File, SynthesizedFilenameTok, Inc.FileKind);
else {
llvm::SmallString<1> UnusedRecovery;
Delegate->FileNotFound(WrittenFilename, UnusedRecovery);
Expand Down
10 changes: 7 additions & 3 deletions clang-tools-extra/clangd/index/remote/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
if (CLANGD_ENABLE_REMOTE)
generate_grpc_protos(RemoteIndexProtos "Index.proto")
generate_protos(RemoteIndexServiceProto "Service.proto" GRPC)
generate_protos(RemoteIndexProto "Index.proto")
add_dependencies(RemoteIndexServiceProto RemoteIndexProto)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../)

Expand All @@ -12,7 +14,8 @@ if (CLANGD_ENABLE_REMOTE)
Client.cpp

LINK_LIBS
RemoteIndexProtos
RemoteIndexProto
RemoteIndexServiceProto
clangdRemoteMarshalling

protobuf
Expand All @@ -21,7 +24,8 @@ if (CLANGD_ENABLE_REMOTE)
clangdSupport

DEPENDS
RemoteIndexProtos
RemoteIndexProto
RemoteIndexServiceProto
)

add_subdirectory(marshalling)
Expand Down
20 changes: 12 additions & 8 deletions clang-tools-extra/clangd/index/remote/Client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
#include <grpc++/grpc++.h>

#include "Client.h"
#include "Index.grpc.pb.h"
#include "Service.grpc.pb.h"
#include "index/Index.h"
#include "index/Serialization.h"
#include "marshalling/Marshalling.h"
#include "support/Logger.h"
#include "support/Trace.h"
#include "clang/Basic/Version.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"

Expand All @@ -28,7 +29,8 @@ namespace {
class IndexClient : public clangd::SymbolIndex {
template <typename RequestT, typename ReplyT>
using StreamingCall = std::unique_ptr<grpc::ClientReader<ReplyT>> (
remote::SymbolIndex::Stub::*)(grpc::ClientContext *, const RequestT &);
remote::v1::SymbolIndex::Stub::*)(grpc::ClientContext *,
const RequestT &);

template <typename RequestT, typename ReplyT, typename ClangdRequestT,
typename CallbackT>
Expand All @@ -40,6 +42,7 @@ class IndexClient : public clangd::SymbolIndex {
const auto RPCRequest = ProtobufMarshaller->toProtobuf(Request);
SPAN_ATTACH(Tracer, "Request", RPCRequest.DebugString());
grpc::ClientContext Context;
Context.AddMetadata("version", clang::getClangToolFullVersion("clangd"));
std::chrono::system_clock::time_point Deadline =
std::chrono::system_clock::now() + DeadlineWaitingTime;
Context.set_deadline(Deadline);
Expand Down Expand Up @@ -73,7 +76,7 @@ class IndexClient : public clangd::SymbolIndex {
IndexClient(
std::shared_ptr<grpc::Channel> Channel, llvm::StringRef ProjectRoot,
std::chrono::milliseconds DeadlineTime = std::chrono::milliseconds(1000))
: Stub(remote::SymbolIndex::NewStub(Channel)),
: Stub(remote::v1::SymbolIndex::NewStub(Channel)),
ProtobufMarshaller(new Marshaller(/*RemoteIndexRoot=*/"",
/*LocalIndexRoot=*/ProjectRoot)),
DeadlineWaitingTime(DeadlineTime) {
Expand All @@ -82,25 +85,26 @@ class IndexClient : public clangd::SymbolIndex {

void lookup(const clangd::LookupRequest &Request,
llvm::function_ref<void(const clangd::Symbol &)> Callback) const {
streamRPC(Request, &remote::SymbolIndex::Stub::Lookup, Callback);
streamRPC(Request, &remote::v1::SymbolIndex::Stub::Lookup, Callback);
}

bool
fuzzyFind(const clangd::FuzzyFindRequest &Request,
llvm::function_ref<void(const clangd::Symbol &)> Callback) const {
return streamRPC(Request, &remote::SymbolIndex::Stub::FuzzyFind, Callback);
return streamRPC(Request, &remote::v1::SymbolIndex::Stub::FuzzyFind,
Callback);
}

bool refs(const clangd::RefsRequest &Request,
llvm::function_ref<void(const clangd::Ref &)> Callback) const {
return streamRPC(Request, &remote::SymbolIndex::Stub::Refs, Callback);
return streamRPC(Request, &remote::v1::SymbolIndex::Stub::Refs, Callback);
}

void
relations(const clangd::RelationsRequest &Request,
llvm::function_ref<void(const SymbolID &, const clangd::Symbol &)>
Callback) const {
streamRPC(Request, &remote::SymbolIndex::Stub::Relations,
streamRPC(Request, &remote::v1::SymbolIndex::Stub::Relations,
// Unpack protobuf Relation.
[&](std::pair<SymbolID, clangd::Symbol> SubjectAndObject) {
Callback(SubjectAndObject.first, SubjectAndObject.second);
Expand All @@ -112,7 +116,7 @@ class IndexClient : public clangd::SymbolIndex {
size_t estimateMemoryUsage() const { return 0; }

private:
std::unique_ptr<remote::SymbolIndex::Stub> Stub;
std::unique_ptr<remote::v1::SymbolIndex::Stub> Stub;
std::unique_ptr<Marshaller> ProtobufMarshaller;
// Each request will be terminated if it takes too long.
std::chrono::milliseconds DeadlineWaitingTime;
Expand Down
Loading