Skip to content

Matthias.update llvm to green 6cf7fe4a #49

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 2,237 commits into from
Jun 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2237 commits
Select commit Hold shift + click to select a range
361a822
[ELF][test] Add -NEXT and -NOT after D150644 (–-print-memory-usage)
MaskRay May 25, 2023
5df593a
[Sema] cast to CXXRecordDecl correctly when diag a default comparison…
HerrCai0907 May 25, 2023
dd16cd7
[mlir][gpu] Add a pattern for transforming gpu.global_id to thread + …
fabianmcg May 25, 2023
bad4de1
Don't disable loop unroll for vectorized loops on AMDGPU target
alex-t Apr 26, 2023
0e90ac9
Re-revert "[lldb] Move PassthroughScriptedProcess to `lldb.scripted_p…
medismailben May 25, 2023
1d4e8f0
[libc] Fix compilation issues in memory_check_utils.h
frobtech May 25, 2023
65c7893
[libc] Support LIBC_COPT_USE_C_ASSERT build flag
frobtech May 25, 2023
f039cae
[libc++] Add support for generated tests in the libc++ test format
ldionne May 23, 2023
bad1a69
[libcxxabi] link abort_message into unittest_demangle
nickdesaulniers May 25, 2023
ecc70b4
[MLIR] Fixup Bazel build for Add a pattern for transforming gpu.globa…
May 25, 2023
ee740b7
[Demangle] avoid more std::string_view::substr
nickdesaulniers May 25, 2023
330a232
[mlir][gpu] Add i64 & f64 support to gpu.shuffle
fabianmcg May 25, 2023
7c847ac
[lldb] Disable variable watchpoints when going out of scope
medismailben May 25, 2023
a6d09d4
Add a `-verify-roundtrip` option to `mlir-opt` intended to validate c…
joker-eph May 23, 2023
837d1ce
[MLIR] Add native Bytecode support for properties
joker-eph May 1, 2023
22caafc
[mlir][sparse][gpu] end to end test for matmul
aartbik May 25, 2023
0bda541
[libc][doc] Update math function status page to show more targets.
lntue May 25, 2023
0aa7ea4
[libc][darwin] Add OSUtil for darwin arm64 target so that unit tests …
lntue May 24, 2023
98aad40
[tosa] Improve inferred shapes of TOSA operations
sabauma May 25, 2023
a2b677e
[fuzzer] Don't hard-code page size in FuzzerUtil.h
Ami-zhang May 25, 2023
f75b735
[Clang][Attribute] Improve the AST/diagnoses fidelity of alignas and …
yronglin May 25, 2023
e86defd
[mlir][tosa] Add type checking traits to the appropriate ops
tatwaichong May 25, 2023
417ea79
[libc] Enable hermetic floating point tests
jhuber6 May 24, 2023
4311246
Revert "[libc] Enable hermetic floating point tests"
jhuber6 May 26, 2023
b8e3077
[Clang][OpenMP] Fix the issue that list items in `has_device_addr` ar…
shiltian May 26, 2023
7639265
[sanitizer] Implement __sanitizer_get_allocated_size_fast
Northbadge May 24, 2023
eaf3de6
[Clang] Fix test case issue introduced by D141627
shiltian May 26, 2023
3c5e3b7
llvm-symbolizer: access the base address from the skeleton CU, not th…
dwblaikie May 26, 2023
cb9f2de
Revert "[fuzzer] Don't hard-code page size in FuzzerUtil.h"
jasonmolenda May 26, 2023
ab80ad0
[mlir] Fix non-const lvalue reference to type 'uint64_t' cannot bind …
DamonFool May 26, 2023
88732ed
Fix test by marking it x86 specific
dwblaikie May 26, 2023
12d8403
[Clang] Simplify test `clang/test/OpenMP/bug59160.c`
shiltian May 26, 2023
c9ee631
TestStackCoreScriptedProcess.py is timing out, skip it
jasonmolenda May 26, 2023
c3e7c6e
[NFC][CLANG] Fix static code analyzer concerns
smanna12 May 26, 2023
baa1488
[fuzzer] Don't hard-code page size in FuzzerUtil.h
Ami-zhang May 26, 2023
07dc906
Fix MLIR back-deployment to version < 5 ; properties section should n…
May 26, 2023
df34c28
Fix MLIR Bytecode backward deployment
joker-eph May 26, 2023
ca5a12f
Bump the MLIR bytecode current revision (version 5) to match the impl…
joker-eph May 26, 2023
facf22b
[fuzzer] Platfom specific version of PageSize
vitalybuka May 26, 2023
bb9a0c7
Revert "[MLIR] Add native Bytecode support for properties"
joker-eph May 26, 2023
40eb8a7
[ELF] findAllByVersion: optimize a find('@') with hasVersionSuffix. NFC
MaskRay May 26, 2023
8ee22b6
Fix link to the TOSA spec in the dialect doc (NFC)
joker-eph May 26, 2023
3d075fe
[X86] Add test for select folding.
LuoYuanke May 26, 2023
9d1b27f
[libc++] Fix C++26 transitive includes list
philnik777 May 26, 2023
00c7bdf
[flang] Fix an unused variable warning
kazutakahirata May 26, 2023
1b8465a
[mlir] Add CastInfo for mlir classes subclassing from PointerUnion
tpopp May 23, 2023
6de63b8
[mlir] Move tblgen code generation to use functional forms of cast/isa
tpopp May 25, 2023
d46a135
[mlir] Update cast/isa method calls to function calls
tpopp May 25, 2023
8683b2f
[clang-tody] Fix typos in documentation
kazutakahirata May 26, 2023
9652eba
[clang] Modernize SourceLocation (NFC)
kazutakahirata May 26, 2023
f9008e6
[NFC][Py Reformat] Reformat python files in mlir subdir
tru May 17, 2023
af2c936
[NFC] Add mlir python reformat SHA to .git-blame-ignore-revs
tru May 26, 2023
e46aa6d
[NFC][Py Reformat] Reformat version-check.py in .github dir
tru May 26, 2023
a22ef95
[AMDGPUCodegenPrepare] Add NewPM Support
gandhi56 May 24, 2023
cd41967
[flang][hlfir] Only canonicalize forall_index if it can be erased
jeanPerier May 26, 2023
4f1fe19
[libc] Make ErrnoSetterMatcher handle logging floating point values.
May 15, 2023
e6135c2
[clang] Remove unused declaration IgnoreLinkageSpecDecls
kazutakahirata May 26, 2023
f9e64ae
[lit][NFC] Fix a couple of typos
frasercrmck May 26, 2023
d24d781
[lit][NFC] Remove double space after full stop/period
frasercrmck May 26, 2023
bfe6b3b
[lit][NFC] Remove docs for nonexistent parameter
frasercrmck May 26, 2023
a800a4f
[RISCV] Regenerate missing test checks
frasercrmck May 26, 2023
b92fb33
[CodeGen] Remove unused member variable NextBlockInfo
kazutakahirata May 26, 2023
477d108
[RISCV] Custom lower vector llvm.is.fpclass to vfclass.v
ChunyuLiao May 26, 2023
71decdf
[CodeGen] Remove unused declaration EmitMoveFromReturnSlot
kazutakahirata May 26, 2023
6922eed
[CSKY] Add missing relocation type for FK_Data_4 Fixup
zixuan-wu May 26, 2023
8d0412c
[AMDGPU] Add pass to rewrite partially used virtual superregisters af…
vpykhtin Dec 9, 2022
e4284a7
[AMDGPU] 4-align SGPR triples
jayfoad May 25, 2023
52d3255
[Clang][RISCV] Add description for test case . NFC
eopXD May 26, 2023
6feaa54
[clangd] Implement configs to stop clangd produce a certain semantic …
daiyousei-qz May 26, 2023
c80fe25
[ASAN] Support memory checks on vp.gather/scatter.
Apr 26, 2023
cafb099
[AMDGPU] Silence gcc warning [NFC]
mikaelholmen May 26, 2023
7c52520
[Clang][RISCV] Add test coverage for typedef of RVV intrinsic data ty…
eopXD May 26, 2023
68f5881
[mlir] Move casting calls from methods to function calls
tpopp May 26, 2023
90c4db4
[RISCV] Don't scalarize vector stores if volatile
lukel97 May 25, 2023
fe7afcf
[clangd] Remove inline Specifier for DefineOutline Tweak
bgluzman May 26, 2023
10518fe
[clang-format][doc] Fix contradiction in SortIncludes description
michael-g-matthews May 26, 2023
aed7959
[clang-format][doc] Fix a typo introduced in 9aab0db13fb6d
owenca May 26, 2023
45aaa67
[mlir][tensor] Fix one-shot bufferization of tensor.reshape.
ingomueller-net May 26, 2023
e1596d7
[Remarks] Retain all remarks by default, add option to drop without DL.
fhahn May 26, 2023
e1d1cd4
[bazel] Run buildifier on libc BUILD. NFC.
d0k May 26, 2023
3d91cae
[bazel][libc] Adjust for 4f1fe19df385445fabde47998affca50c7f1bc1e
d0k May 26, 2023
596887d
[bazel][libc] Add file missing for 25174976e19b2ef916bb94f4613662646c…
d0k May 26, 2023
f97ea77
[Utils] Added the ability to print the pass number and IR after it is…
May 11, 2023
9e8ed34
[RISCV] Support '.option arch' directive
May 26, 2023
e8aee45
[IRTranslator] Implement translation of entry_value dbg.value intrinsics
felipepiovezan May 23, 2023
aba1bea
[SelectionDAGBuilder] Handle entry_value dbg.value intrinsics
felipepiovezan May 23, 2023
96ec1be
[FastISel][NFC] Refactor if/else chain into early returns
felipepiovezan May 24, 2023
c23b35a
[FastISel][NFC] Remove repeated calls to get{Variable,Expr}
felipepiovezan May 24, 2023
198a887
[bazel][libc] Add another missing dependency
d0k May 26, 2023
6f75c66
[KnownBits] Add fast-path for shl with unknown shift amount (NFC)
nikic May 26, 2023
0048018
[mlir] Make sure mlir-opt is in the list of substituted tools
d0k May 26, 2023
103684b
[KnownBits] Partially synchronize shift implementations (NFC)
nikic May 26, 2023
e1aa91b
[InstCombine] Use KnownBits::shl() in SimplifyDemandedBits()
nikic May 26, 2023
e99a79f
[InstCombine] Add test for missing assume handling multi-use demanded…
nikic May 26, 2023
e821db3
[NFC] refactor code
LuoYuanke May 26, 2023
d01917c
[LLDB] Explicitly declare constructor in `PersistentExpressionState`
May 25, 2023
fd89df1
[InstCombine] Add additional tests for unreachable code (NFC)
nikic May 26, 2023
969c686
[X86] fold select to mask instructions.
LuoYuanke May 26, 2023
8f12057
[ValueTracking] Avoid UB in test (NFC)
nikic May 26, 2023
1fc4253
[InstCombine] Handle undef when pruning unreachable code
nikic May 25, 2023
0c18379
[InstCombine] Add tests for icmp of select fold (NFC)
tejas-amd May 26, 2023
75cd8cd
[Clang] Correctly handle generic lambda used as default template argu…
cor3ntin May 24, 2023
c75a0f5
[InstCombine] Optimize compares with multiple selects as operands
tejas-amd May 26, 2023
0c93879
[AArch64] merge scaled and unscaled zero narrow stores.
May 19, 2023
07f49bf
[libc] Adapt includes after 25174976e19b2ef916bb94f4613662646c95cd46
krasimirgg May 26, 2023
c73c767
[RISCV] Fix typo VLUpperBound to VLEN in SiFive7. NFC.
michaelmaitland May 25, 2023
a1dec5d
[ValueTracking] Avoid optimizing away condition in test (NFC)
nikic May 26, 2023
ca18e21
[InstCombine] Remove instructions in dead blocks during combining
nikic May 24, 2023
6a524fb
[gn] attempt to port fe2f0ab37c33
nico May 26, 2023
461d571
[RISCV] Revise test coverage for shuffle/insert idiom which become v(…
preames May 26, 2023
62110aa
[gn build] Port 8d0412ce9d48
llvmgnsyncbot May 26, 2023
1898fc1
[FastISel] Implement translation of entry_value dbg.value intrinsics
felipepiovezan May 24, 2023
08be7a4
[Clang] Convert some tests to opaque pointers (NFC)
nikic May 26, 2023
e31f994
[lldb] Improve error message when evaluating expression when not stopped
JDevlieghere May 26, 2023
44f6e86
[mlir] teach expensive-checks transform mode about empty handle
ftynse May 26, 2023
5310be5
[mlir] make `fuse_into_containing_op` preserve the containing op handle
ftynse May 26, 2023
bfb1ba7
[MLIR][python bindings] Add TypeCaster for returning refined types fr…
makslevental May 26, 2023
c5e6c88
[VP][SelectionDAG][RISCV] Add get_vector_length intrinsics and generi…
topperc May 26, 2023
6c9c69b
[flang] Retain the sign of the argument for the result of fraction(0)
vdonaldson May 25, 2023
a731c5f
[lldb] Remove reproducer test suite (NFC)
JDevlieghere May 26, 2023
6ce34c0
hwasan: enable mmap interception (no tagging used)
thurstond May 25, 2023
4a16f65
[Driver][X86] Reject unsupported value for -mabi=
MaskRay May 26, 2023
235fbe7
[mlir] [sparse] [gpu] adding transpose support to spmm spmv
May 26, 2023
acb1b4f
Fix wrong error message when compiling C souce code:
jyu2-git May 25, 2023
437ec15
[libc++][ci] Install ccache in the Docker image
ldionne May 18, 2023
2a84c63
[clang-tidy] Optimize misc-confusable-identifiers
PiotrZSL May 26, 2023
a4f437f
SelectionDAG: Teach ComputeKnownBits about VSCALE
topperc May 26, 2023
b1cf54f
[libc++][PSTL] Add a test to make sure that customization points work…
philnik777 May 26, 2023
877ddac
[lldb][NFCI] Include <cstdio> in SBDefines for FILE * definition
bulbazord May 24, 2023
74e29d3
[mlir][sparse][gpu] fix merge conflict
aartbik May 26, 2023
e892193
[SLP][NFC]Add a test for spill cost, NFC.
alexey-bataev May 26, 2023
b22965d
[lldb] Pass CMAKE_SYSROOT through to LLDB shell tests
mysterymath May 23, 2023
dcd5f31
[RISCV] Tighten type constraint for RISCVISD::FCLASS_VL.
topperc May 26, 2023
9346dc6
Add fastmath attributes to llvm.call_intrinsic
May 26, 2023
1fea6bd
[RISCV] Remove extra MVT::Other result from creation of RISCVISD::FCL…
topperc May 26, 2023
9b9e9ab
[RISCV] Simplify code in LowerIS_FPCLASS. NFC
topperc May 26, 2023
95b6311
[SLP]Fix getSpillCost functions.
alexey-bataev May 26, 2023
69f16f7
[libc++][NFC] Add additional test case for modules issue in Objective…
ldionne May 25, 2023
e0ca7e9
[MLIR][python bindings] Fix inferReturnTypes + AttrSizedOperandSegmen…
makslevental May 26, 2023
7c91d82
[PhaseOrdering] Add test for loop over span with hardened libc++.
fhahn May 26, 2023
23da210
[PseudoProbe] Do not force the calliste debug loc to inlined probes f…
htyu May 26, 2023
97ca349
Factor out xcrun into a function (NFC)
adrian-prantl May 26, 2023
cefd280
Make function static (NFC)
adrian-prantl May 26, 2023
c0d1128
[lldb] Skip instead of XFAIL TestInteractiveScriptedProcess
JDevlieghere May 26, 2023
c45a649
Revert "Make function static (NFC)"
adrian-prantl May 26, 2023
d9c898a
Revert "Factor out xcrun into a function (NFC)"
adrian-prantl May 26, 2023
743dd4d
[mlir] Use std::optional instead of llvm::Optional (NFC)
kazutakahirata May 26, 2023
785b30b
[clang-tidy] Check for specific return types on all functions
chaitanyav May 26, 2023
a2684ac
[HWASan] use hwasan linker for Android 14+
fmayer May 24, 2023
1610627
[llvm-debuginfod][NFC] Switch to OptTable
May 26, 2023
7adff65
[Dexter] Don't hardcode x86_64 as the default architecture
JDevlieghere May 26, 2023
9249129
[clang][modules] NFCI: Distinguish as-written and effective umbrella …
jansvoboda11 May 26, 2023
2be0abb
Rewrite load-store-vectorizer.
jlebar May 4, 2023
89d71c1
[Driver] Reject AIX-specific link options on non-AIX targets
MaskRay May 26, 2023
d6e617c
[clang][modules] NFCI: Use `DirectoryEntryRef` for umbrella directory
jansvoboda11 May 26, 2023
6585599
Fix test failure after 2be0abb7fe7 (caused by bad merge, sorry).
jlebar May 26, 2023
f32d24d
Revert "[lldb] Disable variable watchpoints when going out of scope"
jasonmolenda May 26, 2023
9c46606
[Dexter] XFAIL Dexter tests for Apple Silicon (arm64)
JDevlieghere May 26, 2023
a419ec4
Fix runtime crash inside __kmpc_init_allocator
jyu2-git May 26, 2023
8d57b00
Fix -Wsign-compare from D149893.
jlebar May 26, 2023
79f6f92
[mlir][spirv] Enhance folding capability of spirv::CompositeExtractOp…
nbpatel May 26, 2023
3108c1b
skip test run on amdgcn-amd-amdhsa
jyu2-git May 26, 2023
28ab032
[RISCV] Add isel patterns to form tail undisturbed vfwadd.wv from fpe…
topperc May 26, 2023
17fcf8a
[mlir][spirv][NFC] Clean up SPIR-V canonicalization
kuhar May 26, 2023
0508ac3
[Vectorize] Fix a warning
kazutakahirata May 27, 2023
b1b04ed
[Vectorize] Fix warnings
kazutakahirata May 27, 2023
f354e97
[MemProf] Clean up MemProf instrumentation pass invocation
teresajohnson May 26, 2023
660f714
[MLIR] Add native Bytecode support for properties
joker-eph May 26, 2023
a919a3a
[CodeGen][NFC] Declare copy constructor & copy assignment as deleted …
KanRobert May 26, 2023
5e8ed85
[mlir] Fix non-const lvalue reference to type 'uint64_t' cannot bind …
DamonFool May 27, 2023
af7aea3
[Driver][test] Replace legacy -target with --target=
MaskRay May 27, 2023
b33dcc5
[hwasan] support hwasan-match-all-tag flag for callback memory access…
Enna1 May 27, 2023
ba13e1b
[hwasan] support hwasan-match-all-tag flag for hwasan meminstrinsic c…
Enna1 May 27, 2023
0286b47
[Driver] Remove redundant -z special case. NFC
MaskRay May 27, 2023
ee15c1f
[Sema] Remove unused declaration ConvertIntegerToTypeWarnOnOverflow
kazutakahirata May 27, 2023
8078e77
[AST] Remove unused declaration enumerateVFPtrs
kazutakahirata May 27, 2023
54ab4b3
[CodeGen] Remove unused declarations emitNonSPMDParallelCall and emit…
kazutakahirata May 27, 2023
7961848
[clangd] Remove unused declaration onCallHierarchyOutgoingCalls
kazutakahirata May 27, 2023
273303a
[Sema] Remove unused declaration startLambdaDefinition
kazutakahirata May 27, 2023
addc156
[CodeGen] Remove unused MachineMemOperand::Profile (NFC)
s-barannikov May 27, 2023
e621757
[Clang][BFloat16] Upgrade __bf16 to arithmetic type, change mangling,…
codemzs May 27, 2023
5217498
[mlir][bazel] Port for 660f714e26999d266232a1fbb02712bb879bd34e
hokein May 27, 2023
fe01c08
[mlir][bazel] Port for 660f714e26999d266232a1fbb02712bb879bd34e, second
hokein May 27, 2023
ddeab07
[clang-repl][CUDA] Re-land: Initial interactive CUDA support for clan…
argentite Mar 6, 2023
dd2e681
[Docs] Fix Sphinx documentation formatting issues in LanguageExtensio…
codemzs May 27, 2023
a218c99
[bazel] Add missing dependency for ddeab07ca63235f8d952e1171b56fdb0f2…
d0k May 27, 2023
cbaa359
Reland "[CMake] Bumps minimum version to 3.20.0.
mordante May 24, 2023
48985f5
[libc++][format][test] Adds Windows support.
mordante May 27, 2023
fd0d846
[flang][runtime] Support all non-ASCII characters in temporary path o…
mmuetzel May 27, 2023
0f8e0f4
[X86] lowerBuildVectorAsBroadcast - broadcast Constant of original (B…
RKSimon May 24, 2023
f59795b
[NFC][CLANG] Fix nullptr dereference issue in CodeGenModule::GetConst…
smanna12 May 27, 2023
1845d9d
[CGP] Disable default copy ctor and copy assignment operator for Inst…
yubingex007-a11y May 26, 2023
96b59b4
[Hexagon] Use scalar evolution to calculate pointer difference in HVC
May 26, 2023
27f7546
[polly] Fix typos in documentation
kazutakahirata May 27, 2023
d679cdd
[Bitcode] Modernize PerBlockIDStats (NFC)
kazutakahirata May 27, 2023
e396c37
[AST] Remove unused function removeLocalCVRQualifiers
kazutakahirata May 27, 2023
7954368
[Serialization] Remove unused declaration SLocCursorForID
kazutakahirata May 27, 2023
fffb389
[Analysis] Remove unused declaration getCurrentLVarDefinition
kazutakahirata May 27, 2023
f104d64
[gn] port b22965df1304
nico May 27, 2023
6260153
[gn build] Port ddeab07ca632
llvmgnsyncbot May 27, 2023
6607f62
[ConstraintElimination] Add tests with incrementing pointer IV.
fhahn May 27, 2023
35d7fa4
[MLIR] Reformat the Bazel build
May 26, 2023
cf44847
[mlir][gpu][sparse] adding cusparse sddmm support
May 24, 2023
421a7f8
[mlir][bazel] Port for 660f714, third attempt
May 27, 2023
752c047
[mlir][sparse][gpu] fix merge conflict
aartbik May 27, 2023
78b72d6
[StaticAnalyzer] Remove unused declaration evalLoadCommon
kazutakahirata May 27, 2023
156aafd
[StaticAnalyzer] Remove unused declaration findDirectConstructorForCu…
kazutakahirata May 27, 2023
bdc2771
[StaticAnalyzer] Remove unused declaration handleLVectorSplat
kazutakahirata May 27, 2023
65f40cb
[ModuleInliner] Remove an inapplicable comment
kazutakahirata May 28, 2023
9efa4cd
[Clang][RISCV] Reduce boilerplate under RVVEmitter::createHeader. NFC
eopXD May 28, 2023
592e935
[clang-repl] Fix REPL_EXTERNAL_VISIBILITY and building libclang-cpp.d…
mstorsjo May 26, 2023
684facb
[libcxx] [test] Fix the new alloc tests for Windows
mstorsjo May 24, 2023
f8536fb
[clang][HeaderSearch] Fix implicit module when using header maps
ivanmurashko May 28, 2023
5b4fed6
[clang][NFC] Update latest released Clang versions in make_cxx_dr_status
Endilll May 28, 2023
f225471
[LSV] Fix the ContextInst for computeKnownBits.
jlebar May 28, 2023
8a4e367
[Hexagon] Explicitly make vector subregs have unknown size and offset
May 26, 2023
0a762ec
[ARM] Allow D-reg copies to use VMOVD with fpregs64
davemgreen May 28, 2023
280656e
[LV] Add check line with VF=4 to uniformity test.
fhahn May 28, 2023
c194a5e
[Driver] Remove unused declaration AddStaticDeviceLibsPostLinking
kazutakahirata May 28, 2023
e2cc293
[Serialization] Remove unused declaration ReadExplicitTemplateArgumen…
kazutakahirata May 28, 2023
d0e4119
[CodeGen] Remove unused declaration getOrCreateRelativeStub
kazutakahirata May 28, 2023
fb250b8
[clang][c++20][NFC] `ComparisonCategoryType` - updated comment, remov…
Zingam May 28, 2023
a82f2b2
Fix typos in documentation
kazutakahirata May 28, 2023
b66308b
[Bitcode] Modernize PerRecordStats (NFC)
kazutakahirata May 28, 2023
28c672c
Fix fold of 0-result 0-trip-count `affine.for`
May 28, 2023
53be2e0
[MLIR] NFC. JitRunner - use range-based for
bondhugula May 27, 2023
2aef605
[NFC][sanitizer] Micro optimize push_back()
vitalybuka May 29, 2023
9f6250f
[Clang][AArch64][SME] Add vector load/store (ld1/st1) intrinsics
bryanpkc May 15, 2023
af55b0d
[X86][NFC] Fix a bug after D150436 and update some comments
XinWang10 May 29, 2023
c384fcd
[lld] Partially revert "Always emit symbol table when dwarf section e…
HaohaiWen May 29, 2023
9032a94
[NFC][DAGISel] Remove dead code.
LuoYuanke May 29, 2023
fbb241c
use ref to avoid copy in range for-loop
XinWang10 May 29, 2023
b6a5aea
[NFC][CLANG] Fix issue with dereference null return value in Evaluate…
smanna12 May 29, 2023
1068cf7
[NFC][lsan] Rename RootRegion and replace size with end
vitalybuka May 29, 2023
e4b02c6
[NFC][lsan] Make mutex static
vitalybuka May 29, 2023
8ce66a1
[NFC][lsan] Add CHECKs for root regions
vitalybuka May 29, 2023
a0b0bf3
[bazel] Port for 9f6250f591057e68c0bda564716b6918b8e39a84.
hokein May 29, 2023
0a6aec2
[NFC][lsan] Change Mac root regions scan
vitalybuka May 29, 2023
dd0cf23
[LICM] Reassociate & hoist sub expressions
xortator May 29, 2023
f8b5ac3
[libc++][spaceship] Implement `operator<=>` for `multiset` and `set`
Zingam May 22, 2023
19b7b93
[lsan] Iterate MemoryMappingLayout once
vitalybuka May 29, 2023
506923a
[lsan] Don't use InternalMmapVectorNoCtor as local var
vitalybuka May 29, 2023
755a73c
[emacs] Highlight 'nocapture' keyword as an attribute
goldsteinn May 29, 2023
46deb40
[CodeGen] Use llvm::LLVMContext::MD_nontemporal (NFC)
kazutakahirata May 29, 2023
0ad88c1
[MemCpyOpt] remove byval from memcpy size crtical test(NFC)
khei4 May 29, 2023
752f9d0
[NFC][TableGen] Remove dead code.
LuoYuanke May 29, 2023
e20931b
[clang] Restrict Inline Builtin to non-static, non-odr linkage
serge-sans-paille Apr 19, 2023
d093111
[LLDB] Remove XFAIL on Windows decorator XPASSes
omjavaid May 29, 2023
6cf7fe4
Revert "[flang][runtime] Support all non-ASCII characters in temporar…
omjavaid May 29, 2023
3663896
Merge commit '6cf7fe4a9a715bcdf3f4913753109e22dfc9940b' into HEAD
mgehre-amd Jun 13, 2023
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.
9 changes: 9 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,12 @@ d8f0e6caa91e230a486c948ab643174e40bdf215

# [libc++][NFC] clang-format <__config>
ac251726f84d5b7e6533a2e3712920184435b61b

# Python black reformatting, by subdir. NFC
b71edfaa4ec3c998aadb35255ce2f60bba2940b0
f84bac329ba6c9f0c022bcf77237e912362e247a
dd3c26a045c081620375a878159f536758baba6e
7bfaa0f09d0564f315ea778023b34b8a113ec740
f98ee40f4b5d7474fc67e82824bf6abbaedb7b1c
2238dcc39358353cac21df75c3c3286ab20b8f53
f9008e6366c2496b1ca1785b891d5578174ad63e
5 changes: 0 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Install Dependencies
run: |
sudo apt-get update \
sudo apt-get update
sudo apt-get install -y \
doxygen \
graphviz \
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/repo-lockdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: 'Repo Lockdown'
on:
pull_request_target:
types: opened
paths-ignore:
- 'libcxx/**'
- 'libcxxabi/**'
- 'libunwind/**'
- 'runtimes/**'

permissions:
pull-requests: write
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/version-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@


def get_version_from_tag(tag):
m = re.match('llvmorg-([0-9]+)\.([0-9]+)\.([0-9]+)(-rc[0-9]+)?$', 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)
return m.group(1, 2, 3)
# We have a final release tag.
return (m.group(1), m.group(2), str(int(m.group(3)) + 1))

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

Expand All @@ -25,8 +25,8 @@ def get_version_from_tag(tag):

repo = Repo()

tag = repo.git.describe(tags = True, abbrev=0)
expected_version = '.'.join(get_version_from_tag(tag))
tag = repo.git.describe(tags=True, abbrev=0)
expected_version = ".".join(get_version_from_tag(tag))

if version != expected_version:
print("error: Expected version", expected_version, "but found version", version)
Expand Down
8 changes: 7 additions & 1 deletion bolt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ endif()

if (BOLT_ENABLE_RUNTIME)
message(STATUS "Building BOLT runtime libraries for X86")
set(extra_args "")
if(CMAKE_SYSROOT)
list(APPEND extra_args -DCMAKE_SYSROOT=${CMAKE_SYSROOT})
endif()
ExternalProject_Add(bolt_rt
SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/runtime"
STAMP_DIR ${CMAKE_CURRENT_BINARY_DIR}/bolt_rt-stamps
Expand All @@ -92,8 +96,10 @@ if (BOLT_ENABLE_RUNTIME)
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_MAKE_PROGRAM=${CMAKE_MAKE_PROGRAM}
-DCMAKE_INSTALL_PREFIX=${LLVM_BINARY_DIR}
-DLLVM_LIBDIR_SUFFIX=${LLVM_LIBDIR_SUFFIX}
-DLLVM_LIBRARY_DIR=${LLVM_LIBRARY_DIR}
${extra_args}
INSTALL_COMMAND ""
BUILD_ALWAYS True
)
install(CODE "execute_process\(COMMAND \${CMAKE_COMMAND} -DCMAKE_INSTALL_PREFIX=\${CMAKE_INSTALL_PREFIX} -P ${CMAKE_CURRENT_BINARY_DIR}/bolt_rt-bins/cmake_install.cmake \)"
Expand Down
126 changes: 63 additions & 63 deletions bolt/docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,203 +16,197 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
# sys.path.insert(0, os.path.abspath('.'))

# -- General configuration -----------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'
# needs_sphinx = '1.0'

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo']
extensions = ["sphinx.ext.intersphinx", "sphinx.ext.todo"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ["_templates"]

# The suffix of source filenames.
source_suffix = '.rst'
source_suffix = ".rst"

# The encoding of source files.
#source_encoding = 'utf-8-sig'
# source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'
master_doc = "index"

# General information about the project.
project = u'BOLT'
copyright = u'2015-%d, BOLT team' % date.today().year
project = "BOLT"
copyright = "2015-%d, BOLT team" % date.today().year

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None
# language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# today = ''
# Else, today_fmt is used as the format for a strftime call.
today_fmt = '%Y-%m-%d'
today_fmt = "%Y-%m-%d"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
exclude_patterns = ["_build"]

# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
# default_role = None

# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True
# add_function_parentheses = True

# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
#add_module_names = True
# add_module_names = True

# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
show_authors = True

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'friendly'
pygments_style = "friendly"

# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
# modindex_common_prefix = []


# -- Options for HTML output ---------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'haiku'
html_theme = "haiku"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#html_theme_options = {}
# html_theme_options = {}

# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = ["."]

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None
# html_title = None

# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
# html_short_title = None

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
# html_logo = None

# If given, this must be the name of an image file (path relative to the
# configuration directory) that is the favicon of the docs. Modern browsers use
# this as icon for tabs, windows and bookmarks. It should be a Windows-style
# icon file (.ico), which is 16x16 or 32x32 pixels large. Default: None. The
# image file will be copied to the _static directory of the output HTML, but
# only if the file does not already exist there.
html_favicon = '_static/favicon.ico'
html_favicon = "_static/favicon.ico"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ["_static"]

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
html_last_updated_fmt = '%Y-%m-%d'
html_last_updated_fmt = "%Y-%m-%d"

# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
#html_use_smartypants = True
# html_use_smartypants = True

# Custom sidebar templates, maps document names to template names.
html_sidebars = {'index': ['indexsidebar.html']}
html_sidebars = {"index": ["indexsidebar.html"]}

# Additional templates that should be rendered to pages, maps page names to
# template names.
# html_additional_pages = {'index': 'index.html'}

# If false, no module index is generated.
#html_domain_indices = True
# html_domain_indices = True

# If false, no index is generated.
#html_use_index = True
# html_use_index = True

# If true, the index is split into individual pages for each letter.
#html_split_index = False
# html_split_index = False

# If true, links to the reST sources are added to the pages.
html_show_sourcelink = True

# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
#html_show_sphinx = True
# html_show_sphinx = True

# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
#html_show_copyright = True
# html_show_copyright = True

# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.
#html_use_opensearch = ''
# html_use_opensearch = ''

# This is the file name suffix for HTML files (e.g. ".xhtml").
#html_file_suffix = None
# html_file_suffix = None

# Output file base name for HTML help builder.
htmlhelp_basename = 'boltdoc'
htmlhelp_basename = "boltdoc"


# -- Options for LaTeX output --------------------------------------------------

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',

# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',

# Additional stuff for the LaTeX preamble.
#'preamble': '',
# The paper size ('letterpaper' or 'a4paper').
#'papersize': 'letterpaper',
# The font size ('10pt', '11pt' or '12pt').
#'pointsize': '10pt',
# Additional stuff for the LaTeX preamble.
#'preamble': '',
}

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('contents', 'bolt.tex', u'BOLT Documentation',
u'LLVM project', 'manual'),
("contents", "bolt.tex", "BOLT Documentation", "LLVM project", "manual"),
]

# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = None
# latex_logo = None

# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
#latex_use_parts = False
# latex_use_parts = False

# If true, show page references after internal links.
#latex_show_pagerefs = False
# latex_show_pagerefs = False

# If true, show URL addresses after external links.
#latex_show_urls = False
# latex_show_urls = False

# Documents to append as an appendix to all manuals.
#latex_appendices = []
# latex_appendices = []

# If false, no module index is generated.
#latex_domain_indices = True
# latex_domain_indices = True


# -- Options for manual page output --------------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('contents', 'bolt', u'BOLT Documentation',
[u'LLVM project'], 1)
]
man_pages = [("contents", "bolt", "BOLT Documentation", ["LLVM project"], 1)]

# If true, show URL addresses after external links.
#man_show_urls = False
# man_show_urls = False


# -- Options for Texinfo output ------------------------------------------------
Expand All @@ -221,19 +215,25 @@
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('contents', 'BOLT', u'BOLT Documentation',
u'LLVM project', 'BOLT', 'Binary Optimization and Layout Tool',
'Miscellaneous'),
(
"contents",
"BOLT",
"BOLT Documentation",
"LLVM project",
"BOLT",
"Binary Optimization and Layout Tool",
"Miscellaneous",
),
]

# Documents to append as an appendix to all manuals.
#texinfo_appendices = []
# texinfo_appendices = []

# If false, no module index is generated.
#texinfo_domain_indices = True
# texinfo_domain_indices = True

# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'
# texinfo_show_urls = 'footnote'


# FIXME: Define intersphinx configuration.
Expand Down
10 changes: 10 additions & 0 deletions bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -1757,6 +1757,16 @@ class BinaryFunction {
return ParentFragments.contains(&Other);
}

/// Returns if this function is a parent of \p Other function.
bool isParentOf(const BinaryFunction &Other) const {
return llvm::is_contained(Fragments, &Other);
}

/// Returns if this function is a parent or child of \p Other function.
bool isParentOrChildOf(const BinaryFunction &Other) const {
return isChildOf(Other) || isParentOf(Other);
}

/// Set the profile data for the number of times the function was called.
BinaryFunction &setExecutionCount(uint64_t Count) {
ExecutionCount = Count;
Expand Down
Loading