Skip to content

LLVM and SPIRV-LLVM-Translator pulldown (WW36) #6748

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 3,221 commits into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3221 commits
Select commit Hold shift + click to select a range
9fc679b
[SanitizerCoverage] Simplify pc-table and improve test. NFC
MaskRay Sep 3, 2022
30ceb78
[mlir][sparse] Expose SparseTensor passes as enums instead of opaque …
nkreeger Sep 4, 2022
83ea47a
[test] Make tests pass regardless of gnu++14/gnu++17 default
MaskRay Sep 4, 2022
ee40ef7
[Support] Simplify isInt and isUInt with constexpr if (NFC)
kazutakahirata Sep 4, 2022
2423cf4
[Support] Simplify reverseBits with constexpr if (NFC)
kazutakahirata Sep 4, 2022
9dc6223
[ADT] Use std::add_lvalue_reference_t (NFC)
kazutakahirata Sep 4, 2022
230e57d
[ADT] Use std::add_pointer_t (NFC)
kazutakahirata Sep 4, 2022
f11925e
[mlir] Use std::enable_if_t (NFC)
kazutakahirata Sep 4, 2022
03c3c2d
[llvm] Use std::remove_reference_t (NFC)
kazutakahirata Sep 4, 2022
2bb43d7
[ADT] Use std::tuple_element_t (NFC)
kazutakahirata Sep 4, 2022
7d8c2d1
[llvm] Use range-based for loops (NFC)
kazutakahirata Sep 4, 2022
b7a7aee
[clang] Qualify auto in range-based for loops (NFC)
kazutakahirata Sep 4, 2022
1ba8be3
[lld-macho][test] Correct a mismatched adrp-add pair
BertalanD Sep 4, 2022
725cdc4
[mlir:vscode] Fix bazel build after commit f7b8a70
chsigg Sep 4, 2022
c4a174b
[CostModel][X86] Add vector shift test coverage for codesize/latency/…
RKSimon Sep 3, 2022
a7a892a
Apply clang-tidy fixes for readability-identifier-naming in Tiling.cp…
joker-eph Aug 29, 2022
28e5e3d
Apply clang-tidy fixes for performance-for-range-copy in TilingInterf…
joker-eph Aug 29, 2022
c444af1
[CostModel][X86] Add CostKinds handling for mul ops
RKSimon Sep 4, 2022
59dbd6a
[CostModel][X86] Remove redundant AVX512 v64i8 shift costs
RKSimon Sep 4, 2022
95db373
[OpenMP] Silence unused variable warning in release builds
d0k Sep 4, 2022
06e7362
[CostModel][X86] getTypeBasedIntrinsicInstrCost - convert to CostKind…
RKSimon Sep 4, 2022
98c2754
[Libfuzzer] Include signal.h for SIGINT
Sep 4, 2022
80d4b3a
Revert rG06e73626cf0fc33b025a0f98f1eee4a302279982 "[CostModel][X86] g…
RKSimon Sep 4, 2022
8dc9918
[PhaseOrdering] Move X86 unsigned-multiply-overflow-check.ll test und…
RKSimon Sep 4, 2022
626a84d
[CostModel][X86] getTypeBasedIntrinsicInstrCost - convert to CostKind…
RKSimon Sep 4, 2022
8534f51
[CostModel][X86] Add CostKinds handling for sqrt intrinsicc
RKSimon Sep 4, 2022
1f734b0
[flang][OpenMP] Handle private/firstprivate clauses on sections const…
NimishMishra Sep 4, 2022
07341e3
[test] pre-submission for the following SimpleLoopUnswitch update
drcut Sep 4, 2022
4f688d0
[lld-macho] Change constant std::vector to std::array (NFC)
BertalanD Sep 4, 2022
a46154c
[analyzer] Warn if the size of the array in `new[]` is undefined
isuckatcs Aug 23, 2022
1553179
[gn build] Port a46154cb1cd0
llvmgnsyncbot Sep 4, 2022
e27e826
[LCSSA] Update test use opaque pointers, regenerate checks.
fhahn Sep 4, 2022
a10d42d
[LV] Update test use opaque pointers, regenerate checks.
fhahn Sep 4, 2022
ba3d29f
[LCSSA] Update unreachable uses with poison.
fhahn Sep 4, 2022
343e26c
[ELF] Remove a redundant identify_magic call. NFC
MaskRay Sep 4, 2022
1e402f0
[ELF] Remove unneeded @@ check. NFC
MaskRay Sep 4, 2022
6c52736
Revert "[llvm] Use range-based for loops (NFC)"
vitalybuka Sep 4, 2022
634a722
[ELF] Clarify a workaround for mips GNU ld<2.31
MaskRay Sep 4, 2022
498151d
[ELF] SharedFile::parse: make versym handling more precise
MaskRay Sep 4, 2022
86c35a5
[ELF] Simplify visibility computation. NFC
MaskRay Sep 4, 2022
82ed93e
[ELF] Use stOther to track visibility
MaskRay Sep 5, 2022
3ac9428
[ELF] Change a DSO warning to errorOrWarn
MaskRay Sep 5, 2022
595c4a3
[LLVM][docs] Update CMake.rst to follow the upgrade to C++ 17 [NFC]
piggynl Sep 5, 2022
3e84a95
[InstCombine] Precommit tests for smul_with_overflow. nfc
ZCBing Sep 5, 2022
bc743bf
[LoongArch] Add codegen support for fcopysign
gonglingqin Sep 5, 2022
baa9eae
[NFC] fix incorrect indentation in docs
ChuanqiXu9 Sep 5, 2022
45e2809
[TargetLowering] Use getShiftAmountConstant. NFC
topperc Sep 5, 2022
0d1d36c
[X86] Pre-commit tests for D130862. NFC
topperc Sep 5, 2022
c8d9d00
[ELF] Relocations: set hasDirectReloc only if not ifunc. NFC
MaskRay Sep 5, 2022
94ca041
[ELF] Move scanRelocations into Relocations.cpp. NFC
MaskRay Sep 5, 2022
e529c0a
[TargetLowering] Use ComputeMaxSignificantBits instead of ComputeNumS…
topperc Sep 5, 2022
50b7eb9
[ELF] Reuse one RelocationScanner to scan all sections. NFC
MaskRay Sep 5, 2022
36a1ca5
[ASTReader] Fix -Wunused-private-field in non-assertion builds after …
MaskRay Sep 5, 2022
bf47954
[LoongArch] Add more fixups and relocations
wangleiat Sep 5, 2022
bc89663
[ELF] MarkLive: remove dead code from D24750. NFC
MaskRay Sep 5, 2022
fe70b17
[ELF][test] --gc-sections: test SHT_FINI_ARRAY is retained
MaskRay Sep 5, 2022
69e920d
[Coroutines] Use LookupAllocationFunction to find allocation function…
ChuanqiXu9 Sep 5, 2022
961fd77
[clang-format][docs] Fix incorrect 'clang-format 4' option markers
kuzkry Sep 4, 2022
898c421
[clangd] Avoid crash when printing call to string literal operator te…
HighCommander4 Aug 29, 2022
388b684
[LICM] Separate check for writability and thread-safety (NFCI)
nikic Sep 5, 2022
c933453
Fix build error in StmtPrinterTest.cpp
HighCommander4 Sep 5, 2022
e893345
[NFC][TypePromotion] Add test
sparker-arm Sep 5, 2022
6977812
[bazel] NFC: Move licenses declaration from package to function.
chsigg Sep 5, 2022
ab09043
[clang] Fix crash when parsing scanf format string with missing argum…
Sep 2, 2022
5de4d97
Driver tests: remove `REQUIRES: x86-registered-target` and set `--sys…
MaggieYingYi Sep 2, 2022
d2613d5
[mlir][tensor] Add gather/scatter op definitions to the tensor dialect.
nicolasvasilache Jul 21, 2022
408ebe5
[VPlan] Move VPWidenCallRecipe to VPlanRecipes.cpp (NFC).
fhahn Sep 5, 2022
84c4efb
[ubsan-minimal] Report the address of an error
igorkudrin Aug 15, 2022
f54d42a
[clang-format] Don't put `noexcept` on empty line following constructor
rymiel Sep 5, 2022
c6e7752
[clang-format] Allow `throw` to be a keyword in front of casts
rymiel Sep 5, 2022
bd3dd10
[clang-format] Concepts: allow identifiers after negation
rymiel Sep 5, 2022
d5e2677
[libc++] Granularize the rest of memory
philnik777 Sep 4, 2022
8f33a3a
[gn build] Port d5e26775d089
llvmgnsyncbot Sep 5, 2022
34f4a9e
Add ArithBuilder::sub, make add, mul work with IndexTypes.
jreiffers Sep 5, 2022
4e6783f
[DAG] getFreeze()/getNode() - account for operand depth when calling …
RKSimon Sep 5, 2022
f570cc1
[mlir][NFC] Move CodeGenHelpers.cpp from mlir-tblgen to TableGen library
zero9178 Sep 5, 2022
fb60e50
[GlobalISel] Fix a combine crash due to a negative G_INSERT_VECTOR_EL…
aemerson Sep 5, 2022
a02f750
[flang] Create a box instead of a temp to write to a char array
clementval Sep 5, 2022
f336453
[AMDGPU][CodeGen] Support (soffset + offset) s_buffer_load's.
kosarev Sep 5, 2022
89418dd
Plumb write_bytecode to the Python API
joker-eph Sep 5, 2022
aa94eb3
[FLANG][NFC]Use RTNAME instead of hard-coding for simplify intrinsics
Leporacanthicus Aug 25, 2022
1f550d8
[AMDGPU][CodeGen] Pre-commit a test on (base | offset) SMEM loads for…
kosarev Sep 5, 2022
2fe37d1
Apply clang-tidy fixes for performance-unnecessary-value-param in Fol…
joker-eph Aug 29, 2022
d2c7c72
Apply clang-tidy fixes for readability-simplify-boolean-expr in NVGPU…
joker-eph Aug 29, 2022
e0b3356
[libc++] Enable rvalue overloads for pair in C++03
philnik777 Sep 5, 2022
f7dd9a3
[mlir][bufferize] Add new debug flag: copy-before-write
matthias-springer Sep 5, 2022
bd0801c
[X86] Cleanup SLM SSE shift and CMPGTQ scheduler model numbers
RKSimon Sep 5, 2022
1268cf6
[SPIRV] Add tests to improve test coverage
Sep 4, 2022
b06372a
[clangd] NFC, correct template argument type for two RetiredFlags.
hokein Sep 5, 2022
5db8d6f
[AMDGPU][CodeGen] Support (base | offset) SMEM loads.
kosarev Sep 5, 2022
8fa432b
[InstCombine] reduce test-for-overflow of shifted value
tianz Sep 5, 2022
1698799
[clangd] Fix LineFoldingOnly flag is not propagated correctly to Clan…
hokein Sep 5, 2022
ffa6267
[CodeGen] Support extracting fixed-length vectors from illegal scalab…
david-arm Jan 17, 2022
99d364d
[MachineVerifier] Fix crash on early clobbered subreg operands.
dfukalov Sep 5, 2022
078899c
[SimplifyCFG] Allow SimplifyCFG hoisting to skip over non-matching in…
momchil-velikov Sep 5, 2022
22b6a4f
[GlobalISel] Update test checks before a patch.
aemerson Sep 5, 2022
2d52c6b
[libc++] Granularize __tuple
philnik777 Sep 5, 2022
8f4e6cf
[clang-format] Use utf-8 for JSON object load
kaitingwang Sep 5, 2022
41c79d0
[gn build] Port 2d52c6bfae80
llvmgnsyncbot Sep 5, 2022
1b65d20
[lld-macho] Diagnose unaligned arm64 PAGEOFF12 relocations
BertalanD Sep 3, 2022
511f216
[GlobalISel] Update combine-build-vector.mir test checks before patch.
aemerson Sep 5, 2022
a11e51e
[analyzer] Track trivial copy/move constructors and initializer lists…
isuckatcs Aug 18, 2022
14eea55
[InstSimplify][NFC][test] Add tests for Odd - X ==/!= X -> false/true
ChunyuLiao Sep 5, 2022
5e9522c
[InstSimplify] Odd - X ==/!= X -> false/true
ChunyuLiao Sep 5, 2022
456c7ef
[InstSimplify][NFC] shortened the code
ChunyuLiao Sep 5, 2022
c1d19a8
[ELF] Provide the GNU hash function in libObject
jhuber6 Aug 25, 2022
05737fa
[clangd] Trace preamble throttle time
sam-mccall Sep 5, 2022
91d8324
[MinGW] Reject explicit non-default visibility applied to dllexport/d…
MaskRay Sep 5, 2022
2417618
[Verifier] Reject dllexport with non-default visibility
MaskRay Sep 5, 2022
3c6edc0
[AArch64][GlobalISel] Recognise some CCMPri
davemgreen Sep 5, 2022
488ad99
[ARM64EC 1/?] Add parsing support to llvm-objdump/llvm-readobj.
efriedma-quic Sep 5, 2022
63335af
[ARM64EC 2/?] Add target triple, and allow targeting it.
efriedma-quic Sep 5, 2022
4658366
[ARM64EC 3/?] Mark reserved registers specific to ARM64EC ABI.
efriedma-quic Sep 5, 2022
5637ec0
[ARM64EC 4/?] Add LLVM support for varargs calling convention.
efriedma-quic Sep 5, 2022
7927c4c
[X86] Add test cases for PR57549. NFC
topperc Sep 5, 2022
2b9cec6
[ARM64EC 5/?] Fix names of __chkstk and __security_check_cookie.
efriedma-quic Sep 5, 2022
fda691e
[AArch64] Update checks in call lowering test for signext in prep for…
aemerson Sep 5, 2022
5a68d67
Revert "Use llvm::none_of (NFC)"
kazutakahirata Sep 5, 2022
7e3aa8f
Revert "[LoopPassManager] Implement and use LoopNestAnalysis::run() i…
aeubanks Sep 5, 2022
109f9a2
[flang] Support lowering of intrinsic module procedure C_F_POINTER
PeixinQiao Sep 6, 2022
067aab0
[LoongArch] Fix annotations not matching predicates. NFC.
gonglingqin Sep 5, 2022
f0332d1
[RISCV] Improve vector fceil/ffloor lowering by changing FRM.
topperc Sep 6, 2022
7628f19
[NFC] Remove invisible character in Diagnostic message and tests
ChuanqiXu9 Sep 6, 2022
d5fa8b1
[X86] Support SAE for VCVTPS2PH from intrinsic.
FreddyLeaf Sep 6, 2022
51d33af
[RegisterCoalescer] Fix crash on early clobbered subreg operands.
dfukalov Sep 6, 2022
d2a6e16
[OpenMP][OMPD] GDB plugin code to leverage libompd to provide debugging
vigbalu Sep 6, 2022
a8ec90a
[lld-macho] Simplify linker optimization hint processing
BertalanD Sep 3, 2022
4954196
[NFC] Add test of sized deallocation for coroutines
ChuanqiXu9 Sep 6, 2022
f65f06d
[NFC] [Coroutines] Add tests for looking up deallocation
ChuanqiXu9 Sep 6, 2022
ea3630e
[CMake][MLGO] Fix cmake for MLGO
eopXD Sep 6, 2022
7179779
[OpenMP] Mark -fopenmp-implicit-rpath as NoArgumentUnused
nikic Sep 2, 2022
2e7aed1
[MemorySSA][NFC] Simplify if condition
Sep 5, 2022
9269482
Merge from 'sycl' to 'sycl-web'
Sep 6, 2022
6a8bbd2
[lldb] Enable the insertion of "pending callbacks" to MainLoops from …
labath Aug 4, 2022
136afd1
Merge from 'main' to 'sycl-web' (7 commits)
haonanya1 Sep 6, 2022
c1b5e36
[CostModel][X86] Add CostKinds handling for fcmp ops
RKSimon Sep 6, 2022
f2c17a1
[OpenCL] Remove argument names from atomic/fence builtins
svenvh Sep 6, 2022
c349d7f
[SelectionDAG] Rewrite bfloat16 softening to use the "half promotion"…
d0k Sep 2, 2022
1e7b48a
Apply clang-tidy fixes for readability-identifier-naming in OptimizeS…
joker-eph Aug 29, 2022
af72641
Apply clang-tidy fixes for readability-identifier-naming in OpenMPDia…
joker-eph Aug 29, 2022
2adf241
[clang-format] [doc] Fix example of wrapping class definitions
Passw Sep 6, 2022
2476135
[clang-format] Change heuristic for locating lambda template arguments
rymiel Sep 6, 2022
0f2ec35
[MLIR] Switch lit tests to %mlir_lib_dir and %mlir_src_dir replacements.
chsigg Sep 4, 2022
e26cadc
[ARM] Constant pools need 4-byte alignment if we only have tADR
john-brawn-arm Sep 1, 2022
00165c3
[AMDGPU][MC][GFX11][NFC] Update assembler tests for MIMG instructions
dpreobra Sep 6, 2022
3a90af1
[MLIR] Fix for commit 0f2ec35
chsigg Sep 6, 2022
83552e8
[CostModel][X86] Add CostKinds handling for SSE FCMP_ONE/FCMP_UEQ pre…
RKSimon Sep 6, 2022
9823d42
[lldb] [Core] Split read thread support into ThreadedCommunication
mgorny Sep 3, 2022
4ce3848
[gn build] Port 9823d42557eb
llvmgnsyncbot Sep 6, 2022
c141c03
[mlir] Add materializeOpFoldResults to turn OpFoldResult array into v…
pifon2a Sep 6, 2022
c518ab0
Merge from 'main' to 'sycl-web' (276 commits)
haonanya1 Sep 6, 2022
65596ce
[lldb] Go back to process-directed signals in MainLoopTest.cpp
labath Sep 6, 2022
0cecc6e
[OpenMP] Add lit test for metadirective device arch inspired
animeshk-amd Sep 6, 2022
1184f8c
[InstCombine] add tests for icmp-of-trunc; NFC
rotateright Sep 5, 2022
dd6eb4d
[InstCombine] reduce code duplication; NFC
rotateright Sep 5, 2022
a8fcb51
[InstSimplify] allow poison/undef in constant match for "C - X ==/!= …
rotateright Sep 6, 2022
3c604e9
Update the clang and clang-tools-extra code owners files
AaronBallman Sep 6, 2022
8b549f6
Merge from 'main' to 'sycl-web' (43 commits)
haonanya1 Sep 6, 2022
3dd8618
[GlobalISel] Combine G_INSERT/EXTRACT_VECTOR_ELT with out of bounds i…
aemerson Sep 5, 2022
5948258
[flang] Accept assumed shape arrays as SHAPE in C_F_POINTER
jeanPerier Sep 6, 2022
fe1f3cf
[SCCP] convert signed div/rem to unsigned for non-negative operands
rotateright Sep 6, 2022
81cf910
Merge from 'main' to 'sycl-web' (327 commits)
haonanya1 Sep 6, 2022
f560e9c
[CostModel][X86] Add CostKinds test coverage for ctpop intrinsics
RKSimon Sep 6, 2022
ca5fcc7
[CostModel][X86] Add CostKinds test coverage for cttz intrinsics
RKSimon Sep 6, 2022
0431eb5
[CostModel][X86] Add CostKinds test coverage for ctlz intrinsics
RKSimon Sep 6, 2022
e1ebe47
Fix Clang Sphinx docs build
AaronBallman Sep 6, 2022
c70f6e1
[Metadata] Introduce MD_pcsections
melver Sep 6, 2022
42836e2
[MachineInstr] Allow setting PCSections in ExtraInfo
melver Sep 6, 2022
5dbc7cf
[Object] Refactor code for extracting offload binaries
jhuber6 Aug 25, 2022
a69404c
[OffloadPackager] Add ability to extract images from other file types
jhuber6 Aug 24, 2022
2090e85
[llvm/CodeGen] Enable the ExpandLargeDivRem pass for X86, Arm and AAr…
mgehre-amd Jul 19, 2022
cc3faf4
[SelectionDAG] Rename CallSiteDbgInfo to NodeExtraInfo
melver Sep 6, 2022
7d63983
[SelectionDAG] Properly copy ExtraInfo on RAUW
melver Sep 6, 2022
fe7c3b8
Add parantheses to silence warning.
aemerson Sep 6, 2022
db81821
[AArch64] Additional tests for sinking splats to muls. NFC
davemgreen Sep 6, 2022
7948d89
Fix "[llvm/CodeGen] Enable the ExpandLargeDivRem pass for X86, Arm an…
mgehre-amd Sep 6, 2022
6cc52d5
Fix AMDGPU test failures due to "[llvm/CodeGen] Enable the ExpandLarg…
mgehre-amd Sep 6, 2022
77654a6
[tsan] Replace mem intrinsics with calls to interceptors
vitalybuka Sep 4, 2022
af3758d
Fix remaining test failures for "[llvm/CodeGen] Enable the ExpandLarg…
mgehre-amd Sep 6, 2022
7bace6f
[gn build] port 5dbc7cf7cac44
nico Sep 6, 2022
a7c6cdc
[bazel] port 5dbc7cf7cac44
d0k Sep 6, 2022
bd323e4
Revert "[lldb][bindings] Fix module_access handling of regex"
sstamenova Sep 6, 2022
0b1160f
Fix OpenMP Opt for target without a parallel region.
doru1004 Sep 1, 2022
d4a4004
[InstCombine] add tests for add of select with 0 and negate arms; NFC
rotateright Sep 6, 2022
e028121
[InstCombine] add/move tests for add with select operands that simpli…
rotateright Sep 6, 2022
ae117e1
[InstCombine] remove dead code for add (select cond, (sub), 0); NFC
rotateright Sep 6, 2022
0f9590a
Add docs for Mach-O lld
michaeleisel Sep 6, 2022
10e0f3e
[CostModel][X86] Add CostKinds handling for ctpop ops
RKSimon Sep 6, 2022
acb767f
[clang] fix profiling of template arguments of template and declarati…
mizvekov Aug 31, 2022
5d30565
[RISCV] Improve vector fround lowering by changing FRM.
topperc Sep 6, 2022
0c7abd3
[mlir][sparse] codegen for sparse alloc
aartbik Sep 3, 2022
c51a12d
Revert "[tsan] Replace mem intrinsics with calls to interceptors"
vitalybuka Sep 6, 2022
4c46a5d
[mlir][sparse] Refactoring: renaming StorageNewOp to StorageOp
Sep 6, 2022
2fb68c0
[ConstraintElimination] Replace pair with named struct (NFC).
fhahn Sep 6, 2022
5fab33a
[libc++] Avoid instantiating type_trait classes
philnik777 Sep 5, 2022
3cf4ab5
[AArch64] Add an option to reserve physical registers from RA
weiguozhi Sep 6, 2022
27e7db5
Revert "[SCCP] convert signed div/rem to unsigned for non-negative op…
fhahn Sep 6, 2022
94c6dfb
[clang] Implement setting crash_diagnostics_dir through env variable
mizvekov Sep 1, 2022
6a378b3
[mlir][spirv] Add base classes for vendor ops
kuhar Sep 2, 2022
b8bea83
[mlir][spirv] Refactor vendor op definitions
kuhar Sep 2, 2022
817de30
[mlir][spirv] Change vendor op mnemonics to `spv.VENDOR.name`
kuhar Sep 6, 2022
405af8e
[mlir] Make bit enum operators constexpr
krzysz00 Sep 1, 2022
940704c
[lldb] Fix CommunicationKDP following D133251
kastiglione Sep 6, 2022
20573d1
[ADT] Remove is_splat
kuhar Sep 6, 2022
58645d3
[OpenMP] Fix `omp_get_wtime` function being marked incorrectly as rea…
jhuber6 Sep 6, 2022
f049b2c
[MC] Emit Stackmaps before debug info
zero9178 Sep 6, 2022
57ef29f
[OpenMP] Remove use of removed '-f[no-]openmp-new-driver' flag
jhuber6 Sep 6, 2022
1aa5640
Merge from 'main' to 'sycl-web' (74 commits)
dbudanov-cmplr Sep 6, 2022
257edf0
Merge from 'sycl' to 'sycl-web' (3 commits)
dbudanov-cmplr Sep 6, 2022
c04a9cb
Merge from 'sycl' to 'sycl-web' (1 commits)
Sep 7, 2022
4618e90
Merge from 'main' to 'sycl-web' (18 commits)
haonanya1 Sep 7, 2022
9810b62
Merge from 'main' to 'sycl-web' (205 commits)
haonanya1 Sep 7, 2022
c1c748b
Merge remote-tracking branch 'otcshare_llvm/sycl-web' into llvmspirv_…
dbudanov-cmplr Sep 7, 2022
b64cb87
Update test to match -fvisibility=arg option requirements (#7098)
mdtoguchi Sep 8, 2022
4f341b2
Update for LLVM Optional API changes
svenvh Aug 8, 2022
c34bf5a
Restore getArgIndex in OCLTypeToSPIRV (#1567)
svenvh Aug 8, 2022
d639232
Move to C++17
svenvh Aug 9, 2022
bb6f20e
.clang-tidy: temporarily disable misc-const-correctness
svenvh Aug 10, 2022
cb6e1e3
Drop the JointMatrixINTEL struct-renaming pass when opaque pointers a…
jcranmer-intel Aug 12, 2022
9d06835
Use TypedPointerType in lieu of PointerIndirectPair in mangleBuiltin.…
jcranmer-intel Aug 12, 2022
56c79d8
Remove 2 unused SPCV_ macros
svenvh Aug 12, 2022
b2bb581
Upgrade to Ubuntu 20.04
svenvh Aug 18, 2022
35ff0e4
Fix a -Wmaybe-uninitialized warning
svenvh Aug 18, 2022
d89c352
Dot product bugfix to include more floating point types (#1578)
Quetzonarch Aug 22, 2022
40b32c3
Mass add -emit-opaque-pointers for tests that don't require changes.
jcranmer-intel Aug 19, 2022
4447e58
Add support for toolchain compilation with LLVM_LINK_LLVM_DYLIB optio…
fineg74 Aug 22, 2022
5369a73
Update SPV_INTEL_vector_compute to rev 15
vmustya Aug 23, 2022
77eea71
Remove ExecutionModeNamedBarrierCountINTEL from spirv_internal (#1604)
MrSidims Aug 23, 2022
17e8603
Mass add -emit-opaque-pointers for tests that require some changes.
jcranmer-intel Aug 19, 2022
2165452
Implement SPIR-V support for max_reinvocation_delay attribute (#1594)
bowenxue-intel Aug 24, 2022
ee0eea2
Fix type scavenger for variable arguments and multiple-uses-of-types …
jcranmer-intel Aug 31, 2022
b6aa028
Add support for split barriers extension SPV_INTEL_split_barrier (#1424)
bashbaug Aug 31, 2022
f6ddd36
Reinstate deprecated-declarations warning as error (#1609)
svenvh Sep 4, 2022
f5f1d49
Rework the demangler to support recovering more pointer element types…
jcranmer-intel Sep 6, 2022
e91c9da
Translate function pointer from global variable as pointer, not as de…
vmaksimo Sep 7, 2022
367d160
Add SPV_INTEL_masked_gather_scatter extension (#1580)
MrSidims Sep 8, 2022
9a91532
[NFC] Fix the expected assert message in LIT test gather_scatter_rgba…
v-klochkov Sep 9, 2022
f5f2ef7
[SYCL] Test must pass -opaque-pointers explicitly
robertcox-github Sep 8, 2022
4c22de1
Add opaque pointers switch to llvm/test/Verifier/dllstorage.ll
dbudanov-cmplr Sep 9, 2022
6c3a479
Remove clang/test/Driver/openmp-sycl-interop.c test form testing.
dbudanov-cmplr Sep 9, 2022
84be9c2
Delete obsolete Clang::Driver tests
dbudanov-cmplr Sep 9, 2022
b56d4f2
Revert "Delete obsolete Clang::Driver tests"
dbudanov-cmplr Sep 9, 2022
099e794
The XFAIL tests are specific to the old OpenMP offloading model, whic…
dbudanov-cmplr Sep 10, 2022
b08d4ce
Disable sycl-libspirv for amdgcn-amd-amdhsa target in clang/test/Driv…
dbudanov-cmplr Sep 10, 2022
0fe88e8
Suppress some clang-tidy errors
svenvh Aug 3, 2022
901aa73
Update LLVM version from 15 to 16
svenvh Jul 27, 2022
11c35d2
Fix the Clang sphinx build bot; NFC
AaronBallman Sep 6, 2022
28ba36f
[SYCL] Silence -Wctad-maybe-unsupported warning
Sep 13, 2022
afbc092
[SYCL] More changes to silence -Wctad-maybe-unsupported
Sep 14, 2022
3e969cd
[SYCL] Silence -Wctad-maybe-unsupported for check-sycl
Sep 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 2 additions & 20 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
Checks: |
-*,
clang-diagnostic-*,
llvm-*,
-llvm-header-guard,
misc-*,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-misc-unused-parameters,
readability-identifier-naming
WarningsAsErrors: |
llvm-*,
-llvm-header-guard,
misc-*,
-misc-no-recursion,
-misc-non-private-member-variables-in-classes,
-misc-unused-parameters,
readability-identifier-naming
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,readability-identifier-naming'
WarningsAsErrors: 'llvm-*,misc-*,-misc-no-recursion,-misc-unused-parameters,readability-identifier-naming,-llvm-header-guard'
CheckOptions:
- key: readability-identifier-naming.ClassCase
value: CamelCase
Expand All @@ -41,5 +25,3 @@ CheckOptions:
value: 1
- key: modernize-use-default-member-init.UseAssignment
value: 1
- key: llvm-namespace-comment.ShortNamespaceLines
value: '25'
8 changes: 8 additions & 0 deletions .github/workflows/llvm-project-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ jobs:
uses: llvm/actions/setup-windows@main
with:
arch: amd64
# On Windows, starting with win19/20220814.1, cmake choose the 32-bit
# python3.10.6 libraries instead of the 64-bit libraries when building
# lldb. Using this setup-python action to make 3.10 the default
# python fixes this.
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install Ninja
uses: llvm/actions/install-ninja@main
# actions/checkout deletes any existing files in the new git directory,
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Validate Tag
id: validate-tag
run: |
test "${{ github.actor }}" = "tstellar"
test "${{ github.actor }}" = "tstellar" || test "${{ github.actor }}" = "tru"
echo "${{ github.ref_name }}" | grep -e '^llvmorg-[0-9]\+\.[0-9]\+\.[0-9]\+\(-rc[0-9]\+\)\?$'
release_version=`echo "${{ github.ref_name }}" | sed 's/llvmorg-//g'`
echo "::set-output name=release-version::$release_version"
Expand Down
40 changes: 18 additions & 22 deletions .github/workflows/version-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,29 @@
import re
import sys


def get_version_from_tag(tag):
m = re.match('llvmorg-([0-9]+)\.([0-9]+)\.([0-9]+)(-rc[0-9]+)?$', tag)
if m:
if m.lastindex == 4:
# We have an rc tag.
return m.group(1,2,3)
# We have a final release tag.
return (m.group(1), m.group(2), int(m.group(3)) + 1)

m = re.match('llvmorg-([0-9]+)-init', tag)
if m:
return (int(m.group(1)) + 1, 0, 0)

raise Exception(f"error: Tag is not valid: {tag}")


version = sys.argv[1]

repo = Repo()

tag = repo.git.describe(tags = True, abbrev=0)
m = re.match('llvmorg-([0-9]+)\.([0-9]+)\.([0-9]+)', tag)

if m:
expected_major = m.group(1)
expected_minor = m.group(2)
expected_patch = int(m.group(3)) + 1
else:
# If the previous tag is llvmorg-X-init, then we should be at version X.0.0.
m = re.match('llvmorg-([0-9]+)-init', tag)
if not m:
print("error: Tag is not valid: ", tag)
sys.exit(1)
expected_major = m.group(1)
expected_minor = 0
expected_patch = 0

expected_version = f"{expected_major}.{expected_minor}.{expected_patch}"

m = re.match("[0-9]+\.[0-9]+\.[0-9]+", version)
if not m:
print("error: Version is not valid: ", version)
sys.exit(1)
expected_version = '.'.join(get_version_from_tag(tag))

if version != expected_version:
print("error: Expected version", expected_version, "but found version", version)
Expand Down
1 change: 1 addition & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

<compnerd@compnerd.org> <abdulras@fb.com>
<compnerd@compnerd.org> <abdulras@google.com>
<git@xen0n.name> <xen0n@gentoo.org>
<hans@hanshq.net> <hans@chromium.org>
<i@maskray.me> <maskray@google.com>
<JCTremoulet@gmail.com> <jotrem@microsoft.com>
Expand Down
279 changes: 279 additions & 0 deletions LICENSE.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,279 @@
==============================================================================
The LLVM Project is under the Apache License v2.0 with LLVM Exceptions:
==============================================================================

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


---- LLVM Exceptions to the Apache 2.0 License ----

As an exception, if, as a result of your compiling your source code, portions
of this Software are embedded into an Object form of such source code, you
may redistribute such embedded portions in such Object form without complying
with the conditions of Sections 4(a), 4(b) and 4(d) of the License.

In addition, if you combine or link compiled forms of this Software with
software that is licensed under the GPLv2 ("Combined Software") and if a
court of competent jurisdiction determines that the patent provision (Section
3), the indemnity provision (Section 9) or other Section of the License
conflicts with the conditions of the GPLv2, you may retroactively and
prospectively choose to deem waived or otherwise exclude such Section(s) of
the License, but only in their entirety and only with respect to the Combined
Software.

==============================================================================
Software from third parties included in the LLVM Project:
==============================================================================
The LLVM Project contains third party software which is under different license
terms. All such code will be identified clearly using at least one of two
mechanisms:
1) It will be in a separate directory tree with its own `LICENSE.txt` or
`LICENSE` file at the top containing the specific license and restrictions
which apply to that software, or
2) It will contain specific license and restriction terms at the top of every
file.

==============================================================================
Legacy LLVM License (https://llvm.org/docs/DeveloperPolicy.html#legacy):
==============================================================================
University of Illinois/NCSA
Open Source License

Copyright (c) 2003-2019 University of Illinois at Urbana-Champaign.
All rights reserved.

Developed by:

LLVM Team

University of Illinois at Urbana-Champaign

http://llvm.org

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal with
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimers.

* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimers in the
documentation and/or other materials provided with the distribution.

* Neither the names of the LLVM Team, University of Illinois at
Urbana-Champaign, nor the names of its contributors may be used to
endorse or promote products derived from this Software without specific
prior written permission.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
SOFTWARE.

Loading