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

LLVM and SPIRV-LLVM-Translator pulldown (WW38 2024) #15464

Draft
wants to merge 1,525 commits into
base: sycl
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1525 commits
Select commit Hold shift + click to select a range
e00e9a3
[HLSL] Add HLSLAttributedResourceType (#106181)
hekota Aug 30, 2024
d4c519e
[flang][cuda] Do inline allocation/deallocation in device code (#106628)
clementval Aug 30, 2024
24e791b
[ARM] Use MCRegister instead of unsigned for RegisterReqs in ARMAsmPa…
topperc Aug 30, 2024
b65fc7e
[flang][fir] allow fir.convert from and to !llvm.ptr type (#106590)
jeanPerier Aug 30, 2024
a527248
[flang][acc] allow and ignore DIR between ACC and loops (#106522)
jeanPerier Aug 30, 2024
448d8fa
[NFC] [clangd] [Modules] Extract ModuleFile class and IsModuleFileUpT…
ChuanqiXu9 Aug 30, 2024
cd634f5
[compiler-rt][AArch64][Android] Use getauxval on Android. (#102979)
DanielKristofKiss Aug 30, 2024
d68059b
[NFC] [clangd] [Modules] Change the argument type of IsModuleFileUpTo…
ChuanqiXu9 Aug 30, 2024
8ca6401
[flang][openacc] parse and ignore non-standard shortloop clause (#106…
jeanPerier Aug 30, 2024
89e6a28
[NFC] Add explicit #include llvm-config.h where its macros are used. …
dfukalov Aug 30, 2024
d6ad551
[IPSCCP] Infer nonnull return attribute (#106553)
nikic Aug 30, 2024
e0fa2f1
`__noop` not marked as constexpr #102064 (#105983)
ofAlpaca Aug 30, 2024
1693d8e
[AArch64][SelectionDAG] Vector splitting and promotion for histogram …
DevM-uk Aug 30, 2024
d2b8969
[EdgeBundles] Correct MBB label name in output graph when `-view-edge…
bzEq Aug 30, 2024
ce7c828
[lldb][AArch64] Do not crash if NT_ARM_TLS is missing (#106478)
igorkudrin Aug 30, 2024
54916e5
[Github] Set code formatting job timeout to 30 minutes (#106674)
boomanaiden154 Aug 30, 2024
d6dc7cf
Fix bazel build past 89e6a288674c (#106685)
dklimkin Aug 30, 2024
0722b8a
[Clang][NFC] Consolidate tests for default argument substitution (#10…
zyn0217 Aug 30, 2024
5b77e25
[LoongArch] Pre-commit test for immediate value materialization using…
wangleiat Aug 30, 2024
eaf87d3
[LoongArch] Optimize for immediate value materialization using BSTRIN…
wangleiat Aug 27, 2024
8f4aafb
[RISCV][NFC] Splits f16 cast tests into a separate file (#106692)
arcbbb Aug 30, 2024
b294951
[clang][bytecode] Fix the handling of address of a vector (#106558)
yronglin Aug 30, 2024
8c40e44
Merge from 'sycl' to 'sycl-web'
Aug 30, 2024
1b32c3e
Add no-op handing for HLSLAttributedResource switch cases (#106698)
dklimkin Aug 30, 2024
a2a93f0
[clang] Cleanup IncludeLocMap (#106241)
kadircet Aug 30, 2024
c4b5cb0
[AArch64] Add accelerate test coverage for acos/asin/atan and cosh/si…
RKSimon Aug 30, 2024
833ce5d
[mlir][ArmSME] Fix test after #98043 (NFC)
MacDue Aug 30, 2024
c8568f0
[mlir][tosa] Add missing check for mutiples of `tosa.tile` (#106337)
CoTinker Aug 30, 2024
f0e34f3
[VPlan] Don't skip optimizable truncs in planContainsAdditionalSimps.
fhahn Aug 30, 2024
fab9256
[LLVM][AArch64] Fix invalid use of AArch64ISD::UZP2 in performConcatV…
paulwalker-arm Aug 30, 2024
68d8b38
[builtins] Fix missing main() function in float16/bfloat16 support ch…
overmighty Aug 30, 2024
b065ec0
[Inline][X86] Regenerate inline-target-cpu-* tests
RKSimon Aug 30, 2024
fda7649
[InstCombine][X86] Split off vperm shuffle tests from other avx512 tests
RKSimon Aug 30, 2024
6345604
Revert: [AMDGPU] Graph-based Module Splitting Rewrite (llvm#104763) (…
dklimkin Aug 30, 2024
2d5613a
[dsymutil] return EXIT_FAILURE when Crashed (#106619)
rmaz Aug 30, 2024
87a988e
[SLP]Fix PR106655: Use FinalShuffle for alternate cast nodes.
alexey-bataev Aug 30, 2024
ce5620b
[LLVM][VPlan] Pick more optimal initial value for VPBlend. (#104019)
paulwalker-arm Aug 30, 2024
a6e2f87
Merge from 'main' to 'sycl-web' (175 commits)
JaydeepChauhan14 Aug 30, 2024
64f1995
Fix stack overflow in allPathsGoThroughCold past 6b11573b8c5e (#106384)
dklimkin Aug 30, 2024
ceb613a
[RISCV] Add full test coverage for acos/asin/atan and cosh/sinh/tanh …
RKSimon Aug 30, 2024
8586d03
[flang] Don't generate empty else blocks (#106618)
vdonaldson Aug 30, 2024
2a8fda4
LICM: extend hoistAddSub to unsigned case (#106373)
artagnon Aug 30, 2024
9233272
Merge from 'sycl' to 'sycl-web' (1 commits)
Aug 30, 2024
86a60e7
[AVR] Fix parsing & emitting relative jumps (#106722)
Patryk27 Aug 30, 2024
a919588
[compiler-rt][rtsan] NFC: Rename rtsan_on->rtsan_enable rtsan_off->rt…
cjappl Aug 30, 2024
7ffe67c
[RemoveDIs] Fix asan-identified leak in unittest (#106723)
OCHyams Aug 30, 2024
4a10b4c
[flang] fix flang builds with clang 20 after #100692 (#106718)
jeanPerier Aug 30, 2024
96ad495
[SLP] vectorizeChainsInBlock - remove superfluous continue at the end…
RKSimon Aug 30, 2024
b719c92
[SLP] findBestRootPair - fix incorrect argument name comment. NFC.
RKSimon Aug 30, 2024
362d37a
Update clang tidy Contributing guide (#106672)
MichelleCDjunaidi Aug 30, 2024
2497739
[AArch64][AsmParser] Directives should clear transitively implied fea…
labrinea Aug 30, 2024
c792de2
[libcxx][test] Add macro for when long double is just double (#106708)
DavidSpickett Aug 30, 2024
f4ea19b
[libc++][syncbuf] Implement LWG3253 (#99778)
mordante Aug 30, 2024
ab40ae8
[lldb] Store SupportFiles in SourceManager::File (NFC) (#106639)
JDevlieghere Aug 30, 2024
b0eefb4
[lldb] Update SupportFile documentation (NFC)
JDevlieghere Aug 29, 2024
0c4cf79
[clang] Install scan-build-py into plain "lib" directory (#106612)
mgorny Aug 29, 2024
369d814
[ValueTracking] use KnownBits to compute fpclass from bitcast (#97762)
AlexMaclean Aug 30, 2024
c4a5381
[test-suite] Document the LLVM test-suite benchmark apps (#105843)
sjoerdmeijer Aug 30, 2024
ece6566
[MLIR][NVVM] Add support for fence.proxy.{acquire, release} Ops (#106…
schwarzschild-radius Aug 30, 2024
fef3426
Revert "[LLVM][rtsan] Add LLVM nosanitize_realtime attribute (#105447…
cjappl Aug 30, 2024
82a5ab7
[X86] x86-vperm.ll - strip superfluous semicolon check lines. NFC.
RKSimon Aug 30, 2024
d01e0f7
[InstCombine][X86] Add vpermv/vpermv3 test coverage for #106413
RKSimon Aug 30, 2024
a3816b5
[AVR] Fix LLD test (#106739)
Patryk27 Aug 30, 2024
924907b
[DAG] Prefer 0.0 over -0.0 as neutral value for FADD w/NoSignedZero (…
preames Aug 30, 2024
49b04e6
[gn build] Port 034f2b380bd2
llvmgnsyncbot Aug 30, 2024
5224f65
[gn build] Port 115b87636b9f
llvmgnsyncbot Aug 30, 2024
b4d9c52
[gn build] Port bd6531b95086
llvmgnsyncbot Aug 30, 2024
206b5af
AtomicExpand: Allow incrementally legalizing atomicrmw (#103371)
arsenm Aug 30, 2024
5703d85
[WebAssembly] Add intrinsics to wasm_simd128.h for all FP16 instructi…
brendandahl Aug 30, 2024
c55e24b
[llvm][LoongArch] Fix BSTRINS_D test failures on 32 bit hosts
DavidSpickett Aug 30, 2024
d58d105
[Analysis] isTriviallyVectorizable - add vectorization support for ac…
RKSimon Aug 30, 2024
68f0d20
Fix clang after ece6566048086cf2870d2c2bff46384df1b9e531
JoelWee Aug 30, 2024
a2615ad
[mlir] Align mlir::Block (#106717)
JoelWee Aug 30, 2024
9712255
Fix a minor issue with the documentation; NFC
AaronBallman Aug 30, 2024
1faa9c8
[Security] Nominate Matthew Voss to replace Paul Robinson on the Secu…
pogo59 Aug 30, 2024
348e741
[libc++][NFC] Run clang-format on libcxx/include
ldionne Aug 30, 2024
68805de
[IVDesc] Reuse getBinOpIdentity in getRecurrenceIdentity [nfc]
preames Aug 30, 2024
941feb7
[CostModel][X86] Fix SSE41/SSE42 cost checks on icmp tests
RKSimon Aug 30, 2024
18e5505
[mlir][polly][llvm-lit] Fixed logic for turning on external shell in …
connieyzhu Aug 30, 2024
f1cf091
[compiler-rt][test] Added `env` command to fix NSAN_OPTIONS command n…
Harini0924 Aug 30, 2024
f81f283
Revert "Reapply "[HWASan] remove incorrectly inferred attributes" (#1…
fmayer Aug 30, 2024
9764cf8
[llvm-lit] Add precommit test to verify current behavior of glob expa…
Harini0924 Aug 30, 2024
9a0030e
[ARM] Don't use -1 as invalid register number in assembly parser. (#1…
topperc Aug 30, 2024
688843b
[RISCV] Add constant folding combine for FMV_X_ANYEXTW/H. (#106653)
topperc Aug 30, 2024
c25293c
[LegalizeVectorOps][RISCV] Don't promote VP_FABS/FNEG/FCOPYSIGN. (#10…
topperc Aug 30, 2024
5b3ba43
Restructure createSimpleTargetReduction to match VP path [NFC]
preames Aug 30, 2024
c9d3e83
Merge from 'main' to 'sycl-web' (15 commits)
hchilama Aug 30, 2024
9aa25b8
[LLDB][DWARF] Add an option to silence unsupported DW_FORM warnings (…
walter-erquinigo Aug 30, 2024
26f6091
[DirectX] Replace ResourceFlag enum with struct fields (#106617)
python3kgae Aug 30, 2024
4b553f4
Regen a bunch of vectorizer tests to avoid naming churn in upcoming r…
preames Aug 30, 2024
5af4ba2
Revert "[llvm-lit] Add precommit test to verify current behavior of g…
Harini0924 Aug 30, 2024
5500e21
Revert "[LLDB][DWARF] Add an option to silence unsupported DW_FORM wa…
walter-erquinigo Aug 30, 2024
a4aa6bc
[SLP]Fix PR106667: carefully look for operand nodes.
alexey-bataev Aug 30, 2024
6023d17
[SLP][NFC]Add a function description, NFC.
alexey-bataev Aug 30, 2024
ef7b18a
[X86] Rename trailing whitespace. NFC.
RKSimon Aug 30, 2024
d0d0e12
[AArch64] Fix a presumed typo in isFPImmLegal limit. NFC (#106716)
citymarina Aug 30, 2024
0efa386
[RISCV] Check VL dominates and potentially move in tryReduceVL (#106753)
lukel97 Aug 30, 2024
130eddf
[lldb] Deal with SupportFiles in SourceManager (NFC) (#106740)
JDevlieghere Aug 30, 2024
2c7e1b8
[SandboxIR] Implement ConstantFP (#106648)
vporpo Aug 30, 2024
0717898
Fix cl::desc typos in aarch64-enable-dead-defs and arm-implicit-it. (…
rjmansfield Aug 30, 2024
c49770c
[NFC] Prefer subprocess.DEVNULL over os.devnull (#106500)
nicovank Aug 30, 2024
079746d
[SLP]Better cost estimation for masked gather or "clustered" loads.
alexey-bataev Aug 30, 2024
8a267b7
[SLP][NFC]Remove unused variable
alexey-bataev Aug 30, 2024
688a274
[PtrUseVisitor] Allow using Argument as a starting point (#106308)
Artem-B Aug 30, 2024
6ab07d7
[SLP]Initial support for non-power-of-2 (but still whole register) nu…
alexey-bataev Aug 30, 2024
897b00f
Reuse getBinOpIdentity in createAnyOfTargetReduction [nfc]
preames Aug 30, 2024
5eda498
Revert "[mlir][Transforms] Dialect conversion: Make materializations …
matthias-springer Aug 30, 2024
c315d78
[VP] Reduce duplicate code in vp.reduce expansions
preames Aug 30, 2024
a3f8790
[libc++][NFC] Minor reformatting in <cstddef>
ldionne Aug 30, 2024
c53008d
[VPlan] Manually jumpthread a bit of reduction code for readability […
preames Aug 30, 2024
923a1c1
[WebAssembly] Update FP16 opcodes to match current spec. (#106759)
brendandahl Aug 30, 2024
5e7f0dc
[lldb] Include checksum in source cache dump (#106773)
JDevlieghere Aug 30, 2024
432e9f4
[llvm][LoongArch] Avoid shift overflow (#106785)
vitalybuka Aug 30, 2024
982d244
Revert "AtomicExpand: Allow incrementally legalizing atomicrmw" (#106…
vitalybuka Aug 30, 2024
57fe53c
[libc++] First attempt to regroup a few modules in the modulemap (#98…
ldionne Aug 30, 2024
06c531e
BPF: Generate locked insn for __sync_fetch_and_add() with cpu v1/v2 (…
yonghong-song Aug 30, 2024
d66765d
[gn build] Port 06c531e808ce
llvmgnsyncbot Aug 30, 2024
02654f7
[HLSL][Doc] Document multi-argument resolution (#104474)
llvm-beanz Aug 30, 2024
1293ab3
[Github] Cancel previous in-progress code formatting jobs (#106701)
boomanaiden154 Aug 30, 2024
8f0c014
[mlir][sparse] add parallelization options to mini pipeline (#104233)
yinying-lisa-li Aug 30, 2024
10affaf
[AArch64][AsmParser] Stop parsing on error (#106804)
vitalybuka Aug 30, 2024
0dcd68c
[flang][cuda] Set allocator index for module allocatable variable (#1…
clementval Aug 30, 2024
d6a4586
[NFC][clang] Fix merge conflict artefact: unclosed ifdef
e-kud Aug 30, 2024
c930dbb
Partially revert "Add nuw in GEP for check_device_code tests"
e-kud Aug 30, 2024
2208c0e
Partially revert "Add nuw in GEP for CodeGenSYCL tests"
e-kud Aug 30, 2024
d004ebc
Fix tsan race in PerfJITEventListener.cpp (#106800)
ezhulenev Aug 30, 2024
8b77aa9
[libc] Use correct names for locale variants in spec.td (#106806)
petrhosek Aug 30, 2024
332e6f8
[Fuchsia] Support F extension for riscv32-unknown-elf (#106808)
petrhosek Aug 30, 2024
5013cf6
[cmake] Add symbolic links for MSVC libraries (#106710)
glandium Aug 30, 2024
02eb03d
[RISCV] Use DwarfRegAlias instead of DwarfRegNum for 32-bit and 64-bi…
topperc Aug 30, 2024
3745a2e
[clang][bytecode][NFC] Cache the BuiltinID in Function (#106745)
tbaederr Aug 30, 2024
18e35d8
[LoongArch] Don't left shift negative value (#106812)
vitalybuka Aug 31, 2024
0ab3d6e
Reapply "[MemProf] Reduce cloning overhead by sharing nodes when poss…
teresajohnson Aug 31, 2024
d8bffa9
Revert "[AArch64][AsmParser] Directives should clear transitively imp…
vitalybuka Aug 31, 2024
e6e4291
[RISCV] Cleanup CHECK prefixes in half-arith.ll. NFC
topperc Aug 31, 2024
e0f2368
[clang-format] Correctly annotate braces in ObjC square brackets (#10…
owenca Aug 31, 2024
d0dfcea
[RISCV][LoongArch] Don't store Dwarf register in MCRegister.
topperc Aug 31, 2024
4f9ea25
[AsmPrinter] Don't store Dwarf register in Register.
topperc Aug 31, 2024
ef50970
workflows/release-binaries: Remove .git/config file from artifacts (#…
tstellar Aug 31, 2024
360e4ab
[clang][bytecode] Diagnose comparisons with literals (#106734)
tbaederr Aug 31, 2024
8e972ef
[RISCV] Add scalable vector patterns for vfwmaccbf16.v{v,f} (#106771)
lukel97 Aug 31, 2024
58e1c0e
[RISCV] Discard the false operand in vmerge.vvm -> vmv.v.v peephole (…
lukel97 Aug 31, 2024
d884b77
[MLIR][LLVM] Make DISubprogramAttr cyclic (#106571)
gysit Aug 31, 2024
6f81c87
[clang][bytecode][NFC] Implement MemberPointer::toDiagnosticString() …
tbaederr Aug 31, 2024
f4a3efb
Merge from 'sycl' to 'sycl-web'
Aug 31, 2024
5257fa1
[flang][openacc] Attach post allocate action on the correct operation…
clementval Aug 31, 2024
fa93be4
Revert "[MLIR][LLVM] Make DISubprogramAttr cyclic" (#106827)
gysit Aug 31, 2024
e4cf0a0
[clang][bytecode][NFC] Check for custom typechecking in call cleanup …
tbaederr Aug 31, 2024
c6008ce
[DL] Invert `getTypeStoreSize` bytes/bits relationship to avoid ceil …
antoniofrighetto Aug 30, 2024
3766ba4
[mlir][python] Fix how the mlir variadic Python accessor `_ods_equall…
kasper0406 Aug 31, 2024
49aa255
[X86] Add missing pass initialization function for X86DynAllocaExpand…
topperc Aug 31, 2024
8c5d53f
[RISCV] Use MCRegister instead of unsigned in RISCVAsmParser.cpp. NFC
topperc Aug 31, 2024
5b0bcec
[Clang][Parser] Fix name lookup of template parameters for out-of-lin…
zyn0217 Aug 31, 2024
0f7400c
[libc++] Add missing include to std/utilities/charconv/charconv.to.ch…
philnik777 Aug 31, 2024
4d412be
[LoopVectorize][X86] amdlibm-calls.ll - add missing sinh and f64 test…
RKSimon Aug 30, 2024
d1f3fec
[InstCombine][X86] Only demand the active index bits for VPERMV/VPERM…
RKSimon Aug 31, 2024
239127d
[llvm][RISCV] Support RISCV vector tuple type in llvm IR (#97992)
4vtomat Aug 31, 2024
dc03ee3
[llvm][RISCV] Add RISCV vector tuple type to value types(MVT) (#97993)
4vtomat Aug 31, 2024
db67a66
Revert "[RISCV] RISCV vector calling convention (2/2)" (#97994)
4vtomat Aug 31, 2024
22f9874
[llvm][RISCV] Support RISCV vector tuple CodeGen and Calling Conventi…
4vtomat Aug 31, 2024
9e86d4f
Revert "[SLP]Initial support for non-power-of-2 (but still whole regi…
mstorsjo Aug 31, 2024
b0276ec
[RISCV][NFC] Reimplementation of target attribute override mechanism …
BeMg Aug 31, 2024
75545b3
[Offload] Fix disabling of cuda target on unsupported platforms (#106…
xen0n Aug 31, 2024
9adf811
[Offload] Fix stray libomptarget message helper calls (#106837)
xen0n Aug 31, 2024
109bff1
[libcxx] Do not include `langinfo.h` when using the LLVM C library (#…
jhuber6 Aug 31, 2024
38dbcbd
[libcxx] Use the default rune table when using the LLVM libc (#106632)
jhuber6 Aug 31, 2024
140e80a
[TTI] Add cost model support for [u|s]cmp (#106824)
dtcxzyw Aug 31, 2024
1061c6d
[RISCV] Fix -Wunused-variable in RISCVISelLowering.cpp (NFC)
DamonFool Aug 31, 2024
4514c38
[lld] Fix invalid Python escape sequences (#94033)
e-kwsm Aug 31, 2024
a3ea90f
[SLP]Initial support for non-power-of-2 (but still whole register) nu…
alexey-bataev Aug 30, 2024
e41579a
[HLSL] AST support for WaveSize attribute. (#101240)
python3kgae Aug 31, 2024
89fb849
[HLSL] Implement output parameter (#101083)
llvm-beanz Aug 31, 2024
8638fe1
[X86] Fix livein handling in emitStackProbeInlineWindowsCoreCLR64. (#…
topperc Aug 31, 2024
6d9c6f0
[RISCV] Use MCRegister for return value from allocateRVVReg. NFC
topperc Aug 31, 2024
470f55f
[Transforms][IPO] Add remarks for ArgumentPromotion and DeadArgumentE…
yonghong-song Aug 31, 2024
2afa975
[RISCV] Use MCRegister for vectors in CC_RISCV_FastCC. NFC
topperc Aug 31, 2024
cfe331b
[clang] function template non-call partial ordering fixes (#106829)
mizvekov Aug 31, 2024
ec58817
docs: Clarify commit access requirements in the Developer Policy (#10…
tstellar Aug 31, 2024
37e109c
[OpenMP] Support setting POSIX thread name on *BSD's and Solaris (#10…
brad0 Aug 31, 2024
a3e2936
[SelectionDAGISel] Use MCRegister and Register for LiveInMap. NFC
topperc Aug 31, 2024
8aa8c05
[DXIL][Analysis] Collect Function properties in Metadata Analysis (#1…
bharadwajy Aug 31, 2024
84580a0
[mlir][irdl] update documentation (#103394)
tim-hoffman Sep 1, 2024
380fa87
[InstCombine] Replace all dominated uses of condition with constants…
dtcxzyw Sep 1, 2024
4f4bd41
[NFC] Fix typos (#106817)
c8ef Sep 1, 2024
6f682c2
[RISCV] Merge similar code for legalizing i16<->f16 and i<->bf16 bitc…
topperc Sep 1, 2024
e4f3b56
[clang][bytecode] Fix diagnosing reads from temporaries (#106868)
tbaederr Sep 1, 2024
feb391c
[X86] Remove X86RegisterInfo::getSEHRegNum. (#106866)
topperc Sep 1, 2024
3bdec31
[RISCV] Custom legalize f16/bf16 FNEG/FABS with Zfhmin/Zbfmin. (#106886)
topperc Sep 1, 2024
840d4d9
[clang] NFCI: don't check deduced constraints when partial ordering (…
mizvekov Sep 1, 2024
bec1d86
[CMake][Support] Use /nologo when compiling BLAKE3 assembly sources o…
MattBolitho Sep 1, 2024
4fef204
[Clang][NFC] Don't manually enumerate the PredefinedDeclIDs (#106891)
philnik777 Sep 1, 2024
24a043a
[SLP] Fix crash of shuffle poison (#106857)
tcwzxx Sep 1, 2024
7c4cffd
[compiler-rt][fuzzer] SetThreadName build fix for Mingwin attempt (#1…
devnexen Sep 1, 2024
84ed3c2
Revert "[AMDGPU][LTO] Assume closed world after linking (#105845)" (#…
shiltian Sep 1, 2024
57ef16c
Fix -Wswitch warning after 4fef204ac42eb84e167d43ce076c9a167eae3be0
hokein Sep 1, 2024
803ab28
[SLP][NFC]Add a test with unsafe fp vectorization.
alexey-bataev Sep 1, 2024
6e68fa9
[SLP]Fix PR106909: add a check for unsafe FP operations.
alexey-bataev Sep 1, 2024
7b2fe84
Don't run the lifetime analysis for pointer assignment if the warning is
hokein Sep 1, 2024
affc0c6
[SDAG] Expand vector [u|s]cmp in VectorLegalizer (#106883)
dtcxzyw Sep 1, 2024
9ccf825
[VPlan] Implement VPWidenCallRecipe::computeCost (NFCI). (#106047)
fhahn Sep 1, 2024
5c0d61e
[LTO] Reduce memory usage for import lists (#106772)
kazutakahirata Sep 1, 2024
984fca5
[lldb-dap] show dialog when executable is not found (#104711)
Da-Viper Sep 1, 2024
5aa83eb
[RISCV] Add test for llvm.round.i32.f16 RV64+Zfhmin/Zhinxmin. NFC
topperc Sep 1, 2024
654bb4e
[LV] Don't consider branches leaving loop in collectValuesToIgnore.
fhahn Sep 1, 2024
747d89a
[AArch64] Add tests for fused FP literals. NFC (#106731)
citymarina Sep 1, 2024
776aef1
[RISCV] Correct the rounding mode for llvm.lround.i64.f32 with RV64+Z…
topperc Sep 1, 2024
357bd61
[RISCV] Custom promote f16 (l)lround/(l)lrint with Zfhmin/Zhinxmin in…
topperc Sep 1, 2024
5fe852e
[lld][ELF] Add `-plugin-opt=time-trace=` as an alias of `--time-trace…
mshockwave Sep 2, 2024
837ee5b
[RISCV][TTI] Scale the cost of FP-Int conversion with LMUL (#87506)
arcbbb Sep 2, 2024
77523f9
[LoongArch] Remove unnecessary increment operations
wangleiat Sep 2, 2024
27e244f
[clang][AIX] Fix -print-runtime-dir on AIX (#104806)
jakeegan Sep 2, 2024
c74cc73
[RISCV] Move VLDSX0Pred from RISCVSchedSiFive7.td to RISCVScheduleV.t…
topperc Sep 2, 2024
647f892
[llvm][Support] Simplify HAVE_PTHREAD_GETNAME/SETNAME_NP handling. NF…
brad0 Sep 2, 2024
f1e463c
Merge from 'main' to 'sycl-web' (99 commits)
JaydeepChauhan14 Sep 2, 2024
358165d
[Clang][Concepts] Correct the CurContext for friend declarations (#10…
zyn0217 Sep 2, 2024
da13754
AMDGPU/NewPM Port SILoadStoreOptimizer to NPM (#106362)
Akshat-Oke Sep 2, 2024
dd5d730
[lldb] Better matching of types in anonymous namespaces (#102111)
labath Sep 2, 2024
d2ce9dc
Add support for retrieving the thread ID on DragonFly BSD (#106938)
brad0 Sep 2, 2024
3c40f43
Merge from 'main' to 'sycl-web' (49 commits)
JaydeepChauhan14 Sep 2, 2024
f044564
[InstCombine] Make backedge check in op of phi transform more precise…
nikic Sep 2, 2024
c950ecb
[RISCV] Remove zfbfmin.ll. NFC (#106937)
topperc Sep 2, 2024
cd3667d
[CodeGen] Update a few places that were passing Register to raw_ostre…
topperc Sep 2, 2024
08a72cb
[clang] Bump up DIAG_SIZE_SEMA by 500 for downstream diagnostics.
lhames Sep 2, 2024
fe1006b
[TSan] fix crash when symbolize on darwin platforms (#99441)
pudge62 Sep 2, 2024
ed6d9f6
[CGP] Introduce test for PR102926 (NFC)
antoniofrighetto Aug 26, 2024
e4e0dfb
[CGP] Undo constant propagation of pointers across calls
antoniofrighetto Aug 26, 2024
30cc198
[APInt] Add default-disabled assertion to APInt constructor (#106524)
nikic Sep 2, 2024
9cf6867
[ARM] Fix failure to register-allocate CMP_SWAP_64 pseudo-inst (#106721)
ostannard Sep 2, 2024
d79c4c1
[CGP] Regenerate `revert-constant-ptr-propagation-on-calls.ll` test (…
antoniofrighetto Sep 2, 2024
5bd3ee0
[libcxx][test] Use long double test macro in strong_order.pass.cpp (#…
DavidSpickett Sep 2, 2024
34b10e1
[InstCombine] Remove optional LoopInfo dependency
nikic Sep 2, 2024
42f1723
Merge from 'sycl' to 'sycl-web'
Sep 2, 2024
1d22c95
Merge from 'main' to 'sycl-web' (57 commits)
e-kud Sep 2, 2024
41f496b
Merge with Conflict Markers
jsji Sep 21, 2024
ab78ffb
SPV_KHR_untyped_pointers - implement OpTypeUntypedPointerKHR (#2687)
vmaksimo Sep 5, 2024
e63b277
Ignore llvm.debugtrap (#2708)
maarquitos14 Sep 9, 2024
697b817
Add clang-tools and polly to installation deps (#2712)
MrSidims Sep 9, 2024
576d201
Add polly to clang-format checks (#2715)
MrSidims Sep 10, 2024
7be7837
Relax operand constraints on max_work_group_size metadata (#2711)
frasercrmck Sep 10, 2024
bbe9438
Handle constant sized array allocations using no extension (#2713)
victor-eds Sep 10, 2024
c5d3547
Refactor switch function creation to generate single return point (#2…
delecui Sep 10, 2024
78314ef
Upgrade upload-artifact to v4 (#2717)
svenvh Sep 12, 2024
ba7e37b
Allow short16 for ushort16 intel_sub_group_block_read/write (#2718)
MrSidims Sep 13, 2024
7523238
Add an option to translate LLVM IR to SPIR-V using the LLVM SPIRV Bac…
VyacheslavLevytskyy Sep 16, 2024
2f9d8d6
SPV_KHR_untyped_pointers - implement OpUntypedVariableKHR (#2709)
vmaksimo Sep 16, 2024
22359e7
Fix typo in intrinsic name in a comment. (#2719)
maarquitos14 Sep 17, 2024
25f613c
Report error when finding variadic function other than printf (#2703)
maarquitos14 Sep 19, 2024
55ebb76
Fix incorrect translation of calls to a builtin that returns a struct…
VyacheslavLevytskyy Sep 19, 2024
dadd5b3
Revert "SPV_KHR_untyped_pointers - implement OpUntypedVariableKHR (#2…
jsji Sep 22, 2024
b1f2327
Revert "SPV_KHR_untyped_pointers - implement OpTypeUntypedPointerKHR …
jsji Sep 22, 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.
37 changes: 37 additions & 0 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ jobs:
'generic-no-experimental',
'generic-no-filesystem',
'generic-no-localization',
'generic-no-terminal',
'generic-no-random_device',
'generic-no-threads',
'generic-no-tzdb',
Expand Down Expand Up @@ -190,6 +191,42 @@ jobs:
**/CMakeError.log
**/CMakeOutput.log
**/crash_diagnostics/*

macos:
runs-on: macos-14
needs: [ stage1 ]
strategy:
fail-fast: true
matrix:
config: [
generic-cxx03,
generic-cxx23,
generic-modules,
apple-configuration
]
steps:
- uses: actions/checkout@v4
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 'latest'
- uses: seanmiddleditch/gha-setup-ninja@master
- name: Build and test
run: |
python3 -m venv .venv
source .venv/bin/activate
python -m pip install psutil
bash libcxx/utils/ci/run-buildbot ${{ matrix.config }}
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always() # Upload artifacts even if the build or test suite fails
with:
name: macos-${{ matrix.config }}-results
path: |
**/test-results.xml
**/*.abilist
**/CMakeError.log
**/CMakeOutput.log
**/crash_diagnostics/*

windows:
runs-on: windows-2022
needs: [ stage1 ]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
jobs:
code_formatter:
runs-on: ubuntu-latest
timeout-minutes: 30
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
if: (github.repository == 'llvm/llvm-project' || github.repository == 'intel/llvm') && !contains(github.event.pull_request.labels.*.name, 'disable-lint')
steps:
- name: Fetch LLVM sources
Expand Down
17 changes: 16 additions & 1 deletion .github/workflows/release-asset-audit.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
import github
import sys

_SPECIAL_CASE_BINARIES = {
"keith": {"clang+llvm-18.1.8-arm64-apple-macos11.tar.xz"},
}


def _is_valid(uploader_name, valid_uploaders, asset_name):
if uploader_name in valid_uploaders:
return True

if uploader_name in _SPECIAL_CASE_BINARIES:
return asset_name in _SPECIAL_CASE_BINARIES[uploader_name]

return False


def main():
token = sys.argv[1]

Expand Down Expand Up @@ -41,7 +56,7 @@ def main():
print(
f"{asset.name} : {asset.uploader.login} [{created_at} {updated_at}] ( {asset.download_count} )"
)
if asset.uploader.login not in uploaders:
if not _is_valid(asset.uploader.login, uploaders, asset.name):
with open('comment', 'w') as file:
file.write(f'@{asset.uploader.login} is not a valid uploader.')
sys.exit(1)
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release-binaries-save-stage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ inputs:
required: true
type: 'string'

permissions:
contents: read

runs:
using: "composite"
steps:
Expand All @@ -18,6 +21,9 @@ runs:
- name: Package Build and Source Directories
shell: bash
run: |
# Remove .git/config to avoid leaking GITHUB_TOKEN stored there.
# See https://unit42.paloaltonetworks.com/github-repo-artifacts-leak-tokens/
rm -Rf .git/config
# Windows does not support symlinks, so we need to dereference them.
tar --exclude build/ ${{ (runner.os == 'Windows' && '-h') || '' }} -c . | zstd -T0 -c > ../llvm-project.tar.zst
mv ../llvm-project.tar.zst .
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,8 @@ jobs:
target_cmake_flags="$target_cmake_flags -DBOOTSTRAP_DARWIN_osx_ARCHS=$arches -DBOOTSTRAP_DARWIN_osx_BUILTIN_ARCHS=$arches"
fi

# x86 macOS and x86 Windows have trouble building flang, so disable it.
# Windows: https://github.com/llvm/llvm-project/issues/100202
# macOS: 'rebase opcodes terminated early at offset 1 of 80016' when building __fortran_builtins.mod
build_flang="true"

if [ "$target" = "Windows-X64" ]; then
target_cmake_flags="$target_cmake_flags -DLLVM_RELEASE_ENABLE_PROJECTS=\"clang;lld;lldb;clang-tools-extra;bolt;polly;mlir\""
build_flang="false"
fi

if [ "${{ runner.os }}" = "Windows" ]; then
# The build times out on Windows, so we need to disable LTO.
target_cmake_flags="$target_cmake_flags -DLLVM_RELEASE_ENABLE_LTO=OFF"
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release-doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ on:
description: 'Upload documentation'
required: false
type: boolean
secrets:
RELEASE_TASKS_USER_TOKEN:
description: "Secret used to check user permissions."
required: false

jobs:
release-doxygen:
Expand Down Expand Up @@ -64,5 +68,6 @@ jobs:
if: env.upload
env:
GITHUB_TOKEN: ${{ github.token }}
USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
run: |
./llvm/utils/release/github-upload-release.py --token "$GITHUB_TOKEN" --release "${{ inputs.release-version }}" --user "${{ github.actor }}" upload --files ./*doxygen*.tar.xz
./llvm/utils/release/github-upload-release.py --token "$GITHUB_TOKEN" --release "${{ inputs.release-version }}" --user "${{ github.actor }}" --user-token "$USER_TOKEN" upload --files ./*doxygen*.tar.xz
7 changes: 6 additions & 1 deletion .github/workflows/release-lit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ on:
description: 'Release Version'
required: true
type: string
secrets:
RELEASE_TASKS_USER_TOKEN:
description: "Secret used to check user permissions."
required: false

jobs:
release-lit:
Expand All @@ -36,8 +40,9 @@ jobs:
- name: Check Permissions
env:
GITHUB_TOKEN: ${{ github.token }}
USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
run: |
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --user ${{ github.actor }} check-permissions
./llvm/utils/release/./github-upload-release.py --token "$GITHUB_TOKEN" --user ${{ github.actor }} --user-token "$USER_TOKEN" check-permissions
- name: Setup Cpp
uses: aminya/setup-cpp@v1
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on:
description: Release Version
required: true
type: string
secrets:
RELEASE_TASKS_USER_TOKEN:
description: "Secret used to check user permissions."
required: false
# Run on pull_requests for testing purposes.
pull_request:
paths:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/release-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,19 @@ jobs:
with:
release-version: ${{ needs.validate-tag.outputs.release-version }}
upload: true
# Called workflows don't have access to secrets by default, so we need to explicitly pass secrets that we use.
secrets:
RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}

release-lit:
name: Release Lit
needs: validate-tag
uses: ./.github/workflows/release-lit.yml
with:
release-version: ${{ needs.validate-tag.outputs.release-version }}
# Called workflows don't have access to secrets by default, so we need to explicitly pass secrets that we use.
secrets:
RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}

release-binaries:
name: Build Release Binaries
Expand All @@ -97,6 +103,9 @@ jobs:
release-version: ${{ needs.validate-tag.outputs.release-version }}
upload: true
runs-on: ${{ matrix.runs-on }}
# Called workflows don't have access to secrets by default, so we need to explicitly pass secrets that we use.
secrets:
RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}

release-sources:
name: Package Release Sources
Expand All @@ -109,3 +118,6 @@ jobs:
uses: ./.github/workflows/release-sources.yml
with:
release-version: ${{ needs.validate-tag.outputs.release-version }}
# Called workflows don't have access to secrets by default, so we need to explicitly pass secrets that we use.
secrets:
RELEASE_TASKS_USER_TOKEN: ${{ secrets.RELEASE_TASKS_USER_TOKEN }}
2 changes: 1 addition & 1 deletion .mailmap
2 changes: 2 additions & 0 deletions bolt/include/bolt/Core/BinaryFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -1692,6 +1692,8 @@ class BinaryFunction {

void setPseudo(bool Pseudo) { IsPseudo = Pseudo; }

void setPreserveNops(bool Value) { PreserveNops = Value; }

BinaryFunction &setUsesGnuArgsSize(bool Uses = true) {
UsesGnuArgsSize = Uses;
return *this;
Expand Down
22 changes: 5 additions & 17 deletions bolt/lib/Core/BinaryFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1339,22 +1339,10 @@ Error BinaryFunction::disassemble() {
BC.getBinaryFunctionContainingAddress(TargetAddress))
TargetFunc->setIgnored();

if (IsCall && containsAddress(TargetAddress)) {
if (TargetAddress == getAddress()) {
// Recursive call.
TargetSymbol = getSymbol();
} else {
if (BC.isX86()) {
// Dangerous old-style x86 PIC code. We may need to freeze this
// function, so preserve the function as is for now.
PreserveNops = true;
} else {
BC.errs() << "BOLT-WARNING: internal call detected at 0x"
<< Twine::utohexstr(AbsoluteInstrAddr)
<< " in function " << *this << ". Skipping.\n";
IsSimple = false;
}
}
if (IsCall && TargetAddress == getAddress()) {
// A recursive call. Calls to internal blocks are handled by
// ValidateInternalCalls pass.
TargetSymbol = getSymbol();
}

if (!TargetSymbol) {
Expand Down Expand Up @@ -2502,7 +2490,7 @@ void BinaryFunction::annotateCFIState() {
}
}

if (!StateStack.empty()) {
if (opts::Verbosity >= 1 && !StateStack.empty()) {
BC.errs() << "BOLT-WARNING: non-empty CFI stack at the end of " << *this
<< '\n';
}
Expand Down
3 changes: 2 additions & 1 deletion bolt/lib/Core/BinaryFunctionProfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ void BinaryFunction::inferFallThroughCounts() {
if (SuccBI.Count == 0) {
SuccBI.Count = Inferred;
SuccBI.MispredictedCount = BinaryBasicBlock::COUNT_INFERRED;
Succ->ExecutionCount += Inferred;
Succ->ExecutionCount =
std::max(Succ->getKnownExecutionCount(), Inferred);
}
}
}
Expand Down
9 changes: 6 additions & 3 deletions bolt/lib/Passes/ValidateInternalCalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,24 +302,27 @@ bool ValidateInternalCalls::analyzeFunction(BinaryFunction &Function) const {
}

Error ValidateInternalCalls::runOnFunctions(BinaryContext &BC) {
if (!BC.isX86())
return Error::success();

// Look for functions that need validation. This should be pretty rare.
std::set<BinaryFunction *> NeedsValidation;
for (auto &BFI : BC.getBinaryFunctions()) {
BinaryFunction &Function = BFI.second;
for (BinaryBasicBlock &BB : Function) {
for (MCInst &Inst : BB) {
if (getInternalCallTarget(Function, Inst)) {
BC.errs() << "BOLT-WARNING: internal call detected in function "
<< Function << '\n';
NeedsValidation.insert(&Function);
Function.setSimple(false);
Function.setPreserveNops(true);
break;
}
}
}
}

if (!BC.isX86())
return Error::success();

// Skip validation for non-relocation mode
if (!BC.HasRelocations)
return Error::success();
Expand Down
14 changes: 6 additions & 8 deletions bolt/lib/Profile/DataAggregator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2415,17 +2415,15 @@ std::error_code DataAggregator::writeBATYAML(BinaryContext &BC,
Fragments.insert(BF);
for (const BinaryFunction *F : Fragments) {
const uint64_t FuncAddr = F->getAddress();
const auto &FragmentProbes =
llvm::make_range(ProbeMap.lower_bound(FuncAddr),
ProbeMap.lower_bound(FuncAddr + F->getSize()));
for (const auto &[OutputAddress, Probes] : FragmentProbes) {
for (const MCDecodedPseudoProbe &Probe :
ProbeMap.find(FuncAddr, FuncAddr + F->getSize())) {
const uint32_t OutputAddress = Probe.getAddress();
const uint32_t InputOffset = BAT->translate(
FuncAddr, OutputAddress - FuncAddr, /*IsBranchSrc=*/true);
const unsigned BlockIndex = getBlock(InputOffset).second;
for (const MCDecodedPseudoProbe &Probe : Probes)
YamlBF.Blocks[BlockIndex].PseudoProbes.emplace_back(
yaml::bolt::PseudoProbeInfo{Probe.getGuid(), Probe.getIndex(),
Probe.getType()});
YamlBF.Blocks[BlockIndex].PseudoProbes.emplace_back(
yaml::bolt::PseudoProbeInfo{Probe.getGuid(), Probe.getIndex(),
Probe.getType()});
}
}
}
Expand Down
11 changes: 4 additions & 7 deletions bolt/lib/Profile/YAMLProfileWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,10 @@ YAMLProfileWriter::convert(const BinaryFunction &BF, bool UseDFS,
const uint64_t FuncAddr = BF.getAddress();
const std::pair<uint64_t, uint64_t> &BlockRange =
BB->getInputAddressRange();
const auto &BlockProbes =
llvm::make_range(ProbeMap.lower_bound(FuncAddr + BlockRange.first),
ProbeMap.lower_bound(FuncAddr + BlockRange.second));
for (const auto &[_, Probes] : BlockProbes)
for (const MCDecodedPseudoProbe &Probe : Probes)
YamlBB.PseudoProbes.emplace_back(yaml::bolt::PseudoProbeInfo{
Probe.getGuid(), Probe.getIndex(), Probe.getType()});
for (const MCDecodedPseudoProbe &Probe : ProbeMap.find(
FuncAddr + BlockRange.first, FuncAddr + BlockRange.second))
YamlBB.PseudoProbes.emplace_back(yaml::bolt::PseudoProbeInfo{
Probe.getGuid(), Probe.getIndex(), Probe.getType()});
}

YamlBF.Blocks.emplace_back(YamlBB);
Expand Down
Loading
Loading