Skip to content

FXML-1067 Bump llvm-project to upstream commit '4d4ca6c9' Sep. 9 #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 1,801 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1801 commits
Select commit Hold shift + click to select a range
7f57c97
[ThinLTOBitcodeWriter] Mark pass as required
aeubanks Sep 6, 2022
82b6549
[mlir:vscode] Add support for loading big bytecode files
River707 Sep 3, 2022
e7bac3b
[msan] Convert Msan to ModulePass
vitalybuka Sep 6, 2022
93600eb
[NFC][asan] Rename ModuleAddressSanitizerPass
vitalybuka Sep 6, 2022
97d00b7
[Verifier] Allow dllexport protected after D133267
MaskRay Sep 6, 2022
67dc667
[mlir][tensor] Fix a typo in the example code for UnrankedTensorType
Sep 6, 2022
e28a5ce
[mlir][tosa] Fix dynamic shape inference in conv2d
Sep 6, 2022
181d408
[pipelines] OptimizerEarlyEPCallbacks for ThinLTO prelink
vitalybuka Sep 6, 2022
2eda7c5
[test][hwasan] Update test for D132622
vitalybuka Sep 6, 2022
bb6d12b
[mlir] Flip default value of emitAccessorPrefix to kEmitAccessorPrefi…
River707 Sep 2, 2022
fb45f3c
[SimpleLoopUnswitch] Skip non-trivial unswitching of cold functions
drcut Sep 4, 2022
d3b9970
[RISCV] Use llvm::none_of to replace a loop. NFC
topperc Sep 6, 2022
c89b78a
[test] Remove PowerPC/aix-xcoff-exported-nondefault.ll
MaskRay Sep 6, 2022
4f5147a
[HWASan] Show memory rather than tag addresses in tag dump
fmayer Sep 6, 2022
a002063
Enforce module decl-use restrictions and private header restrictions …
zygoloid Sep 7, 2022
e47ca72
[mlir][tosa] Support non-batch dynamic dims for tosa.rescale to linalg
NatashaKnk Sep 7, 2022
2753eaf
[Clang] Fix the new driver crashing when using '-fsyntax-only'
jhuber6 Sep 1, 2022
a6bb7c2
[CUDA] Fix test failing when using the new driver
jhuber6 Sep 7, 2022
7354a73
[CUDA] Actually fix the test correctly this time
jhuber6 Sep 7, 2022
2c38201
[test] Fix typo in setting the wrong Context test field
rupprecht Sep 7, 2022
16743c9
[CodeGen] Limit building time in CodeGenPrepare for huge function
xiangzh1 Aug 30, 2022
5f571ee
[NFC] [Frontend] Correct the use of 'auto' in SemaCoroutine and CGCor…
ChuanqiXu9 Sep 7, 2022
e3434a8
[mlir][Math] Add constant folder for CosOp.
Aug 5, 2022
7359314
[cmake] do not set execution permission to regular files.
linsinan1995 Sep 5, 2022
ac66d87
[mlir][Math] Add constant folder for RoundEvenOp.
Sep 6, 2022
5e38b2a
[NFC][msan] Rename ModuleMemorySanitizerPass
vitalybuka Sep 6, 2022
4c18670
[NFC][sancov] Rename ModuleSanitizerCoveragePass
vitalybuka Sep 7, 2022
ea953b9
[compiler-rt] [test] Handle missing ld.gold gracefully
mgorny Sep 6, 2022
4e5a59a
[LLD][COFF] Fix writing a map file when range extension thunks are in…
Sep 7, 2022
c836dda
[X86][NFC] Refine load/store reg to StackSlot for extensibility
xiangzh1 Aug 31, 2022
1621312
[CSKY] Fix the compiling error about missing Log2 function with Log2_64
zixuan-wu Sep 7, 2022
8d7f270
[MLIR] NFC. Introduce mlir::hasEffect and refactor usages dialect util
bondhugula Sep 7, 2022
1546df4
[clang][doc] Do not keep a copy of ClangCommandLineReference.rst in tree
Sep 6, 2022
5fa1321
[AArch64] add tests for non-power2 int types; NFC
bcl5980 Sep 7, 2022
4bf84e4
[mlir] Remove `materializeOpFoldResult` functions.
pifon2a Sep 7, 2022
f42d926
[Reassociate] Avoid ConstantExpr::getFNeg() (NFCI)
nikic Sep 7, 2022
9b8b1ac
[AMDGPU] Add a comment for a missing fold
jayfoad Sep 7, 2022
1427d55
[TableGen] Document sequence with stride
jayfoad Sep 5, 2022
5291c3d
[AMDGPU] Simplify mad/mac patterns. NFC.
jayfoad Sep 5, 2022
4c58b00
[SelectionDAG] Propagate PCSections through SDNodes
melver Sep 6, 2022
da695de
[MachineInstrBuilder] Introduce MIMetadata to simplify metadata propa…
melver Sep 6, 2022
98a3a34
[ConstantExpr] Don't create fneg expressions
nikic Sep 7, 2022
0ba8886
[FastISel] Propagate PCSections metadata to MachineInstr
melver Sep 6, 2022
f0d6709
[AtomicExpandPass] Always copy pcsections Metadata to expanded atomics
melver Sep 6, 2022
31a5480
[GlobalISel] Propagate PCSections metadata to MachineInstr
melver Sep 6, 2022
3437003
[AsmPrinter] Emit PCs into requested PCSections
melver Sep 6, 2022
8eab900
Apply clang-tidy fixes for llvm-qualified-auto in Bufferize.cpp (NFC)
joker-eph Aug 29, 2022
b285d70
Apply clang-tidy fixes for performance-for-range-copy in TileUsingInt…
joker-eph Aug 29, 2022
e047a4a
[ConstantFold] Avoid unary ConstantExpr::get()
nikic Sep 7, 2022
96dfa52
[AMDGPU] Refactor SIFoldOperands. NFC.
jayfoad Sep 7, 2022
01c53d7
[AMDGPU] Add an operand folding test case from D114232
jayfoad Sep 7, 2022
0c40651
[Bitcode] Convert constexpr-to-instr.ll to use bitcode input (NFC)
nikic Sep 7, 2022
973fec7
[AMDGPU][MC][GFX11][NFC] Update assembler tests for VOPD instructions
dpreobra Sep 7, 2022
d452d5e
[Bitcode] Fix constexpr autoupgrade for arrays and structs
nikic Sep 7, 2022
c777c8f
[AMDGPU][MC][GFX11][NFC] Update disassembler tests for VOP3.DPP16 ins…
dpreobra Sep 7, 2022
a95b45d
[AMDGPU][MC][GFX11][NFC] Update disassembler tests for VOP3.DPP8 inst…
dpreobra Sep 7, 2022
efa65ef
[AMDGPU][MC][GFX11][NFC] Update disassembler tests for VOP3 instructions
dpreobra Sep 7, 2022
e74102a
[CostModel][X86] Merge getTypeBasedIntrinsicInstrCost into getIntrins…
RKSimon Sep 7, 2022
8019b46
[clangd] Support renaming virtual methods
tom-anders Sep 7, 2022
3262794
[MCA] Correctly check pipeline availability for partially overlapping…
adibiagio Sep 7, 2022
fcab0a0
[mlir] Change CombiningKind in Vector dialect to EnumAttr.
olegshyshkov Sep 7, 2022
ae05b9d
Sink/hoist memory instructions between loop fusion candidates
aaronkintel Sep 7, 2022
e6c5d13
[InstCombine] add tests for SimplifySelectsFeedingBinaryOp(); NFC
rotateright Sep 6, 2022
7c57180
[InstCombine] fold add+negate through select into sub
rotateright Sep 7, 2022
238e08d
[mlir][Math] Fix RoundEven constant folder.
Sep 7, 2022
ccf9750
[mlir][complex] Canonicalization for complex.sub adding same numbers
Lewuathe Sep 7, 2022
fb9fc79
One-shot-bufferize: allow non-tensor arguments in scg.while/for.
jreiffers Sep 7, 2022
897f3dd
[Sema] Move Diags.isIgnored() checks off hot paths, it's not free. NFC
sam-mccall Jul 13, 2022
8af74da
[clangd] Improve Selection testcase, pin to C++17
sam-mccall Sep 7, 2022
72142fb
[clangd] Fix hover crashing on integral or enumeral casts
gkllvm Sep 5, 2022
a1c4ded
Removing myself from the CODE_OWNERS.TXT file as I am no longer working
schweitzpgi Sep 7, 2022
44bbf20
[clangd] Add Macro Expansion to Hover
daiyousei-qz Sep 7, 2022
e5a8f50
[mlir] Use std::size instead of llvm::array_lengthof
JoeLoser Sep 7, 2022
85b2893
[SCCP] convert signed div/rem to unsigned for non-negative operands, …
rotateright Sep 7, 2022
a4a2943
[RISCV][MC] Add minimal support for Ztso extension
preames Sep 7, 2022
b490c8a
[libc++][format] Updates feature-test macros.
mordante Sep 4, 2022
e5d2d3e
[libc++][chrono] Implements formatter day.
mordante Mar 20, 2022
6ed21fc
Avoid __builtin_assume_aligned crash when the 1st arg is array type
yronglin Sep 7, 2022
faf9e05
[AArch64] Add additional tests for tbl expansion.
fhahn Sep 7, 2022
ab7b776
[libc++][locale] Removes an transitive include.
mordante Sep 7, 2022
f2059df
[gn build] Port e5d2d3eafbb3
llvmgnsyncbot Sep 7, 2022
d7c5391
[mlir][sparse] fix python indentation in test
aartbik Sep 6, 2022
0d4e7fb
[mlir][sparse] minor zero test refactoring in rewriting
aartbik Sep 6, 2022
23f6c8d
[amdgpu] Always, instead of mostly, remove unused LDS symbols
JonChesterfield Sep 7, 2022
aa484c9
[Lex/DependencyDirectivesScanner] Keep track of the presence of token…
akyrtzi Sep 5, 2022
9ea7e4f
[RISCV] Remove unnecessary word from error message.
topperc Sep 7, 2022
8105f55
[AArch64] Add tests for using tbl for fp conversions.
fhahn Sep 7, 2022
894531f
[Libomptarget] Add utility functions for loading an ELF symbol by name
jhuber6 Sep 3, 2022
3001559
[Libomptarget] Replace libelf with LLVM's Elf libraries
jhuber6 Aug 5, 2022
edca72f
[mlir][sparse] Refactoring: remove dependence on tuple type when lowe…
Sep 7, 2022
de4a2b7
[libc++] Fixes CI.
mordante Sep 7, 2022
a576491
[lld-macho] Hardlink -object_path_lto files to cache when possible
speednoisemovement Sep 2, 2022
cc14e19
[RISCV] Remove space before colon in error message.
topperc Sep 7, 2022
8d2a447
[Libomptarget] Remove leftover ELF header from x86 plugin
jhuber6 Sep 7, 2022
97c2220
[SanitizerBinaryMetadata] Introduce SanitizerBinaryMetadata instrumen…
melver Sep 6, 2022
c4842bb
[Clang] Introduce -fexperimental-sanitize-metadata=
melver Sep 6, 2022
da47c7c
Apply clang-tidy fixes for performance-unnecessary-value-param in Uti…
joker-eph Aug 29, 2022
0449b6a
Apply clang-tidy fixes for llvm-else-after-return in SparseTensorRewr…
joker-eph Aug 29, 2022
98fe49c
[Bazel] Make clang/unittests:lex_tests depend on //llvm:TestingSupport
MaskRay Sep 7, 2022
c69c780
[MLIR] NFC: expand comment in bazel BUILD file
chsigg Sep 7, 2022
482aff4
[MLIR] NFC: add back `exports_files(["LICENSE.txt"])`.
chsigg Sep 7, 2022
178554f
[ASan] Show memory rather than tag addresses in tag dump
fmayer Sep 7, 2022
e321c8d
C++/ObjC++: switch to gnu++17 as the default standard
MaskRay Sep 7, 2022
95d497f
[AMDGPU] W/a hazard if 64 bit shift amount is a highest allocated VGPR
rampitec Aug 31, 2022
3e7350f
[ODRHash diagnostics] Move `ODRDiagsEmitter` to libAST in separate fi…
vsapsai Jun 28, 2022
c37acb6
[Hexagon] Move vectorization checks from subtarget to TTI
Sep 7, 2022
6e8d93e
[Libomptarget] Implement OpenMP 5.2 semantics for device pointers
jhuber6 Sep 7, 2022
811688d
[gn build] port e321c8dd2cea
nico Sep 7, 2022
cce2947
[gn build] port aa484c90cf59
nico Sep 7, 2022
52967a5
[InstCombine] Fix a crash in -kcfi debug block
samitolvanen Sep 7, 2022
bee10b0
[gn build] Port 3e7350f3173b
llvmgnsyncbot Sep 7, 2022
eaf0986
[gn build] Port 97c2220565ab
llvmgnsyncbot Sep 7, 2022
bc502d9
Revert D133266 "[MinGW] Reject explicit non-default visibility applie…
MaskRay Sep 7, 2022
a002fd6
[InstCombine] Baseline tests for folding x + (x | -x) to x & (x - 1)
marcauberer Sep 7, 2022
bb6966a
[libc] Return correct values for hypot when overflowed.
lntue Sep 6, 2022
610b090
[mlir][sparse] change variable dimension to fixed attribute pointers/…
aartbik Sep 7, 2022
e2f065c
[libc][math] Implement asinf function correctly rounded for all round…
lntue Sep 7, 2022
fb28bf3
[AMDGPU] Fix liveness verifier error in hazard recognizer
rampitec Sep 7, 2022
a81c7db
[AMDGPU] Drop _oneuse checks from med3 patterns
bogner Aug 24, 2022
05aa2a1
[BOLT] Distinguish sections in heatmap
Sep 7, 2022
d1ef9f1
[mlir:PassTiming] Always use parentInfo for determining pipeline pare…
River707 Aug 30, 2022
61f0677
Apply clang-tidy fixes for performance-unnecessary-value-param in Vec…
joker-eph Aug 29, 2022
c599650
Apply clang-tidy fixes for readability-identifier-naming in CRunnerUt…
joker-eph Aug 29, 2022
95b7889
[flang] Write semantics test for atomic_fetch_add
ktras Aug 31, 2022
6332a00
[libunwind] Fix a few libunwind includes
rprichard Sep 7, 2022
ba755f7
[NFC][DSE] Add a masked dead store test that should rely on additiona…
mcberg2021 Sep 8, 2022
01cea7a
[InstCombine] extractvalue (any_mul_with_overflow X, 2^n), 0 -> X << n
ZCBing Sep 8, 2022
a80e1e4
[BOLT][TEST] Remove functions with dynamic exception specification
aaupov Sep 8, 2022
7c99bf8
[X86] Pre-commit test for PR57576. NFC
topperc Sep 8, 2022
7e0a52e
[NFC][MachineFunctionPass] Only lookup pass name if we request printing
aeubanks Sep 8, 2022
f48931f
[NewPM] Switch -filter-passes from ClassName to pass-name
MaskRay Sep 8, 2022
5777c05
[clang] Perform implicit lvalue-to-rvalue cast with new interpreter
tbaederr Aug 18, 2022
8e41e6a
[clang][Interp] Implement function calls
tbaederr Aug 19, 2022
95e6a40
[clang][Interp] Implement IntegralToBoolean casts
tbaederr Aug 26, 2022
4d700ff
[clang][Interp] Implement ImplicitValueInitExprs
tbaederr Aug 27, 2022
5c4dbff
[clang][Interp] Handle SubstNonTypeTemplateParmExprs
tbaederr Aug 27, 2022
aa7c5c9
[clang][Interp] Handle missing local initializers better
tbaederr Aug 29, 2022
3a7d476
[clang][Interp] Implement array initializers and subscript expressions
tbaederr Aug 31, 2022
0da7e40
[clang][Interp][NFC] Context::classify() can be const
tbaederr Aug 29, 2022
651f4ce
[clang][Interp][NFC] Use constexpr if when possible in Integral.h
tbaederr Sep 6, 2022
250cde6
[MLIR] NFC: add back exports_files(["run_lit.sh"]).
chsigg Sep 8, 2022
b60f801
[LoongArch] Add codegen support for atomicrmw xchg operation on LA64
gonglingqin Jul 19, 2022
d5f7a21
[LoongArch] Add codegen support for atomicrmw xchg operation on LA32
gonglingqin Sep 8, 2022
b53bccb
[mlir][Math] Add constant folder for RoundOp.
Sep 7, 2022
19dc3cf
[Support] Add llvm::compression::{getReasonIfUnsupported,compress,dec…
MaskRay Sep 8, 2022
5b19a1f
[llvm-objcopy] Support --{,de}compress-debug-sections for zstd
MaskRay Sep 8, 2022
9397648
[MC] Support writing ELFCOMPRESS_ZSTD compressed debug info sections
MaskRay Sep 8, 2022
10842b4
[Support] Work around GCC's enum support
MaskRay Sep 8, 2022
0444b40
Revert "[Support] Add llvm::compression::{getReasonIfUnsupported,comp…
nikic Sep 8, 2022
fd24750
Revert "C++/ObjC++: switch to gnu++17 as the default standard"
nikic Sep 8, 2022
a41977d
[Support] Add llvm::compression::{getReasonIfUnsupported,compress,dec…
MaskRay Sep 8, 2022
b6e1fd7
[llvm-objcopy] Support --{,de}compress-debug-sections for zstd
MaskRay Sep 8, 2022
fbf5e87
[MC] Support writing ELFCOMPRESS_ZSTD compressed debug info sections
MaskRay Sep 8, 2022
8627179
[clang][Interp] Only initialize initmaps for primitive arrays
tbaederr Sep 8, 2022
273b335
[flang] Deallocate intent(out) allocatables
clementval Sep 8, 2022
047c7aa
Improve diagnostic when emitting operations with regions
bondhugula Sep 3, 2022
3e99b8d
C++/ObjC++: switch to gnu++17 as the default standard
MaskRay Sep 8, 2022
6247988
One-shot-bufferize: fix for inconsistent while arg types in before/af…
jreiffers Sep 8, 2022
96cb7c2
[ConstantExpr] Remove fneg expression
nikic Sep 7, 2022
a0365ab
[Driver] Support -gz=zstd
MaskRay Sep 8, 2022
5b5f6e7
[AArch64] add i56 load store pair test case; NFC
bcl5980 Sep 8, 2022
d1536ee
Fix clang-format.
jreiffers Sep 8, 2022
e428baf
[LLVM][ARM] Remove options for armv2, 2A, 3 and 3M
DavidSpickett Sep 1, 2022
5dd87a3
[gn build] port a0365abad811
nico Sep 8, 2022
aeae703
[unittests] Change operands of Add in AsmWriterTest from Undef to Poison
ManuelJBrito Sep 8, 2022
9b4e75e
[RISCV][COST] Add cost model for mask vector select instruction when …
Sep 8, 2022
723245b
[AARCH64][COST] Improve cost of reverse shuffles for AArch64
Sep 8, 2022
3864643
[AArch64][SVE] Add out of range SVE arg CC test
MDevereau Sep 8, 2022
1dbcb79
[lit] Test changes to make it work with bazel
chsigg Sep 7, 2022
52f7eb3
[LICM] Add test for sret with conditional store (NFC)
nikic Sep 8, 2022
7d4ee32
[AArch64] Add tests for shuffle (tbl2, tbl2) -> tbl4 fold.
fhahn Sep 8, 2022
422cf99
[VPlan] Only generate single instr for loads uniform across all parts.
fhahn Sep 8, 2022
5b652f7
[AMDGPU] Add basic tests for emitting v_fma_f16 and friends
jayfoad Sep 8, 2022
57c943d
[AMDGPU] Only raise wave priority if there is a long enough sequence …
kosarev Sep 8, 2022
f879939
Recommit "[AggressiveInstCombine] Lower Table Based CTTZ"
Sep 7, 2022
39fcb4a
[AArch64] Add tests for lowering trunc to i8 using tbl.
fhahn Sep 8, 2022
d9e1f9d
[InstCombine] Fold icmp of truncated left shift
rotateright Sep 8, 2022
d8a2d3f
[NFC][Regalloc] Introduce the RegAllocPriorityAdvisorAnalysis
Flpha0830 Sep 8, 2022
3c81757
[Hexagon] Handle shifts of short vectors of i8
Sep 8, 2022
7aec9dd
Revert "Recommit "[AggressiveInstCombine] Lower Table Based CTTZ""
Sep 8, 2022
5e96cea
[llvm] Use std::size instead of llvm::array_lengthof
JoeLoser Sep 7, 2022
ac3b8df
[WebAssembly] Prototype `f32x4.relaxed_dot_bf16x8_add_f32`
tlively Sep 8, 2022
ec8f290
[mlir][sparse] fix bug in workspace dimension computation
aartbik Sep 8, 2022
e09c750
[clangd][ObjC] Improve completions for protocols + category names
DavidGoldman Aug 31, 2022
de0e311
[SystemZ] Improve handling of vector alignments.
JonPsson Aug 4, 2022
afa0ed3
[AMDGPU] Fix shrinking of F16 FMA on newer subtargets
jayfoad Sep 8, 2022
47bf3e3
[mlir][dataflow] Remove Lattice::isUninitialized().
phisiart Sep 8, 2022
3695cf2
[libc++] Removes Clang 13 support.
mordante Sep 7, 2022
04548e8
[AArch64] Add test for vscale nontemporal loads larger than 256.
Sep 8, 2022
906ea59
[SystemZ] Fix new test case
JonPsson Sep 8, 2022
4c4c0d2
[LV] Use safe-divisor lowering for fixed vectors if profitable
preames Sep 8, 2022
abd2b1a
[clang] Fix a crash in constant evaluation
kadircet Sep 2, 2022
b090ef9
[test] Fix compress-debug-sections-zlib-unavailable.s
MaskRay Sep 8, 2022
71c4fb1
[clangd] Set Incompleteness for spec fuzzyfind requests
kadircet Sep 8, 2022
2944f8e
[flang] Add co_sum to the list of intrinsics and update test
ktras Aug 24, 2022
444f08c
[InstCombine] fold icmp of truncated left shift, part 2
rotateright Sep 8, 2022
a8c647d
[mlir][NFC] Provide accessor for TableGen record
math-fehr Sep 8, 2022
5d3cf82
Revert "Support: Add mapped_file_region::sync(), equivalent to msync"
raghavmedicherla Sep 8, 2022
87a6ccf
[mlir][tosa] Add dynamic width/height for pooling in tosa to linalg
NatashaKnk Sep 7, 2022
78c40b3
[flang] Control flow with empty select case blocks
vdonaldson Sep 8, 2022
de883be
[mlir][bufferization] fix typo in example code for bufferization.allo…
Sep 8, 2022
63a2536
[mlir][MemRef] Simplify extract_strided_metadata(subview)
qcolombet Sep 1, 2022
b34006d
[lld][COFF] Add support for overriding weak symbols in LLVM bitcode i…
alanzhao1 Aug 31, 2022
d200db3
[clang] template / auto deduction deduces common sugar
mizvekov May 25, 2022
d42122c
[clang] use getCommonSugar in an assortment of places
mizvekov Oct 10, 2021
16e5d6d
[clang] extend getCommonSugaredType to merge sugar nodes
mizvekov Jul 19, 2022
c4d0509
[ARM] Add tests on instructions fusion with comparison with zero; NFC
fzhinkin Sep 8, 2022
9b825dc
[LLDB][NativePDB] Fix PdbAstBuilder::GetParentDeclContext when ICF ha…
ZequanWu Sep 6, 2022
c38eeec
[lldb] Use just-built libcxx for tests when available
felipepiovezan Aug 30, 2022
fa8eb27
[mlir][arith] Add wide integer emulation pass
kuhar Sep 8, 2022
f92c172
Make llvm-tli-checker support static libraries
pogo59 Sep 7, 2022
b69f10f
[mlir][PDL] Infer result types from a `replace` as the last resort
River707 Sep 1, 2022
9a41f6e
Revert "[lldb] Use just-built libcxx for tests when available"
felipepiovezan Sep 8, 2022
e833fdc
[mlir] Add missing dependency in bazel build
qcolombet Sep 8, 2022
3875c38
[AArch64] Fix formatting of the Shuffle Cost tables. NFC
davemgreen Sep 8, 2022
4902c3b
[mlir][arith] Attempt to fix shared libs build for EmulateWideInt
kuhar Sep 8, 2022
a219a8a
[mlgo][nfc] Set logging level to warning or higher for TFLite
mtrofin Sep 8, 2022
be442d2
[docs][RISCV] Document experimental extensions
preames Sep 8, 2022
45b5e8a
Revert "[mlir][arith] Attempt to fix shared libs build for EmulateWid…
kuhar Sep 8, 2022
5f3a8b5
[RISCV] Add RecurKind::FMulAdd to isLegalToVectorizeReduction for sca…
topperc Sep 8, 2022
ac77b3f
[clang][ARM][NFC] Clean up signed conversion and undefined macros in …
ddcc Aug 16, 2022
dc46d5c
[mlir][sparse] improve dimop rewriting during conversion
aartbik Sep 8, 2022
b9cfb6f
[mlir][tosa] Add apply scale flags to TosaToArith creation API
dcaballe Sep 8, 2022
e413eb6
[mlir] ConvertAsyncToLLVM: add missing dependence on async dialect
cota Sep 8, 2022
47b7663
[lldb] Use std::size instead of llvm::array_lengthof
JoeLoser Sep 8, 2022
8d03328
[clang] NFC: Add a missing const qualifier to Decl::isLocalExternDecl().
tahonermann Jul 23, 2022
49c2898
[AST/Interp] Fix latent unitialized use of memory bug in D64146
MaskRay Sep 8, 2022
2f23dc9
[AST/Interp] Fix left shift overflow bug in D64146
MaskRay Sep 8, 2022
0f2f1c2
[sanitizers] Invalidate GlobalsAA
vitalybuka Sep 7, 2022
8a583bd
[mlir][sparse] Add codegen for expand op.
bixia1 Sep 7, 2022
1cf5c7f
[msan] Disambiguate warnings debug location
vitalybuka Sep 2, 2022
e5ac98f
[OpenMP][libomp] Cleanup __kmpc_flush() code
jpeyton52 Aug 1, 2022
b3999fd
Fix bazel deps.
rdzhabarov Sep 8, 2022
5e5937d
[mlir][func] Remove unnecessary link dependencies for MLIRFuncTransforms
kuhar Sep 8, 2022
32530e0
[LLDB][NativePDB] Set block address range.
ZequanWu Sep 7, 2022
4fdbe98
[BOLT] Introduce SplitStrategy ABC
Sep 8, 2022
1a6ffd7
[mlir][vector] NFC - Add rewriter.notifyMatchFailure messages for bet…
nicolasvasilache Sep 8, 2022
48203b3
Revert D130308 "[clang] extend getCommonSugaredType to merge sugar no…
MaskRay Sep 8, 2022
d529e81
[libc++] Fix compilation error on platforms that don't implement std::tm
ldionne Sep 8, 2022
fba411a
Revert "Fix bazel deps.". Original change has been reverted.
rdzhabarov Sep 8, 2022
b7d47ed
[mlir][memref] Add support for 0-D transfer / subview fold.
nicolasvasilache Sep 8, 2022
fb98a62
[mlir] NFC - move declaration of `Range` to StaticValueUtils.h
christopherbate Sep 8, 2022
873942e
[BOLT] Change reorder-blocks deprecated option warning output
aaupov Sep 8, 2022
31abde4
[BOLT] Restrict ICP for functions with unknown control flow
aaupov Sep 8, 2022
44e74d8
[docs][RISCV] Document status of assorted extensions
preames Sep 8, 2022
194900f
[docs][RISCV] Document status of scalar crypto extensions
preames Sep 8, 2022
580f725
[docs] Fix a rebase error in 194900f
preames Sep 8, 2022
781dea0
[Support] Rename DebugCompressionType::Z to Zlib
MaskRay Sep 8, 2022
4d4ca6c
[Driver] Rename Z to Zlib
MaskRay Sep 8, 2022
46745e9
Bump llvm-project to upstream commit '4d4ca6c9'
gargaroff Oct 13, 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.
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.

5 changes: 4 additions & 1 deletion bolt/include/bolt/Core/BinaryBasicBlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,9 @@ class BinaryBasicBlock {
/// Return branch info corresponding to an edge going to \p Succ basic block.
BinaryBranchInfo &getBranchInfo(const BinaryBasicBlock &Succ);

/// Return branch info corresponding to an edge going to \p Succ basic block.
const BinaryBranchInfo &getBranchInfo(const BinaryBasicBlock &Succ) const;

/// Return branch info corresponding to an edge going to a basic block with
/// label \p Label.
BinaryBranchInfo &getBranchInfo(const MCSymbol *Label);
Expand Down Expand Up @@ -982,7 +985,7 @@ class BinaryBasicBlock {
#if defined(LLVM_ON_UNIX)
/// Keep the size of the BinaryBasicBlock within a reasonable size class
/// (jemalloc bucket) on Linux
static_assert(sizeof(BinaryBasicBlock) <= 256, "");
static_assert(sizeof(BinaryBasicBlock) <= 256);
#endif

bool operator<(const BinaryBasicBlock &LHS, const BinaryBasicBlock &RHS);
Expand Down
2 changes: 1 addition & 1 deletion bolt/include/bolt/Core/BinaryEmitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void emitBinaryContext(MCStreamer &Streamer, BinaryContext &BC,
/// Emit \p BF function code. The caller is responsible for emitting function
/// symbol(s) and setting the section to emit the code to.
void emitFunctionBody(MCStreamer &Streamer, BinaryFunction &BF,
const FunctionFragment &FF, bool EmitCodeOnly);
FunctionFragment &FF, bool EmitCodeOnly);

} // namespace bolt
} // namespace llvm
Expand Down
Loading