Skip to content

[RemoveDIs] Print IR with debug records by default #1

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

Draft
wants to merge 1,453 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1453 commits
Select commit Hold shift + click to select a range
27ac46e
[libc++][ci] Don't install wget in the Windows jobs (#95215)
mstorsjo Jun 12, 2024
b1484f7
[DAG] visitAVG - use X/Y SDValue args to match the fold comment. NFC.
RKSimon Jun 12, 2024
346f16d
[DAG] Move isNullConstantOrUndef helper to SelectionDAGNodes.h to all…
RKSimon Jun 12, 2024
ad7a9d6
[CodeGen] Remove IsVolatile from DominatingValue<RValue>::save_type (…
ahatanak Jun 12, 2024
35f9e5f
[test] Skip some tests on Windows only (#95205)
jayfoad Jun 12, 2024
1216e70
[DAG] getNode - add value type assertions for AVG nodes.
RKSimon Jun 12, 2024
bce2498
[libcxx] [ci] Update Clang for Windows jobs to 18.1.x (#95228)
mstorsjo Jun 12, 2024
1139902
[libcxx] Correct and clean-up filesystem operations error_code paths …
4-rodrigo-salazar Jun 12, 2024
9540950
[libc++] Overhaul the PSTL dispatching mechanism (#88131)
ldionne Jun 12, 2024
3f42fee
[libc++][NFC] Rename __simd_walk functions to give more descriptive n…
ldionne Jun 12, 2024
fe4cd10
[libc++][NFC] Fix typo in concept PSTL concept check
ldionne Jun 12, 2024
c579020
[lldb] Fix linker flags in lldb tests
felipepiovezan Jun 12, 2024
90a154e
[gn build] Port 9540950a45ee
llvmgnsyncbot Jun 12, 2024
9a1611f
[libc] Add baremetal putchar (#95182)
michaelrj-google Jun 12, 2024
c36961b
[libc++] Adds __cpp_lib_three_way_comparison FTM. (#91515)
mordante Jun 12, 2024
759fb59
[libc++][modules] Mark as implemented. (#90091)
mordante Jun 12, 2024
1a0e67d
Reland "mlir/Presburger/MPInt: move into llvm/ADT" (#95254)
artagnon Jun 12, 2024
e286ecf
[flang] Disable Fortran free form line continuation in non-source lin…
klausler Jun 12, 2024
04a09b9
[X86] Use isNullConstantOrUndef helper. NFC.
RKSimon Jun 12, 2024
760ad23
[DAG] combineShiftToAVG - ensure the reduced demanded value type is s…
RKSimon Jun 12, 2024
00fa3fb
[ProfileData] Compute sum in annotateValueSite (NFC) (#95199)
kazutakahirata Jun 12, 2024
15a699f
[gn build] Port 1a0e67d73023
llvmgnsyncbot Jun 12, 2024
bf7c505
[RISCV] Rename FeaturesSsqosid->FeaturesStdExtSsqosid. NFC
topperc Jun 12, 2024
c42bbda
[mlir][sparse] implement lowering rules for ExtractIterSpaceOp. (#89…
Jun 12, 2024
ca33796
[DAG] combineShiftToAVG - only create new types before LegalTypes
RKSimon Jun 12, 2024
7665d3d
[flang] Add reductions for CUF Kernels: Lowering (#95184)
ImanHosseini Jun 12, 2024
af0d712
Support `guarded_by` attribute and related attributes inside C struct…
pdherbemont Jun 12, 2024
3144073
[ProfileData] Use std::vector for ValueData (NFC) (#95194)
kazutakahirata Jun 12, 2024
25af23f
[RISCV] Add test coverage for #95284
RKSimon Jun 12, 2024
987b59a
[X86] SimplifyDemandedVectorEltsForTargetNode - use EVT for F16C nodes
RKSimon Jun 12, 2024
abedb3b
[CodeGenTypes] Speed up getVectorElementType and getVectorMinNumEleme…
jayfoad Jun 12, 2024
7b80384
[libc++] Move the implementation of CPU-based basis operations to nam…
ldionne Jun 12, 2024
294f3ce
Reapply "[llvm][IR] Extend BranchWeightMetadata to track provenance o…
ilovepi Jun 12, 2024
682d461
Revert "✨ [Sema, Lex, Parse] Preprocessor embed in C and C++ (and Obj…
vitalybuka Jun 12, 2024
0cb2ae3
Revert "[CLANG][DWARF] Handle DIE offset collision in DW_IDX_parent" …
fmayer Jun 12, 2024
d6bbe2e
[libc] Fix definition of `UINT_MAX` in limits.h (#95279)
jhuber6 Jun 12, 2024
2c6f486
Update actions-runner version for libc++ builder images
EricWF Jun 12, 2024
2cc4bc1
MCFragment: Initialize Offset to 0
MaskRay Jun 12, 2024
148417b
[libc++] Mark local_time test as a long test (#95170)
ldionne Jun 12, 2024
acb896a
[libc++] Remove unnecessary #ifdef guards around PSTL implementation …
ldionne Jun 12, 2024
8f6acd9
Bump the DWARF version number to 5 on Darwin. (#95164)
adrian-prantl Jun 12, 2024
39f7846
[libc][__support] Add constexpr to FixedVector members (#95315)
PiJoules Jun 12, 2024
f074500
[libc][macros] Define LIBC_CONSTINIT (#95316)
PiJoules Jun 12, 2024
c9d5800
Revert "Support `guarded_by` attribute and related attributes inside …
delcypher Jun 12, 2024
fcc4935
Revert "Bump the DWARF version number to 5 on Darwin." (#95325)
fmayer Jun 12, 2024
45927d7
[lldb] Skip delay-init test when run on pre-macOS 15
jasonmolenda Jun 12, 2024
e80c595
[AArch64] Add support for Cortex-A725 and Cortex-X925 (#95214)
jthackray Jun 12, 2024
ca91538
[MC] Move AllowTemporaryLabels setting to MCContext::MCContext
MaskRay Jun 12, 2024
a91c839
[MC] Move -save-temp-labels from llvm-mc to MCTargetOptionsCommandFlags
MaskRay Jun 12, 2024
d125e71
[MC] Remove setAllowTemporaryLabels and rename AllowTemporaryLabels
MaskRay Jun 13, 2024
86d8aec
[asan] Attempt to fix tests broken by #94307. (#95340)
dyung Jun 13, 2024
6784bf7
[MLIR][Arith] add fastMathAttr on arith::extf and arith::truncf (#93443)
Jun 13, 2024
b06da39
[clang-tidy] ignoring macro with hash preprocessing token in cppcoreg…
HerrCai0907 Jun 13, 2024
2e1ad93
[clang] fix broken canonicalization of DeducedTemplateSpecializationT…
mizvekov Jun 13, 2024
78ee473
[gn build] Port 2e1ad93961a3
llvmgnsyncbot Jun 13, 2024
34aa6c5
[msan] Handle blendv intrinsics (#94882)
vitalybuka Jun 12, 2024
90a23d3
[MC] Restore setOffset(0) in emitLabel
MaskRay Jun 13, 2024
f941908
Revert "[MLIR][Arith] add fastMathAttr on arith::extf and arith::trun…
Jun 13, 2024
64c9a1e
[clang][Interp] Also revisit references to const types
tbaederr Jun 13, 2024
58df646
[Support/BLAKE3] Remove some dead stores (#95120)
tstellar Jun 13, 2024
f33310e
[Attributor][FIX] Ensure nonnull IR deduction is not optimistic (#93322)
jdoerfert Jun 13, 2024
3bcd80a
[libc][stdlib] Add the FreelistHeap (#95066)
PiJoules Jun 13, 2024
22ff7c5
[ValueTracking][NFC] move isKnownInversion to ValueTracking (#95321)
zjaffal Jun 13, 2024
092dbfa
[Orc] Fix error handling (#95253)
nikic Jun 13, 2024
1dbd7be
[clang] Don't print extra space when dumping template names (#95213)
hokein Jun 13, 2024
fc19d62
[AMDGPU][MC] Don't rely on output ordering in hsa-sym-expr-failure.s
Pierre-vh Jun 13, 2024
9ab601f
Reland "[NFC][AMDGPU] Do not flush after printing every instruction (…
Pierre-vh Jun 12, 2024
54b5c76
[Offload] Use flat array for cuLaunchKernel (#95116)
jdoerfert Jun 13, 2024
9d7299f
[Clang] Add fix-it hint to insert `*` when a modifiable lvalue is req…
Rajveer100 Jun 13, 2024
a6c1152
[docs] Document move from chromium to github to report security issue…
kbeyls Jun 13, 2024
9890f94
[AMDGPU][GFX12] Support disassembling MUBUF instructions with arbitra…
kosarev Jun 13, 2024
4baea8b
[SPIR-V] Implement insertion of 'Group and Subgroup Instructions' us…
VyacheslavLevytskyy Jun 13, 2024
9c29217
[SPIR-V] Ensure that cleaning of temporary constants doesn't purge tr…
VyacheslavLevytskyy Jun 13, 2024
f5a93c5
[clang] [test] Skip a test that sets PATH on Windows (#95096)
mstorsjo Jun 13, 2024
b446f90
SimplifyLibCalls: Don't require ldexp to emit intrinsic in pow combin…
arsenm Jun 13, 2024
7adb7aa
[GWP-ASan] Various test fixes. (#94938)
hctim Jun 13, 2024
8b435c1
ASTTests: Suppress a warning in -Asserts for #95202 [-Wunused-variable]
chapuni Jun 13, 2024
2b66d28
[flang][fir] handle poly to non poly case in rebox_assumed_rank (#95240)
jeanPerier Jun 13, 2024
65f746e
[flang] Update UBOUND runtime API and lowering (#95085)
jeanPerier Jun 13, 2024
b37f9e0
[lldb] Move DWARFDeclContext functions from DWARFDebugInfoEntry to DW…
labath Jun 13, 2024
453a0e4
[flang] handle assume-rank descriptor updates in calls (#95229)
jeanPerier Jun 13, 2024
53c06c5
SimplifyLibCalls: Simplify fp immediate checking code (NFC)
arsenm Jun 13, 2024
705f858
[Tosa] Disable tosa folder for non-int/float/index types (#71757)
Tai78641 Jun 13, 2024
71a5b37
[CodeGenTypes] Remove unused ElSz argument from generated GET_VT_VECA…
jayfoad Jun 13, 2024
f440239
[flang][Semantics][OpenMP] Check type of reduction variables (#94596)
tblah Jun 13, 2024
445973c
[LegalizeTypes] Handle non byte-sized elt types when splitting INSERT…
bjope Jun 13, 2024
935d377
AMDGPU: Fix using wrong memory type for non-image resource intrinsics…
arsenm Jun 13, 2024
fa9301f
[KnownBits] avgCompute - don't create on-the-fly Carry. NFC.
RKSimon Jun 13, 2024
00bb18a
[llvm-dwp] Remove incorrect std::move()
nikic Jun 13, 2024
3475116
[clang][NFC] Add a test for CWG2685 (#95206)
zyn0217 Jun 13, 2024
a144bf2
[Clang] Fix handling of brace ellison when building deduction guides …
zyn0217 Jun 13, 2024
b6bf402
[llvm][CodeGen] Add a new software pipeliner 'Window Scheduler' (#84443)
huaatian Jun 13, 2024
5c9352e
DAG: Replace bitwidth with type in suffix in atomic tablegen ops (#94…
arsenm Jun 13, 2024
846e47e
[MC] Reduce size of MCDataFragment by 8 bytes (#95293)
aengelke Jun 13, 2024
d70d326
[gn build] Port b6bf4024a031
llvmgnsyncbot Jun 13, 2024
3f9e2e1
[NFC][clang-tidy] fix typo in readability-else-after-return
HerrCai0907 Jun 13, 2024
f991a16
[CodeGen] ExpandLargeFpConvert - don't dereference a dyn_cast result
RKSimon Jun 13, 2024
1cbafb3
[X86] avg.ll - add common CHECK prefix
RKSimon Jun 13, 2024
33a24b7
[X86] Add test coverage for #95284
RKSimon Jun 13, 2024
c0ff36e
AMDGPU: Fix buffer intrinsic handling for various 16-bit elements. (#…
arsenm Jun 13, 2024
e439d22
[clang][ExprConst][NFC] Replace typecheck+castAs with getAs
tbaederr Jun 13, 2024
5563d91
[clang][Interp] Prepare return value for composite InitListExprs
tbaederr Jun 13, 2024
933d6be
[FMV][compiler-rt] Fix cpu features initialization. (#95149)
labrinea Jun 13, 2024
7ead2d8
[MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)
chapuni Jun 13, 2024
5e8cf0b
AMDGPU: Fix buffer intrinsic store of bfloat (#95377)
arsenm Jun 13, 2024
b53e085
Revert "[clang][NFC] Add a test for CWG2685" (#95389)
zyn0217 Jun 13, 2024
04a4254
[M68k] Fix atomic_cmp_swap patterns after #94845
RKSimon Jun 13, 2024
7ca52cd
[Sema] IsVectorConversion - merge isExtVectorType() and getAs<VectorT…
RKSimon Jun 13, 2024
71e4d70
[clang][NFC] Update CWG issues list
Endilll Jun 13, 2024
76c5158
[DAG] combineShiftToAVG - don't create avgfloor with scalar constant…
RKSimon Jun 13, 2024
9b46838
Reapply "[Flang] Use PrintModulePass to print LLVM IR from the fronte…
SLTozer Jun 13, 2024
4f09ac7
Fix off-by-one issue found by post-commit review
AaronBallman Jun 13, 2024
ffab938
[clang][Interp] Handle BooleanToSignedIntegral casts
tbaederr Jun 13, 2024
3d1705d
MCExpr-ify AMDGPU PALMetadata (#93236)
JanekvO Jun 13, 2024
24c6579
[gn build] Port 3d1705d00c5f
llvmgnsyncbot Jun 13, 2024
846103c
[mlir][memref] Unranked support for extract_aligned_pointer_as_index …
sabauma Jun 13, 2024
b5c850f
[lld-macho] Mark local personality functions as `INDIRECT_SYMBOL_LOCA…
BertalanD Jun 13, 2024
0079835
[VPlan] First step towards VPlan cost modeling. (#92555)
fhahn Jun 13, 2024
a959ad1
[AArch64][GISel] Assign G_LOAD defs into FPR if they feed FP instruct…
Him188 Jun 13, 2024
ae73706
[clang][Interp] Fix references to objects
tbaederr Jun 13, 2024
0aeaa2d
[OMPIRBuilder][OpenMP][LLVM] Modify and use ReplaceConstant utility i…
agozillon Jun 13, 2024
28d6aa9
[mlir][bufferization] Unranked memref support for clone (#94757)
ryankima Jun 13, 2024
d2528c0
[DAG] getOperationAction - always return Custom action for target opc…
RKSimon Jun 13, 2024
4afd286
Revert "[asan] Make frame number checks more flexable (#94307)"
zmodem Jun 13, 2024
69bc159
[analyzer] Refine invalidation caused by `fread` (#93408)
steakhal Jun 13, 2024
a988373
[clang] Fix include for 7ead2d8c7e
Jun 13, 2024
ca05204
[libc] fix aarch64 linux full build (#95358)
SchrodingerZhu Jun 13, 2024
8f795fc
[libclang/python] Change minimum Python test version to 3.8 (#95210)
DeinAlptraum Jun 13, 2024
3d35b94
[X86][test] Pre-commit tests for https://github.com/llvm/llvm-project…
KanRobert Jun 13, 2024
cc2dc09
Reapply [ConstantFold] Drop gep of gep fold entirely (#95126)
nikic Jun 12, 2024
93318a8
[lld-macho] Add swift support to ObjC category merger (#95124)
alx32 Jun 13, 2024
444dd9b
AMDGPU: Cleanup FP atomicrmw tests and cover fmin/fmax (#95131)
arsenm Jun 13, 2024
5dc99af
[llvm] Use llvm::is_contained (NFC) (#95362)
kazutakahirata Jun 13, 2024
525c25a
[SPIRV] Fix warning in SPIRVMergeRegionExitTargets.cpp (#95283)
hekota Jun 13, 2024
91a55cf
[X86][MC] Not decode 0xf3 as rep prefix if it's right before REX2
KanRobert Jun 13, 2024
48f8d95
[MLIR][DebugInfo] Set debug info format in MLIR->IR translation (#95329)
SLTozer Jun 13, 2024
ae4677c
[RISCV] Remove support for vfmv.v.f with bf16 type. (#95352)
topperc Jun 13, 2024
9e5428e
Revert "[libc] fix aarch64 linux full build (#95358)" (#95419)
SchrodingerZhu Jun 13, 2024
dc8e078
[RISCV] SPLAT_VECTOR of bf16 should not require Zvfhmin. (#95357)
topperc Jun 13, 2024
a8f8070
Adding a couple of pointer components tests (#95287)
Renaud-K Jun 13, 2024
1fb1fcf
Add mad support for v_pk_* 16 bit integer (#95104)
dstutt Jun 13, 2024
19b43e1
[PowerPC][NFC] Pre-commit test case to prepare for patch to merge int…
amy-kwan Jun 13, 2024
abcbbe7
[MLIR][VectorToLLVM] Handle scalable dim in createVectorLengthValue()…
zhaoshiz Jun 13, 2024
9f70cd8
[LLDB] Add more helper functions to ValueObject class. (#87197)
cmtice Jun 13, 2024
451f3fc
[DwarfDump] Add new set of line-table-related statistics to llvm-dwar…
SLTozer Jun 13, 2024
890ab28
[KnownBits] Remove commonBits (#95430)
kazutakahirata Jun 13, 2024
8f2a4e8
[lldb] Support case-insensitive regex matches (#95350)
JDevlieghere Jun 13, 2024
46080ab
Revert "[VPlan] First step towards VPlan cost modeling. (#92555)"
aeubanks Jun 13, 2024
93c8e0f
[AArch64][SME] Save VG for unwind info when changing streaming-mode (…
kmclaughlin-arm Jun 13, 2024
8f57f68
Bump the DWARF version number to 5 on Darwin. (#95164)
adrian-prantl Jun 12, 2024
0f53a59
Fix typos in comment
adrian-prantl Jun 13, 2024
389142e
[HWASan] add test for hwasan_symbolize of stack uas (#95186)
fmayer Jun 13, 2024
a239343
[libc][math][c23] Add f16sqrtf C23 math function (#95251)
overmighty Jun 13, 2024
6499c5d
[compiler-rt][builtins] Add opt-in pthread_mutex_t locks to libatomic…
Logikable Jun 13, 2024
12f77e8
Revert "[hwasan] Add fixed_shadow_base flag" (#95435)
fmayer Jun 13, 2024
e387299
[CI] Update setup-python action to v5 for GHA (#95414)
DeinAlptraum Jun 13, 2024
2fa6eaf
[llvm-profgen] Add support for Linux kenrel profile (#92831)
xur-llvm Jun 13, 2024
3dd73dc
[Fuchsia] Add armv7m and armv8m runtimes to Fuchsia Clang toolchain (…
zeroomega Jun 13, 2024
010c55b
[flang] Improve error recovery in tricky situation (#95168)
klausler Jun 13, 2024
2414a90
[flang] Catch NULL(MOLD=assumed-rank) (#95270)
klausler Jun 13, 2024
4b493e3
[ProfileData] Add getValueArrayForSite (#95335)
kazutakahirata Jun 13, 2024
f8fc883
[flang][runtime] Distinguish VALUE from non-VALUE operations in REDUC…
klausler Jun 13, 2024
86bee81
[flang][preprocessor] Fixed-form continuation across preprocessing di…
klausler Jun 13, 2024
2146fd0
Revert "Reland "[AArch64] Decouple feature dependency expansion. (#94…
MaskRay Jun 13, 2024
cd94fa7
[DFSan] Fix sscanf checking that ordinary characters match. (#95333)
browneee Jun 13, 2024
d4a0154
[llvm-project] Fix typo "seperate" (#95373)
jayfoad Jun 13, 2024
c7b5be8
[mlir][TilingInterface] Update documentation for `TilingInterface.td`…
MaheshRavishankar Jun 13, 2024
52d29eb
[LV] Add extra cost model tests with truncated inductions.
fhahn Jun 13, 2024
ba7d5eb
[libc] Fix build breaks caused by f16sqrtf changes (#95459)
overmighty Jun 13, 2024
4158773
[ProfileData] Migrate to getValueArrayForSite (#95457)
kazutakahirata Jun 13, 2024
93181db
[mlir][bzl] Add missing dep
jpienaar Jun 13, 2024
1365ce2
[llvm-profdata] Clean up traverseAllValueSites (NFC) (#95467)
kazutakahirata Jun 13, 2024
b6688a0
[MC] flushPendingLabels: revert setAtom change
MaskRay Jun 13, 2024
597cde1
[mlir][spirv] Implement SPIR-V lowering for `vector.deinterleave` (#9…
angelz913 Jun 13, 2024
27588fe
[MC] Move MCFragment::Atom to MCSectionMachO::Atoms
MaskRay Jun 13, 2024
00ed887
[LLDB][Windows] Fix watchpoints for Windows (#95446)
AlexK0 Jun 13, 2024
8fa7cf0
[HWASan] disable hwasan_symbolize_stack_uas on x86
fmayer Jun 13, 2024
3106a23
[libc][stdlib] Fix UB in freelist (#95330)
PiJoules Jun 13, 2024
1ebda11
[BOLT] Fix duplicate diagnostic message (#95167)
maksfb Jun 13, 2024
01a429c
[mlir][mesh] Fix wrong argument passed to targetShardingInUnsplitLast…
Jun 13, 2024
c54f5f6
[flang] Address missed cases for REDUCE change, fixes shared lib buil…
klausler Jun 13, 2024
22ea97d
[lldb] Use packaging module instead of pkg_resources (#93712)
JDevlieghere Jun 13, 2024
602634d
[Transforms] Migrate to a new version of getValueProfDataFromInst (#9…
kazutakahirata Jun 13, 2024
0ca05e8
Reland '[hwasan] Add fixed_shadow_base flag (#73980)' (#95445)
thurstond Jun 14, 2024
41c50f0
[HWASan] comment why hwasan_symbolize_stack_uas is arm64 only
fmayer Jun 14, 2024
785dc76
[llvm][SelectionDAG] Fix up chains in lowerInvokeable. rdar://1139947…
jroelofs Jun 14, 2024
4f8c961
[compiler-rt][AArch64][FMV] Use the hw.optional.arm.caps fast path (#…
jroelofs Jun 14, 2024
50ead2e
[X86][AsmParser] Avoid duplicated code in MatchAndEmit(ATT/Intel)Inst…
KanRobert Jun 14, 2024
cb021f5
[RISCV] Don't use SEW=16 .vf instructions to move scalar bf16 into a …
topperc Jun 14, 2024
836ca5b
[Transforms] Migrate to a new version of getValueProfDataFromInst (#9…
kazutakahirata Jun 14, 2024
75882ed
[Codegen] (NFC) Faster algorithm for MachineBlockPlacement (#91843)
huangjd Jun 14, 2024
eb1248f
[X86][MC] Add missing support for pseudo rex/rex2 prefix in assembler
KanRobert Jun 14, 2024
5745851
[RISCV] Remove unused check prefixes. NFC
topperc Jun 14, 2024
a7a1195
[RISCV] Remove duplicate bf16 testing. NFC
topperc Jun 14, 2024
43bd7ae
StreamChecker.cpp: Use isa<> (for #93408) [-Wunused-but-set-variable]
chapuni Jun 14, 2024
2efe3d7
Reland "[libc] fix aarch64 linux full build (#95358)" (#95423)
SchrodingerZhu Jun 14, 2024
85e8d62
[mlir][scf]: Expose emitNormalizedLoopBounds/denormalizeInductionVari…
AviadCo Jun 14, 2024
7ffeaf0
[MLIR][Flang][OpenMP] Implement lowering simd aligned to MLIR (#95198)
harishch4 Jun 14, 2024
d66084b
[RISCV] Remove unnecessary bf16 -mattr from vfmv.v.f.ll. NFC
topperc Jun 14, 2024
bd6568c
[MLIR][GPU] Add gpu.cluster_dim_blocks and gpu.cluster_block_id Ops (…
schwarzschild-radius Jun 14, 2024
b954462
[RISCV] Remove partially duplicate riscv_vfmv_v_f_vl patterns.
topperc Jun 14, 2024
f83d5d2
[RISCV] Remove vfmerge.vf patterns with bf16 types.
topperc Jun 14, 2024
53dbc1f
[RISCV] Add vselect pattern with SelectFPImm.
topperc Jun 14, 2024
2e7b95e
[Safe Buffers] Serialize unsafe_buffer_usage pragmas (#92031)
ziqingluo-90 Jun 14, 2024
ebdea52
[libc] Provide vprintf for baremetal (#95363)
petrhosek Jun 14, 2024
b1de42a
[libc] printf, putchar and vprintf in bareemetal entrypoints (#95436)
petrhosek Jun 14, 2024
f2d215f
[lldb][TypeSystemClang][NFCI] Factor completion logic for individual …
Michael137 Jun 14, 2024
d890dda
[NFCI][AMDGPU] Try to use PressureDiff to Calculate RegPressure. (#94…
Pierre-vh Jun 14, 2024
4ab37e4
[clang][Fuchsia] Use unsigned int for wint_t on *-fuchsia targets (#9…
frobtech Jun 14, 2024
c4a1440
[lld][ELF] Add basic TLSDESC support for LoongArch
wangleiat Jun 14, 2024
db08b09
[ARM][AArch64] Bail out if CandidatesWithoutStackFixups is empty (#95…
nikic Jun 14, 2024
c947709
[Driver] Support -Wa,--defsym similar to -Wa,-defsym
MaskRay Jun 14, 2024
4942e78
[llvm-exegesis] Only link/initialize supported targets (NFC) (#95421)
nikic Jun 14, 2024
d712ae4
[Driver] Support -Wa,--defsym similar to -Wa,-defsym
MaskRay Jun 14, 2024
706e197
[CodeGen] Remove target SubRegLiveness flags (#95437)
davemgreen Jun 14, 2024
ae71609
[SDAG] Lower range attribute to AssertZext (#95450)
andjo403 Jun 14, 2024
ebb5385
MathExtras/test: increase coverage (#95425)
artagnon Jun 14, 2024
da249ca
[clang-cl] Map /Ot to -O3 instead of -O2 (#95406)
zmodem Jun 14, 2024
dfde077
[SimplifyCFG] More accurate use legality check for sinking (#94462)
nikic Jun 14, 2024
e83adfe
[SPIRV] Silence unused variable warnings (#95492)
llvm-beanz Jun 14, 2024
880d370
[APFloat] Add APFloat support for FP4 data type (#95392)
durga4github Jun 14, 2024
b422fa6
Revert "[MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)"
zmodem Jun 14, 2024
dc726c3
Reapply#4 "[RemoveDIs] Load into new debug info format by default in …
SLTozer Jun 13, 2024
bd5fbab
[SimplifyCFG] Add tests for sinking with multiple uses (NFC)
nikic Jun 14, 2024
d62ff71
[Flang][OpenMP] NFC: Check omp.loop_nest in compound construct loweri…
skatrak Jun 14, 2024
b6b0f97
[flang][OpenMP] Support reduction of POINTER variables (#95148)
tblah Jun 14, 2024
32cd703
[clang-cl] Support the /Ob3 flag
zmodem Jun 14, 2024
88e42c6
[libclang/python] Fix bugs in custom enum implementation and add test…
DeinAlptraum Jun 14, 2024
ab0d01a
[MC] Cache MCRegAliasIterator (#93510)
Pierre-vh Jun 14, 2024
4bccd25
[AArch64] LowerAVG - fallback to default expansion (#95416)
RKSimon Jun 14, 2024
44df116
[Error] Add non-consuming toString (#95375)
nikic Jun 14, 2024
4f54b91
[SDPatternMatch] Only match ISD::SIGN_EXTEND in m_SExt (#95415)
c8ef Jun 14, 2024
738fcbe
[SROA] Preserve all GEP flags during speculation
nikic Jun 14, 2024
f1a29ec
[AArch64] Add i128 and fp128 tests to fptoi. NFC
davemgreen Jun 14, 2024
1ceede3
[AMDGPULowerBufferFatPointers] Don't try to preserve flags for consta…
nikic Jun 14, 2024
71f8b44
Reapply: [MC/DC][Coverage] Loosen the limit of NumConds from 6 (#82448)
chapuni Jun 13, 2024
b650764
[lldb][test] Add test for completing ObjCObjectType (#95405)
Michael137 Jun 14, 2024
90fd99c
Recommit "[VPlan] First step towards VPlan cost modeling. (#92555)"
fhahn Jun 14, 2024
ad702e0
[AArch64] Extend SVE diagnostics. (#94976)
hvdijk Jun 14, 2024
0113f26
[AArch64][SME] Enable subreg liveness tracking for AArch64 (#92142)
kmclaughlin-arm Jun 14, 2024
cf4c3d9
[AMDGPU] Extend llvm.amdgcn.set.inactive intrinsic to support Reg32/R…
vikramRH Jun 14, 2024
86dc758
[llvm-c] Move LLVMAttributeIndex to a more apropriate place. NFC.
deadalnix Jun 5, 2024
e910f61
[Flang][OpenMP] Fix type in getBaseObject causing crashes in certain …
agozillon Jun 14, 2024
8ab3f8a
[llvm-exegesis] Fix typos in cmake file
nikic Jun 14, 2024
ed7a440
Pre-script fixups
SLTozer May 3, 2024
e4faac5
Print debug records by default
SLTozer May 3, 2024
0cc1b79
update_test_checks.py
SLTozer Jun 10, 2024
03ccc1d
update_cc_test_checks.py
SLTozer Jun 10, 2024
cc6b2d5
substitute-checks.sh
SLTozer Jun 10, 2024
a556002
Manual fixups post-update_test_checks
SLTozer May 3, 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.
5 changes: 2 additions & 3 deletions .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ function exclude-linux() {
for project in ${projects}; do
case ${project} in
cross-project-tests) ;; # tests failing
lldb) ;; # tests failing
openmp) ;; # https://github.com/google/llvm-premerge-checks/issues/410
*)
echo "${project}"
Expand All @@ -170,7 +169,7 @@ function exclude-windows() {
compiler-rt) ;; # tests taking too long
openmp) ;; # TODO: having trouble with the Perl installation
libc) ;; # no Windows support
lldb) ;; # tests failing
lldb) ;; # custom environment requirements (https://github.com/llvm/llvm-project/pull/94208#issuecomment-2146256857)
bolt) ;; # tests are not supported yet
*)
echo "${project}"
Expand Down Expand Up @@ -213,7 +212,7 @@ function check-targets() {
echo "check-unwind"
;;
lldb)
echo "check-all" # TODO: check-lldb may not include all the LLDB tests?
echo "check-lldb"
;;
pstl)
echo "check-all"
Expand Down
1 change: 1 addition & 0 deletions .ci/monolithic-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ targets="${2}"

echo "--- cmake"
pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
pip install -q -r "${MONOREPO_ROOT}"/lldb/test/requirements.txt
cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
-D LLVM_ENABLE_PROJECTS="${projects}" \
-G Ninja \
Expand Down
10 changes: 10 additions & 0 deletions .github/new-prs-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,16 @@ backend:AMDGPU:
- '**/*amdgpu*/**'
- '**/*AMDGPU*/**'

backend:NVPTX:
- 'llvm/**/*nvvm*'
- 'llvm/**/*NVVM*'
- 'llvm/**/*nvptx*'
- 'llvm/**/*NVPTX*'
- 'llvm/**/*nvvm*/**'
- 'llvm/**/*NVVM*/**'
- 'llvm/**/*nvptx*/**'
- 'llvm/**/*NVPTX*/**'

backend:RISC-V:
- clang/**/*riscv*
- clang/**/*RISCV*
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/ci-post-commit-analyzer-run.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import json
import multiprocessing
import os
import re
import subprocess
import sys


def run_analyzer(data):
os.chdir(data["directory"])
command = (
data["command"]
+ f" --analyze --analyzer-output html -o analyzer-results -Xclang -analyzer-config -Xclang max-nodes=75000"
)
print(command)
subprocess.run(command, shell=True, check=True)


def pool_error(e):
print("Error analyzing file:", e)


def main():
db_path = sys.argv[1]
database = json.load(open(db_path))

with multiprocessing.Pool() as pool:
pool.map_async(run_analyzer, [k for k in database], error_callback=pool_error)
pool.close()
pool.join()


if __name__ == "__main__":
main()
95 changes: 95 additions & 0 deletions .github/workflows/ci-post-commit-analyzer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Post-Commit Static Analyzer

permissions:
contents: read

on:
push:
branches:
- 'release/**'
paths:
- 'clang/**'
- 'llvm/**'
- '.github/workflows/ci-post-commit-analyzer.yml'
pull_request:
types:
- opened
- synchronize
- reopened
- closed
paths:
- '.github/workflows/ci-post-commit-analyzer.yml'
- '.github/workflows/ci-post-commit-analyzer-run.py'
schedule:
- cron: '30 0 * * *'

concurrency:
group: >-
llvm-project-${{ github.workflow }}-${{ github.event_name == 'pull_request' &&
( github.event.pull_request.number || github.ref) }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}

jobs:
post-commit-analyzer:
if: >-
github.repository_owner == 'llvm' &&
github.event.action != 'closed'
runs-on: ubuntu-22.04
container:
image: 'ghcr.io/llvm/ci-ubuntu-22.04:latest'
env:
LLVM_VERSION: 18
steps:
- name: Checkout Source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1
with:
# A full build of llvm, clang, lld, and lldb takes about 250MB
# of ccache space. There's not much reason to have more than this,
# because we usually won't need to save cache entries from older
# builds. Also, there is an overall 10GB cache limit, and each
# run creates a new cache entry so we want to ensure that we have
# enough cache space for all the tests to run at once and still
# fit under the 10 GB limit.
# Default to 2G to workaround: https://github.com/hendrikmuhs/ccache-action/issues/174
max-size: 2G
key: post-commit-analyzer
variant: sccache

- name: Configure
run: |
cmake -B build -S llvm -G Ninja \
-DLLVM_ENABLE_ASSERTIONS=ON \
-DLLVM_ENABLE_PROJECTS=clang \
-DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
-DCMAKE_C_COMPILER_LAUNCHER=sccache \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DLLVM_INCLUDE_TESTS=OFF \
-DCLANG_INCLUDE_TESTS=OFF \
-DCMAKE_BUILD_TYPE=Release

- name: Build
run: |
# FIXME: We need to build all the generated header files in order to be able to run
# the analyzer on every file. Building libLLVM and libclang is probably overkill for
# this, but it's better than building every target.
ninja -v -C build libLLVM.so libclang.so

# Run the analyzer.
python3 .github/workflows/ci-post-commit-analyzer-run.py build/compile_commands.json

scan-build --generate-index-only build/analyzer-results

- name: Upload Results
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 #v4.3.0
if: always()
with:
name: analyzer-results
path: 'build/analyzer-results/*'

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN cmake -B ./build -G Ninja ./llvm \
-DLLVM_ENABLE_RUNTIMES="compiler-rt" \
-DCMAKE_INSTALL_PREFIX="$LLVM_SYSROOT" \
-DLLVM_ENABLE_PROJECTS="bolt;clang;lld;clang-tools-extra" \
-DLLVM_DISTRIBUTION_COMPONENTS="lld;compiler-rt;clang-format" \
-DLLVM_DISTRIBUTION_COMPONENTS="lld;compiler-rt;clang-format;scan-build" \
-DCLANG_DEFAULT_LINKER="lld" \
-DBOOTSTRAP_CLANG_PGO_TRAINING_DATA_SOURCE_DIR=/llvm-project-llvmorg-$LLVM_VERSION/llvm

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
with:
fetch-depth: 1
- name: Setup Python env
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libclang-python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.11"]
python-version: ["3.8", "3.11"]
uses: ./.github/workflows/llvm-project-tests.yml
with:
build_target: check-clang-python
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -209,16 +209,16 @@ jobs:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
choco install -y ninja wget
choco install -y ninja
pip install psutil
- name: Install a current LLVM
if: ${{ matrix.mingw != true }}
run: |
choco install -y llvm --version=17.0.6
choco install -y llvm --version=18.1.6 --allow-downgrade
- name: Install llvm-mingw
if: ${{ matrix.mingw == true }}
run: |
curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20231128/llvm-mingw-20231128-ucrt-x86_64.zip
curl -LO https://github.com/mstorsjo/llvm-mingw/releases/download/20240606/llvm-mingw-20240606-ucrt-x86_64.zip
powershell Expand-Archive llvm-mingw*.zip -DestinationPath .
del llvm-mingw*.zip
mv llvm-mingw* c:\llvm-mingw
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/llvm-project-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
# lldb. Using this setup-python action to make 3.10 the default
# python fixes this.
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python_version }}
- name: Install Ninja
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
clangformat: 18.1.1

- name: Setup Python env
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ jobs:
rm build.tar.zst

- name: Build Stage 2
# Re-enable once PGO builds are supported.
if: false
run: |
ninja -C /mnt/build stage2-instrumented

Expand Down Expand Up @@ -214,7 +216,7 @@ jobs:

- id: package-info
run: |
filename="LLVM-${{ needs.prepare.outputs.release-version }}-Linux.tar.gz"
filename="LLVM-${{ needs.prepare.outputs.release-version }}-Linux.tar.xz"
echo "filename=$filename" >> $GITHUB_OUTPUT
echo "path=/mnt/build/tools/clang/stage2-bins/$filename" >> $GITHUB_OUTPUT

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Setup Python env
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
cache: 'pip'
cache-dependency-path: './llvm/docs/requirements.txt'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Setup Python env
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
cache: 'pip'
cache-dependency-path: './llvm/docs/requirements.txt'
Expand Down
41 changes: 35 additions & 6 deletions .github/workflows/restart-preempted-libcxx-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
name: "Restart Job"
permissions:
statuses: read
checks: read
checks: write
actions: write
runs-on: ubuntu-latest
steps:
Expand All @@ -35,11 +35,36 @@ jobs:
const failure_regex = /Process completed with exit code 1./
const preemption_regex = /The runner has received a shutdown signal/

const wf_run = context.payload.workflow_run
core.notice(`Running on "${wf_run.display_title}" by @${wf_run.actor.login} (event: ${wf_run.event})\nWorkflow run URL: ${wf_run.html_url}`)


async function create_check_run(conclusion, message) {
// Create a check run on the given workflow run to indicate if
// we are restarting the workflow or not.
if (conclusion != 'success' && conclusion != 'skipped' && conclusion != 'neutral') {
core.setFailed('Invalid conclusion: ' + conclusion)
}
await github.rest.checks.create({
owner: context.repo.owner,
repo: context.repo.repo,
name: 'Restart Preempted Job',
head_sha: wf_run.head_sha,
status: 'completed',
conclusion: conclusion,
output: {
title: 'Restarted Preempted Job',
summary: message
}
})
}

console.log('Listing check runs for suite')
const check_suites = await github.rest.checks.listForSuite({
owner: context.repo.owner,
repo: context.repo.repo,
check_suite_id: context.payload.workflow_run.check_suite_id
check_suite_id: context.payload.workflow_run.check_suite_id,
per_page: 100 // FIXME: We don't have 100 check runs yet, but we should handle this better.
})

check_run_ids = [];
Expand Down Expand Up @@ -83,23 +108,27 @@ jobs:
if (failure_match != null) {
// We only want to restart the workflow if all of the failures were due to preemption.
// We don't want to restart the workflow if there were other failures.
console.log('Choosing not to rerun workflow because we found a non-preemption failure');
console.log('Failure message: ' + annotation.message);
core.notice('Choosing not to rerun workflow because we found a non-preemption failure' +
'Failure message: "' + annotation.message + '"');
await create_check_run('skipped', 'Choosing not to rerun workflow because we found a non-preemption failure\n'
+ 'Failure message: ' + annotation.message)
return;
}
}
}

if (!has_preempted_job) {
console.log('No preempted jobs found. Not restarting workflow.');
core.notice('No preempted jobs found. Not restarting workflow.');
await create_check_run('neutral', 'No preempted jobs found. Not restarting workflow.')
return;
}

console.log("Restarted workflow: " + context.payload.workflow_run.id);
core.notice("Restarted workflow: " + context.payload.workflow_run.id);
await github.rest.actions.reRunWorkflowFailedJobs({
owner: context.repo.owner,
repo: context.repo.repo,
run_id: context.payload.workflow_run.id
})
await create_check_run('success', 'Restarted workflow run due to preempted job')


4 changes: 2 additions & 2 deletions bolt/include/bolt/Core/BinaryBasicBlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class BinaryBasicBlock {
unsigned Index{InvalidIndex};

/// Index in the current layout.
mutable unsigned LayoutIndex{InvalidIndex};
unsigned LayoutIndex{InvalidIndex};

/// Number of pseudo instructions in this block.
uint32_t NumPseudos{0};
Expand Down Expand Up @@ -891,7 +891,7 @@ class BinaryBasicBlock {
}

/// Set layout index. To be used by BinaryFunction.
void setLayoutIndex(unsigned Index) const { LayoutIndex = Index; }
void setLayoutIndex(unsigned Index) { LayoutIndex = Index; }

/// Needed by graph traits.
BinaryFunction *getParent() const { return getFunction(); }
Expand Down
1 change: 1 addition & 0 deletions bolt/include/bolt/Core/BinarySection.h
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ class BinarySection {
return true;
}
}
bool isNote() const { return isELF() && ELFType == ELF::SHT_NOTE; }
bool isReordered() const { return IsReordered; }
bool isAnonymous() const { return IsAnonymous; }
bool isRelro() const { return IsRelro; }
Expand Down
Loading