Skip to content

[LLVM] Use InsertPosition for insertion in all Instructions and IRBuilder #3

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,969 commits into
base: add-ilist-node-parent-option
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1969 commits
Select commit Hold shift + click to select a range
0938cdb
[X86] computeKnownBitsForTargetNode - add handling for (V)PMADDUBSW n…
RKSimon Jun 15, 2024
f3b4c00
[mlir][gpu] Add builder to `gpu.launch_func` (#95541)
fabianmcg Jun 15, 2024
e48f211
[libc++][TZDB] Disables a failing test. (#95659)
mordante Jun 15, 2024
ef01c75
[lldb] Remove dead code block (NFC) (#94775)
xgupta Jun 15, 2024
355e4a9
[llvm][CodeGen] Fix failure in window scheduler caused by weak depend…
huaatian Jun 15, 2024
213e308
[DAG] Fold Y = sra (X, size(X)-1); mul (or (Y, 1), X) -> (abs X)
RKSimon Jun 15, 2024
50e222f
[MachineSink] Use SmallDenseMap (NFC) (#95676)
kazutakahirata Jun 15, 2024
7c0c9d6
[LV] Add tests with multiple conditions feedin exit branches.
fhahn Jun 15, 2024
f05b15b
[JumpThreading] Use SmallPtrSet (NFC) (#95674)
kazutakahirata Jun 15, 2024
ecea837
[TargetLibraryInfo] Use std::move (NFC) (#95671)
kazutakahirata Jun 15, 2024
85a7bba
Cleanup MC/DC intrinsics for #82448 (#95496)
chapuni Jun 16, 2024
dcbe0d4
[clang-tidy] fix false negatives for performance-inefficient-vector-o…
HerrCai0907 Jun 16, 2024
22530e7
[CostModel][X86] Update vXi8 mul costs for AVX512BW/AVX2/AVX1/SSE
RKSimon Jun 16, 2024
a74a86c
[TargetLibraryInfo] Use the default move constructor/assignment opera…
kazutakahirata Jun 16, 2024
c44d528
[StackColoring] Declare BitVector outside the loop (#95688)
kazutakahirata Jun 16, 2024
630a6dd
[X86] Fix throughput of AVX2/AVX512VL vector extension/truncations
RKSimon Jun 16, 2024
edabb5c
[clang] Clean up macOS version flags (#95374)
Xazax-hun Jun 16, 2024
f4ce344
Reformat
chapuni Jun 16, 2024
d442bf0
mmapForContinuousMode: Calculate FileOffsetToBitmap from FileOffsetTo…
chapuni Jun 16, 2024
5548ea3
[Clang] Instantiate local constexpr functions eagerly (#95660)
zyn0217 Jun 16, 2024
1644a31
[Clang][AArch64] Generalise streaming mode checks for builtins. (#93802)
sdesmalen-arm Jun 16, 2024
907e739
AMDGPU: Don't use amdgpu_ps for some atomic tests
arsenm Jun 16, 2024
55696db
AMDGPU: Expand raw ptr buffer atomic fadd tests
arsenm Jun 16, 2024
570f362
AMDGPU: Fix legalization for llvm.amdgcn.raw.buffer.atomic.fadd.v2bf16
arsenm Jun 16, 2024
9f69e11
[VPlan] Use VPTransformState::UF in vectorizeInterleaveGroup (NFCI).
fhahn Jun 16, 2024
67285fe
[libcxx] [ci] Simplify the mingw x86_64 configs (#95609)
mstorsjo Jun 16, 2024
a106131
[clang-format] Handle AttributeMacro before access modifiers (#95634)
owenca Jun 16, 2024
fe9aef0
[clang-format] Add DiagHandler parameter to format::getStyle() (#91317)
pointhex Jun 16, 2024
d340f62
[clang][NFC] Update C++ DR issues list
Endilll Jun 16, 2024
fbac697
[Transforms] Replace incorrect uses of m_Deferred with m_Specific (#9…
AZero13 Jun 16, 2024
527e732
[clang-format][NFC] Suppress diagnostic noise in GetStyleOfFile test
owenca Jun 16, 2024
470d59d
[DebugInfo][Reassociate] Fix missing debug location drop (#95355)
Apochens Jun 17, 2024
ef18986
[clang-format] Handle Verilog delay control (#95703)
sstwcw Jun 16, 2024
15bb026
[C++20] [Modules] [Itanium ABI] Generate the vtable in the module uni…
ChuanqiXu9 Jun 17, 2024
e4e350e
[LLDB] Remove dead code (NFC) (#95713)
xgupta Jun 17, 2024
b7b3d17
[InstSimplify] Implement simple folds for `ucmp`/`scmp` intrinsics (#…
Poseydon42 Jun 17, 2024
1d4e857
[InstCombine] simplify average of lsb (#95684)
c8ef Jun 17, 2024
ede27d8
[SimplifyCFG] Add support for sinking instructions with multiple uses…
nikic Jun 17, 2024
5fe7f73
[clang][AArch64] Add validation for Global Register Variable. (#94271)
DanielKristofKiss Jun 17, 2024
9b933e9
LangRef: getelementptr: inbounds is about the object the pointer is '…
RalfJung Jun 17, 2024
5ef768d
[AMDGPULowerBufferFatPointers] Expand const exprs using fat pointers …
nikic Jun 17, 2024
525318e
[AMDGPU][LIT] Added a MIR LIT showing the SGPR spills (#94584)
vg0204 Jun 17, 2024
94a6b9c
[RISCV] Remove getOffsetOfLocalArea() (#93765)
wangpc-pp Jun 17, 2024
9a86d0a
[InstCombine] Prefer source over result element type (NFC)
nikic Jun 17, 2024
995835f
[SelectionDAG] Add support for the 3-way comparison intrinsics [US]CM…
Poseydon42 Jun 17, 2024
657ec73
[mlir][ArmSVE] Lower predicate-sized vector.create_masks to whilelt (…
MacDue Jun 17, 2024
87aed82
AMDGPU: Cleanup struct buffer atomic fadd intrinsic tests
arsenm Jun 16, 2024
e843f02
mlir: fix incorrect usages of divideCeilSigned (#95680)
artagnon Jun 17, 2024
f838f08
[lldb] Add register field enum class (#90063)
DavidSpickett Jun 17, 2024
7e4f7fc
[flang][debug] Support fixed size character type. (#95462)
abidh Jun 17, 2024
f84056c
[DebugInfo] Handle DW_OP_LLVM_extract_bits in SROA (#94638)
john-brawn-arm Jun 17, 2024
1ba8ed0
[libc++] Mark more types as trivially relocatable (#89724)
philnik777 Jun 17, 2024
f06d969
[LLVM][DAGCombiner] Extend coverage for insert_subv(undef, extract_su…
paulwalker-arm Jun 17, 2024
52d87de
[Xtensa] Fix register asm parsing. (#95551)
andreisfr Jun 17, 2024
6d973b4
[clang][CodeGen] Return RValue from `EmitVAArg` (#94635)
Fznamznon Jun 17, 2024
c2d9f25
[clang][CodeGen] Fix EmitInvariantStart for non-zero addrspace (#94346)
brunodf-snps Jun 17, 2024
770393b
[MachineLICM] Correctly Apply Register Masks (#95746)
Pierre-vh Jun 17, 2024
3cead57
[mlir][emitc] Add EmitC index types (#93155)
cferry-AMD Jun 17, 2024
fb59d9b
[DebugInfo] Update sroa-extract-bits.ll test (#95774)
john-brawn-arm Jun 17, 2024
457e895
[CodeGen] Do not include $noreg in any regmask operands. NFCI. (#95775)
jayfoad Jun 17, 2024
0432221
[flang][debug] Support allocatables. (#95557)
abidh Jun 17, 2024
96e8d0f
[AArch64] Refactor creation of a shuffle mask for TBL (NFC) (#92529)
momchil-velikov Jun 17, 2024
405882d
AMDGPU: Fix legalization for llvm.amdgcn.struct.buffer.atomic.fadd.v2…
arsenm Jun 16, 2024
0cfdce8
[libc++] Guard transitive include of `<locale>` with availability mac…
var-const Jun 17, 2024
b75e7c6
[flang] Add -mlink-builtin-bitcode option to fc1 (#94763)
jsjodin Jun 17, 2024
7767f0d
[InstCombine] Add test for #95547 (NFC)
nikic Jun 17, 2024
534f856
[InstCombine] Don't preserve context across div
nikic Jun 17, 2024
954cb5f
[mlir][Target] Improve ROCDL gpu serialization API (#95456)
fabianmcg Jun 17, 2024
4bf160e
[clang][Interp] Implement Complex-complex multiplication (#94891)
tbaederr Jun 17, 2024
57b8be4
Revert [mlir][Target] Improve ROCDL gpu serialization API (#95790)
fabianmcg Jun 17, 2024
a1bdb01
[VectorCombine] Change shuffleToIdentity to use Use. NFC
davemgreen Jun 17, 2024
4cf1a19
Reapply "AMDGPU: Handle legal v2f16/v2bf16 atomicrmw fadd for global/…
arsenm Jun 16, 2024
c659e3a
[TableGen][Docs] Fix `!range` markup (#95540)
pfusik Jun 17, 2024
d3da134
[RISCV] Add coverage for vsetvli insertion at O0 [nfc]
preames Jun 17, 2024
f065758
[mlir][spirv] Reland integration test for `vector.deinterleave` (#95800)
angelz913 Jun 17, 2024
c11677e
[LLD][COFF] Support finding pdb files from outputpath (#94153)
GkvJwa Jun 17, 2024
964c92d
[RISCV][InsertVSETVLI] Eliminate the AVLIsIgnored state (#94658)
preames Jun 17, 2024
0851d7b
[clang][analyzer] use unqualified canonical type during merging equiv…
HerrCai0907 Jun 17, 2024
8fe376f
[llvm] Fix incorrect usage of `LIBXML2_INCLUDE_DIRS` in the Windows r…
aganea Jun 17, 2024
13c6638
[lldb] Add packaging to testing requirements.txt (#95806)
DavidSpickett Jun 17, 2024
b6476e5
[LV] Retain branch in middle block when scalar epilogue is needed (NFC)
fhahn Jun 17, 2024
fae31e2
[DebugInfo] Change handling of structured bindings of bitfields (#94…
john-brawn-arm Jun 17, 2024
85f4593
[flang] Add a REDUCE clause to each nested loop (#95555)
khaki3 Jun 17, 2024
3380644
[lldb] Remove SupportFile::Update and use the original Checksum (#95623)
JDevlieghere Jun 17, 2024
e577f96
[AMDGPU] Move FeatureMaxHardClauseLength32 into FeatureISAVersion12. …
jayfoad Jun 17, 2024
5914a56
[GitHub][workflows] Use latest clang-format version 18.1.7 (#95757)
owenca Jun 17, 2024
d1a4f0c
[AArch64] Lower extending sitofp using tbl (#92528)
momchil-velikov Jun 17, 2024
fe3f8ad
[X86] getIntrinsicInstrCost - begin generalizing BSWAP load/store-fol…
RKSimon Jun 17, 2024
7e3507e
[DAG] visitAVG - avoid duplication in the avg(ext(x), ext(y)) -> ext(…
RKSimon Jun 17, 2024
a1994ae
[lldb] More reliably detect a virtual environment
JDevlieghere Jun 17, 2024
2ebe479
[Clang] Disallow non-lvalue values in constant expressions to prevent…
a-tarasyuk Jun 17, 2024
4447e25
[NFC] Refactor `[[nodiscard]]` test to not use macros and run under `…
MitalAshok Jun 17, 2024
3ad31e1
[Clang] Introduce `CXXTypeidExpr::hasNullCheck` (#95718)
MitalAshok Jun 17, 2024
a4b44c0
[InstCombine] Canonicalize `icmp ult (add X, C2), C` expressions
antoniofrighetto Jun 15, 2024
3a2e442
[mlir][sparse] implement lowering rules for IterateOp. (#95286)
Jun 17, 2024
21ba91c
[SamplePGO] Add a cutoff for number of profile matching anchors (#95542)
amharc Jun 17, 2024
13d983e
[mlir][Transforms][NFC] Dialect Conversion: Resolve insertion point T…
matthias-springer Jun 17, 2024
1539989
[mlir][spirv] Remove debug option from the `RUN` command in `vector-d…
angelz913 Jun 17, 2024
996905d
Revert "[mlir][sparse] implement lowering rules for IterateOp." (#95826)
Jun 17, 2024
7439072
[Driver][Fuchsia] Support multilib for C++ include dir (#95815)
petrhosek Jun 17, 2024
111507e
[RISCV] Teach RISCVInsertVSETVLI to work without LiveIntervals (#94686)
preames Jun 17, 2024
1d02815
Revert "[RISCV] Teach RISCVInsertVSETVLI to work without LiveInterval…
preames Jun 17, 2024
8756043
[RISCV] Teach RISCVInsertVSETVLI to work without LiveIntervals
preames Jun 17, 2024
c9549e1
[mlirc] Add missing extern C (#95829)
jpienaar Jun 17, 2024
c22d391
[LVI][ConstantRange] Generalize mask not equal conditions handling
antoniofrighetto Jun 6, 2024
06aa078
[llvm-cov] Coverage report HTML UI to jump between uncovered parts of…
hanickadot Jun 17, 2024
bba5951
[MLIR] Fix an assert that contains a mistake in conditional operator …
xgupta Jun 17, 2024
3b99729
AMDGPU: Remove .v2bf16 buffer atomic fadd intrinsics (#95783)
arsenm Jun 17, 2024
8930ac1
AMDGPU: Cleanup selection patterns for buffer loads (#95378)
arsenm Jun 17, 2024
8043356
[Offload] Change HSA header search order (#95769)
jhuber6 Jun 17, 2024
77d8cfb
[Flang] Switch to common::visit more call sites (#90018)
alexander-shaposhnikov Jun 17, 2024
7ddff3a
[flang] Fix comments and formatting. (NFC) (#95786)
abidh Jun 17, 2024
7620fe0
[CI][format] Explicitly pass extensions to git-clang-format (#95794)
ldionne Jun 17, 2024
5b04b6f
[HWASan] [compiler-rt] support non-4k pages on Android (#95069)
fmayer Jun 17, 2024
d6cc35f
Reapply "[mlir][sparse] implement lowering rules for IterateOp." (#95…
Jun 17, 2024
dcb6c0d
Reland [mlir][Target] Improve ROCDL gpu serialization API (#95813)
fabianmcg Jun 17, 2024
44ca656
[libc] Only include getauxval on AARCH64 targets (#95844)
jhuber6 Jun 17, 2024
a50bcc0
[libc][stdlib] Only add internal malloc in full build mode. Use the …
lntue Jun 17, 2024
16aa39a
[scudo] Update error handling for seondary cache entry count (#95595)
JoshuaMBa Jun 17, 2024
6037a69
[mlgo] inline for size: add bypass mechanism for perserving performan…
mtrofin Jun 17, 2024
3a2f7d8
Revert "Reland [mlir][Target] Improve ROCDL gpu serialization API" (#…
fabianmcg Jun 17, 2024
1adf0fa
Revert "[HWASan] [compiler-rt] support non-4k pages on Android" (#95853)
fmayer Jun 17, 2024
6b54ecc
[mlgo] remove `inlining_default` - unused feature
mtrofin Jun 17, 2024
ca22469
[libc][stdlib] Run freelist_heap_test only in full build mode. (#95850)
lntue Jun 17, 2024
ca1a963
[mlir][drr] Fix variadic destination emission (#95855)
jpienaar Jun 17, 2024
6c17f1c
Fix comments in ValueObjectPrinter.h (NFC)
adrian-prantl Jun 17, 2024
68fc8df
[BOLT] Drop high discrepancy profiles in matching (#95156)
shawbyoung Jun 17, 2024
0041582
[lldb] Fix Python interpreter workaround (attempt #2)
JDevlieghere Jun 17, 2024
cd48335
[docs][Security Group] Update Apple representation. (#95491)
ahmedbougacha Jun 17, 2024
c6049e6
Reapply "[HWASan] [compiler-rt] support non-4k pages on Android" (#95…
fmayer Jun 17, 2024
bea329e
[Attributor]: allow more than one offset for a pass through user in A…
vidsinghal Jun 17, 2024
c67ecf3
[BOLT][tests] Fix jrcxz instruction test (#95861)
maksfb Jun 17, 2024
a02010b
[mlir][sparse] support sparsifying sparse kernels to sparse-iterator-…
Jun 17, 2024
753498e
[BOLT] Add sink block to flow CFG in profile inference (#95047)
shawbyoung Jun 17, 2024
2cf2f1b
[libc++] Test suite adjustments on macOS (#95835)
ldionne Jun 18, 2024
ffed34e
[libc] Fix getauxval being defined in a namespace
jhuber6 Jun 17, 2024
3c6a109
[clang-format][NFC] Add FormatToken::isAccessSpecifierKeyword() (#95727)
owenca Jun 18, 2024
d6b0b7a
[ProfileData] Remove getValueProfDataFromInst (#95617)
kazutakahirata Jun 18, 2024
2c2f490
[Analysis] Clean up getPromotionCandidatesForInstruction (NFC) (#95624)
kazutakahirata Jun 18, 2024
d68eb5b
[lld-macho][NFC] Track category merger input data source language for…
alx32 Jun 18, 2024
117921e
[PowerPC] Alignment of toc-data symbol should not be increased during…
Jun 18, 2024
e4b130f
[emacs] Handle vector types, arbitary integer types and function name…
lukel97 Jun 18, 2024
049630d
[NFC][NVPTX][test] Update test for `fneg half` (#95856)
justinfargnoli Jun 18, 2024
43fd4c4
[mlir][GPU] Improve handling of GPU bounds (#95166)
krzysz00 Jun 18, 2024
d563c0f
[clang][Interp][NFC] Add source ranges to some diagnostics.
tbaederr Jun 17, 2024
5996496
[clang][NFC] Use foreach loop in FinalizeDeclaratorGroup
tbaederr Jun 17, 2024
e5d0627
[ORC] Preserve order of constructors with same priority (#95532)
hahnjo Jun 18, 2024
2d38bec
[clang][Interp][NFC] Don't create variables in non-constant contexts
tbaederr Jun 17, 2024
18000fe
[clang][Interp][NFC] Reject non-floating CK_FloatingCast casts
tbaederr Jun 18, 2024
6ec02f7
[AArch64] Refactor redundant PTEST optimisations (NFC) (#87802)
momchil-velikov Jun 18, 2024
4b4aaf1
[clang][Interp] Fix non-initializing CK_VectorSplat casts
tbaederr Jun 18, 2024
edd6f0c
Revert "[ORC] Preserve order of constructors with same priority (#955…
hahnjo Jun 18, 2024
ae0813f
Revert "[clang-tidy] fix false positives for the functions with the s…
kadircet Jun 18, 2024
d95b82c
[NFC][AMDGPU] Make AMDGPUSplitModule a ModulePass (#95773)
Pierre-vh Jun 18, 2024
3ca1744
[DebugInfo][BPF] Add 'annotations' field for DIBasicType & DISubrouti…
eddyz87 Jun 18, 2024
db394ed
[RemoveDIs] Update DIBuilder C API with DbgRecord functions. (#95535)
CarlosAlbertoEnciso Jun 18, 2024
7dd7d57
Revert "[clang] Fix-it hint for `++this` -> `++*this` when deref is m…
Sirraide Jun 18, 2024
89c26f6
[analyzer][NFC] Reorganize Z3 report refutation
steakhal Jun 18, 2024
eacc3b3
[analyzer] Harden safeguards for Z3 query times
steakhal Jun 18, 2024
a6eddf9
[Loads] Pass DominatorTree if available (#95752)
ruiling Jun 18, 2024
8b0d38b
[llvm] Remove the Legacy PM Hello example (#95708)
banach-space Jun 18, 2024
0e21f12
[AArch64][GISel] Translate legal SVE formal arguments and select COPY…
Him188 Jun 18, 2024
a945f55
[mlir][linalg] Add pattern to bubble-up pack through expand shape op …
adam-smnk Jun 18, 2024
9cd3622
[tools] Fix -Wstrict-prototypes in llvm-c-test.h (NFC)
DamonFool Jun 18, 2024
cf5ce8c
AMDGPU: Add some tests for i128 and fp128 atomic expansion
arsenm Jun 3, 2019
9f8e7c3
AMDGPU: Create pseudo to real mapping for flat/buffer atomic fmin/fma…
arsenm Jun 18, 2024
47f5707
[Serialization] Use specialized decl hash function for GlobalDeclID (…
ChuanqiXu9 Jun 18, 2024
6b4b29f
[libc++][NFC] Remove unnecessary parens in static_asserts (#95605)
philnik777 Jun 18, 2024
bbe4a80
[libc++] Enable modernize-use-equals-delete (#93293)
philnik777 Jun 18, 2024
cb41740
[libc++] Refactor<__type_traits/is_swappable.h> (#86822)
philnik777 Jun 18, 2024
f07d300
[AArch64][TargetParser] move CPUInfo into tablegen [NFC] (#92145)
tmatheson-arm Jun 18, 2024
aabf6df
[RISCV] Remove redundant dependency on SlotIndexes in RISCVInsertVSET…
lukel97 Jun 18, 2024
fed8e38
[LLD][COFF] Add support for ARM64EC entry thunks. (#88132)
cjacek Jun 18, 2024
7ea203b
RegPressure: Fix incorrect comment. NFC (#95896)
csstormq Jun 18, 2024
ca7dc89
[AArch64][SME] Remove unused ZA lazy-save (#81648)
MDevereau Jun 18, 2024
1d97f8f
AMDGPU: Add some addressing mode tests for flat atomic intrinsics
arsenm Jun 16, 2024
9f44d5d
[flang] Simplify copy-in copy-out runtime API (#95822)
jeanPerier Jun 18, 2024
612fdf3
[X86] Add AVX1 v8i32 comparison test coverage
RKSimon Jun 18, 2024
20d3cab
[clang][NFC] Take const pointers in Sema::DiagnoseAutoDeductionFailure
tbaederr Jun 18, 2024
eda9ff8
AMDGPU: Flat instructions do not have signed offsets gfx7-gfx11 (#95852)
arsenm Jun 18, 2024
66aa260
[gn] port 8b0d38be9ece414
nico Jun 18, 2024
69753aa
[bolt] stale-matching-min-matched-block.test requires asserts
zmodem Jun 18, 2024
4d7d45e
[clang][Interp] Implement complex division (#94892)
tbaederr Jun 18, 2024
9e63632
[gn build] Port 89c26f6c7b0a
llvmgnsyncbot Jun 18, 2024
ced41a1
[InstCombine] Remove redundant urem demanded bits case
nikic Jun 18, 2024
bcaacf3
[clang][Interp][NFC] Fix a user-after-move
tbaederr Jun 18, 2024
1a0a4d0
[GlobalISel] Allow more illegal vector types in params/returns. (#95514)
davemgreen Jun 18, 2024
d97951e
Reland "[ORC] Preserve order of constructors with same priority (#955…
DavidSpickett Jun 18, 2024
d38c8a7
ConstantFold logl calls (#94944)
MDevereau Jun 18, 2024
79e668f
[InstCombine] Fix funnel shift bailout in demanded bits simplification
nikic Jun 18, 2024
e42a4c7
[Analysis] Fix -Wunused-function in ConstantFolding.cpp (NFC)
DamonFool Jun 18, 2024
55d5c03
[mlir][vector] Fix crash in `vector.extract` folder (#95912)
matthias-springer Jun 18, 2024
8fc9c03
[analyzer] Revert Z3 changes (#95916)
steakhal Jun 18, 2024
eb3e544
[gn build] Port 8fc9c03cded0
llvmgnsyncbot Jun 18, 2024
e2c2ffb
[libc++][NFC] Run clang-format on libcxx/include again (#95874)
ldionne Jun 18, 2024
65b0301
[git] Add libcxx touch-up formatting to git-blame-ignore-revs
ldionne Jun 18, 2024
74941d0
[MLIR][Vector] Implement XferOp To {Load|Store}Lowering as MaskableOp…
nujaa Jun 18, 2024
506b4cd
[flang] Change vector always errors to warnings (#95908)
DavidTruby Jun 18, 2024
0f1b627
Fixup __float128 uses and if defined guard in ConstantFolding
MDevereau Jun 18, 2024
fb86cb7
[LV] Add extra tests for interleave-group, reduction store costing.
fhahn Jun 18, 2024
3417ff6
[Clang] Fix immediate escalation in templated entities (#95233)
cor3ntin Jun 18, 2024
f1eae81
[NFC]Fix memory leak in HeaderSearchTest (#95927)
dklimkin Jun 18, 2024
aede380
[RISCV] Add processor definition for SpacemiT-X60 (#94564)
sunshaoce Jun 18, 2024
1d76bf9
[SimplifyCFG] Remove unnecessary content in `ForwardSwitchConditionTo…
dianqk Jun 18, 2024
d7d19a9
[clang] Remove update_options_td_flags.py (#95909)
tbaederr Jun 18, 2024
66959ff
[Analysis] Fix -Wunused-function in ConstantFolding.cpp (NFC)
DamonFool Jun 18, 2024
d9a00ed
[MachineOutliner] Leaf Descendants (#90275)
xuanzhang816 Jun 18, 2024
41f6aee
[LLDB] Don't cache module sp when Activate() fails. (#95586)
thetruestblue Jun 18, 2024
552f80a
[mlir][vector] Fix crash when folding 0D extract from splat/broadcast…
matthias-springer Jun 18, 2024
440af98
[InstCombine] Avoid use of ConstantExpr::getShl()
nikic Jun 18, 2024
76e889d
[InstCombine] Avoid use of ConstantExpr::getShl()
nikic Jun 18, 2024
d314cf2
[InstCombine] Avoid use of ConstantExpr::getShl()
nikic Jun 18, 2024
e64ed1d
[InstCombine] Avoid use of ConstantExpr::getShl()
nikic Jun 18, 2024
8052e94
[InstCombine] Avoid use of ConstantExpr::getShl()
nikic Jun 18, 2024
1623866
[AMDGPU][MC] Support UC_VERSION_* constants. (#95618)
kosarev Jun 18, 2024
6be6c3a
[InstCombine] Use disjoint flag for alternate binops
nikic Jun 18, 2024
ffc31d3
[mlir][emitc] arith.negf to EmitC conversion (#95372)
TinaAMD Jun 18, 2024
534e3ad
[InstCombine] Avoid use of ConstantExpr::getShl()
nikic Jun 18, 2024
5aaf2ab
[Reassociate] Avoid use of ConstantExpr::getShl()
nikic Jun 18, 2024
3eb4128
[StackTagging] Generate test checks (NFC)
nikic Jun 18, 2024
7dbc168
[lldb] Extend Python interpreter workaround to Xcode Python (attempt …
JDevlieghere Jun 18, 2024
4b9112e
[AMDGPU]Optimize SGPR spills (#93668)
vg0204 Jun 18, 2024
083c683
[flang] Add FLANG_PARALLEL_COMPILE_JOBS option (#95672)
tstellar Jun 18, 2024
da0e535
workflows: Add a new job for packaging release sources (#91834)
tstellar Jun 18, 2024
fcee033
[lldb] Suppress unsupported language warning for assembly (#95871)
JDevlieghere Jun 18, 2024
b99d0b3
[mlir][TilingInterface] Update `PartialReductionOpInterface` to get i…
MaheshRavishankar Jun 18, 2024
ae6f730
[JITLink] Add x86_64::Delta8 edge kind, ELF::R_X86_64_PC8 support (#9…
maksfb Jun 18, 2024
8520061
AMDGPU: Support local atomicrmw fmin/fmax for float/double (#95590)
arsenm Jun 18, 2024
b629d4b
[Attributor] Prevent infinite loop in AAGlobalValueInfoFloating (#94941)
EthanLuisMcDonough Jun 18, 2024
62b5196
DAG: Fix asserting on invalid inline asm constraints (#95935)
arsenm Jun 18, 2024
5207632
[mlir][GPU] Move `GPUDeviceMappingAttr.td` to `GPU/IR`. (#95880)
MaheshRavishankar Jun 18, 2024
8570685
[AArch64] Fix v4i8 loads in strict-align mode. (#95828)
efriedma-quic Jun 18, 2024
b932da1
AMDGPU: Fix vector handling in pown libcall simplification (#95832)
arsenm Jun 18, 2024
b1477eb
[ARM64EC] Fix thunks for C++ methods returning structs. (#95876)
efriedma-quic Jun 18, 2024
6f13f0b
[scudo] Test secondary cache options only if enabled (#95872)
Caslyn Jun 18, 2024
30efdce
[HLSL] Strict Availability Diagnostics (#93860)
hekota Jun 18, 2024
35a2b60
[SPIRV][HLSL] Add lowering of `rsqrt` to SPIRV (#95849)
hekota Jun 18, 2024
9a88aa0
[Clang][Sema] Diagnose variable template explicit specializations wit…
sdkrystian Jun 18, 2024
295d574
[lldb] Remove LLVM_PRETTY_FUNCTION from LLDB_SCOPED_TIMERF
JDevlieghere Jun 18, 2024
7b33c5c
[libc] Remove unnecessary check in printf floats (#95841)
michaelrj-google Jun 18, 2024
04a75f5
[libc++] Properly define _LIBCPP_HAS_NO_UNICODE in __config_site (#95…
ldionne Jun 18, 2024
f80bd9b
[Sema][CTAD] Allow user defined conversion for copy-list-initializati…
spaits Jun 18, 2024
76894c5
clang/AMDGPU: Emit atomicrmw from ds_fadd builtins (#95395)
arsenm Jun 18, 2024
89fd195
AMDGPU: Fix buffer load/store of pointers (#95379)
arsenm Jun 18, 2024
0863bd8
[LLVM] Add option to store Parent-pointer in ilist_node_base (#94224)
SLTozer Jun 18, 2024
da18a11
Use InsertPosition for insertion in all Instructions and IRBuilder
SLTozer May 31, 2024
c368c26
Change IsValid->isValid, address review comments
SLTozer Jun 19, 2024
9b4b1a3
Fix IRBuilderHelper subclass in Polly
SLTozer Jun 19, 2024
3d67d92
Missed a spot!
SLTozer Jun 19, 2024
f4c6dc9
Remove inappropriate defaults
SLTozer Jun 19, 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.
8 changes: 4 additions & 4 deletions .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ function compute-projects-to-test() {
fi
;;
clang)
for p in clang-tools-extra compiler-rt lldb cross-project-tests; do
# lldb is temporarily removed to alleviate Linux pre-commit CI waiting times
for p in clang-tools-extra compiler-rt cross-project-tests; do
echo $p
done
;;
Expand Down Expand Up @@ -153,7 +154,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 +170,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 +213,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
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,6 @@ f6d557ee34b6bbdb1dc32f29e34b4a4a8ad35e81

# [NFC] clang-format utils/TableGen (#80973)
b9079baaddfed5e604fbfaa1d81a7a1c38e78c26

# [libc++][NFC] Run clang-format on libcxx/include again (#95874)
e2c2ffbe7a1b5d9e32a2ce64279475b50c4cba5b
24 changes: 24 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 Expand Up @@ -749,6 +759,8 @@ backend:ARM:
- clang/lib/CodeGen/Targets/ARM.cpp
- clang/include/clang/Basic/BuiltinsARM*
- llvm/test/MC/DisasemblerARM/**
- clang/include/clang/Sema/SemaARM.h
- clang/lib/Sema/SemaARM.cpp

backend:AArch64:
- llvm/include/llvm/IR/IntrinsicsAArch64.td
Expand All @@ -760,6 +772,8 @@ backend:AArch64:
- clang/lib/CodeGen/Targets/AArch64.cpp
- clang/include/clang/Basic/BuiltinsAArch64*
- llvm/test/MC/Disassembler/AArch64/**
- clang/include/clang/Sema/SemaARM.h
- clang/lib/Sema/SemaARM.cpp

backend:loongarch:
- llvm/include/llvm/IR/IntrinsicsLoongArch.td
Expand All @@ -770,6 +784,8 @@ backend:loongarch:
- clang/lib/Driver/ToolChains/Arch/LoongArch.*
- clang/lib/CodeGen/Targets/LoongArch.cpp
- clang/include/clang/Basic/BuiltinsLoongArch*
- clang/include/clang/Sema/SemaLoongArch.h
- clang/lib/Sema/SemaLoongArch.cpp

backend:MSP430:
- llvm/include/llvm/IR/IntrinsicsMSP430.td
Expand Down Expand Up @@ -817,6 +833,8 @@ backend:WebAssembly:
- llvm/unittests/Target/WebAssembly/**
- llvm/test/DebugInfo/WebAssembly/**
- llvm/test/MC/WebAssembly/**
- clang/include/clang/Sema/SemaWasm.h
- clang/lib/Sema/SemaLoongWasm.cpp

backend:X86:
- llvm/include/llvm/IR/IntrinsicsX86.td
Expand All @@ -836,6 +854,8 @@ backend:X86:
- llvm/include/llvm/TargetParser/X86*
- llvm/lib/TargetParser/X86*
- llvm/utils/TableGen/X86*
- clang/include/clang/Sema/SemaX86.h
- clang/lib/Sema/SemaX86.cpp

backend:PowerPC:
- llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC*
Expand All @@ -860,6 +880,8 @@ backend:PowerPC:
- clang/lib/Driver/ToolChains/AIX*
- clang/lib/Driver/ToolChains/Arch/PPC.*
- clang/test/CodeGen/PowerPC/**
- clang/include/clang/Sema/SemaPPC.h
- clang/lib/Sema/SemaPPC.cpp

backend:SystemZ:
- llvm/include/llvm/BinaryFormat/ELFRelocs/SystemZ*
Expand All @@ -880,6 +902,8 @@ backend:SystemZ:
- clang/lib/Driver/ToolChains/ZOS*
- clang/lib/Driver/ToolChains/Arch/SystemZ.*
- clang/test/CodeGen/SystemZ/**
- clang/include/clang/Sema/SemaSystemZ.h
- clang/lib/Sema/SemaSystemZ.cpp

third-party:unittests:
- third-party/unittests/**
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
Loading