Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
632 commits
Select commit Hold shift + click to select a range
a9c5d42
[GlobalISel][ARM] Legalization of G_CONSTANT using constant pool (#98…
spavloff Oct 14, 2024
bfeb7c6
[clang] Move Sema::WarnedStackExhausted from public to private. (#111…
bricknerb Oct 14, 2024
4cc57a7
[LangRef] Document that sret only works with void returns (#112167)
workingjubilee Oct 14, 2024
a257183
ValueTracking: introduce llvm::isNotCrossLaneOperation (#112011)
artagnon Oct 14, 2024
e40d6dc
Revert "Fix CMake dependencies on mlir-linalg-ods-yaml-gen (#111973)"
RoboTux Oct 14, 2024
78d640e
[clang][Driver][AVR] Reject c/c++ compilation for avr1 devices (#111798)
benshi001 Oct 14, 2024
2906f68
[X86] LowerShift - lower vXi8 shifts of an uniform constant using PSH…
RKSimon Oct 14, 2024
096417e
[X86] vselect-packss.ll - regenerate test checks with vpternlog comments
RKSimon Oct 14, 2024
73ebd5e
[LLVM] [Clang] Support for Gentoo `*t64` triples (64-bit time_t ABIs)…
mgorny Oct 14, 2024
8989182
Revert "[llvm][ARM] Add Addend Checks for MOVT and MOVW instructions.…
Stylie777 Oct 14, 2024
f6022e1
[clang] Fix segmentation fault caused by stack overflow on deeply nes…
bricknerb Oct 14, 2024
97e08f7
[compiler-rt] Explicitly enable C extensions for profile (#110555)
tambry Oct 14, 2024
2409ead
[SCEV] Retain SCEVSequentialMinMaxExpr if an operand may trigger UB. …
fhahn Oct 14, 2024
a180562
[ORC] skip reoptimization tests on PPC.
sunho Oct 14, 2024
5aa39a6
[InstCombine] Drop range attributes in `foldIsPowerOf2OrZero` (#112178)
dtcxzyw Oct 14, 2024
15048cd
[MIR] Fix tests for flags in register info (#112179)
optimisan Oct 14, 2024
aedcee1
[MLIR] Update APInt construction to correctly set isSigned/implicitTr…
nikic Oct 14, 2024
b749c3f
[RISCV] Support Expressions in .insn Directives (#111893)
lenary Oct 14, 2024
cd80de6
ValueTracking: handle more ops in isNotCrossLaneOperation (#112183)
artagnon Oct 14, 2024
92e4c8b
[gn] port aa44f59abf39
nico Oct 14, 2024
95605ab
[clang][bytecode] Fix discarding block expressions (#112185)
tbaederr Oct 14, 2024
c48446e
[SLP]Initial support for interleaved loads
alexey-bataev Oct 14, 2024
f908c74
[DAG] Enhance SDPatternMatch to match integer minimum and maximum pat…
c8ef Oct 14, 2024
d006f32
[Flang] [Semantics] [OpenMP] Fix semantic check to not report error f…
raghavendhra Oct 14, 2024
f860928
Silence a "not all control paths return a value" diagnostic; NFC
AaronBallman Oct 14, 2024
e477f95
Revert "[DAG] Enhance SDPatternMatch to match integer minimum and max…
c8ef Oct 14, 2024
1869085
[NewPM][CodeGen] Port StackColoring to NPM (#111812)
optimisan Oct 14, 2024
5ceb78d
[AST] Avoid repeated set lookups (NFC) (#112155)
kazutakahirata Oct 14, 2024
1bca77a
[X86] combineAndnp - fold ANDN(SEXT(SETCC()),X) -> SELECT(NOT(SETCC()…
RKSimon Oct 14, 2024
abf412b
[X86] canCreateUndefOrPoisonForTargetNode - X86ISD::VPERMV3 shuffles …
RKSimon Oct 14, 2024
2c368ce
[Sema] Avoid repeated hash lookups (NFC) (#112156)
kazutakahirata Oct 14, 2024
7399b2b
[BOLT] Avoid repeated set lookups (NFC) (#112157)
kazutakahirata Oct 14, 2024
58b08bf
[mlir] Avoid repeated hash lookups (NFC) (#112158)
kazutakahirata Oct 14, 2024
c4a9197
[ARM] Simplify code with std::map::operator[] (NFC) (#112159)
kazutakahirata Oct 14, 2024
9ffcc24
[clang-format] Stop crashing when formatting Verilog (#112043)
sstwcw Oct 14, 2024
f2886aa
[gn build] Port 8f9cce0bef31
nico Oct 14, 2024
e51e300
[SLP][NFC]Replace unreachable instructions by rets, NFC.
alexey-bataev Oct 14, 2024
644d67b
[lldb] Make the system log a NOOP on Windows (#112052)
JDevlieghere Oct 14, 2024
e4b1451
[AArch64] Add support for Armv9.6-A FEAT_MPAM system registers (#111822)
jthackray Oct 14, 2024
65f0c3e
[MLIR][NVGPU] Fix the cga_cluster.mlir test (#112191)
durga4github Oct 14, 2024
c527c8b
[NFC][CodingStandard] Extend if-else brace example with else-if (#112…
jurahul Oct 14, 2024
433a35c
[Hexagon] Mark instructions as part of the frame setup to fix test su…
pkarveti Oct 14, 2024
f868dfe
[AMDGPU] Use MachineInstr::mayLoadOrStore. NFC.
jayfoad Oct 14, 2024
9b9f2c0
[clang][flang][mlir] Reapply "Support -frecord-command-line option (#…
tarunprabhu Oct 14, 2024
0348dbd
[ARM] [AArch32] Add support for Arm China STAR-MC1 CPU (#110085)
AlbertHuang-CPU Oct 14, 2024
7c4f633
[SLP][NFC]Replace more unreachable terminators by rets, NFC
alexey-bataev Oct 14, 2024
519f9b3
[MLIR] Fix parseInteger(uint64_t) for large values
d0k Oct 14, 2024
02bf443
[llvm][llvm-lit] Fix typo in --resultdb-output help
DavidSpickett Oct 14, 2024
7cf5ff8
[Clang] Add explicit visibility symbol macros (#108276)
fsfod Oct 14, 2024
ffa1f99
[C2y] Add test coverage for N3298 (#112033)
AaronBallman Oct 14, 2024
22560a7
[RISCV][VLOPT] Update test cases to use riscv-enable-vl-optimizer and…
michaelmaitland Oct 14, 2024
8aa7881
[AMDGPU] Skip terminators when forcing emit zero flag (#112116)
shiltian Oct 14, 2024
1e9bb71
[Clang] Diagnose additional ObjC statements as function effect violat…
dougsonos Oct 14, 2024
d182e9c
[OpenACC] implement loop 'worker' clause. (#112206)
erichkeane Oct 14, 2024
9d2ae5b
[clang] Mark `__builtin_convertvector` and `__builtin_shufflevector` …
c8ef Oct 14, 2024
ec6d9d6
[clang][GNU] Pass -t through to the linker (#112106)
keith Oct 14, 2024
17b957b
[clang-tidy][readability-identifier-naming] Support namespace aliases…
keith Oct 14, 2024
5146adb
[TargetLowering][SelectionDAG] Exploit nneg Flag in UINT_TO_FP (#108931)
mmarjieh Oct 14, 2024
a391ff6
[lldb] Improve unwinding for discontinuous functions (#111409)
labath Oct 14, 2024
f2251e2
[BOLT] Support perf2bolt-N in the driver
aaupov Oct 14, 2024
e421740
[libc][complex] Set up headers and add documentation for complex.h. (…
Sh0g0-1758 Oct 14, 2024
0c9cc71
[RISCV][VLOPT] Enable VLOptimizer for vl-opt.ll test file
michaelmaitland Oct 14, 2024
5a8ca2b
[Coverage][WebAssembly] Add initial support for WebAssembly/WASI (#11…
kateinoigakukun Oct 14, 2024
a850cb3
[scudo] Apply the min release threshold to the group (#112014)
ChiaHungDuan Oct 14, 2024
3dd3fb0
[libc][complex] Silence `pedantic` warning (#112239)
Sh0g0-1758 Oct 14, 2024
372205a
[mlir][SCF] Multiply lower bound in loop range folding (#111875)
superlopuh Oct 14, 2024
9cdeaa0
[RISCV][VLOPT] Add support for 11.9 min/max instructions (#112198)
michaelmaitland Oct 14, 2024
5c92611
[RISCV][VLOPT] Add support for 11.11 div instructions (#112201)
michaelmaitland Oct 14, 2024
e56936d
[CUDA] Add support for CUDA-12.6 and sm_100 (#112028)
Artem-B Oct 14, 2024
a328798
[bazel] Add missing dependencies for d4efc3e097f40afbe8ae275150f49bb0…
d0k Oct 14, 2024
8ac1788
Undef _TIME_BITS along with _FILE_OFFSET_BITS
tpetazzoni Jul 19, 2024
6f6d4de
[Clang] Diagnose dangling references in std::vector. (#111753)
hokein Oct 14, 2024
69ec663
[NVTPX] Copy kernel arguments as byte array (#110356)
mkuron Oct 14, 2024
77fcd48
[Headers] [ARM64EC] Fix extra tokens inside intrin0.h preprocessor di…
MaxEW707 Oct 14, 2024
575cb92
[NFC] [MTE] Use aarch64-linux-android34 for globals test (#112050)
fmayer Oct 14, 2024
30407a8
[HIP] Suport LLVM Driver (#112249)
petrhosek Oct 14, 2024
0f79f27
[SandboxVec][DAG] Avoid unnecessary dependency scan and improve descr…
Oct 14, 2024
cf220e3
Revert "[scudo] Apply the min release threshold to the group" (#112252)
ChiaHungDuan Oct 14, 2024
243089f
[RISCV][VLOPT] Fix passthru check in getOperandInfo (#112244)
lukel97 Oct 14, 2024
d9ec102
[libc] Add Linux mman extension remap_file_pages. (#110307)
AlyElashram Oct 14, 2024
564a74b
Revert "[AMDGPU][SplitModule] Handle !callees metadata (#108802)"
nico Oct 14, 2024
eef19b0
[libc][math] Fix issignaling macro usage in the implementation. (#112…
lntue Oct 14, 2024
727b442
[lldb] Use CFPropertyListCreateData in debugserver (NFC) (#112262)
JDevlieghere Oct 14, 2024
d14b759
[Fuchsia][cmake] Avoid referencing cxx_shared in compiler-rt (#112257)
ilovepi Oct 14, 2024
7eae939
[lld][WebAssembly] Fix build break when building liblldWasm.so (#112275)
kateinoigakukun Oct 14, 2024
148326d
[RISCV] Move "let rd = 0" into class body. NFC
topperc Oct 14, 2024
4f4ee0d
[compiler-rt] DumpAllRegisters implementation for windows arm64. (#11…
devnexen Oct 14, 2024
9868f96
[RISCV] Use RVInst16CB for C_SRLI64_HINT and C_SRAI64_HINT. (#112250)
topperc Oct 14, 2024
782d962
Revert "[lldb] Improve unwinding for discontinuous functions (#111409)"
rastogishubham Oct 14, 2024
c0870d6
[MSan] Copy tests for 32-bit architectures (#111835)
k-kashapov Oct 14, 2024
b4397bc
[docs][clang-tools-extra] Fix broken document link in ReleaseNotes.rst
nicovank Oct 14, 2024
16a5b6e
[SandboxVec][DAG] Implement UnscheduledSuccs (#112255)
Oct 14, 2024
11ea135
[lldb] Expose structured command diagnostics via the SBAPI. (#112109)
adrian-prantl Oct 14, 2024
25e5206
Reapply "[clang][CodeGen] Zero init unspecified fields in initializer…
yabinc Oct 14, 2024
23ed5b5
[libc][complex] Fix compiler warnings for usage of complex.h header. …
lntue Oct 14, 2024
d336338
[SandboxVectorizer] Add container class to track and manage SeedBundl…
Sterling-Augustine Oct 14, 2024
bd039e6
[Vectorize] Fix -Wunused-variable in DependencyGraph.h (NFC)
DamonFool Oct 14, 2024
68e7b63
[libc] Also add `-Wno-pedantic` when building with clang. (#112286)
lntue Oct 14, 2024
d1812a6
[lldb] Account for DWARF 5 sections in TestCTF.py
JDevlieghere Oct 14, 2024
731fc93
[lldb] Remove ASL (Apple System Log) support from debugserver (NFC) (…
JDevlieghere Oct 15, 2024
30d6246
Reland `[CodeGenPrepare] Convert `ctpop(X) ==/!= 1` into `ctpop(X) u<…
dtcxzyw Oct 15, 2024
99437e4
[lldb][test] Remove objcopy detection from API tests' CMakeLists.txt …
dzhidzhoev Oct 15, 2024
1051c6c
[mlir][LLVMIR] Add sinh/cosh/tanh intrinsic ops (#111912)
pengmai Oct 15, 2024
f880744
[LLVM] Re-add `Intrinsic::getDeclaration` for out-of-tree code (#112242)
jurahul Oct 15, 2024
9ea777e
Revert "[clang-format] Correctly annotate */& in if condition with br…
owenca Oct 15, 2024
80404a8
[AMDGPU] Tidy SIPreAllocateWWMRegs after recent changes (NFCI) (#111967)
perlfu Oct 15, 2024
1040507
[Triple] Make mipsel-*-windows-* use COFF files by default (#107809)
hpoussin Oct 15, 2024
4e54af1
[COFF] Add MIPS relocation types (#107814)
hpoussin Oct 15, 2024
1af59ba
[Sanitizers] Intercept timer_create (#112285)
fmayer Oct 15, 2024
ac4e7aa
[RISCV] Rename rs1_wb to rd in some C instructions. NFC (#112269)
topperc Oct 15, 2024
dd75b97
[flang][cuda] Add cuf.register_kernel operation (#112268)
clementval Oct 15, 2024
0de27a4
Revert "[flang][cuda] Add cuf.register_kernel operation" (#112306)
clementval Oct 15, 2024
de4956e
[RISCV][VCIX] Add a tied constraint between rd and rs3 in sf.v.xvv an…
4vtomat Oct 15, 2024
431a52b
[RISCV] Add missing assembler test case for c.addi zero, 0. NFC (#112…
topperc Oct 15, 2024
e91b299
[compiler-rt] Fix GH-112254 DumpAllRegs for win arm64. (#112305)
devnexen Oct 15, 2024
193102b
Reapply "[scudo] Apply the min release threshold to the group" (#1122…
ChiaHungDuan Oct 15, 2024
a21639d
[lldb] Avoid repeated hash lookups (NFC) (#112301)
kazutakahirata Oct 15, 2024
9ff3a01
[Clang] Fix a DeclContext mismatch when parsing nested lambda paramet…
zyn0217 Oct 15, 2024
d9fc4d6
[X86][AMX] Fix missing stride register for tileloadd (#110226)
phoebewang Oct 15, 2024
c419865
(reland) [AMDGPU][SplitModule] Handle !callees metadata (#108802)
Pierre-vh Oct 14, 2024
8aac303
[APFloat] Fix `APFloat::getOne` (#112308)
dtcxzyw Oct 15, 2024
ecd39c4
clang: Fix hipstdpar test relying on default target (#111975)
arsenm Oct 15, 2024
5af3128
[clang][bytecode] Fix __builtin_convertvector with float-cast (#112238)
tbaederr Oct 15, 2024
c2f63ce
[Clang][Sema] Fix templated array size calculation. (#96464)
awson Oct 15, 2024
86aa273
[clang-tidy][NFC] Fix a typo (#112283)
thevar1able Oct 15, 2024
27a0d44
[AMDGPU] Avoid repeated hash lookups (NFC) (#112309)
kazutakahirata Oct 15, 2024
9396ac5
[MLIR][TableGen] Use const pointers for various `Init` objects (#112316)
jurahul Oct 15, 2024
9ccf021
[mlir][Transforms] Dialect conversion: add `originalType` param to ma…
matthias-springer Oct 15, 2024
a7d7ae4
[mlir][tblgen] Add additional constructor to Adaptor class (#112144)
matthias-springer Oct 15, 2024
8c2006f
[GlobalISel] Support vector G_UNMERGE_VALUES in computeKnownBits. (#1…
davemgreen Oct 15, 2024
816128c
[AArch64][GlobalISel] Add gisel run lines for more MULL tests. NFC
davemgreen Oct 15, 2024
81d41f8
[APInt] Fix getAllOnes() with zero width (#112227)
nikic Oct 15, 2024
0a73839
[WebAssembly] Fix feature coalescing (#110647)
nikic Oct 15, 2024
9ecaf8b
[clang] Fix crash related to _BitInt constant split (#112218)
Fznamznon Oct 15, 2024
cd3d6bf
[VPlan] Implement VPReductionRecipe::computeCost(). NFC (#107790)
ElvisWang123 Oct 15, 2024
70e28b0
[ubsan][test] Enable Misc/Linux tests on all Posix systems (#111497)
rorth Oct 15, 2024
68f66ba
[sanitizer][test] Unify LD_LIBRARY_PATH handling (#111498)
rorth Oct 15, 2024
4f63e44
[Sema]Use tag name lookup for class names (#112166)
spaits Oct 15, 2024
b864a65
[IR] Add `samesign` flag to icmp instruction (#111419)
elhewaty Oct 15, 2024
3f0f928
[Verifier] Verify attribute `denormal-fp-math[-f32]` (#112310)
dtcxzyw Oct 15, 2024
f0168fc
InstCombine/test: cover foldSelectValueEquivalence (#111694)
artagnon Oct 15, 2024
67298c6
Add pre-commit test for LiveDebugVariables reorder issue
dstenb Sep 20, 2024
545484b
[LiveDebugVariables] Fix a DBG_VALUE reordering issue (#111124)
dstenb Sep 20, 2024
31110b6
[LLVM][SelectionDAG] Ensure Constant[FP]SDnode only store references …
paulwalker-arm Oct 15, 2024
65ce6be
InstCombine: extend select-equiv to support vectors (#111966)
artagnon Oct 15, 2024
15f4a54
[lldb][test] Fix TestStdCXXDisassembly test for case when tests are l…
dzhidzhoev Oct 15, 2024
102eb3c
[MLIR][OpenMP] Remove terminators from loop wrappers (#112229)
skatrak Oct 15, 2024
8166946
[clang][bytecode] Implement __builtin_f{maximum,minimum}_num (#112335)
tbaederr Oct 15, 2024
fe1f600
[MLIR][OpenMP] Named recipe op's block args accessors (NFC) (#112192)
skatrak Oct 15, 2024
569502c
[AArch64][SME] Fix iterator to fixupCalleeSaveRestoreStackOffset (#11…
sdesmalen-arm Oct 15, 2024
6f42423
[compiler-rt][ASan] Add function copying annotations (#91702)
AdvenamTacet Oct 15, 2024
845692a
[mlir][vector] Add more tests for ConvertVectorToLLVM (8/n) (#111997)
banach-space Oct 15, 2024
a8464ee
[lldb] Support tests with nested make invocations on Windows 1/2 (#11…
weliveindetail Oct 15, 2024
d96b176
[flang][OpenMP] Support `target ... nowait` (#111823)
ergawy Oct 15, 2024
c616872
[clang-tidy] Make `P +- BS / sizeof(*P)` opt-outable in `bugprone-siz…
whisperity Oct 15, 2024
d4b8825
[libc] Fix compilation errors thrown by GCC (#112351)
overmighty Oct 15, 2024
b16d38c
Reapply "[DAG] Enhance SDPatternMatch to match integer minimum and ma…
c8ef Oct 15, 2024
f2aacb1
[NFC][LoopVectorize] Make replaceVPBBWithIRVPBB more efficient (#111514)
david-arm Oct 15, 2024
ccd6cde
[OpenACC] Implement 'loop' 'vector' clause (#112259)
erichkeane Oct 15, 2024
4e81f8b
[X86[] fp80-strict-libcalls.ll - add missing fp80 libm declarations f…
RKSimon Oct 15, 2024
dc11c4d
[X86[] fp128-libcalls-strict.ll - add missing fp80 libm declarations …
RKSimon Oct 15, 2024
af49417
[flang] AliasAnalysis: Fix pointer component logic (#94242)
jdenny-ornl Oct 15, 2024
ee780c8
[RISCV][VLOPT] Fix operand check in isVectorOpUsedAsScalarOp (#112253)
lukel97 Oct 15, 2024
2390919
[LLDB]Provide clearer error message for invalid commands. (#111891)
oontvoo Oct 15, 2024
6afb737
[X86] shuffle-vs-trunc-256.ll - regenerate test checks with vpternlog…
RKSimon Oct 15, 2024
504a4eb
[X86] Add test coverage for #111611
RKSimon Oct 15, 2024
39e93eb
[Inliner] Don't propagate access attr to byval params (#112256)
goldsteinn Oct 15, 2024
5132d89
[RISCV][VLOPT][NFC] Remove section markers since riscv-isa-manual doe…
michaelmaitland Oct 15, 2024
d382af1
[libc++] Fix expression-equivalence for `mem_fn` (#111307)
frederick-vs-ja Oct 15, 2024
17917ee
[Analysis] Avoid repeated hash lookups (NFC) (#112297)
kazutakahirata Oct 15, 2024
e8a538d
[DebugInfo] Avoid repeated hash lookups (NFC) (#112298)
kazutakahirata Oct 15, 2024
c846a39
[libc++][test] Fix `overload_compare_iterator::iterator_category` (#1…
frederick-vs-ja Oct 15, 2024
c4b1e19
[lld] Avoid repeated hash lookups (NFC) (#112299)
kazutakahirata Oct 15, 2024
7a36aa5
[clang-doc] Simplify code with StringMap::operator[] (NFC) (#112302)
kazutakahirata Oct 15, 2024
367a754
[lldb] Avoid repeated map lookups (NFC) (#112315)
kazutakahirata Oct 15, 2024
8207e95
[LV] Check early for supported interleave factors with scalable types…
preames Oct 15, 2024
3cfd3af
[clang][RISCV] Correct the SEW operand of indexed/fault only first se…
4vtomat Oct 15, 2024
e8a0244
[X86] shuffle-vs-trunc-512.ll - add missing AVX512BW FAST PERLANE/CRO…
RKSimon Oct 15, 2024
318b93f
[X86] lowerShuffleAsVTRUNC - ensure we peek through bitcasts when loo…
RKSimon Oct 15, 2024
e870846
[IR] Add support for `samesign` in `Operator::hasPoisonGeneratingFlag…
dtcxzyw Oct 15, 2024
b5d2a93
[LLVM][TableGen] Check overloaded intrinsic mangling suffix conflicts…
jurahul Oct 15, 2024
5623a9f
[lldb] Use BasicBlock::iterator instead of InsertPosition (NFC) (#112…
JDevlieghere Oct 15, 2024
79bca6c
[DAG] visitXOR - add missing comment for or/and constant demorgan fol…
RKSimon Oct 15, 2024
72c22dc
[X86] combineAndNotOrIntoAndNotAnd - don't attempt with constant oper…
RKSimon Oct 15, 2024
e7eaf3a
[SLP]Initial non-power-of-2 support (but still whole register) for re…
alexey-bataev Oct 15, 2024
80112fa
[clang][bytecode] Diagnose reference to non-constexpr variable of con…
yronglin Oct 15, 2024
425c4fe
[llvm][NFC] Remove redundant copy parameter (#109859)
AmrDeveloper Oct 15, 2024
ea2e1cd
[ConstantFold] Fold `log1p` and `log1pf` when the input parameter is …
c8ef Oct 15, 2024
503cb3a
[ELF] Fix PROVIDE_HIDDEN -shared regression with bitcode file references
MaskRay Oct 15, 2024
42ea4d1
[SPIR-V] Support optimization of branching with analyzeBranch/removeB…
VyacheslavLevytskyy Oct 15, 2024
0199ec8
[SPIRV] Implement type deduction and reference to function declaratio…
VyacheslavLevytskyy Oct 15, 2024
7e5e2e4
[SPIR-V] Implement support of the SPV_INTEL_split_barrier SPIRV exten…
VyacheslavLevytskyy Oct 15, 2024
97f0b45
Remove obsolete assert (#112392)
Sterling-Augustine Oct 15, 2024
88f828a
[Coroutines] Improved formatting of the SpillUtils comment on ptr tra…
Oct 15, 2024
5fb1de7
[clang][aarch64] Add support for the MSVC qualifiers __ptr32, __ptr64…
dpaoliello Oct 15, 2024
ad59331
[MLIR] Make More Specific Function Header For StringLiteral Optimizat…
AndrewZhaoLuo Oct 15, 2024
3596767
[libc][setjmp] fix setjmp test via naked fn attr (#88054)
nickdesaulniers Oct 15, 2024
b91df2f
[NVPTX] restrict `cvta.param` use to kernels only. (#112278)
Artem-B Oct 15, 2024
f6dc863
[NFC][Intrumentation] Don't brake long RUN: lines (#112281)
vitalybuka Oct 15, 2024
ba020b0
[mlir][vector] Update document for `vector.splat`(NFC) (#112363)
CoTinker Oct 15, 2024
55b7aec
[SLP][NFCI]Check early for deleted instructions
alexey-bataev Oct 15, 2024
23c0bff
[InstCombine] Extend fcmp+select folding to minnum/maxnum intrinsics …
bader Oct 15, 2024
7f88cb5
Reland '[flang][cuda] Add cuf.register_kernel operation' (#112389)
clementval Oct 15, 2024
793fab0
[libc] Add bigint casting between word types (#111914)
michaelrj-google Oct 15, 2024
a25ebcd
[mlir][td] Rename pack_paddings in structured.pad (#111036)
banach-space Oct 15, 2024
0728849
AMDGPU: Add baseline tests for flat-may-alias private atomic expansio…
arsenm Oct 15, 2024
234b28a
clang: Remove some pointer bitcasts (#112324)
arsenm Oct 15, 2024
497ff86
[RISCV][VLOpt] Correct the printing of LMUL in the debug messages. (#…
topperc Oct 15, 2024
442aabb
[lldb-dap] Improving the naming consistency of startDebugging reverse…
ashgti Oct 15, 2024
6071fc3
[libc] Remove dependency on `cpp::function` in `rpc.h` (#112422)
jhuber6 Oct 15, 2024
266bae3
[VPlan] Implement VPInterleaveRecipe::computeCost. (#106067)
fhahn Oct 15, 2024
dbe13c4
[Clang][TableGen] Use const pointers for various `Init *` pointers in…
jurahul Oct 15, 2024
a5bfdd1
Revert "[SLP]Initial non-power-of-2 support (but still whole register…
alexey-bataev Oct 15, 2024
a58288b
[libc] fix -Wmissing-attributes in setjmp (#112415)
nickdesaulniers Oct 15, 2024
7c63758
[lldb][test] Fix TestStdCXXDisassembly test (#112357)
slydiman Oct 15, 2024
e18c940
[mlir][SCF] Fix dynamic loop pipeline peeling for num_stages > total_…
sjw36 Oct 15, 2024
35dd8b7
Revert "[AMDGPU] Serialize WWM_REG vreg flag (#110229)"
pcc Oct 15, 2024
5034305
DynamicLoaderDarwin load images in parallel with preload (#110646)
DmT021 Oct 15, 2024
0272925
[GSYM] Remove redundant getInliningInfoForAddress call (#111136)
dstenb Oct 15, 2024
19834fd
[HLSL] Make HLSLAttributedResourceType canonical and add code paths t…
hekota Oct 15, 2024
b003345
Make [[clang::lifetimebound]] work for expressions coming from defaul…
higher-performance Oct 15, 2024
49ea660
[VPlan] Use VPWidenIntrinsicRecipe to vp.select. (#110489)
fhahn Oct 15, 2024
4fc130a
[LLD][COFF] Fix handling of weak aliases referencing lazy symbols (#1…
cjacek Oct 15, 2024
06cd8ac
[NFC][PowerPC] Use tablegen's MatchRegisterName() (#111553)
lei137 Oct 15, 2024
2ff7ed8
[flang][cuda] Add kernel registration in CUF constructor (#112416)
clementval Oct 15, 2024
4e1014c
[flang] Split interoperability warnings, disable some by default (#11…
klausler Oct 15, 2024
721885f
[flang] Support "PRINT namelistname" (#112024)
klausler Oct 15, 2024
e88e412
[flang] Silence impossible error about SMP interface incompatibility …
klausler Oct 15, 2024
a47b24a
[flang] Fold ERFC_SCALED (#112287)
klausler Oct 15, 2024
025d08c
[flang] Retain spaces when preprocessing fixed-form source (#112417)
klausler Oct 15, 2024
7b9665f
[NFC] Remove unnececary check from test (#112438)
vitalybuka Oct 15, 2024
75e8746
[NFC] Fix flakiness in test if run unsharded (#112439)
vitalybuka Oct 15, 2024
6119d4e
[RISCV] Promote fixed-length bf16 arith vector ops with zvfbfmin (#11…
lukel97 Oct 15, 2024
59ef502
[SandboxVec] Add pass to create Regions from metadata. Generalize San…
slackito Oct 15, 2024
9c17573
[MLIR][ROCDL] Added `SchedGroupBarrier` and `IglpOpt` ops (#112237)
ravil-mobile Oct 15, 2024
075bb55
[RISCV] Fix bf16 cost model tests. NFC
lukel97 Oct 15, 2024
2c0ba2f
[flang] Fix broken shared library build (#112444)
klausler Oct 15, 2024
5710ac8
[libc] Add sinpif16 function (#110994)
wldfngrs Oct 15, 2024
e7bf436
[Clang][TableGen] Use const pointers for various Init objects in Neon…
jurahul Oct 15, 2024
dd1ccd1
[Clang][TableGen] Use const pointers for various Init objects in Diag…
jurahul Oct 15, 2024
ded5b61
[libc] Fix incorrect RPC usage in tests
jhuber6 Oct 15, 2024
55f0acf
[lldb] Make the system log a NOOP on non-Darwin platforms
JDevlieghere Oct 15, 2024
323f30f
[ORC][COFF] Remove the `ExecutionSession&` argument to `COFFPlatform`…
tjk213 Oct 15, 2024
06daad6
[scudo] Double frees result in chunk state error (#110345)
cferris1000 Oct 16, 2024
ae41540
[lldb] Fix command-expr-diagnostics.test for Windows (#112109)
omjavaid Oct 16, 2024
5c8a68e
Revert "[lldb] Fix command-expr-diagnostics.test for Windows (#112109)"
omjavaid Oct 16, 2024
ab3fa18
[JITLink] Add support for R_X86_64_SIZE* relocations. (#110081)
higuoxing Oct 16, 2024
8cff6d2
[HLSL] Implement `WaveReadLaneAt` intrinsic (#111010)
inbelic Oct 16, 2024
05f6e29
[AIX][CMake] Disable `openmp` as LLVM_ENABLE_PROJECTS (#110152)
DanielCChen Oct 16, 2024
91ef262
Restore the static_assert but checking against 'APFloat::Storage' ins…
DanielCChen Oct 16, 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
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ function keep-modified-projects() {
}

function check-targets() {
# Do not use "check-all" here because if there is "check-all" plus a
# project specific target like "check-clang", that project's tests
# will be run twice.
projects=${@}
for project in ${projects}; do
case ${project} in
Expand All @@ -216,7 +219,7 @@ function check-targets() {
echo "check-lldb"
;;
pstl)
echo "check-all"
# Currently we do not run pstl tests in CI.
;;
libclc)
# Currently there is no testing for libclc.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ jobs:
run: |
# Build some of the mlir tools that take a long time to link
if [ "${{ needs.prepare.outputs.build-flang }}" = "true" ]; then
ninja -C ${{ steps.setup-stage.outputs.build-prefix }}/build/tools/clang/stage2-bins/ -j2 flang-new bbc
ninja -C ${{ steps.setup-stage.outputs.build-prefix }}/build/tools/clang/stage2-bins/ -j2 flang bbc
fi
ninja -C ${{ steps.setup-stage.outputs.build-prefix }}/build/tools/clang/stage2-bins/ \
mlir-bytecode-parser-fuzzer \
Expand Down
11 changes: 6 additions & 5 deletions bolt/include/bolt/Profile/BoltAddressTranslation.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,13 @@ class BoltAddressTranslation {
uint64_t FuncOutputAddress) const;

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

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

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

std::map<uint64_t, MapTy> Maps;

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

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

Expand Down
8 changes: 2 additions & 6 deletions bolt/lib/Core/BinaryFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3684,9 +3684,8 @@ BinaryFunction::BasicBlockListType BinaryFunction::dfs() const {
BinaryBasicBlock *BB = Stack.top();
Stack.pop();

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

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

for (const MCInst &Inst : *BB) {
// Two loads one after another - skip whole function
Expand All @@ -126,8 +125,7 @@ static bool hasAArch64ExclusiveMemop(
if (BC.MIB->isAArch64ExclusiveLoad(Inst))
IsLoad = true;

if (IsLoad && BBToSkip.find(BB) == BBToSkip.end()) {
BBToSkip.insert(BB);
if (IsLoad && BBToSkip.insert(BB).second) {
if (opts::Verbosity >= 2) {
outs() << "BOLT-INSTRUMENTER: skip BB " << BB->getName()
<< " due to exclusive instruction in function "
Expand Down
22 changes: 10 additions & 12 deletions bolt/lib/Profile/BoltAddressTranslation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ void BoltAddressTranslation::write(const BinaryContext &BC, raw_ostream &OS) {

// Output addresses are delta-encoded
uint64_t PrevAddress = 0;
writeMaps</*Cold=*/false>(Maps, PrevAddress, OS);
writeMaps</*Cold=*/true>(Maps, PrevAddress, OS);
writeMaps</*Cold=*/false>(PrevAddress, OS);
writeMaps</*Cold=*/true>(PrevAddress, OS);

BC.outs() << "BOLT-INFO: Wrote " << Maps.size() << " BAT maps\n";
BC.outs() << "BOLT-INFO: Wrote " << FuncHashes.getNumFunctions()
Expand Down Expand Up @@ -182,8 +182,7 @@ size_t BoltAddressTranslation::getNumEqualOffsets(const MapTy &Map,
}

template <bool Cold>
void BoltAddressTranslation::writeMaps(std::map<uint64_t, MapTy> &Maps,
uint64_t &PrevAddress, raw_ostream &OS) {
void BoltAddressTranslation::writeMaps(uint64_t &PrevAddress, raw_ostream &OS) {
const uint32_t NumFuncs =
llvm::count_if(llvm::make_first_range(Maps), [&](const uint64_t Address) {
return Cold == ColdPartSource.count(Address);
Expand Down Expand Up @@ -213,16 +212,17 @@ void BoltAddressTranslation::writeMaps(std::map<uint64_t, MapTy> &Maps,
: 0;
uint32_t Skew = 0;
if (Cold) {
auto HotEntryIt = Maps.find(ColdPartSource[Address]);
assert(HotEntryIt != Maps.end());
size_t HotIndex = std::distance(Maps.begin(), HotEntryIt);
auto HotEntryIt = llvm::lower_bound(HotFuncs, ColdPartSource[Address]);
assert(HotEntryIt != HotFuncs.end());
size_t HotIndex = std::distance(HotFuncs.begin(), HotEntryIt);
encodeULEB128(HotIndex - PrevIndex, OS);
PrevIndex = HotIndex;
// Skew of all input offsets for cold fragments is simply the first input
// offset.
Skew = Map.begin()->second >> 1;
encodeULEB128(Skew, OS);
} else {
HotFuncs.push_back(Address);
// Function hash
size_t BFHash = getBFHash(HotInputAddress);
LLVM_DEBUG(dbgs() << "Hash: " << formatv("{0:x}\n", BFHash));
Expand Down Expand Up @@ -311,17 +311,15 @@ std::error_code BoltAddressTranslation::parse(raw_ostream &OS, StringRef Buf) {
return make_error_code(llvm::errc::io_error);

Error Err(Error::success());
std::vector<uint64_t> HotFuncs;
uint64_t PrevAddress = 0;
parseMaps</*Cold=*/false>(HotFuncs, PrevAddress, DE, Offset, Err);
parseMaps</*Cold=*/true>(HotFuncs, PrevAddress, DE, Offset, Err);
parseMaps</*Cold=*/false>(PrevAddress, DE, Offset, Err);
parseMaps</*Cold=*/true>(PrevAddress, DE, Offset, Err);
OS << "BOLT-INFO: Parsed " << Maps.size() << " BAT entries\n";
return errorToErrorCode(std::move(Err));
}

template <bool Cold>
void BoltAddressTranslation::parseMaps(std::vector<uint64_t> &HotFuncs,
uint64_t &PrevAddress, DataExtractor &DE,
void BoltAddressTranslation::parseMaps(uint64_t &PrevAddress, DataExtractor &DE,
uint64_t &Offset, Error &Err) {
const uint32_t NumFunctions = DE.getULEB128(&Offset, &Err);
LLVM_DEBUG(dbgs() << "Parsing " << NumFunctions << (Cold ? " cold" : "")
Expand Down
6 changes: 1 addition & 5 deletions bolt/lib/Profile/YAMLProfileReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,11 +643,7 @@ size_t YAMLProfileReader::matchWithNameSimilarity(BinaryContext &BC) {
// equal number of blocks.
if (NamespaceToProfiledBFSizesIt->second.count(BF->size()) == 0)
continue;
auto NamespaceToBFsIt = NamespaceToBFs.find(Namespace);
if (NamespaceToBFsIt == NamespaceToBFs.end())
NamespaceToBFs[Namespace] = {BF};
else
NamespaceToBFsIt->second.push_back(BF);
NamespaceToBFs[Namespace].push_back(BF);
}

// Iterates through all profiled functions and binary functions belonging to
Expand Down
4 changes: 2 additions & 2 deletions bolt/tools/driver/llvm-bolt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,9 @@ int main(int argc, char **argv) {

ToolName = argv[0];

if (llvm::sys::path::filename(ToolName) == "perf2bolt")
if (llvm::sys::path::filename(ToolName).starts_with("perf2bolt"))
perf2boltMode(argc, argv);
else if (llvm::sys::path::filename(ToolName) == "llvm-boltdiff")
else if (llvm::sys::path::filename(ToolName).starts_with("llvm-boltdiff"))
boltDiffMode(argc, argv);
else
boltMode(argc, argv);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,8 @@ groupReplacements(const TUReplacements &TUs, const TUDiagnostics &TUDs,

if (auto Entry = SM.getFileManager().getOptionalFileRef(Path)) {
if (SourceTU) {
auto &Replaces = DiagReplacements[*Entry];
auto It = Replaces.find(R);
if (It == Replaces.end())
Replaces.emplace(R, SourceTU);
else if (It->second != SourceTU)
auto [It, Inserted] = DiagReplacements[*Entry].try_emplace(R, SourceTU);
if (!Inserted && It->second != SourceTU)
// This replacement is a duplicate of one suggested by another TU.
return;
}
Expand Down
3 changes: 1 addition & 2 deletions clang-tools-extra/clang-change-namespace/ChangeNamespace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -606,9 +606,8 @@ void ChangeNamespaceTool::run(
Result.Nodes.getNodeAs<DeclRefExpr>("func_ref")) {
// If this reference has been processed as a function call, we do not
// process it again.
if (ProcessedFuncRefs.count(FuncRef))
if (!ProcessedFuncRefs.insert(FuncRef).second)
return;
ProcessedFuncRefs.insert(FuncRef);
const auto *Func = Result.Nodes.getNodeAs<FunctionDecl>("func_decl");
assert(Func);
const auto *Context = Result.Nodes.getNodeAs<Decl>("dc");
Expand Down
3 changes: 1 addition & 2 deletions clang-tools-extra/clang-doc/tool/ClangDocMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@ Example usage for a project using a compile commands database:
llvm::StringMap<std::vector<StringRef>> USRToBitcode;
Executor->get()->getToolResults()->forEachResult(
[&](StringRef Key, StringRef Value) {
auto R = USRToBitcode.try_emplace(Key, std::vector<StringRef>());
R.first->second.emplace_back(Value);
USRToBitcode[Key].emplace_back(Value);
});

// Collects all Infos according to their unique USR value. This map is added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void CrtpConstructorAccessibilityCheck::check(

WithFriendHintIfNeeded(
diag(Ctor->getLocation(),
"%0 contructor allows the CRTP to be %select{inherited "
"%0 constructor allows the CRTP to be %select{inherited "
"from|constructed}1 as a regular template class; consider making "
"it private%select{| and declaring the derived class as friend}2")
<< Access << IsPublic << NeedsFriend
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,13 @@ void ForwardDeclarationNamespaceCheck::onEndOfTranslationUnit() {
}
// Check if a definition in another namespace exists.
const auto DeclName = CurDecl->getName();
if (!DeclNameToDefinitions.contains(DeclName)) {
auto It = DeclNameToDefinitions.find(DeclName);
if (It == DeclNameToDefinitions.end()) {
continue; // No definition in this translation unit, we can skip it.
}
// Make a warning for each definition with the same name (in other
// namespaces).
const auto &Definitions = DeclNameToDefinitions[DeclName];
const auto &Definitions = It->second;
for (const auto *Def : Definitions) {
diag(CurDecl->getLocation(),
"no definition found for %0, but a definition with "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ SizeofExpressionCheck::SizeofExpressionCheck(StringRef Name,
Options.get("WarnOnSizeOfCompareToConstant", true)),
WarnOnSizeOfPointerToAggregate(
Options.get("WarnOnSizeOfPointerToAggregate", true)),
WarnOnSizeOfPointer(Options.get("WarnOnSizeOfPointer", false)) {}
WarnOnSizeOfPointer(Options.get("WarnOnSizeOfPointer", false)),
WarnOnOffsetDividedBySizeOf(
Options.get("WarnOnOffsetDividedBySizeOf", true)) {}

void SizeofExpressionCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
Options.store(Opts, "WarnOnSizeOfConstant", WarnOnSizeOfConstant);
Expand All @@ -82,6 +84,8 @@ void SizeofExpressionCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) {
Options.store(Opts, "WarnOnSizeOfPointerToAggregate",
WarnOnSizeOfPointerToAggregate);
Options.store(Opts, "WarnOnSizeOfPointer", WarnOnSizeOfPointer);
Options.store(Opts, "WarnOnOffsetDividedBySizeOf",
WarnOnOffsetDividedBySizeOf);
}

void SizeofExpressionCheck::registerMatchers(MatchFinder *Finder) {
Expand Down Expand Up @@ -307,7 +311,8 @@ void SizeofExpressionCheck::registerMatchers(MatchFinder *Finder) {
offsetOfExpr()))
.bind("sizeof-in-ptr-arithmetic-scale-expr");
const auto PtrArithmeticIntegerScaleExpr = binaryOperator(
hasAnyOperatorName("*", "/"),
WarnOnOffsetDividedBySizeOf ? binaryOperator(hasAnyOperatorName("*", "/"))
: binaryOperator(hasOperatorName("*")),
// sizeof(...) * sizeof(...) and sizeof(...) / sizeof(...) is handled
// by this check on another path.
hasOperands(expr(hasType(isInteger()), unless(SizeofLikeScaleExpr)),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class SizeofExpressionCheck : public ClangTidyCheck {
const bool WarnOnSizeOfCompareToConstant;
const bool WarnOnSizeOfPointerToAggregate;
const bool WarnOnSizeOfPointer;
const bool WarnOnOffsetDividedBySizeOf;
};

} // namespace clang::tidy::bugprone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ static bool mayShadow(const NamedDecl *ND0,
const ConfusableIdentifierCheck::ContextInfo *
ConfusableIdentifierCheck::getContextInfo(const DeclContext *DC) {
const DeclContext *PrimaryContext = DC->getPrimaryContext();
auto It = ContextInfos.find(PrimaryContext);
if (It != ContextInfos.end())
auto [It, Inserted] = ContextInfos.try_emplace(PrimaryContext);
if (!Inserted)
return &It->second;

ContextInfo &Info = ContextInfos[PrimaryContext];
ContextInfo &Info = It->second;
Info.PrimaryContext = PrimaryContext;
Info.NonTransparentContext = PrimaryContext;

Expand Down
Loading