Skip to content

LLVM and SPIRV-LLVM-Translator pulldown (WW45 2024) #16022

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3,147 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3147 commits
Select commit Hold shift + click to select a range
5b4071c
[clang][bytecode] Explicitly truncate in IntegralAP::from() (#112683)
tbaederr Oct 17, 2024
1251687
[clang][bytecode][NFC] Remove a leftover dump call
tbaederr Oct 17, 2024
4d228e1
[mlir][vector] Escape variable usage in test
d0k Oct 17, 2024
584e00a
[ARM] Fix -Wunused-variable in ARMFrameLowering.cpp (NFC)
DamonFool Oct 17, 2024
2954d1f
[include-cleaner] Fix -Wpessimizing-move in IncludeCleaner.cpp (NFC)
DamonFool Oct 17, 2024
ab90d27
[llvm][ARM]Add widen global arrays pass (#107120)
nasherm Oct 17, 2024
83953c7
APInt.cpp: Prune a stray semicolon.
chapuni Oct 15, 2024
5bcc66d
VisitIfStmt: Prune a redundant condition.
chapuni Oct 15, 2024
40d9561
InstrProfilingMerge.c: Fix potential misalignment in `SrcBitmapStart`
chapuni Oct 15, 2024
9c80eb7
Silence -Wswitch after cb43021e5726a4462f28a999fb66a8dc20dc354b
d0k Oct 17, 2024
2f0b4f4
[flang][extension] support concatenation with absent optional (#112678)
jeanPerier Oct 17, 2024
9b3cc0c
Merge from 'sycl' to 'sycl-web'
Oct 17, 2024
e21c80a
[clang] Reject if constexpr in C (#112685)
Fznamznon Oct 17, 2024
2882bb1
[lldb][docs] Add link to LoongArch tracking issue
DavidSpickett Oct 17, 2024
f42785d
[Polly] Remove unused variable 'IdentTy' in LoopGeneratorsKMP.cpp (NFC)
DamonFool Oct 17, 2024
067e8b8
DAG: Lower fcNormal is.fpclass to compare with inf (#100389)
arsenm Oct 17, 2024
8268bc4
[DAG] Avoid SDLoc duplication in FP<->INT combines. NFC.
RKSimon Oct 17, 2024
784c15a
[DAG] visitSINT_TO_FP/UINT_TO_FP - use FoldConstantArithmetic to atte…
RKSimon Oct 17, 2024
5692a0c
[DAG] visitFP_TO_SINT/FP_TO_UINT - use FoldConstantArithmetic to atte…
RKSimon Oct 17, 2024
bf5cf82
Fix MSVC signed/unsigned mismatch warning. NFC.
RKSimon Oct 17, 2024
cf046c8
[DAG] visitSIGN_EXTEND_INREG - avoid SDLoc duplication. NFC.
RKSimon Oct 17, 2024
c980a20
[AArch64][SVE] Enable max vector bandwidth for SVE (#109671)
huntergr-arm Oct 17, 2024
4a2bd78
[ARM] Fix -mno-omit-leaf-frame-pointer flag doesn't works on 32-bit …
guoxin049 Oct 17, 2024
0f7d148
[InstCombine] Add shared helper for logical and bitwise and/or (NFC)
nikic Oct 17, 2024
370fd74
Revert "[llvm][ARM]Add widen global arrays pass" (#112701)
nasherm Oct 17, 2024
095d49d
[InstCombine] Set `samesign` when converting signed predicates into u…
dtcxzyw Oct 17, 2024
388d7f1
Different info in docs in AST methods (#112190)
4JustMe4 Oct 17, 2024
ea796e5
[ARM] Prefer MUL to MULS on some implementations (#112540)
VladiKrapp-Arm Oct 17, 2024
d9cd607
[InstCombine] Add tests for #110919 (NFC)
nikic Oct 17, 2024
c1047ba
[MLIR] Enable pattern only for scf.forall op (#110230)
pashu123 Oct 17, 2024
51b4ada
clang/AMDGPU: Set noalias.addrspace metadata on atomicrmw (#102462)
arsenm Oct 17, 2024
3f17da1
[X86] Regenerate test checks with vpternlog comments
RKSimon Oct 17, 2024
f9d0789
[PGO] Initialize GCOV Writeout and Reset Functions in the Runtime on …
qiongsiwu Oct 17, 2024
8c60efe
[InferAlignment][NFC] Unify Load/Store handling in tryToImproveAlign…
ParkHanbum Oct 17, 2024
dccebdd
Finally formalise our defacto line-ending policy
ldrumm Mar 22, 2024
e54df7d
Merge from 'main' to 'sycl-web' (153 commits)
e-kud Oct 17, 2024
9d98acb
Renormalize line endings whitespace only after dccebddb3b80
ldrumm Oct 17, 2024
af1e9c8
[OpenMP] Fix missing gtid argument in __kmp_print_tdg_dot function (#…
jpinot Oct 17, 2024
3764d0f
[libc][setjmp] make x86_64 longjmp naked (#112581)
nickdesaulniers Oct 17, 2024
a1ac5a5
[flang] Allow OpenMP declarations before type declarations (#112414)
luporl Oct 17, 2024
9548366
[libc++] Make __libcpp_verbose_abort() noexcept like std::terminate()…
dougsonos Oct 17, 2024
db32924
[HipStdPar] Avoid repeated hash lookups (NFC) (#112653)
kazutakahirata Oct 17, 2024
91b2ac6
[Transforms] Avoid repeated hash lookups (NFC) (#112654)
kazutakahirata Oct 17, 2024
9173fd7
[lldb] Avoid repeated map lookups (NFC) (#112655)
kazutakahirata Oct 17, 2024
b47849b
[SCEV] Avoid repeated hash lookups (NFC) (#112656)
kazutakahirata Oct 17, 2024
8b6764f
[DebugInfo] Simplify code with std::unordered_map::operator[] (NFC) (…
kazutakahirata Oct 17, 2024
caa32e6
[llvm][LSR] Fix where invariant on ScaledReg & Scale is violated (#11…
JOE1994 Oct 17, 2024
8f25c0b
[clang] Fix covariant cv-qualification check to require the override …
bricknerb Oct 17, 2024
92663de
[NFC][AMDGPU] Auto-generate check lines for some test cases (#112426)
shiltian Oct 17, 2024
8c7f80f
[lldb] Disable warning about codecvt_utf8 deprecation (NFC) (#112446)
JDevlieghere Oct 17, 2024
85c17e4
[LLVM] Make more use of IRBuilder::CreateIntrinsic. NFC. (#112706)
jayfoad Oct 17, 2024
4897fc4
[lldb] Narrow scope of -Wno-deprecated-declarations (NFC) (#112276)
JDevlieghere Oct 17, 2024
98b419c
[lldb] Don't exit the main loop when in runs out of things to listen …
labath Oct 17, 2024
834d001
[flang][cuda] Relax the verifier for cuf.register_kernel op (#112585)
clementval Oct 17, 2024
ab208de
[flang][docs] Update description of how to contribute (#112369)
DavidSpickett Oct 17, 2024
c85611e
[SimplifyLibCall][Attribute] Fix bug where we may keep `range` attr w…
goldsteinn Oct 17, 2024
76f3776
[NFC][LoopVectorize] Restructure simple early exit tests (#112721)
david-arm Oct 17, 2024
256bbdb
[DAG] visitFCEIL/FTRUNC/FFLOOR/FNEG - use FoldConstantArithmetic to a…
RKSimon Oct 17, 2024
6f21a7b
[clang-tidy] insert ``static`` keyword in correct position for misc-u…
HerrCai0907 Oct 17, 2024
ee0004a
Merge from 'sycl' to 'sycl-web' (6 commits)
Oct 17, 2024
94643a4
[AArch64] Add armv9.6 features to AArch64AsmParser (#112722)
Lukacma Oct 17, 2024
0205667
[LTO] Add function alias as function instead of data (#112599)
scui-ibm Oct 17, 2024
bf1a554
Document the requirement that commits have a public email address (#1…
AaronBallman Oct 17, 2024
a02f06b
Merge from 'main' to 'sycl-web' (47 commits)
e-kud Oct 17, 2024
feedb35
[RISCV][GISel] Correct RORIW patterns.
topperc Oct 17, 2024
87645e9
[libc][math][c23] Fix undefined behavior in expxf16.h (#112734)
overmighty Oct 17, 2024
6d7712a
[clang-tidy][docs] Replace _not_ in reserved-identifier.rst with *no…
njriasan Oct 17, 2024
8f8d5f0
[rtsan] Add statistics for suppression count (#112718)
cjappl Oct 17, 2024
1a60905
[AArch64][InstCombine] Eliminate redundant barrier intrinsics (#112023)
danilaml Oct 17, 2024
2ef24e0
[libunwind][AIX] Remove weak declaration "__xlcxx_personality_v0" (#1…
xingxue-ibm Oct 17, 2024
03888a9
[clang][bytecode] Handle non-arrays in initElem{,Pop} (#112719)
tbaederr Oct 17, 2024
f35a14d
[HLSL] Simplify debug check in ResourceBindings::addDeclBindingInfo (…
hekota Oct 17, 2024
dea213c
Add atan2 test case for prior change in X86SelLowering.cpp (#112616)
tex3d Oct 17, 2024
2bebeea
[WebAssembly] Add atan2 to RuntimeLibcallSignatureTable (#112613)
tex3d Oct 17, 2024
2c93598
[flang] Update printing values in dump-parse-tree (#112709)
kparzysz Oct 17, 2024
ed7868d
[nfc][sanitizer] Replace mmap with InternalMmapVector in test (#112756)
vitalybuka Oct 17, 2024
ed3d051
[libc][math][c23] Add sinhf16 and coshf16 C23 math functions (#105947)
overmighty Oct 17, 2024
ab75180
[DirectX] Remove trivially dead functions at linkage finalize (#106146)
pow2clk Oct 17, 2024
a9d39ce
[RISCV][GISel] Pass APInt by const reference. NFC
topperc Oct 17, 2024
29097dd
[rtsan][NFC] Remove rtsan_ prefix from stats variables (#112762)
cjappl Oct 17, 2024
4e026b7
Fix merge conflict
Oct 17, 2024
32b55f3
Add support of the next Ubuntu (Ubuntu 25.04 - Plucky Puffin)
sylvestre Oct 17, 2024
b583b80
Merge from 'sycl' to 'sycl-web' (3 commits)
Oct 17, 2024
7086584
[sanitizer] Large range support in IsAccessibleMemoryRange (#112665)
vitalybuka Oct 17, 2024
2cd10f5
[libc++] Remove obsolete Appveyor files (#112744)
ldionne Oct 17, 2024
8c77f4c
[runtimes] Avoid cluttering the top-level build directory with test a…
ldionne Oct 17, 2024
e2d07fc
[libc++] Mark libc++ deallocation helpers as noexcept (#110884)
ldionne Oct 17, 2024
e674424
[runtimes] Improve the documentation for LIBCXX_ADDITIONAL_COMPILE_FL…
ldionne Oct 17, 2024
e913a33
[-Wunsafe-buffer-usage] Emit a warning if pointer returned by vector:…
malavikasamak Oct 17, 2024
b060661
[SCEVExpander] Expand UDiv avoiding UB when in seq_min/max. (#92177)
fhahn Oct 17, 2024
871b2b3
Merge from 'main' to 'sycl-web' (20 commits)
e-kud Oct 17, 2024
8c62bf5
[Clang] Disable use of the counted_by attribute for whole struct poin…
bwendling Oct 17, 2024
5033ea7
[LLDB][Minidump] Add breakpoint stop reasons to the minidump. (#108448)
Jlalond Oct 17, 2024
4b82935
Fix incorrect merge conflict resolution
e-kud Oct 17, 2024
71b81e9
[alpha.webkit.UncountedLocalVarsChecker] Recursive functions are erro…
rniwa Oct 17, 2024
46df20a
[sanitizer] Add TryMemCpy (#112668)
vitalybuka Oct 17, 2024
7106de9
[sanitizer] Add MemCpyAccessible (#112794)
vitalybuka Oct 18, 2024
7dbfa7b
[HLSL] Add handle initialization for simple resource declarations (#1…
hekota Oct 18, 2024
e9eec14
[LoongArch] [CodeGen] Add options for Clang to generate LoongArch-spe…
tangaac Oct 18, 2024
69a798a
Reapply "[Inliner] Propagate more attributes to params when inlining …
goldsteinn Oct 18, 2024
c3bbc3a
[BOLT] Fix logs with no hex convension (#112650)
linsinan1995 Oct 18, 2024
70865c4
[mlir][transforms] Add `signalPassFailure` in RemoveDeadValues (#112199)
CoTinker Oct 18, 2024
44b020a
[PowerPC][ISelLowering] Support -mstack-protector-guard=tls (#110928)
keith-packard Oct 18, 2024
bbccc52
[lsan] Disable test with barriers on Darwin (#112810)
vitalybuka Oct 18, 2024
9c6f85f
[lldb][NFC] fix two small typeos in aarch64-linxu.md
jasonmolenda Oct 18, 2024
67f576f
[clang-format] Handle template opener/closer in braced list (#112494)
owenca Oct 18, 2024
d989c24
[clang-format] Add RemoveEmptyLinesInUnwrappedLines option (#112325)
owenca Oct 18, 2024
2526455
[Flang][OpenMP] Add semantic checks for Worshare construct (#111358)
Thirumalai-Shaktivel Oct 18, 2024
b340310
[NFC][Flang][Test] Add some missing tests (#110468)
Thirumalai-Shaktivel Oct 18, 2024
e6321d9
[Flang][Semantics] Add a semantic check for simd construct (#109089)
Thirumalai-Shaktivel Oct 18, 2024
b497010
[VPlan] Use VPInstruction::Name when assigning names (NFCI).
fhahn Oct 18, 2024
ad4a582
[llvm] Consistently respect `naked` fn attribute in `TargetFrameLower…
alexrp Oct 18, 2024
5d08625
[clang][bytecode] Activate pointers in Init{,Pop} (#112832)
tbaederr Oct 18, 2024
f225b07
Utils: Preserve address space for global_ctors (#112532)
arsenm Oct 18, 2024
6bb6300
[PAC] Fix address discrimination for type info vtable pointers (#102199)
kovdan01 Oct 18, 2024
9d469b5
[RISCV] Implement trampolines for rv64 (#96309)
rofirrim Oct 18, 2024
761fa58
[TLI] Add support for the `ilogb` libcall. (#112725)
c8ef Oct 18, 2024
7be4ab0
[libc][complex] Added support for CFP16 and CFP128 (#112594)
Sh0g0-1758 Oct 18, 2024
eb446eb
[MLIR][BUILD] Fix Unicode build issue on Windows. (#112300)
harrisonGPU Oct 18, 2024
e8509a4
[RISCV] Check if v extension is enabled by the function features for …
tclin914 Oct 18, 2024
18b5018
[clang-tidy] rewrite matchers in modernize-use-starts-ends-with (#112…
5chmidti Oct 18, 2024
5a09ce9
[OpenCL] Replace a CreatePointerCast call; NFC (#112676)
svenvh Oct 18, 2024
ba1ee2b
[APInt] Enable APInt ctor assertion by default (#112670)
nikic Oct 18, 2024
e6a4346
[flang] add getElementType() to fir::SquenceType and fir::VectorType …
rscottmanley Oct 18, 2024
9698e57
[flang][Driver] Add support for -f[no-]wrapv and -f[no]-strict-overfl…
yus3710-fj Oct 18, 2024
9d0616c
[clang][bytecode] Ignore explicit calls to trivial dtors (#112841)
tbaederr Oct 18, 2024
f7f51f2
[mlir][vector] Clarify the semantics of masking maps (nfc) (#111383)
banach-space Oct 18, 2024
18ac017
Revert "[ARM] Fix frame chains with M-profile PACBTI (#110285)"
ostannard Oct 18, 2024
508fd96
[CLANG][AArch64]Add SVE tuple types for mfloat8_t (#112687)
CarolineConcatto Oct 18, 2024
09cc75e
[clang] Deduplicate the logic that only warns once when stack is almo…
bricknerb Oct 18, 2024
abfba7d
[clang] Fix C23 constexpr crashes (#112708)
Fznamznon Oct 18, 2024
0d1a91e
[FuncSpec] Update MinFunctionSize logic (#112711)
hazzlim Oct 18, 2024
d1ee850
[gn build] Port 09cc75e2ccc3
llvmgnsyncbot Oct 18, 2024
2f15d7e
[mlir][tensor] Fix off-by-one error in ReshapeOpsUtils (#112774)
vinayakdsci Oct 18, 2024
bafc66e
[AMDGPU][NFC] Correct description (#112847)
mariusz-sikora-at-amd Oct 18, 2024
7eaf92b
Sink/test: increase coverage of invariant-load (#112690)
artagnon Oct 18, 2024
2f792f6
[AArch64][GlobalISel] Add some post-legalization cast combines. (#112…
davemgreen Oct 18, 2024
c72992b
[DAG] visitABS - use FoldConstantArithmetic to attempt to constant fold
RKSimon Oct 17, 2024
7a43be1
[DAG] visitXROUND - use FoldConstantArithmetic to attempt to constant…
RKSimon Oct 17, 2024
3a1df05
[DAG] visitFP_ROUND - use FoldConstantArithmetic to attempt to consta…
RKSimon Oct 18, 2024
3ec1b1a
[DAG] visitFP_EXTEND - use FoldConstantArithmetic to attempt to const…
RKSimon Oct 18, 2024
5f7502b
[AArch64][SVE] Support lowering fixed-length BUILD_VECTORS to ZIPs (#…
MacDue Oct 18, 2024
7b65971
InstCombine: sink loads with invariant.load metadata (#112692)
artagnon Oct 18, 2024
228f88f
[RISCV] Inline Assembly: RVC constraint and N modifier (#112561)
lenary Oct 18, 2024
19aa4c8
[NFC] Fix implicit-fallthrough warnings (#112825)
jsji Oct 18, 2024
4e01690
[X86] Add FMA constant folding test coverage
RKSimon Oct 18, 2024
8f6d491
[llvm][TableGen] Count implicit defs as well as explicit ones in the …
JL2210 Oct 18, 2024
a630771
[DAG] isConstantIntBuildVectorOrConstantInt - peek through bitcasts (…
RKSimon Oct 18, 2024
6ce4b6d
[flang][OpenMP][test] re-add complex atomic capture regression test (…
tblah Oct 18, 2024
2663912
Merge from 'sycl' to 'sycl-web'
Oct 18, 2024
091a235
Revert "[AArch64][SVE] Enable max vector bandwidth for SVE" (#112873)
huntergr-arm Oct 18, 2024
9065b75
Revert "[APInt] Enable APInt ctor assertion by default (#112670)"
nikic Oct 18, 2024
5c37316
[DAG] visitFMA/FMAD - use FoldConstantArithmetic to add missing vecto…
RKSimon Oct 18, 2024
c7d1163
[bazel] Port 7be4ab0a86f9a52f1b49dad5665617441ec24a2e
d0k Oct 18, 2024
8e6abf5
Fix -Wswitch after 508fd966fb00428ccd1dd7ddeb636fb7393029ec
d0k Oct 18, 2024
55cbbce
[clang][ASTImporter] Fix of unchecked Error object (#112688)
balazske Oct 18, 2024
e1330d9
[DAG] visitFMA/FDIV - avoid SDLoc duplication. NFC.
RKSimon Oct 18, 2024
d508701
[libc][complex] add additonal header guards for CFP16 and CFP128 (#11…
Sh0g0-1758 Oct 18, 2024
3eaf4a9
[clang][bytecode] Check for memory leaks after destroying global scop…
tbaederr Oct 18, 2024
332ac18
[clang] constexpr built-in abs function. (#112539)
c8ef Oct 18, 2024
1a871b2
[mlir][tensor] Add tests to invalid.mlir (nfc) (#112759)
banach-space Oct 18, 2024
4995d09
[analyzer][Solver] Improve getSymVal and friends (1/2) (#112583)
steakhal Oct 18, 2024
7be1dc0
[PassRegistry] Add complex deinterleaving pass to PassRegistry.def (#…
NickGuy-Arm Oct 18, 2024
852e477
[flang][OpenMP] Add `Id` function to `OmpClause` to return clause id,…
kparzysz Oct 18, 2024
fdd7c03
[libc][math][c23] Add tanhf16 C23 math function (#106006)
overmighty Oct 18, 2024
3a30955
[libc++] Remove obsolete _LIBCPP_PREDEFINED_OBJC_ARC_ADDRESSOF (#112745)
ldionne Oct 18, 2024
ce4618a
[ASan][windows] Recognize movzx r11d, BYTE PTR [rdx] in interception_…
glandium Oct 18, 2024
d7ae43e
[NFC][X86] Fix Werror=extra error due to enum (#112812)
jsji Oct 18, 2024
c742a5d
[NFC] Fix multi-character character constant warning (#112809)
jsji Oct 18, 2024
12bcea3
[RISCV][TTI] Recognize CONCAT_VECTORS if a shufflevector mask is mult…
HanKuanChen Oct 18, 2024
c89d731
[LVI] Infer non-zero from equality icmp (#112838)
dtcxzyw Oct 18, 2024
3bc765d
[lldb][test] Add test for ASTImporter's name conflict resolution (#11…
Michael137 Oct 18, 2024
b7bc1d0
[CodeGen] Fix return type of PHI_iterator::getIncomingValue. NFC.
jayfoad Oct 18, 2024
af90e7c
[Clang] Fix an assertion in expression recovery (#112888)
cor3ntin Oct 18, 2024
b0dbd2c
[libc][math] Add option to set a specific exponent for frexp with Inf…
lntue Oct 18, 2024
90bc60c
[libc++] Re-add attribute macro to clang-format (#112746)
ldionne Oct 18, 2024
67e8421
[analyzer][Solver] Teach SymbolicRangeInferrer about commutativity (2…
steakhal Oct 18, 2024
1b49ee7
[analyzer][Solver][NFC] Cleanup const-correctness inside range-based …
steakhal Oct 18, 2024
803220d
[libc] changed the return cast from static_cast<float16> to fputil::c…
wldfngrs Oct 18, 2024
783901b
[SystemZ] Rename SystemZ ATT Asm dialect to GNU Asm dialect (#112800)
tltao Oct 18, 2024
0a3347d
[mlir][linalg] Fix idx comparison in the vectorizer (#112900)
banach-space Oct 18, 2024
58b4c80
Merge from 'main' to 'sycl-web' (67 commits)
e-kud Oct 18, 2024
68efaaa
[TableGen] Remove unused tokens FalseKW and TrueKW
jayfoad Oct 18, 2024
c27aae0
[Offload] Fix not copying the buffer identifier of offloading files
jhuber6 Oct 18, 2024
62e2c7f
[LLVM][TableGen] Change all `Init` pointers to const (#112705)
jurahul Oct 18, 2024
922992a
Fix typo "instrinsic" (#112899)
jayfoad Oct 18, 2024
00d30bd
[libc] Commit document formatting change someone left
jhuber6 Oct 18, 2024
e08259d
Merge from 'sycl' to 'sycl-web' (3 commits)
Oct 18, 2024
54566ba
[SandboxIR] Implement Operator (#112805)
vporpo Oct 18, 2024
dbe47c2
[gn build] Port 54566ba52304
llvmgnsyncbot Oct 18, 2024
397707f
[libc++] __uglify non-conforming member typedef `base` (#112843)
frederick-vs-ja Oct 18, 2024
9f264e4
[BOLT] Avoid repeated hash lookups (NFC) (#112822)
kazutakahirata Oct 18, 2024
a99bf0f
[llvm-readtapi] Simplify code with StringMap::operator[] (NFC) (#112824)
kazutakahirata Oct 18, 2024
721b796
[llvm] prefer isa_and_nonnull over v && isa (#112541)
VoltrexKeyva Oct 18, 2024
e13f1d1
[M68k] ARII atomic load/store (#108982)
knickish Oct 18, 2024
9d7b35d
[NFC][GOFF] Fix char overflow (#112826)
jsji Oct 18, 2024
0f3ed9c
[ARM] Use ARM::NoRegister in more places. NFC
davemgreen Oct 18, 2024
3a91611
[X86] Ensure the AVX1-only broadcast-load patterns are in the same pl…
RKSimon Oct 18, 2024
7da0a69
[X86] andnot-patterns.ll - add non-BMI test coverage
RKSimon Oct 18, 2024
8182f81
[NFC] Fix c++ style comment in c file (#112814)
jsji Oct 18, 2024
6a623e8
[NFC] add DiagnosticsTestHelper decl (#112820)
jsji Oct 18, 2024
a24a420
[SandboxIR] Implement FPMathOperator (#112921)
vporpo Oct 18, 2024
6c60ead
[NFC] Fix Werror=extra warning related to mismatched enum type (#112808)
jsji Oct 18, 2024
1fc0d3f
Merge from 'main' to 'sycl-web' (54 commits)
e-kud Oct 18, 2024
6264288
[MemProf] Fix the option to disable memprof ICP (#112917)
teresajohnson Oct 18, 2024
9120ade
Fix build break in SemaHLSL.cpp on MSVC 2022: warning C4715: 'getReso…
dpaoliello Oct 18, 2024
a01d7df
[lldb] Avoid repeated map lookups (NFC) (#112823)
kazutakahirata Oct 18, 2024
5995e4b
[MemProf] Disable memprof ICP support by default (#112940)
teresajohnson Oct 18, 2024
f9d3e98
[lld-macho] Improve robustness of ObjC category merging (#112618)
alx32 Oct 18, 2024
7e87c2a
[AArch64] Add some qshrn test cases. NFC
davemgreen Oct 18, 2024
266154a
[ADT] Make concat able to handle ranges with iterators that return by…
dwblaikie Oct 18, 2024
629a182
Full path names are used in several unittests instead of the binary n…
HighW4y2H3ll Oct 18, 2024
170dab9
[libc][math] Fix signed zeros for powf when underflow happens. (#112601)
lntue Oct 18, 2024
e3b22dc
[clang][RISCV] Extend intrinsic size check variable from 16 -> 32 bit…
4vtomat Oct 18, 2024
d60fdc1
[nfc][lsan] Parametrize ScanForPointers with loader (#112803)
vitalybuka Oct 18, 2024
caa9e41
[lld-macho] Fix category merging sed issue (#112955)
alx32 Oct 18, 2024
952dafb
[libc][math] Add test and fix atan2f crashing when flush-denorm-to-ze…
lntue Oct 18, 2024
1ae2446
[mlir] Add forall canonicalization to replace constant induction vars…
Max191 Oct 18, 2024
53e85d4
[nfc][ubsan] Reorder RUNs and preconditions in test
vitalybuka Oct 18, 2024
203b972
[ubsan] Disable test on Darwin
vitalybuka Oct 18, 2024
9a4661c
[nfc][ubsan] Fix case of UNSUPPORTED:
vitalybuka Oct 18, 2024
7f2e937
[SLP]Initial non-power-of-2 support (but still whole register) for re…
alexey-bataev Oct 18, 2024
f428f71
Merge from 'sycl' to 'sycl-web'
Oct 18, 2024
e6f4ee4
Merge commit '7f2e937469a8cec3fe977bf41ad2dfb9b4ce648a' into llvmspir…
jsji Nov 7, 2024
e75b386
Align constant-loclist test to upstream (#2756)
svenvh Oct 16, 2024
3f8ee44
Drop 'using namespace std' everywhere (#2755)
svenvh Oct 16, 2024
02a0c48
Fix typo in warning message (#2758)
mateuszchudyk Oct 16, 2024
f99f6b5
Use move to prevent copy (#2761)
maarquitos14 Oct 16, 2024
cdd21b0
Remove redundant requirement spirv-as in tu-member-opaque.spvasm test…
mateuszchudyk Oct 17, 2024
77ca54d
Add missing requirement spirv-dis in GroupAndSubgroupInstructions.spv…
mateuszchudyk Oct 17, 2024
8659507
Fix SPIR-V Builtin OpGenericCastToPtr transformation to OCL (#2763)
delecui Oct 18, 2024
38c9811
Clarify optionality of spirv-val in test suite (#2765)
svenvh Oct 18, 2024
9b50b27
SPV_KHR_untyped_pointers - implement OpUntypedPrefetchKHR (#2752)
vmaksimo Oct 21, 2024
bd2ac52
Add fast math flag translation for OpenCL std lib (#2762)
MrSidims Oct 21, 2024
1f8de71
Fix SPIRVCopyMemory::validate() (#2770)
svenvh Oct 22, 2024
b12df55
Fix mangling for atomic builtins used with SPV_KHR_untyped_pointers (…
vmaksimo Oct 22, 2024
bd16a00
Do not run check-in-tree after pushes to llvm_release_* (#2793)
svenvh Oct 23, 2024
157dae5
SPIRVReader: Add OpCopyMemory support (#2779)
svenvh Oct 28, 2024
7be620b
Fix llvm.frexp intrinsic translation with SPV_KHR_untyped_pointers (#…
vmaksimo Oct 30, 2024
e9ebfa5
SPV_KHR_untyped_pointers - fix images translation (#2817)
vmaksimo Oct 30, 2024
00fc482
SPV_KHR_untyped_pointers - fix enqueue marker (#2820)
vmaksimo Nov 4, 2024
2a0693c
Test more cases with SPV_KHR_untyped_pointers (#2821)
vmaksimo Nov 4, 2024
f717bd2
Translate integer dot product SPIR-V builtins to OCL builtins (#2794)
qichaogu Nov 6, 2024
0bbbeac
Handle removed OpAtomicCompareExchangeWeak (#2824)
qichaogu Nov 6, 2024
0ba27fe
Revert "Finally formalise our defacto line-ending policy"
ldrumm Oct 18, 2024
5c562c9
[Clang] Recover missing changes from 9c760ca8ecfd
jsji Nov 8, 2024
9162b69
[clang] Sync with community to use UnqualPtrTy
jsji Nov 8, 2024
2816519
[SYCL][Test] Update attributes in tests after 69a798a 095d49d
jsji Nov 8, 2024
1457e00
[SYCL] Use union to do bitcast after bif removal in 8be6b108fbd3
jsji Nov 9, 2024
2057848
[ORC] skip reoptimization tests on windows
jsji Nov 9, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
9 changes: 6 additions & 3 deletions .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,17 @@ function keep-modified-projects() {
}

function check-targets() {
# Do not use "check-all" here because if there is "check-all" plus a
# project specific target like "check-clang", that project's tests
# will be run twice.
projects=${@}
for project in ${projects}; do
case ${project} in
clang-tools-extra)
echo "check-clang-tools"
;;
compiler-rt)
echo "check-all"
echo "check-compiler-rt"
;;
cross-project-tests)
echo "check-cross-project"
Expand All @@ -216,10 +219,10 @@ function check-targets() {
echo "check-lldb"
;;
pstl)
echo "check-all"
# Currently we do not run pstl tests in CI.
;;
libclc)
echo "check-all"
# Currently there is no testing for libclc.
;;
*)
echo "check-${project}"
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.github/CODEOWNERS merge=ours

libcxx/src/**/*.cpp merge=libcxx-reformat
libcxx/include/**/*.h merge=libcxx-reformat

Expand Down
2 changes: 1 addition & 1 deletion .github/new-prs-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ PGO:
- llvm/**/llvm-profdata/**/*
- llvm/**/llvm-profgen/**/*

vectorization:
vectorizers:
- llvm/lib/Transforms/Vectorize/**/*
- llvm/include/llvm/Transforms/Vectorize/**/*

Expand Down
23 changes: 15 additions & 8 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,17 +193,24 @@ jobs:
**/crash_diagnostics/*

macos:
runs-on: macos-14
needs: [ stage1 ]
strategy:
fail-fast: true
fail-fast: false
matrix:
config: [
generic-cxx03,
generic-cxx23,
generic-modules,
apple-configuration
]
include:
- config: generic-cxx03
os: macos-latest
- config: generic-cxx23
os: macos-latest
- config: generic-modules
os: macos-latest
- config: apple-configuration
os: macos-latest
- config: apple-system
os: macos-13
- config: apple-system-hardened
os: macos-13
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-binaries-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ on:
- '.github/workflows/release-binaries.yml'
- '.github/workflows/release-binaries-setup-stage/*'
- '.github/workflows/release-binaries-save-stage/*'
- 'clang/cmake/caches/Release.cmake'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || 'dispatch' }}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ jobs:
run: |
# Build some of the mlir tools that take a long time to link
if [ "${{ needs.prepare.outputs.build-flang }}" = "true" ]; then
ninja -C ${{ steps.setup-stage.outputs.build-prefix }}/build/tools/clang/stage2-bins/ -j2 flang-new bbc
ninja -C ${{ steps.setup-stage.outputs.build-prefix }}/build/tools/clang/stage2-bins/ -j2 flang bbc
fi
ninja -C ${{ steps.setup-stage.outputs.build-prefix }}/build/tools/clang/stage2-bins/ \
mlir-bytecode-parser-fuzzer \
Expand Down Expand Up @@ -420,6 +420,14 @@ jobs:
attestations: write # For artifact attestations

steps:
- name: Checkout Release Scripts
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
sparse-checkout: |
llvm/utils/release/github-upload-release.py
llvm/utils/git/requirements.txt
sparse-checkout-cone-mode: false

- name: 'Download artifact'
uses: actions/download-artifact@6b208ae046db98c579e8a3aa621ab581ff575935 # v4.1.1
with:
Expand All @@ -442,14 +450,6 @@ jobs:
name: ${{ needs.prepare.outputs.release-binary-filename }}-attestation
path: ${{ needs.prepare.outputs.release-binary-filename }}.jsonl

- name: Checkout Release Scripts
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
sparse-checkout: |
llvm/utils/release/github-upload-release.py
llvm/utils/git/requirements.txt
sparse-checkout-cone-mode: false

- name: Install Python Requirements
run: |
pip install --require-hashes -r ./llvm/utils/git/requirements.txt
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/release-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,20 @@ jobs:
ref: main
fetch-depth: 0
path: www-releases
persist-credentials: false

- name: Upload Release Notes
if: env.upload
env:
WWW_RELEASES_TOKEN: ${{ secrets.WWW_RELEASES_TOKEN }}
GH_TOKEN: ${{ secrets.WWW_RELEASES_TOKEN }}
run: |
mkdir -p ../www-releases/${{ inputs.release-version }}
mv ./docs-build/html-export/* ../www-releases/${{ inputs.release-version }}
cd ../www-releases
mkdir -p www-releases/${{ inputs.release-version }}
mv ./docs-build/html-export/* www-releases/${{ inputs.release-version }}
cd www-releases
git checkout -b ${{ inputs.release-version }}
git add ${{ inputs.release-version }}
git config user.email "[email protected]"
git config user.name "llvmbot"
git commit -a -m "Add ${{ inputs.release-version }} documentation"
git push "https://[email protected]/${{ github.repository_owner }}/www-releases" main:main
git push --force "https://[email protected]/llvmbot/www-releases.git" HEAD:refs/heads/${{ inputs.release-version }}
gh pr create -f -B main -H ${{ inputs.release-version }} -R llvmbot/www-releases
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ autoconf/autom4te.cache
/CMakeSettings.json
# CLion project configuration
/.idea
/cmake-build*

#==============================================================================#
# Directories to ignore (do not add trailing '/'s, they skip symlinks).
Expand Down
1 change: 1 addition & 0 deletions bolt/include/bolt/Core/BinaryBasicBlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include "bolt/Core/MCPlus.h"
#include "llvm/ADT/GraphTraits.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/ErrorOr.h"
Expand Down
9 changes: 5 additions & 4 deletions bolt/include/bolt/Core/BinaryContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,15 @@ struct SegmentInfo {
uint64_t FileOffset; /// Offset in the file.
uint64_t FileSize; /// Size in file.
uint64_t Alignment; /// Alignment of the segment.
bool IsExecutable; /// Is the executable bit set on the Segment?

void print(raw_ostream &OS) const {
OS << "SegmentInfo { Address: 0x"
<< Twine::utohexstr(Address) << ", Size: 0x"
<< Twine::utohexstr(Size) << ", FileOffset: 0x"
OS << "SegmentInfo { Address: 0x" << Twine::utohexstr(Address)
<< ", Size: 0x" << Twine::utohexstr(Size) << ", FileOffset: 0x"
<< Twine::utohexstr(FileOffset) << ", FileSize: 0x"
<< Twine::utohexstr(FileSize) << ", Alignment: 0x"
<< Twine::utohexstr(Alignment) << "}";
<< Twine::utohexstr(Alignment) << ", " << (IsExecutable ? "x" : " ")
<< "}";
};
};

Expand Down
1 change: 0 additions & 1 deletion bolt/include/bolt/Core/BinaryData.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ inline raw_ostream &operator<<(raw_ostream &OS,
Sep = ",\n ";
TotalCount += AccessInfo.Count;
}
SS.flush();

OS << TotalCount << " total counts : " << TempString;
return OS;
Expand Down
1 change: 0 additions & 1 deletion bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ inline raw_ostream &operator<<(raw_ostream &OS,
TotalCount += CSP.Count;
TotalMispreds += CSP.Mispreds;
}
SS.flush();

OS << TotalCount << " (" << TotalMispreds << " misses) :" << TempString;
return OS;
Expand Down
2 changes: 1 addition & 1 deletion bolt/include/bolt/Core/DIEBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ class DIEBuilder {

BC.errs()
<< "BOLT-ERROR: unable to find TypeUnit for Type Unit at offset 0x"
<< DU.getOffset() << "\n";
<< Twine::utohexstr(DU.getOffset()) << "\n";
return nullptr;
}

Expand Down
61 changes: 61 additions & 0 deletions bolt/include/bolt/Passes/ContinuityStats.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
//===- bolt/Passes/ContinuityStats.h ----------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This pass checks how well the BOLT input profile satisfies the following
// "CFG continuity" property of a perfect profile:
//
// Each positive-execution-count block in the function’s CFG
// should be *reachable* from a positive-execution-count function
// entry block through a positive-execution-count path.
//
// More specifically, for each of the hottest 1000 functions, the pass
// calculates the function’s fraction of basic block execution counts
// that is *unreachable*. It then reports the 95th percentile of the
// distribution of the 1000 unreachable fractions in a single BOLT-INFO line.
// The smaller the reported value is, the better the BOLT profile
// satisfies the CFG continuity property.

// The default value of 1000 above can be changed via the hidden BOLT option
// `-num-functions-for-continuity-check=[N]`.
// If more detailed stats are needed, `-v=1` can be used: the hottest N
// functions will be grouped into 5 equally-sized buckets, from the hottest
// to the coldest; for each bucket, various summary statistics of the
// distribution of the unreachable fractions and the raw unreachable execution
// counts will be reported.
//
//===----------------------------------------------------------------------===//

#ifndef BOLT_PASSES_CONTINUITYSTATS_H
#define BOLT_PASSES_CONTINUITYSTATS_H

#include "bolt/Passes/BinaryPasses.h"
#include <vector>

namespace llvm {

class raw_ostream;

namespace bolt {
class BinaryContext;

/// Compute and report to the user the function CFG continuity quality
class PrintContinuityStats : public BinaryFunctionPass {
public:
explicit PrintContinuityStats(const cl::opt<bool> &PrintPass)
: BinaryFunctionPass(PrintPass) {}

bool shouldOptimize(const BinaryFunction &BF) const override;
const char *getName() const override { return "continuity-stats"; }
bool shouldPrint(const BinaryFunction &) const override { return false; }
Error runOnFunctions(BinaryContext &BC) override;
};

} // namespace bolt
} // namespace llvm

#endif // BOLT_PASSES_CONTINUITYSTATS_H
11 changes: 6 additions & 5 deletions bolt/include/bolt/Profile/BoltAddressTranslation.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,13 @@ class BoltAddressTranslation {
uint64_t FuncOutputAddress) const;

/// Write the serialized address translation table for a function.
template <bool Cold>
void writeMaps(std::map<uint64_t, MapTy> &Maps, uint64_t &PrevAddress,
raw_ostream &OS);
template <bool Cold> void writeMaps(uint64_t &PrevAddress, raw_ostream &OS);

/// Read the serialized address translation table for a function.
/// Return a parse error if failed.
template <bool Cold>
void parseMaps(std::vector<uint64_t> &HotFuncs, uint64_t &PrevAddress,
DataExtractor &DE, uint64_t &Offset, Error &Err);
void parseMaps(uint64_t &PrevAddress, DataExtractor &DE, uint64_t &Offset,
Error &Err);

/// Returns the bitmask with set bits corresponding to indices of BRANCHENTRY
/// entries in function address translation map.
Expand All @@ -161,6 +159,9 @@ class BoltAddressTranslation {

std::map<uint64_t, MapTy> Maps;

/// Ordered vector with addresses of hot functions.
std::vector<uint64_t> HotFuncs;

/// Map a function to its basic blocks count
std::unordered_map<uint64_t, size_t> NumBasicBlocksMap;

Expand Down
11 changes: 5 additions & 6 deletions bolt/include/bolt/Rewrite/RewriteInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -510,12 +510,11 @@ class RewriteInstance {
};

/// Different types of X86-64 PLT sections.
const PLTSectionInfo X86_64_PLTSections[4] = {
{ ".plt", 16 },
{ ".plt.got", 8 },
{ ".plt.sec", 8 },
{ nullptr, 0 }
};
const PLTSectionInfo X86_64_PLTSections[5] = {{".plt", 16},
{".plt.got", 8},
{".plt.sec", 8},
{".iplt", 16},
{nullptr, 0}};

/// AArch64 PLT sections.
const PLTSectionInfo AArch64_PLTSections[4] = {
Expand Down
7 changes: 5 additions & 2 deletions bolt/lib/Core/BinaryContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1294,8 +1294,8 @@ bool BinaryContext::handleAArch64Veneer(uint64_t Address, bool MatchOnly) {
Veneer->getOrCreateLocalLabel(Address);
Veneer->setMaxSize(TotalSize);
Veneer->updateState(BinaryFunction::State::Disassembled);
LLVM_DEBUG(dbgs() << "BOLT-DEBUG: handling veneer function at 0x" << Address
<< "\n");
LLVM_DEBUG(dbgs() << "BOLT-DEBUG: handling veneer function at 0x"
<< Twine::utohexstr(Address) << "\n");
return true;
};

Expand Down Expand Up @@ -2021,6 +2021,9 @@ BinaryContext::getBaseAddressForMapping(uint64_t MMapAddress,
// Find a segment with a matching file offset.
for (auto &KV : SegmentMapInfo) {
const SegmentInfo &SegInfo = KV.second;
// Only consider executable segments.
if (!SegInfo.IsExecutable)
continue;
// FileOffset is got from perf event,
// and it is equal to alignDown(SegInfo.FileOffset, pagesize).
// If the pagesize is not equal to SegInfo.Alignment.
Expand Down
14 changes: 8 additions & 6 deletions bolt/lib/Core/BinaryFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ bool shouldPrint(const BinaryFunction &Function) {
}
}

std::optional<StringRef> Origin = Function.getOriginSectionName();
if (Origin && llvm::any_of(opts::PrintOnly, [&](const std::string &Name) {
return Name == *Origin;
}))
return true;

return false;
}

Expand Down Expand Up @@ -3678,9 +3684,8 @@ BinaryFunction::BasicBlockListType BinaryFunction::dfs() const {
BinaryBasicBlock *BB = Stack.top();
Stack.pop();

if (Visited.find(BB) != Visited.end())
if (!Visited.insert(BB).second)
continue;
Visited.insert(BB);
DFS.push_back(BB);

for (BinaryBasicBlock *SuccBB : BB->landing_pads()) {
Expand Down Expand Up @@ -3873,11 +3878,8 @@ void BinaryFunction::disambiguateJumpTables(
JumpTable *JT = getJumpTable(Inst);
if (!JT)
continue;
auto Iter = JumpTables.find(JT);
if (Iter == JumpTables.end()) {
JumpTables.insert(JT);
if (JumpTables.insert(JT).second)
continue;
}
// This instruction is an indirect jump using a jump table, but it is
// using the same jump table of another jump. Try all our tricks to
// extract the jump table symbol and make it point to a new, duplicated JT
Expand Down
8 changes: 3 additions & 5 deletions bolt/lib/Core/DIEBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,9 @@ getDWOName(llvm::DWARFUnit &CU,
"DW_AT_dwo_name/DW_AT_GNU_dwo_name does not exist.");
if (DwarfOutputPath) {
DWOName = std::string(sys::path::filename(DWOName));
auto Iter = NameToIndexMap.find(DWOName);
if (Iter == NameToIndexMap.end())
Iter = NameToIndexMap.insert({DWOName, 0}).first;
DWOName.append(std::to_string(Iter->second));
++Iter->second;
uint32_t &Index = NameToIndexMap[DWOName];
DWOName.append(std::to_string(Index));
++Index;
}
DWOName.append(".dwo");
return DWOName;
Expand Down
Loading
Loading