Skip to content
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

[AutoBump] Merge with 267de854 (May 22) (50) #309

Merged
merged 577 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
577 commits
Select commit Hold shift + click to select a range
285f139
[VectorCombine] Some more tests for different cmp's and fp consts. NFC
davemgreen May 20, 2024
a0e3e76
[mlir] Remove redundant include in Passes.h header (NFC)
joker-eph May 17, 2024
e246105
[gn build] Port 4f5bc4bb55a8
llvmgnsyncbot May 20, 2024
fd87d76
[Clang][Sema] Don't build CXXDependentScopeMemberExprs for potentiall…
sdkrystian May 20, 2024
c648663
[BPF] report `Invalid usage of the XADD return value"` elegantly (#92…
inclyc May 20, 2024
549fdda
[AMDGPU] Refactor int_amdgcn_mov_dpp8 patterns. NFC. (#92764)
jayfoad May 20, 2024
3591da9
Fix test for non-Itanium ABIs.
AaronBallman May 20, 2024
245491a
[MC] Disable MCAssembler based constant folding for DwarfDebug
MaskRay May 20, 2024
bce3680
[LAA] Move logic to compute start and end of a pointer to helper (NFC).
fhahn May 20, 2024
acf5ad2
[Clang][Sema] Diagnose current instantiation used as an incomplete ba…
sdkrystian May 20, 2024
a91d5c0
[Flang][OpenMP] Disable all OpenMP semantics tests on Windows (#92739)
kiranchandramohan May 20, 2024
e75b58c
[Clang][Sema] Do not add implicit 'const' when matching constexpr fun…
sdkrystian May 20, 2024
6430939
[HLSL][CMake] Cache files don't have generator vars (#92793)
llvm-beanz May 20, 2024
1eb7f05
CodeGen: Fix libcall names for exp10 on the various darwins (#92520)
arsenm May 20, 2024
e1c06c3
[AMDGPU] Fix error in #88512. (#92770)
PeddleSpam May 20, 2024
fdd245a
[MLIR][Vector] Implement transferXXPermutationLowering as MaskableOpR…
nujaa May 20, 2024
c1d5cc9
[LangRef] Try to formalize the definition of "odr" in LLVM IR. (#92619)
efriedma-quic May 20, 2024
0da1a6c
[mlir][polynomial] split polynomial types tablegen (#92805)
j2kun May 20, 2024
3cb1fe6
AMDGPU: Don't fold rootn(x, 1) to input for strictfp functions (#92595)
arsenm May 20, 2024
2a45f89
[ValueTracking] Add tests for `isKnowNonZero` of `X op (X != 0)`; NFC
goldsteinn Apr 12, 2024
2232843
[ValueTracking] Recognize `X op (X != 0)` as non-zero
goldsteinn Apr 12, 2024
250c39c
[libcxx] Add cast to avoid pointer casting warning on Windows (#92738)
mstorsjo May 20, 2024
1f07bfb
[mlir][tensor] Implement folding logic for size 0 tensor and memref o…
sabauma May 20, 2024
753f7e8
[OpenCL] Fix an infinite loop in builidng AddrSpaceQualType (#92612)
changpeng May 20, 2024
51ba7a8
[libc][setjmp] disable -ftrivial-auto-var-init=pattern for now (#92796)
nickdesaulniers May 20, 2024
dce197a
[libc][errno] remove mips+sparc specific errnos (#92798)
nickdesaulniers May 20, 2024
7ecdf62
[MCA] use std::function instead of function_ref when storing (#91039)
boomanaiden154 May 20, 2024
33b7833
[MLIR][Linalg] Add more specialize patterns (#91153)
javedabsar1 May 20, 2024
110f6a7
[SelectionDAG] Add getVPZeroExtendInReg. NFC (#92792)
topperc May 20, 2024
8018e4c
[LegalizeTypes] Use SelectionDAG::SplitVector to simplify some code. …
topperc May 20, 2024
e8dc8d6
Add new Python API `SBCommandInterpreter::GetTranscript()` (#90703)
royitaqi May 20, 2024
9f62775
SBDebugger: Add new APIs `AddDestroyCallback` and `RemoveDestroyCallb…
royitaqi May 20, 2024
00d7e67
[libc] Fix constant address space on global clock
jhuber6 May 20, 2024
9354045
[NFC][flang][runtime] Avoid recursion in EditCharacterOutput and Edit…
vzakhari May 20, 2024
bccac12
[flang][runtime] Added io-api-minimal.cpp to the offload build. (#92807)
vzakhari May 20, 2024
888e087
[RISCV] Remove unused function declaration. NFC
topperc May 20, 2024
bb627b0
[BOLT] Ignore special symbols as function aliases in updateELFSymbolT…
aaupov May 20, 2024
7064e4b
[RISCV] Split and rename WriteVISlideX into WriteVSlideUpX and WriteV…
mshockwave May 21, 2024
3fa6b3b
[llvm-profdata] Fix some style and clang-tidy issues
MaskRay May 21, 2024
45968da
[AMDGPU] Fix an issue that wrong index is used in calculation of byte…
shiltian May 21, 2024
d1aca0a
[WebAssembly] Define __WASM_EXCEPTIONS__ for -fwasm-exceptions (#92604)
aheejin May 21, 2024
8ce2045
[Clang][Sema] Avoid pack expansion for expanded empty PackIndexingExp…
zyn0217 May 21, 2024
4cebe5a
[clang] NFC: add test for cwg2398 ambiguity issue
mizvekov May 20, 2024
85e1124
Revert "[flang][OpenMP] Try to unify induction var privatization for …
omjavaid May 21, 2024
1486653
[BOLT] Use StringRef::contains (NFC) (#92842)
kazutakahirata May 21, 2024
b2d7d72
[AArch64] Use ptrmask for vaarg stack alignment (#92836)
JonChesterfield May 21, 2024
560c2fd
NVPTX: fix test failures under ptxas-12.0.
jyknight May 21, 2024
1c58208
[clang-format][NFC] Remove redundnat llvm::, clang::, etc.
owenca May 21, 2024
64aafd6
[RISCV] Remove unneeded multiply in RISCV CodeGenTypes (#92644)
4vtomat May 21, 2024
8be079c
[RISCV] Bump Zaamo and Zalrsc to version 1.0 (#91556)
4vtomat May 21, 2024
b4492c9
[RISCV] Use an enum for demanded LMUL in RISCVInsertVSETVLI. NFC (#92…
lukel97 May 21, 2024
c9dc52d
[InstallAPI] add JSON option to pass X<label> arguments (#91770)
cyndyishida May 21, 2024
6658e1a
Adding parsing and semantic check support for omp masked (#91432)
anchuraj May 21, 2024
ac7c482
[MemCpyOpt] Add extra debug output (NFC)
nikic May 21, 2024
312c132
[mlir][Bazel] Adjust BUILD file for 33b7833891dcacf9e81e911ed59932fd5…
akuegel May 21, 2024
e411c88
Use StringRef::find_first_of(char), etc (NFC) (#92841)
kazutakahirata May 21, 2024
66b76fa
AMDGPU: Directly emit sqrt intrinsic when folding rootn(x, 2) (#92598)
arsenm May 21, 2024
e3ffc4b
[RISCV] Unify getDemanded between forward and backwards passes in RIS…
lukel97 May 21, 2024
50dbbe5
[SROA] Use stable sort for slices to avoid non-determinism (#91609)
henke9600 May 21, 2024
6246b49
[RISCV] Select ISD::AVGCEILS/AVGFLOORS as vaadd. (#92839)
topperc May 21, 2024
2631531
[InstCombine] Removing the combine of fmuladd with fast flag
vfdff Apr 29, 2024
f2e787e
[InstCombine] Add some tests with reduced flag sets, NFC
vfdff Apr 29, 2024
9c78481
[SeparateConstOffsetFromGEP] Support multiple indices in reorderGEP (…
nikic May 21, 2024
675e7bd
[RISCV] Support postRA vsetvl insertion pass (#70549)
BeMg May 21, 2024
56a1f0a
Documentation: Fix C++ examples in MemorySSA documentation (#92802)
yuxuanchen1997 May 21, 2024
c4d6867
InstSimplify: strip bad TODO (NFC) (#92754)
artagnon May 21, 2024
63d8131
VectorCombine: add tests written for InstSimplify (#92776)
artagnon May 21, 2024
bfb5fe2
[mlir][ArmSME] Fold transpose into xfer read to enable in-flight tran…
c-rhodes May 21, 2024
e3fa7ee
VectorCombine: refactor foldShuffleToIdentity (NFC) (#92766)
artagnon May 21, 2024
566431c
[NFC] Improve the comment about `std::min_element` being `constepxr` …
Endilll May 21, 2024
d094bb6
[InstSimplify] Avoid use of ConstantExpr::getICmp() (NFC)
nikic May 21, 2024
1e86e92
[LoongArch] Enable interleaved vectorization (#92629)
heiher May 21, 2024
7efafb0
[IRBuilder] Migrate fcmp to folding API
nikic May 21, 2024
fea29ee
[libc++][z/OS] Switch to use TEST_HAS_NO_INT128 as per comment in PR …
zibi2 May 21, 2024
8b8ad75
[libcxx] removes unnecessary traits from `has_unique_object_represent…
cjdb May 21, 2024
74f1e29
[Tests] Regenerate test checks (NFC)
nikic May 21, 2024
d89f200
[clang-format] Fix a bug in formatting goto labels in macros (#92494)
owenca May 21, 2024
af8f155
[lldb-dap] Don't send expanded descriptions for "hover" expressions (…
labath May 21, 2024
b7941dc
[OpenMP] Regenerate test checks (NFC)
nikic May 21, 2024
ee76f1e
[DevPolicy] Drop requirement to contribute also under the legacy lice…
kbeyls May 21, 2024
bbd54e0
Reapply "[lldb/aarch64] Fix unwinding when signal interrupts a leaf f…
labath May 21, 2024
e96948a
AMDGPU: Fix typos in test names
arsenm May 21, 2024
2bad2ee
AMDGPU: Fix testing unaligned double atomics in atomic scan tests
arsenm May 21, 2024
502bea2
[Flang][OpenMP] Re-enable tests without runtime issues on Windows (#9…
kiranchandramohan May 21, 2024
352dc7d
[LV] Propagate PredicatedBBsAfterVectorization to predecessors.
fhahn May 21, 2024
37813e0
[clang][dataflow] Make `CNFFormula` externally accessible. (#92401)
martinboehme May 21, 2024
a098bea
[lldb] Move callback_token_t out of #ifdef windows
labath May 21, 2024
9d70975
[clang][Interp][NFC] Remove an assertion that's too strong
tbaederr May 16, 2024
7cee61c
[Flang][OpenMP] Fix lastprivate store issue (#92777)
kiranchandramohan May 21, 2024
1b377db
[LAA] Check accesses don't overlap early to determine NoDep (#92307)
fhahn May 21, 2024
808fc84
[clang][Interp] Fix dummy DeclRefExprs for function pointers
tbaederr May 16, 2024
375761b
[Clang] Emit lifetime markers for non-aggregate temporary allocas (#9…
Lukacma May 21, 2024
bb3d261
[clang][Interp] Protect GetPtrField ops from unknown size arrays
tbaederr May 16, 2024
9677e81
[lldb/dwarf] Fix DW_IDX_parent processing for split dwarf (#92745)
labath May 21, 2024
45a5d8d
[lldb] Clean up unused includes in DebugNamesDWARFIndex
labath May 21, 2024
d9c27ca
[clang][Interp] Fix discarding construct exprs with zero initializers
tbaederr May 16, 2024
b7d911b
[clangd] Reduce instantiation depth in `infinite-instantiations.test`…
Endilll May 21, 2024
6ff8236
[flang][HLFIR] Adapt InlineElementals to run on all top level ops (#9…
tblah May 21, 2024
a7521fd
[clang][Interp] Implement __builtin_sycl_unique_stable_name
tbaederr May 17, 2024
18e7bcb
[clang][Interp] Reject inc/dec ops before C++ 14
tbaederr May 17, 2024
5693678
[LLD][COFF] Demangle ARM64EC export names. (#87068)
cjacek May 21, 2024
46d8bb0
[clang][Interp] Fix initializing zero-size arrays
tbaederr May 18, 2024
1664610
[clang] Introduce `SemaPseudoObject` (#92646)
Endilll May 21, 2024
45293b5
MIPS/Clang: handleTargetFeatures, add +fp64 if +msa and no other +-fp…
wzssyqa May 21, 2024
f3aaaaf
[AMDGPU] Remove #if 0 code for fences in SIInsertWaitcnts (#92902)
jayfoad May 21, 2024
4e86b00
[AMDGPU] Remove #if 0 code for buffer stores in SIInsertWaitcnts (#92…
jayfoad May 21, 2024
2117136
[clangd] Fix bad directory path in `infinite-instantiations.test`
Endilll May 21, 2024
558f3ea
[AMDGPU] Remove #if 0 code for indexed resources in SIInsertWaitcnts …
jayfoad May 21, 2024
f78b1a4
[InstCombine] Add test for #92887 (NFC)
nikic May 21, 2024
263224e
[InstCombine] Require poison operand in canEvaluateShuffled transform
nikic May 21, 2024
c1b5b7c
[flang][Lower] Emit exiting branches from within constructs (#92455)
kparzysz May 21, 2024
557a0be
[InstCombine] Add test for splat shuffle miscompile (NFC)
nikic May 21, 2024
ecd269e
[InstCombine] Check for poison instead of undef in splat shuffle fold
nikic May 21, 2024
2f1e232
[InstCombine] Use m_Poison instead of m_Undef in some places (NFCI)
nikic May 21, 2024
b8e3d80
[InstCombine] Add test for incorrect shuffle of unop transform (NFC)
nikic May 21, 2024
8f1c984
[InstCombine] Check for poison instead of undef in shuffle of unop tr…
nikic May 21, 2024
a53e568
[AIX] Set memrchr to unavailable (#92588)
qiongsiwu May 21, 2024
fbc798e
[InstCombine] Use m_Poison instead of m_Undef (NFCI)
nikic May 21, 2024
a15b685
[OpenACC] Implement 'reduction' sema for compute constructs (#92808)
erichkeane May 21, 2024
d0e0205
[InstCombine] Check for poison instead of undef in single shuffle fold
nikic May 21, 2024
8d5b7d4
[InstCombine] Use m_Poison() instead of m_Undef() (NFCI)
nikic May 21, 2024
7c640d1
[clangd] Fix directory separators in `infinite-instatiation.test`
Endilll May 21, 2024
530d4c9
[InstCombine] Use m_Poison() instead of m_Undef() (NFCI)
nikic May 21, 2024
4ae896f
[AMDGPU] HasOneUse uses (#92534)
jofrn May 21, 2024
7674811
[GISel][RISCV] Add irtranslator/legalizer/selector support for G_FREE…
dtcxzyw May 21, 2024
7c19058
[Darwin][IR] Don't error on target_variant mismatch when linking IR (…
cachemeifyoucan May 21, 2024
f52d29c
[Clang][Sema] Refactor handling of vector subscript expressions (NFC)…
momchil-velikov May 21, 2024
ea43a30
[AMDGPU] Vectorize more 16 bit shuffles (#90648)
jrbyrnes May 21, 2024
446f66d
[CodeGen] Assign SHT_LLVM_LTO to .llvm.lto section (#92856)
MaskRay May 21, 2024
cfeb25c
[lld][AArch64] Add support for GCS (#90732)
john-brawn-arm May 21, 2024
67e3514
AMDGPU: Implement getRoundingControlRegisters (#92884)
arsenm May 21, 2024
dab1f7c
AMDGPU: Emit 1/llvm.sqrt(x) instead of rsqrt calls in libcall handlin…
arsenm May 21, 2024
0c8bc08
Reapply "[coro][CoroSplit] Use `llvm.lifetime.end` to compute putting…
alanzhao1 May 21, 2024
557bf38
[RISCV][ISel] Allow opaque constants in `hasAndNotCompare` (#92926)
dtcxzyw May 21, 2024
4636b66
[mlir][intrange] Represent bounds of `ReflectBoundsOp` as `si`/`ui` (…
ubfx May 21, 2024
0eca265
[flang][cuda] Fix memory side effects on cuf.data_transfer op (#92928)
clementval May 21, 2024
3e15c97
[libc++] LWG2381: Inconsistency in parsing floating point numbers (#7…
frederick-vs-ja May 21, 2024
98f105a
[lldb] Add the word "backtrace" to bt help string (#92618)
kastiglione May 21, 2024
253c28f
[clang-repl] Extend the C support. (#89804)
vgvassilev May 21, 2024
315a831
AMDGPU/NFC: Reserve 0x056 and 0x057 EF_AMDGPU_MACHs (#92917)
kzhuravl May 21, 2024
70fc239
RegisterPressure: Check empty instead of size == 0
arsenm Apr 1, 2024
2805e6f
[llvm-driver] Add driver alias for c++filt (#92803)
rupprecht May 21, 2024
194e7cc
[PowerPC][AIX] 64-bit large code-model support for toc-data (#90619)
syzaara May 21, 2024
e6b14b6
[clangd] Fix directory separators in `infinite-instantiation.test`
Endilll May 21, 2024
3c3e71d
X86: Add regression test from issue #76416
arsenm Apr 2, 2024
1fc3ce1
[flang][cuda] Enable data transfer for descriptors (#92804)
clementval May 21, 2024
1727594
RegisterPressure: Add parameter name comment
arsenm Apr 1, 2024
7847b1c
[flang][cuda][NFC] Silence warning triggered in buildbot
clementval May 21, 2024
ce1d28e
Fix diagnostic wording style; NFC
AaronBallman May 21, 2024
8cb19eb
InstCombine: Stop handling bitcast in PointerReplacer (#92937)
arsenm May 21, 2024
67ae86d
[clang] Fix crash passing function pointer without prototype. (#90255)
lolloz98 May 21, 2024
e67f2cc
[clang-tidy] Rename out-of-line function definitions (#91954)
revane May 21, 2024
cec1eab
MachineScheduler: Add parameter name comments
arsenm Apr 1, 2024
01c600d
Reword a diagnostic for style; NFC
AaronBallman May 21, 2024
32cf7a2
Fix another diagnostic for style; NFC
AaronBallman May 21, 2024
87a6865
Fix another diagnostic wording for style; NFC
AaronBallman May 21, 2024
337e633
[libcxx] [test] Detect mingw-w64 headers compatible with C++ module b…
mstorsjo May 21, 2024
57a5079
[msan] Increase kNumStackOriginDescrs constant (#92838)
thurstond May 21, 2024
0bc710f
[flang][cuda] Accept constant as src for cuf.data_tranfer (#92951)
clementval May 21, 2024
687039b
[X86] Return true for opaque constants in hasAndNotCompare. (#92944)
topperc May 21, 2024
243611e
Disable compiling and testing Flang on Clang changes (#92740)
Endilll May 21, 2024
3eb7711
[AArch64][PAC][NFC] Make checkAuthenticatedRegister() return void (#9…
igorkudrin May 21, 2024
9f23138
[BOLT] Add NamedRegionTimer to inferStaleProfile (#92621)
shawbyoung May 21, 2024
32c9d5e
Revert "[BOLT] Add NamedRegionTimer to inferStaleProfile (#92621)"
aaupov May 21, 2024
df626dd
Revert "[msan] Increase kNumStackOriginDescrs constant (#92838)"
thurstond May 21, 2024
3b3d622
[DFSan] Fix recvmsg wrapper to support MSG_TRUNC flag. (#92599)
browneee May 21, 2024
3a913d3
[clang][NFC] Refactor `Sema::TagUseKind` (#92689)
Endilll May 21, 2024
0012b1e
[libc++] Refactor flaky tests for std::shared_lock (#91779)
ldionne May 21, 2024
f6ff87d
[libunwind][WebAssembly] Make libunwind compilable (#92192)
aheejin May 21, 2024
b3e71ec
[libc] Provide __libc_{init,fini}_array for baremetal (#90828)
petrhosek May 21, 2024
5442e15
[libc][__support] move CndVar to __support (#89329)
nickdesaulniers May 21, 2024
2e7365e
[lldb] Set ObjectFile's assignment operator to also be deleted like i…
fsfod May 21, 2024
42ba740
[libc++] Implement C++20 atomic_ref (#76647)
dalg24 May 21, 2024
a5bab70
[libc] Fix scudo integration test (#92967)
michaelrj-google May 21, 2024
b908614
[BOLT][NFC] Use const reference in range-based for loop (#92932)
Pribess May 21, 2024
e42b799
[clang] NFCI: use TemplateArgumentLoc for type-param DefaultArgument …
mizvekov May 21, 2024
219ea26
[BOLT][NFC] Remove dead initialization code (#92952)
Pribess May 21, 2024
7630775
Revert "Set ObjectFile's assignment operator to also be deleted like …
fsfod May 21, 2024
fd1e511
[gn build] Port 42ba740afffa
llvmgnsyncbot May 21, 2024
79a3260
[hwasan] Remove memory attrs from instrumented functions. (#92974)
eugenis May 22, 2024
0170bd5
[MDBuilder] `mergeCallbackEncodings` fails due to inspecting the wron…
fodinabor May 22, 2024
203232f
[llvm][Support] ListeningSocket::accept returns operation_canceled if…
cpsughrue May 22, 2024
dfdf1c5
Revert "[clang-repl] Extend the C support. (#89804)"
jasonmolenda May 22, 2024
f0d1ae8
[llvm][ScheduleDAG] SUnit::biasCriticalPath() does not find the criti…
csstormq May 22, 2024
a9b6749
[BOLT] Report adjusted program stats from perf2bolt in BAT mode (#91683)
aaupov May 22, 2024
c2e0afe
[Coroutines][NFC] Remove @llvm.coro.id.async intrinsics from CoroElid…
yuxuanchen1997 May 22, 2024
511077d
[sanitizers] Bump malloc limit to 1TB for MSAN, LSAN & DFSAN (#89728)
yingcong-wu May 22, 2024
a6d97de
[clang-format] Correctly annotate C++ alternative operators in C (#92…
owenca May 22, 2024
935b946
[BOLT] Process cross references between ignored functions in BAT mode…
aaupov May 22, 2024
97025bd
[BOLT] Use getLocationName in YAMLProfileWriter (#92493)
aaupov May 22, 2024
64f6406
[WebAssembly] __USING_WASM_EXCEPTIONS__ -> __WASM_EXCEPTIONS__ (#92840)
aheejin May 22, 2024
d53c6cd
[AMDGPU][Clang] Builtin for GLOBAL_LOAD_LDS on GFX940 (#92962)
shiltian May 22, 2024
b66779b
[nfc][InstrProfReader]Store header fields in native endianness (#92947)
mingmingl-llvm May 22, 2024
130e93c
Reland "[clang] Enable sized deallocation by default in C++14 onwards…
wangpc-pp May 22, 2024
7370b10
Revert "[llvm][ScheduleDAG] SUnit::biasCriticalPath() does not find t…
csstormq May 22, 2024
108575f
[IR] Avoid creating icmp/fcmp constant expressions (#92885)
nikic May 22, 2024
89e1f77
[indvars] Missing variables at Og (#88270)
CarlosAlbertoEnciso May 22, 2024
c769079
[AMDGPU] Update test results to fix build (#92982)
AZero13 May 22, 2024
c609c04
[CodeGen] Use fixed triple in weak-external test (NFC)
nikic May 22, 2024
874a5da
[clang] Processing real directories added as virtual ones (#91645)
ivanmurashko May 22, 2024
b00e0c1
[MLIR][Analysis] Consolidate topological sort utilities (#92563)
Dinistro May 22, 2024
1cf75cc
Revert "[AMDGPU] Update test results to fix build (#92982)"
nikic May 22, 2024
1015f51
[AArch64] NFC: Rename -force-streaming-compatible-sve to -force-strea…
sdesmalen-arm May 22, 2024
2034f2f
[mlir][intrange] Use `nsw`,`nuw` flags in inference (#92642)
ubfx May 22, 2024
235465e
[RISCV][GISel] Legalize G_{U|S}{ADD|SUB}SAT (#92935)
dtcxzyw May 22, 2024
89c23f7
[SPIR-V] Add cl_khr_kernel_clock / SPV_KHR_shader_clock extension (#9…
svenvh May 22, 2024
c7e9b49
[libc++][vector] Inline remaining constructors filling vector with th…
mtezych May 22, 2024
058e445
[libc++] <experimental/simd> Add copy functions for class simd/simd_m…
joy2myself May 22, 2024
a640a2e
[clang] Introduce `SemaRISCV` (#92682)
Endilll May 22, 2024
a56e6df
[LV] Add test for header mask and invariant compare cost-modeling.
fhahn May 22, 2024
f98a3dd
[NFC][libc++][test] Removes C++98 support. (#92930)
mordante May 22, 2024
4351787
AMDGPU: Fix redundant condition
arsenm May 22, 2024
15710bb
[Flang][OpenMP] Re-enable tests on windows 1/n (#92904)
kiranchandramohan May 22, 2024
91d415b
[Clang][AArch64][SVE] Allow write to SVE vector elements using the su…
momchil-velikov May 22, 2024
758e119
[X86] Simplify the code for EFLAGS copy lowering, NFCI
KanRobert May 20, 2024
775d7cc
[AArch64] Fix feature flags dependecies (#90612)
Lukacma May 22, 2024
1f5cd3a
[clang][Interp][NFC] Fix getType() of pointers pointing to vector elems
tbaederr May 21, 2024
f156b9c
[flang] Add debug information for module variables. (#91582)
abidh May 22, 2024
1b06643
[X86] stack-folding-fp-avx512fp16.ll - remove broken CHECK-LABEl pref…
RKSimon May 22, 2024
6381cfe
[X86] stack-frame-layout-remarks.ll - fix BOTH-Next -> BOTH-NEXT typo
RKSimon May 22, 2024
0873b4c
[LoopVectorize] optimal-epilog-vectorization-profitability.ll - fix L…
RKSimon May 22, 2024
5d833c6
[clang][Interp][NFC] Remove unneeded CheckRange call
tbaederr May 21, 2024
11b97da
[clang][analyzer] Add checker 'security.SetgidSetuidOrder' (#91445)
balazske May 22, 2024
5cb2ea5
[clang][Interp][NFC] Remove VarDecl requirement in diagnoseUnknownDecl()
tbaederr May 21, 2024
e5936b2
[clang][Interp][NFC] Fix toAPValue() for array root pointers
tbaederr May 21, 2024
9807f25
[flang][HLFIR] Adapt OptimizedBufferization to run on all top level o…
tblah May 22, 2024
3c5738f
Revert "[indvars] Missing variables at Og (#88270)" (#93016)
CarlosAlbertoEnciso May 22, 2024
5bd210a
[NFC][LLVM] Autogenerate check lines for some Analysis/LoopAccessAnal…
paulwalker-arm May 21, 2024
9051fc7
[NFC][LLVM] Fix typos in llvm/test/MC/AArch64/SVE
paulwalker-arm May 21, 2024
25c021a
[NFC] Fix typo in llvm/test/Transforms/Util/add-TLI-mappings.ll
paulwalker-arm May 21, 2024
c912f0e
[mlir][python] Add bindings for mlirDenseElementsAttrGet (#91389)
pranavm-nvidia May 22, 2024
9604e5c
[clang][Interp] Allow stepping back from a one-past-the-end pointer
tbaederr May 21, 2024
8619054
[gn build] Port 11b97da83141
llvmgnsyncbot May 22, 2024
bbc4c2e
[DAG] SimplifyDemandedBits - ensure we have simplified the shift oper…
RKSimon May 22, 2024
f685481
[clang][Interp] Fix checking unions for initialization
tbaederr May 21, 2024
ba0e871
[ConstraintElim] Look through SExt with precond Op sge 0.
fhahn May 22, 2024
cf12830
[SDAG] Don't treat ISD::SHL as a uniform binary operator in `ShrinkDe…
dtcxzyw May 22, 2024
2aa218c
[flang][OpenMP] Diagnose invalid reduction modifiers (#92406)
kparzysz May 22, 2024
71b1fbd
[MISched][NFC] Add documentation comment in pickNode for ReadyQueue m…
michaelmaitland May 22, 2024
9120562
[Clang][OpenMP] Enable tile/unroll on iterator- and foreach-loops (#9…
Meinersbur May 22, 2024
0748a98
[InstCombine] Handle ConstantFoldCompareInstOperands() failure
nikic May 22, 2024
cdcd653
[X86] combineBitcast - merge isa<>/cast<> into single dyn_cast<> call…
RKSimon May 22, 2024
a699ccb
MCExpr-ify amd_kernel_code_t (#91587)
JanekvO May 22, 2024
5272768
[clang-tidy][NFCI] Simplify bugprone-sizeof-expression (#93024)
NagyDonat May 22, 2024
b99b6b7
[flang][Driver][test] add missing run lines to fopenmp test (#92784)
tblah May 22, 2024
f78febf
[DAG] ComputeNumSignBits - add AVGCEILS/AVGFLOORS handling (#93021)
RKSimon May 22, 2024
e3bd627
[clang][Interp][NFC] Retrieve active union field in Pointer::toRValue()
tbaederr May 22, 2024
7d9634e
[clang][Interp][NFC] Propagate IsActive state in unions properly
tbaederr May 22, 2024
267de85
[llvm-mca][AArch64] Add AArch64 version of clearsSuperRegisters. (#92…
May 22, 2024
1815baa
[AutoBump] Merge with 267de854 (May 22)
mgehre-amd Aug 24, 2024
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function compute-projects-to-test() {
done
;;
clang)
for p in clang-tools-extra compiler-rt flang lldb cross-project-tests; do
for p in clang-tools-extra compiler-rt lldb cross-project-tests; do
echo $p
done
;;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

- name: Setup Environment
run: |
pip install -r ./llvm/utils/git/requirements.txt
pip install --require-hashes -r ./llvm/utils/git/requirements.txt
./llvm/utils/git/github-automation.py --token ${{ github.token }} setup-llvmbot-git
- name: Backport Commits
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-subscriber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Automation Script
working-directory: ./llvm/utils/git/
run: |
pip install -r requirements.txt
pip install --require-hashes -r requirements.txt
- name: Update watchers
working-directory: ./llvm/utils/git/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/llvm-bugs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'llvm/llvm-project'
steps:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merged-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Automation Script
working-directory: ./llvm/utils/git/
run: |
pip install -r requirements.txt
pip install --require-hashes -r requirements.txt

- name: Add Buildbot information comment
working-directory: ./llvm/utils/git/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/new-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Setup Automation Script
working-directory: ./llvm/utils/git/
run: |
pip install -r requirements.txt
pip install --require-hashes -r requirements.txt
- name: Greet Author
working-directory: ./llvm/utils/git/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-request-release-note.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

- name: Install Dependencies
run: |
pip install -r llvm/utils/git/requirements.txt
pip install --require-hashes -r llvm/utils/git/requirements.txt

- name: Request Release Note
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-subscriber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Automation Script
working-directory: ./llvm/utils/git/
run: |
pip install -r requirements.txt
pip install --require-hashes -r requirements.txt
- name: Update watchers
working-directory: ./llvm/utils/git/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Install Dependencies
run: |
pip install -r ./llvm/utils/git/requirements.txt
pip install --require-hashes -r ./llvm/utils/git/requirements.txt
- name: Check Permissions
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Install dependencies
run: |
pip install -r ./llvm/utils/git/requirements.txt
pip install --require-hashes -r ./llvm/utils/git/requirements.txt
- name: Version Check
run: |
Expand Down
3 changes: 3 additions & 0 deletions bolt/include/bolt/Core/BinaryContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,9 @@ class BinaryContext {
/// have an origin file name available.
bool HasSymbolsWithFileName{false};

/// Does the binary have BAT section.
bool HasBATSection{false};

/// Sum of execution count of all functions
uint64_t SumExecutionCount{0};

Expand Down
4 changes: 2 additions & 2 deletions bolt/include/bolt/Core/MCPlusBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,8 @@ class MCPlusBuilder {
return false;
}

/// Check whether we support inverting this branch
virtual bool isUnsupportedBranch(const MCInst &Inst) const { return false; }
/// Check whether this conditional branch can be reversed
virtual bool isReversibleBranch(const MCInst &Inst) const { return true; }

/// Return true of the instruction is of pseudo kind.
virtual bool isPseudo(const MCInst &Inst) const {
Expand Down
6 changes: 5 additions & 1 deletion bolt/include/bolt/Passes/BinaryPasses.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "bolt/Core/BinaryContext.h"
#include "bolt/Core/BinaryFunction.h"
#include "bolt/Core/DynoStats.h"
#include "bolt/Profile/BoltAddressTranslation.h"
#include "llvm/Support/CommandLine.h"
#include <atomic>
#include <set>
Expand Down Expand Up @@ -399,8 +400,11 @@ class PrintProfileStats : public BinaryFunctionPass {
/// Prints a list of the top 100 functions sorted by a set of
/// dyno stats categories.
class PrintProgramStats : public BinaryFunctionPass {
BoltAddressTranslation *BAT = nullptr;

public:
explicit PrintProgramStats() : BinaryFunctionPass(false) {}
explicit PrintProgramStats(BoltAddressTranslation *BAT = nullptr)
: BinaryFunctionPass(false), BAT(BAT) {}

const char *getName() const override { return "print-stats"; }
bool shouldPrint(const BinaryFunction &) const override { return false; }
Expand Down
4 changes: 2 additions & 2 deletions bolt/include/bolt/Passes/StokeInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ struct StokeFuncInfo {
<< "," << NumBlocks << "," << IsLoopFree << "," << NumLoops << ","
<< MaxLoopDepth << "," << HotSize << "," << TotalSize << ","
<< Score << "," << HasCall << ",\"{ ";
for (std::string S : DefIn)
for (const std::string &S : DefIn)
Outfile << "%" << S << " ";
Outfile << "}\",\"{ ";
for (std::string S : LiveOut)
for (const std::string &S : LiveOut)
Outfile << "%" << S << " ";
Outfile << "}\"," << HeapOut << "," << StackOut << "," << HasRipAddr
<< "," << Omitted << "\n";
Expand Down
9 changes: 6 additions & 3 deletions bolt/include/bolt/Profile/DataAggregator.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#define BOLT_PROFILE_DATA_AGGREGATOR_H

#include "bolt/Profile/DataReader.h"
#include "bolt/Profile/YAMLProfileWriter.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/Program.h"
Expand Down Expand Up @@ -122,14 +123,14 @@ class DataAggregator : public DataReader {
uint64_t ExternCount{0};
};

struct BranchInfo {
struct TakenBranchInfo {
uint64_t TakenCount{0};
uint64_t MispredCount{0};
};

/// Intermediate storage for profile data. We save the results of parsing
/// and use them later for processing and assigning profile.
std::unordered_map<Trace, BranchInfo, TraceHash> BranchLBRs;
std::unordered_map<Trace, TakenBranchInfo, TraceHash> BranchLBRs;
std::unordered_map<Trace, FTInfo, TraceHash> FallthroughLBRs;
std::vector<AggregatedLBREntry> AggregatedLBRs;
std::unordered_map<uint64_t, uint64_t> BasicSamples;
Expand Down Expand Up @@ -248,7 +249,7 @@ class DataAggregator : public DataReader {
BinaryFunction *getBATParentFunction(const BinaryFunction &Func) const;

/// Retrieve the location name to be used for samples recorded in \p Func.
StringRef getLocationName(const BinaryFunction &Func) const;
static StringRef getLocationName(const BinaryFunction &Func, bool BAT);

/// Semantic actions - parser hooks to interpret parsed perf samples
/// Register a sample (non-LBR mode), i.e. a new hit at \p Address
Expand Down Expand Up @@ -490,6 +491,8 @@ class DataAggregator : public DataReader {
/// Parse the output generated by "perf buildid-list" to extract build-ids
/// and return a file name matching a given \p FileBuildID.
std::optional<StringRef> getFileNameForBuildID(StringRef FileBuildID);

friend class YAMLProfileWriter;
};
} // namespace bolt
} // namespace llvm
Expand Down
4 changes: 3 additions & 1 deletion bolt/lib/Core/BinaryContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1322,7 +1322,9 @@ void BinaryContext::processInterproceduralReferences() {
InterproceduralReferences) {
BinaryFunction &Function = *It.first;
uint64_t Address = It.second;
if (!Address || Function.isIgnored())
// Process interprocedural references from ignored functions in BAT mode
// (non-simple in non-relocation mode) to properly register entry points
if (!Address || (Function.isIgnored() && !HasBATSection))
continue;

BinaryFunction *TargetFunction =
Expand Down
7 changes: 4 additions & 3 deletions bolt/lib/Core/BinaryFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ Error BinaryFunction::disassemble() {
const bool IsCondBranch = MIB->isConditionalBranch(Instruction);
MCSymbol *TargetSymbol = nullptr;

if (BC.MIB->isUnsupportedBranch(Instruction)) {
if (!BC.MIB->isReversibleBranch(Instruction)) {
setIgnored();
if (BinaryFunction *TargetFunc =
BC.getBinaryFunctionContainingAddress(TargetAddress))
Expand Down Expand Up @@ -1666,7 +1666,8 @@ void BinaryFunction::postProcessEntryPoints() {
// In non-relocation mode there's potentially an external undetectable
// reference to the entry point and hence we cannot move this entry
// point. Optimizing without moving could be difficult.
if (!BC.HasRelocations)
// In BAT mode, register any known entry points for CFG construction.
if (!BC.HasRelocations && !BC.HasBATSection)
setSimple(false);

const uint32_t Offset = KV.first;
Expand Down Expand Up @@ -3381,7 +3382,7 @@ void BinaryFunction::fixBranches() {

// Reverse branch condition and swap successors.
auto swapSuccessors = [&]() {
if (MIB->isUnsupportedBranch(*CondBranch)) {
if (!MIB->isReversibleBranch(*CondBranch)) {
if (opts::Verbosity) {
BC.outs() << "BOLT-INFO: unable to swap successors in " << *this
<< '\n';
Expand Down
26 changes: 20 additions & 6 deletions bolt/lib/Passes/BinaryPasses.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,8 @@ static uint64_t fixDoubleJumps(BinaryFunction &Function, bool MarkInvalid) {
MCPlusBuilder *MIB = Function.getBinaryContext().MIB.get();
for (BinaryBasicBlock &BB : Function) {
auto checkAndPatch = [&](BinaryBasicBlock *Pred, BinaryBasicBlock *Succ,
const MCSymbol *SuccSym) {
const MCSymbol *SuccSym,
std::optional<uint32_t> Offset) {
// Ignore infinite loop jumps or fallthrough tail jumps.
if (Pred == Succ || Succ == &BB)
return false;
Expand Down Expand Up @@ -715,9 +716,11 @@ static uint64_t fixDoubleJumps(BinaryFunction &Function, bool MarkInvalid) {
Pred->removeSuccessor(&BB);
Pred->eraseInstruction(Pred->findInstruction(Branch));
Pred->addTailCallInstruction(SuccSym);
MCInst *TailCall = Pred->getLastNonPseudoInstr();
assert(TailCall);
MIB->setOffset(*TailCall, BB.getOffset());
if (Offset) {
MCInst *TailCall = Pred->getLastNonPseudoInstr();
assert(TailCall);
MIB->setOffset(*TailCall, *Offset);
}
} else {
return false;
}
Expand Down Expand Up @@ -760,7 +763,8 @@ static uint64_t fixDoubleJumps(BinaryFunction &Function, bool MarkInvalid) {
if (Pred->getSuccessor() == &BB ||
(Pred->getConditionalSuccessor(true) == &BB && !IsTailCall) ||
Pred->getConditionalSuccessor(false) == &BB)
if (checkAndPatch(Pred, Succ, SuccSym) && MarkInvalid)
if (checkAndPatch(Pred, Succ, SuccSym, MIB->getOffset(*Inst)) &&
MarkInvalid)
BB.markValid(BB.pred_size() != 0 || BB.isLandingPad() ||
BB.isEntryPoint());
}
Expand Down Expand Up @@ -1386,9 +1390,19 @@ Error PrintProgramStats::runOnFunctions(BinaryContext &BC) {
if (Function.isPLTFunction())
continue;

// Adjustment for BAT mode: the profile for BOLT split fragments is combined
// so only count the hot fragment.
const uint64_t Address = Function.getAddress();
bool IsHotParentOfBOLTSplitFunction = !Function.getFragments().empty() &&
BAT && BAT->isBATFunction(Address) &&
!BAT->fetchParentAddress(Address);

++NumRegularFunctions;

if (!Function.isSimple()) {
// In BOLTed binaries split functions are non-simple (due to non-relocation
// mode), but the original function is known to be simple and we have a
// valid profile for it.
if (!Function.isSimple() && !IsHotParentOfBOLTSplitFunction) {
if (Function.hasProfile())
++NumNonSimpleProfiledFunctions;
continue;
Expand Down
2 changes: 1 addition & 1 deletion bolt/lib/Passes/Instrumentation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ void Instrumentation::instrumentFunction(BinaryFunction &Function,
else if (BC.MIB->isUnconditionalBranch(Inst))
HasUnconditionalBranch = true;
else if ((!BC.MIB->isCall(Inst) && !BC.MIB->isConditionalBranch(Inst)) ||
BC.MIB->isUnsupportedBranch(Inst))
!BC.MIB->isReversibleBranch(Inst))
continue;

const uint32_t FromOffset = *BC.MIB->getOffset(Inst);
Expand Down
Loading