Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
469 commits
Select commit Hold shift + click to select a range
48a6e51
[llvm-exegesis] Fix typo in f2334c5919ec077e6a8deeaf43a5b5188baf0251
boomanaiden154 Dec 24, 2024
cd66c9b
[Ubsan][Driver] Remove UBSAN C++ runtime from other sanitizers (#121006)
vitalybuka Dec 24, 2024
34f8573
[OpenMP] Use generic IR for the OpenMP DeviceRTL (#119091)
jhuber6 Dec 25, 2024
970f65a
[Clang][MIPS] Create specific targets for MIPS PE/COFF (#121040)
hpoussin Dec 25, 2024
88d04be
[AArch64][docs] Add release notes for FUJITSU-MONAKA support (#120684)
kinoshita-fj Dec 25, 2024
b5f0ec8
[VPlan] Remove redundant printing final in VPlan::execute (#121048)
LiqinWeng Dec 25, 2024
ac1d560
[libc++][hardening] Add a bounds check for `valarray` and `bitset`. (…
var-const Dec 25, 2024
56600c1
MCAsmInfo: replace HLASM-specific variables with IsHLASM
MaskRay Dec 25, 2024
34f7000
[clang-tidy]link LLVMTargetParser (#121072)
HerrCai0907 Dec 25, 2024
d3846ec
[mlir] Guard sccp pass from crashing with different source type (#120…
Lewuathe Dec 25, 2024
1de228f
[ubsan] Remove UBSAN_CAN_USE_CXXABI (#121082)
vitalybuka Dec 25, 2024
a1328c0
[ubsan] Fix android build
vitalybuka Dec 25, 2024
6a7687c
[mlir][python] Support `CLANG_CL` (#121075)
makslevental Dec 25, 2024
141c544
[clang-format] Skip line splices when sorting C++ includes (#120680)
owenca Dec 25, 2024
5d81b14
[clang-tidy][bazel] Fix #120547
pranavk Dec 25, 2024
25bb659
MCAsmInfo: replace AIX-specific variables with IsAIX
MaskRay Dec 25, 2024
32962f2
[ubsan] Try to fix Windows
vitalybuka Dec 25, 2024
e3846c0
[mlir] [test] Fix missing SHLIB definition in standalone builds (#120…
mgorny Dec 25, 2024
6b471b3
[mlir] [test] Fix unittests in standalone builds (#120910)
mgorny Dec 25, 2024
9e38e87
[mlir] [test] Do not add dependencies on llvm tools in standalone bui…
mgorny Dec 25, 2024
319b891
MCAsmInfo: remove unused DwarfSectionSizeRequired
MaskRay Dec 25, 2024
74496b0
[asan][hwasan] Link RTUbsan_cxx into shared runtime
vitalybuka Dec 25, 2024
2d3d62d
[flang] fix: split ifndef for CHECK and CHECK_MSG (#114707)
ivan-aksamentov Dec 25, 2024
c29536b
[test] Group GlobalISelEmitter tests under a subdirectory (#121093)
s-barannikov Dec 25, 2024
c870632
[flang] Fix some memory leaks (#121050)
matthias-springer Dec 25, 2024
2d6e7c2
[Clang][Xtensa] Add Xtensa target. (#118008)
gerekon Dec 25, 2024
ae435ad
[gn build] Port 2d6e7c2b359d
llvmgnsyncbot Dec 25, 2024
5fb5713
[DFAJumpThreading] Don't bail early after encountering unpredictable …
UsmanNadeem Dec 25, 2024
676b48d
[C++20] [Modules] Diagnose if import statement lakcs a semicolon
ChuanqiXu9 Dec 25, 2024
7226b39
[X86] Support vectorized llvm.fmaximum/fminimum.vXf16 lowering (#120988)
xilinbai-intel Dec 25, 2024
4884b1b
[TableGen][GISel] Simplify checks for BasicBlockSDNode (NFC) (#121098)
s-barannikov Dec 25, 2024
3469996
[SelectOpt] Optimise big select groups in the latch of a non-inner lo…
igogo-x86 Dec 25, 2024
6d7cf52
[ValueTracking] Improve KnownBits for signed min-max clamping (#120576)
adam-bzowski Dec 25, 2024
8e7f1be
[clang][RISCV] Remove unneeded RISCV tuple code (#121024)
4vtomat Dec 25, 2024
dd9c5c1
[libc][complex] enable CFP128 entrypoints on X86_64 (#121111)
Sh0g0-1758 Dec 25, 2024
ff97daa
Revert "[libc][complex] enable CFP128 entrypoints on X86_64 (#121111)…
Sh0g0-1758 Dec 25, 2024
70965ef
[Clang] Prevent assignment to captured structured bindings inside imm…
TilakChad Dec 25, 2024
d6e4353
[Xtensa] Fix Code Density test. (#121073)
andreisfr Dec 25, 2024
cea738b
[SimplifyCFG] Replace unreachable switch lookup table holes with pois…
DaMatrix Dec 25, 2024
6f72d28
[TableGen][GISel] Don't copy dead def from a sub-instruction to the r…
s-barannikov Dec 26, 2024
a0e1fcc
[TableGen][GISel] Refactor node renderers emission (#121071)
s-barannikov Dec 26, 2024
a72bfc5
[llvm-dlltool] Handle MIPS R4000 architecture (#114621)
hpoussin Dec 26, 2024
03093b6
[Polly] Fix gtest logic for standalone builds (#121114)
mgorny Dec 26, 2024
abd9102
[libc][complex] add cfloat16 and cfloat128 compiler flags (#121140)
Sh0g0-1758 Dec 26, 2024
9f75b66
[libc][complex] fix buildbot errors (#121141)
Sh0g0-1758 Dec 26, 2024
cbe583b
[Flang] Add translation support for MutexInOutSet and InOutSet (#120715)
Thirumalai-Shaktivel Dec 26, 2024
698bb5f
[mlir][docs] Add C example for C-compatible wrapper for LLVM IR (#120…
ZenithalHourlyRate Dec 26, 2024
1b476ec
[lldb] A few more pieces towards OpenBSD support (#121051)
brad0 Dec 26, 2024
889215a
[SLP]Followup fix for the poisonous logical op in reductions
alexey-bataev Dec 26, 2024
c21a377
[GlobalIsel] [Utility] [NFC] Added isConstantOrConstantSplatVectorFP …
vg0204 Dec 26, 2024
4a92c27
[TableGen][GISel] Remove check for LLT when emitting renderers (#121144)
s-barannikov Dec 26, 2024
d21f300
[MIPatternMatch] Fix incorrect argument type of m_Type (#121074)
mshockwave Dec 26, 2024
831e1ac
[MIPatternMatch] Add m_GUMin and m_GUMax (#121068)
mshockwave Dec 26, 2024
8906b7b
Enable custom alloc-like ops in `promoteBufferResultsToOutParams` (#1…
srcarroll Dec 26, 2024
6e8a1a4
[BOLT] Detect Linux kernel version if the binary is a Linux kernel (#…
FLZ101 Dec 26, 2024
62c39d7
[BOLT/docs] The support for macro-op fusion was removed. (#121158)
dcci Dec 26, 2024
776ac21
[mlir] minor documentation fix in GPUTransformOps.td (#121157)
ftynse Dec 26, 2024
b59a0a6
[NFC][Driver] Define %{filecheck} as suggested on #121081 (#121159)
vitalybuka Dec 26, 2024
377755c
[nfc][Driver] Remove {{(.exe)?}} from sanitizer test (#121160)
vitalybuka Dec 26, 2024
2dfe1b4
[VPlan] Remove stray space when printing reverse vector pointer.
fhahn Dec 26, 2024
7ecbeac
[clang-tidy] fix incorrect argument names in documentation for ExtraA…
float3 Dec 26, 2024
ca28fcc
Revert "[nfc][Driver] Remove {{(.exe)?}} from sanitizer test (#121160)"
vitalybuka Dec 26, 2024
8e9fda1
Reapply "[nfc][Driver] Remove {{(.exe)?}} from sanitizer test (#12116…
vitalybuka Dec 26, 2024
7deaed9
[libc] Reduce binary size for baremetal targets (#121164)
Prabhuk Dec 26, 2024
5d529c3
[llvm-lib] Handle MIPS architecture (#121007)
hpoussin Dec 27, 2024
6b53a95
[mlir][arith] DCE `getPredicateByName` (#121165)
makslevental Dec 27, 2024
9d3f9f4
Revert "[llvm-lib] Handle MIPS architecture (#121007)"
wzssyqa Dec 27, 2024
47e1c87
[VPlan] Set debug location for VPReduction/VPWidenIntrinsicRecipe. (…
ElvisWang123 Dec 27, 2024
179344d
[MC] Move AIX specific function to PPCAsmPrinter
MaskRay Dec 27, 2024
c6ea7fb
[AVR] Wrap out-of-bounds relative jumps (#118015)
Patryk27 Dec 27, 2024
f51db95
[NFC][Driver] Use global --implicit-check-not=libclang_rt (#121081)
vitalybuka Dec 27, 2024
8230b8a
test/llvm-cov/branch-noShowBranch.test: Align `CHECK-NOT`s to branch-…
chapuni Dec 27, 2024
3d9f968
llvm-cov: Split out `sumRegions()` from `FunctionCoverageSummary::get…
chapuni Dec 27, 2024
cd3c165
[RISCV] Add more tests to rv*xtheadba.ll. NFC
topperc Dec 27, 2024
814902a
[RISCV] Fix XTheadba patterns broken since cfc574a6cd13d2d0b77110b579…
topperc Dec 27, 2024
5807d0e
[Drive] Don't match libclang_rt.builtins
vitalybuka Dec 27, 2024
bca055f
[lldb] AIX Changes for MainLoop polling (#120378)
DhruvSrivastavaX Dec 27, 2024
2b5b3cf
[mlir][sparse_tensor] Migrate `SparseIterationToScf.cpp` to dialect c…
matthias-springer Dec 27, 2024
1ead155
[lldb] clang-format changes for some basic #if _AIX changes (#120978)
DhruvSrivastavaX Dec 27, 2024
ac8bb73
Attributor: Do not treat pointer vectors as valid for unsupported att…
arsenm Dec 27, 2024
223521b
llvm-cov: Introduce `--binary-counters` (#120841)
chapuni Dec 27, 2024
aa2fdc6
[Coverage] Move SingleByteCoverage out of CountedRegion (#110966)
chapuni Dec 27, 2024
ccfe0de
[LV]: Teach LV to recursively (de)interleave. (#89018)
hassnaaHamdi Dec 27, 2024
5ad4213
[mlir][Linalg] Allow PartialReductionOpInterface ops in tile_reductio…
Groverkss Dec 27, 2024
9ab16d4
[mlir][IntRangeInference] Fix `arith.ceildivsi` range inference when …
Hardcode84 Dec 27, 2024
07ba457
[SLP][NFC]Add dump of combined entries, where applicable
alexey-bataev Dec 27, 2024
91bbebc
[mlir][scf] Add getPartialResultTilePosition to PartialReductionOpInt…
Groverkss Dec 27, 2024
8caeb2e
[VPlan] Always create initial blocks in constructor (NFC).
fhahn Dec 27, 2024
1f90797
[clangd] Allow specifying what headers are always included via "" or …
kleinesfilmroellchen Dec 27, 2024
4d8f959
Revert "Reland "[LoopVectorizer] Add support for partial reductions" …
ZequanWu Dec 27, 2024
815343e
[CGData][Merger] Avoid merging the attached call target (#121030)
kyulee-com Dec 27, 2024
b2fd0a7
[Driver] Fix implicit-check-not regex (#121221)
vitalybuka Dec 27, 2024
48bf0a9
[Clang][ASTMatcher] Add `dependentScopeDeclRefExpr` matcher (#120996)
AmrDeveloper Dec 28, 2024
092966a
[Driver] Make regex stricter (#121243)
vitalybuka Dec 28, 2024
edc42b2
[SLP] Migrate away from PointerUnion::get
MaskRay Dec 28, 2024
39e8953
[clang][bytecode] Move a local variable to a later point (#121250)
tbaederr Dec 28, 2024
5bec2b7
Added options to readability-implicit-bool-conversion (#120087)
4m4n-x-B4w4ne Dec 28, 2024
537d4e9
Revert "Added options to readability-implicit-bool-conversion (#1200…
chapuni Dec 28, 2024
811e1f4
clang/test/CoverageMapping/single-byte-counters.cpp: Align to the fin…
chapuni Dec 28, 2024
ee6f10d
[Coverage] Make `MCDCRecord::Folded` as `[false/true]` with BitVector…
chapuni Dec 28, 2024
a21f13b
llvm-cov: Refactor CoverageSummaryInfo. NFC. (#121189)
chapuni Dec 28, 2024
52bbe20
[PAC][CodeGen][ELF][AArch64] Support signed TLSDESC (#113813)
kovdan01 Dec 28, 2024
f68dbbb
[VectorCombine] Add test coverage for #121110
RKSimon Dec 27, 2024
f2f02b2
[VectorCombine] foldShuffleOfBinops - only accept exact matching cmp …
RKSimon Dec 28, 2024
8e965d8
[analyzer] Fix zext assertion failure in loop unrolling (#121203)
shenjunjiekoda Dec 28, 2024
7e749d4
[mlir][bufferization]-Add ControlBuildSubsetExtractionFn to TensorEmp…
amirBish Dec 28, 2024
e86b68f
[clang][bytecode] Add support for typeid pointers (#121251)
tbaederr Dec 28, 2024
3496e96
[clang][bytecode] Add a missing break
tbaederr Dec 28, 2024
088d636
[ValueTracking] Fix a bug for signed min-max clamping (#121206)
adam-bzowski Dec 28, 2024
4a6fcc1
[mlir][emitc] DCE unimplemented decls (#121253)
makslevental Dec 28, 2024
f1bc3af
[mlir][scf] DCE unimplemented decls in TDs (#121237)
makslevental Dec 28, 2024
8e32959
[CIR] Upstream initial attribute support (#121069)
dkolsen-pgi Dec 28, 2024
cb1ad98
[mlir][llvmir] implement missing attrs `getChecked` (#121248)
makslevental Dec 28, 2024
de294c9
[profile] Enable testing Continuous mode on Linux (#121238)
chapuni Dec 29, 2024
02e8972
Revert "[nfc][Driver] Remove {{(.exe)?}} from sanitizer test" again (…
bogner Dec 29, 2024
1557eed
[RISCV] Add Qualcomm uC Xqciac (Load-Store Adress calculation) extens…
hchandel Dec 29, 2024
66dd7e6
Simplify enablePostRAScheduler and test enablePostRAScheduler() early
MaskRay Dec 29, 2024
ff29f38
[LLD][COFF] Store and validate load config in SymbolTable (#120324)
cjacek Dec 29, 2024
e45e091
[clang-tidy] swap cppcoreguidelines-narrowing-conversions and bugpron…
HerrCai0907 Dec 29, 2024
412e30b
[mlir][Transforms] Dialect Conversion: Add 1:N op replacement test ca…
matthias-springer Dec 29, 2024
b34ed25
[clang-tidy][NFC] add link libs for bugprone module
HerrCai0907 Dec 29, 2024
7144325
[LLD][COFF] Prepare both load configs on ARM64X (#120326)
cjacek Dec 29, 2024
db7123f
[LLD][COFF] Use EC symbol table for CHPE metadata (#120328)
cjacek Dec 29, 2024
6cbc64e
[TableGen][GISel] Fix IMPLICIT_DEF operand being added as a use (#121…
s-barannikov Dec 29, 2024
01c8cd6
[AArch64][GlobalISel] Full reverse shuffles. (#119083)
davemgreen Dec 29, 2024
08e2c15
[mlir][python] disable nanobind leak warnings (#121099)
makslevental Dec 29, 2024
8487d24
[mlir][shape] DCE unimplemented extra decl (#121275)
makslevental Dec 29, 2024
c3ef6d4
Move two LLVM_DEBUG banners after skippers
MaskRay Dec 29, 2024
7f3428d
[VPlan] Compute induction end values in VPlan. (#112145)
fhahn Dec 29, 2024
d2e71c9
[libc] Improve qsort (#120450)
Voultapher Dec 29, 2024
6a76963
[RISCV] Remove XTHeadba pattern that is covered by DAG combine.
topperc Dec 29, 2024
c557ce9
[RISCV] Use add_like_non_imm12 in XTheadba patterns to match Zba.
topperc Dec 29, 2024
82ffdf3
[RISCV] Swap rs1 and rs2 names in TH_ADDSL patterns. NFC
topperc Dec 29, 2024
0b96f1c
Revert "[libc] Improve qsort" (#121303)
SchrodingerZhu Dec 29, 2024
6230f1b
[Clang][ASTMatcher] Add `dependentNameType` AST matcher (#121263)
AmrDeveloper Dec 30, 2024
9efa7d7
Remove -print-lsr-output in favor of --stop-after=loop-reduce
MaskRay Dec 30, 2024
49331ab
[NFC][Clang] Auto generate check lines for `clang/test/CodeGenCXX/mat…
shiltian Dec 30, 2024
b53866f
[LoongArch] Modify expanding code sequence for PseudoLA_TLS_LE (#119696)
zhaoqi5 Dec 30, 2024
91c5de7
[bazel] Fix the broken bazel build for clang-tidy after e45e091b90896…
hokein Dec 30, 2024
486ec4b
[clang-format] Add `AllowShortNamespacesOnASingleLine` option (#105597)
galenelias Dec 30, 2024
998bdae
[MLGO] Only configure tests with LLVM_INCLUDE_TESTS (#121293)
hahnjo Dec 30, 2024
39e93ee
[TOSA] Handle dialect check more efficiently (#120960)
lhutton1 Dec 30, 2024
60d2060
[mlir][xegpu] DCE decl in TD (#121249)
makslevental Dec 30, 2024
16d19aa
[VPlan] Manage created blocks directly in VPlan. (NFC) (#120918)
fhahn Dec 30, 2024
50a457d
[RISCV][VLOPT] Add getOperandInfo for saturating signed multiply (#12…
michaelmaitland Dec 30, 2024
ff936ce
[Clang][Driver][AMDGPU] Add missing space in missing device-libs erro…
jmmartinez Dec 30, 2024
42dfaa1
[clang-tidy] add depercation warning for non-whitelisted global optio…
HerrCai0907 Dec 30, 2024
79af7bd
[mlir][tosa] Add `AllElementTypesMatch` trait for `tosa.transpose` (#…
CoTinker Dec 30, 2024
b3a7ab6
[DAG] Don't allow implicit truncation in extract_element(bitcast(scal…
RKSimon Dec 30, 2024
c7d2370
[mlir] add a simple pygments lexer (#120942)
ftynse Dec 30, 2024
a74f825
[MIPatternMatch] Add m_DeferredReg/Type (#121218)
mshockwave Dec 30, 2024
c2be48a
[LV] Add additional tests with induction users.
fhahn Dec 30, 2024
a77d119
[NVPTX] Remove redundant types from TableGen patterns (NFC) (#120986)
AlexMaclean Dec 30, 2024
af83093
[VectorCombine] eraseInstruction - ensure we reattempt to fold other …
RKSimon Dec 23, 2024
65a2eb0
[sanitizer] Fix type in some Min() calls (#119248)
stefan-sf-ibm Dec 30, 2024
accd4a4
[LLDB][Minidump] Make workaround for the Dynamic loader issue (#120166)
Jlalond Dec 30, 2024
d9111f1
[mlir][bufferization]-Refactor findValueInReverseUseDefChain to accep…
amirBish Dec 30, 2024
fb365ac
[mlir][linalg] DCE unimplemented extra decl (#121272)
makslevental Dec 30, 2024
9a88ede
[TYSan][CMake] CMake build fixes (#121224)
petrhosek Dec 30, 2024
5373ed0
[fuzzer][test] Disable noasan-strcmp test for AArch64
omjavaid Dec 30, 2024
b20b6e9
[LV] Check IR generated for both interleaving and vectorizing in test.
fhahn Dec 30, 2024
08f7724
[clang-tidy][doc] mention smart ptr in bugprone-unhandled-self-assign…
HerrCai0907 Dec 30, 2024
d5a96eb
Revert af83093933ca73bc82c33130f8bda9f1ae54aae2 "[VectorCombine] eras…
RKSimon Dec 30, 2024
332d264
Revert "[LV]: Teach LV to recursively (de)interleave. (#89018)"
omjavaid Dec 30, 2024
28ae2ff
Add truncxfhf2 with tests to compiler-rt (#120372)
biabbas Dec 30, 2024
70c9152
[libc] Fix non-calls to cpp::is_complex_type_same (#121257)
frobtech Dec 30, 2024
0897373
[Clang][test] Relax checking for libclang_rt.asan.so and libclang_rt.…
ZequanWu Dec 30, 2024
9abcca5
[libc] Move hdrgen into utils/ subdirectory (#121256)
frobtech Dec 30, 2024
f385542
[Tooling/Inclusion] Modify the Python script to open the C++ referenc…
c8ef Dec 31, 2024
07e13b7
[libc] Remove unnecessary subdirectory layers in utils/hdrgen (#121363)
frobtech Dec 31, 2024
fe1f64e
[clangd] Make EnableFunctionArgSnippets option string-typed (#121178)
HighCommander4 Dec 31, 2024
e50ec3e
[Clang][Sema] Expose static inline functions from GMF (#104701)
jiixyj Dec 31, 2024
f590963
[RISCV] Implement RISCVTTIImpl::getPreferredAddressingMode for HasVen…
PhilippvK Dec 31, 2024
2e3d390
[polly] Skip instructions of different function in isHoistableLoad. (…
kartcq Dec 31, 2024
6f3d1d3
[libc] add __stack_chk_guard to generic (#121121)
RossComputerGuy Dec 31, 2024
5b5ef25
[RISCV] Fix typo: vmv.x.i -> vmv.v.i
wangpc-pp Dec 31, 2024
e3fe41c
[RISCV] Add missing ReadFMA16Addend in UnsupportedSchedZfh
wangpc-pp Dec 31, 2024
f035351
[SCEV] Make sure starting block is marked as visited when recursively…
juliannagele Dec 31, 2024
b35d345
[AArch64] Add an option for sve-prefer-fixed-over-scalable-if-equal. NFC
davemgreen Dec 31, 2024
f0d6017
[clang][bytecode] Check memove/memcpy for available elements (#121383)
tbaederr Dec 31, 2024
31613de
[mlir][ArmSME] Migrate `arm-sme-vector-legalization` to dialect conve…
matthias-springer Dec 31, 2024
80ecbaa
[mlir][Transforms] Mark 1:N conversion driver as deprecated (#121102)
matthias-springer Dec 31, 2024
1d51546
[SystemZ][z/OS] Open YAML files for read as text files (#121340)
zibi2 Dec 31, 2024
ddef380
[VPlan] Move simplifyRecipe(s) definitions up to allow re-use (NFC)
fhahn Dec 31, 2024
6279d2e
AArch64ABIInfo::passAsAggregateType - don't directly dereference getA…
RKSimon Dec 31, 2024
b195bb8
[VectorCombine] scalarizeLoadExtract - consistently use LoadInst and …
RKSimon Dec 31, 2024
d1e5e67
[PhaseOrdering] Update test RUN lines to use `-passes="default<O3>"` …
RKSimon Dec 31, 2024
0b08e09
[mlir][nfc] GpuToROCDL: Remove some dead code (#121395)
Hardcode84 Dec 31, 2024
018b32c
Revert "[mlir][nfc] GpuToROCDL: Remove some dead code" (#121402)
Hardcode84 Dec 31, 2024
ebdb6cf
[lit] Cope with more cat variants (#121376)
anguslees Dec 31, 2024
40e734e
[lld][MachO] Allow separate --irpgo-profile flag (#121354)
ellishg Dec 31, 2024
8e8d0c1
Fix integer suffix in truncxfhf2_test (#121388)
biabbas Dec 31, 2024
a5f3058
[AArch64][NFC] Remove redundant comments in SMEInstrInfo
SpencerAbson Dec 31, 2024
0e23cb0
[mlir][nfc] GpuToROCDL: Remove some dead code (#121403)
Hardcode84 Dec 31, 2024
2cee903
[AArch64] Add some tests for csel/subs with swapped conditions. NFC
davemgreen Dec 31, 2024
5056a4b
[lldb] Update two API tests to fix x86 Darwin failures (#121380)
jasonmolenda Dec 31, 2024
71d6b0b
[AArch64][GlobalISel] Lower shuffle vector with scalar destinations. …
davemgreen Dec 31, 2024
b06a45c
[VPlan] Add all blocks to outer loop if present during ::execute (NFCI).
fhahn Dec 31, 2024
7d6ec3b
[LV] Add more tests for vector loop removal.
fhahn Dec 31, 2024
3026eca
[LV] Also verify loops in vector loop removal tests.
fhahn Dec 31, 2024
1d0f40b
[libc] fix generic __stack_check_fail for fuchsia (#121401)
RossComputerGuy Jan 1, 2025
2feffec
[ConstantRange] Estimate tighter lower (upper) bounds for masked bina…
zsrkmyn Jan 1, 2025
f1fa292
[AMDGPU] Pre-commit tests for "lshr + mad" fold (#119509)
vikramRH Jan 1, 2025
2838066
[GlobalIsel] Add combine for select with constants (#121088)
vg0204 Jan 1, 2025
eafbab6
[EntryExitInstrumenter][AArch64][RISCV][LoongArch] Pass `__builtin_re…
dtcxzyw Jan 1, 2025
a29bd8c
[CodeGen][NewPM] Record parameterized machine pass names to PIC (#120…
optimisan Jan 1, 2025
1623c43
[Clang] Resolved type of expression indexing into pack of values of a…
TilakChad Jan 1, 2025
ca2ab74
[clang] Canonicalize absolute paths in dependency file (#117458)
xtexx Jan 1, 2025
50054ba
[CodeGen] LiveRegMatrix: Use allocator through a unique_ptr (#120556)
optimisan Jan 1, 2025
ed572f2
Reapply "[libc++] Explicitly convert to masks in SIMD code (#107983)"…
vitalybuka Jan 1, 2025
fac6be6
[mlir] Prepend include directories before LLVM includes (#121223)
mgorny Jan 1, 2025
6d3d952
[XRay][account] add account test for nonempty exit mismatch (#93564)
tomershafir Jan 1, 2025
2a90efd
[NFC][ConstraintElimination] Optimize code styles (#121422)
zsrkmyn Jan 1, 2025
1135d36
[AIX] [lit] Fix shtest-format.py to account for behaviour on AIX (#12…
madanial0 Jan 1, 2025
8435225
[LLD][COFF] Move addFile implementation to LinkerDriver (NFC) (#121342)
cjacek Jan 1, 2025
6840521
Revert "[RISCV][CG]Use processShuffleMasks for per-register shuffles"
preames Jan 1, 2025
0cbe28d
[gn] port 28ae2ff2a44c
nico Jan 1, 2025
bd154e8
Reapply "[Driver][OHOS] Fix lld link issue for OHOS (#118192)" (#120159)
phuang Jan 1, 2025
418dedc
[VPlan] Remove redundant setting of insert point in ::executePlan (NFC).
fhahn Jan 1, 2025
c7ebe4f
[VPlan] Replace VPBBs with VPIRBBs during skeleton creation (NFC).
fhahn Jan 1, 2025
cd23949
[clang-format] Support globstar in .clang-format-ignore (#121404)
owenca Jan 1, 2025
62cd050
[libc] Move hdrgen yaml files into include/ (#121443)
frobtech Jan 2, 2025
508929d
[libc] Make GpuHeaderFile a subclass (#121445)
frobtech Jan 2, 2025
1a0d0ae
[clang-format] Add `VariableTemplates` option (#121318)
owenca Jan 2, 2025
23ec9ee
[X86][AVX10.2] Lower fmininum/fmaximum to VMINMAX* (#121373)
phoebewang Jan 2, 2025
0965515
"Reapply "[llvm-jitlink] Use concurrent linking by default." with mor…
lhames Jan 2, 2025
bc87a53
[clangd] Remove clangd's HasValue GMock matcher (#121309)
HighCommander4 Jan 2, 2025
0c68155
[llvm-jitlink] Fix llvm-jitlink for LLVM_ENABLE_THREADS=Off.
lhames Jan 2, 2025
641a786
[AArch64] Add codegen shuffle-select test. NFC
davemgreen Jan 2, 2025
45e874e
[clang][bytecode] Check for memcpy/memmove dummy pointers earlier (#1…
tbaederr Jan 2, 2025
a3744f0
[clang][AArch64] Remove references to vector size in SVE immediate ra…
SpencerAbson Dec 31, 2024
d5c8af4
[clang][bytecode] Consider start index when copying composite array (…
tbaederr Jan 2, 2025
34097c0
[clang][bytecode] Consider unknown-size arrays in memcpy/memcmp (#121…
tbaederr Jan 2, 2025
4c5c5e2
[JITLink][LoongArch] Add R_LARCH_{B16,B21} relocations support (#121096)
zhaoqi5 Jan 2, 2025
3ddc9f0
[AArch64] Additional shuffle subvector-extract cost tests. NFC
davemgreen Jan 2, 2025
460e7d5
[flang][debug] Correct pointer size. (#120781)
abidh Jan 2, 2025
328ff04
[flang][NFC] Replace dyn_cast_or_null with dyn_cast_if_present. (#120…
abidh Jan 2, 2025
450c6b0
[MLIR][SCFToEmitC] Convert types while converting from SCF to EmitC (…
josel-amd Jan 2, 2025
df728cf
Revert "[MLIR][SCFToEmitC] Convert types while converting from SCF to…
mgehre-amd Jan 2, 2025
76a4c45
[InstCombine] Fix constant swap case of fcmp + fadd + sel xfrm (#119419)
rajatbajpai Jan 2, 2025
1fa0302
[LLD][COFF] Emit warnings for missing load config on EC targets (#121…
cjacek Jan 2, 2025
207e485
[VPlan] Track VectorPH during skeleton creation. (NFC)
fhahn Jan 2, 2025
67c974b
[lldb][DWARFASTParserClang][NFC] Remove redundant parameter to ParseC…
Michael137 Jan 2, 2025
02b3012
[clang][bytecode] Always return false for invalid bcp results (#121467)
tbaederr Jan 2, 2025
8178e72
[mlir][func] Fix return op example (#121470)
marbre Jan 2, 2025
9cd774d
[X86][NFC] Move "_Int" after "k"/"kz" (#121450)
phoebewang Jan 2, 2025
4b22ef7
[lld/COFF] Fix comment typo to cycle bots
nico Jan 2, 2025
d4bafd8
[AutoBump] Merge with fixes of 09dfc571 (Dec 20)
jorickert Mar 17, 2025
a8d7b4d
[AutoBump] Merge with 4b22ef7d (Jan 02)
jorickert Mar 17, 2025
0d5f156
Merge pull request #497 from Xilinx/bump_to_4b22ef7d
jorickert Apr 14, 2025
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/libcxx-build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
fail-fast: false
matrix:
config: [
'frozen-cxx03-headers',
'generic-cxx03',
'generic-cxx26',
'generic-modules'
Expand Down
9 changes: 0 additions & 9 deletions bolt/docs/CommandLineArgumentReference.md
Original file line number Diff line number Diff line change
Expand Up @@ -931,15 +931,6 @@

Remove redundant Address-Size override prefix

### BOLT options in relocation mode:

- `--align-macro-fusion=<value>`

Fix instruction alignment for macro-fusion (x86 relocation mode)
- `none`: do not insert alignment no-ops for macro-fusion
- `hot`: only insert alignment no-ops on hot execution paths (default)
- `all`: always align instructions to allow macro-fusion

### BOLT instrumentation options:

`llvm-bolt <executable> -instrument [-o outputfile] <instrumented-executable>`
Expand Down
5 changes: 5 additions & 0 deletions bolt/include/bolt/Core/BinaryData.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ class BinaryData {
return Parent && (Parent == BD || Parent->isAncestorOf(BD));
}

void updateSize(uint64_t N) {
if (N > Size)
Size = N;
}

void setIsMoveable(bool Flag) { IsMoveable = Flag; }
void setSection(BinarySection &NewSection);
void setOutputSection(BinarySection &NewSection) {
Expand Down
1 change: 1 addition & 0 deletions bolt/lib/Core/BinaryContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1076,6 +1076,7 @@ MCSymbol *BinaryContext::registerNameAtAddress(StringRef Name, uint64_t Address,
BD = GAI->second;
if (!BD->hasName(Name)) {
GlobalSymbols[Name] = BD;
BD->updateSize(Size);
BD->Symbols.push_back(Symbol);
}
}
Expand Down
59 changes: 59 additions & 0 deletions bolt/lib/Rewrite/LinuxKernelRewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Errc.h"
#include "llvm/Support/ErrorOr.h"
#include <regex>

#define DEBUG_TYPE "bolt-linux"

Expand Down Expand Up @@ -89,6 +91,34 @@ static cl::opt<bool>

} // namespace opts

/// Linux kernel version
struct LKVersion {
LKVersion() {}
LKVersion(unsigned Major, unsigned Minor, unsigned Rev)
: Major(Major), Minor(Minor), Rev(Rev) {}

bool operator<(const LKVersion &Other) const {
return std::make_tuple(Major, Minor, Rev) <
std::make_tuple(Other.Major, Other.Minor, Other.Rev);
}

bool operator>(const LKVersion &Other) const { return Other < *this; }

bool operator<=(const LKVersion &Other) const { return !(*this > Other); }

bool operator>=(const LKVersion &Other) const { return !(*this < Other); }

bool operator==(const LKVersion &Other) const {
return Major == Other.Major && Minor == Other.Minor && Rev == Other.Rev;
}

bool operator!=(const LKVersion &Other) const { return !(*this == Other); }

unsigned Major{0};
unsigned Minor{0};
unsigned Rev{0};
};

/// Linux Kernel supports stack unwinding using ORC (oops rewind capability).
/// ORC state at every IP can be described by the following data structure.
struct ORCState {
Expand Down Expand Up @@ -148,6 +178,8 @@ class AddressExtractor : public DataExtractor {
};

class LinuxKernelRewriter final : public MetadataRewriter {
LKVersion LinuxKernelVersion;

/// Information required for updating metadata referencing an instruction.
struct InstructionFixup {
BinarySection &Section; // Section referencing the instruction.
Expand Down Expand Up @@ -249,6 +281,8 @@ class LinuxKernelRewriter final : public MetadataRewriter {
ErrorOr<BinarySection &> PCIFixupSection = std::errc::bad_address;
static constexpr size_t PCI_FIXUP_ENTRY_SIZE = 16;

Error detectLinuxKernelVersion();

/// Process linux kernel special sections and their relocations.
void processLKSections();

Expand Down Expand Up @@ -314,6 +348,9 @@ class LinuxKernelRewriter final : public MetadataRewriter {
: MetadataRewriter("linux-kernel-rewriter", BC) {}

Error preCFGInitializer() override {
if (Error E = detectLinuxKernelVersion())
return E;

processLKSections();

if (Error E = processSMPLocks())
Expand Down Expand Up @@ -394,6 +431,28 @@ class LinuxKernelRewriter final : public MetadataRewriter {
}
};

Error LinuxKernelRewriter::detectLinuxKernelVersion() {
if (BinaryData *BD = BC.getBinaryDataByName("linux_banner")) {
const BinarySection &Section = BD->getSection();
const std::string S =
Section.getContents().substr(BD->getOffset(), BD->getSize()).str();

const std::regex Re(R"---(Linux version ((\d+)\.(\d+)(\.(\d+))?))---");
std::smatch Match;
if (std::regex_search(S, Match, Re)) {
const unsigned Major = std::stoi(Match[2].str());
const unsigned Minor = std::stoi(Match[3].str());
const unsigned Rev = Match[5].matched ? std::stoi(Match[5].str()) : 0;
LinuxKernelVersion = LKVersion(Major, Minor, Rev);
BC.outs() << "BOLT-INFO: Linux kernel version is " << Match[1].str()
<< "\n";
return Error::success();
}
}
return createStringError(errc::executable_format_error,
"Linux kernel version is unknown");
}

void LinuxKernelRewriter::processLKSections() {
processLKKSymtab();
processLKKSymtab(true);
Expand Down
9 changes: 9 additions & 0 deletions bolt/test/X86/linux-alt-instruction.s
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,15 @@ _start:
.section .orc_unwind_ip
.long .L0 + 2 - .

## Linux kernel version
.rodata
.align 16
.globl linux_banner
.type linux_banner, @object
linux_banner:
.string "Linux version 6.6.61\n"
.size linux_banner, . - linux_banner

## Fake Linux Kernel sections.
.section __ksymtab,"a",@progbits
.section __ksymtab_gpl,"a",@progbits
9 changes: 9 additions & 0 deletions bolt/test/X86/linux-bug-table.s
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ _start:
.long .L1 - . # instruction
.org 2b + 12

## Linux kernel version
.rodata
.align 16
.globl linux_banner
.type linux_banner, @object
linux_banner:
.string "Linux version 6.6.61\n"
.size linux_banner, . - linux_banner

## Fake Linux Kernel sections.
.section __ksymtab,"a",@progbits
.section __ksymtab_gpl,"a",@progbits
9 changes: 9 additions & 0 deletions bolt/test/X86/linux-exceptions.s
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,15 @@ foo:
.long .LF0 - . # fixup
.long 0 # data

## Linux kernel version
.rodata
.align 16
.globl linux_banner
.type linux_banner, @object
linux_banner:
.string "Linux version 6.6.61\n"
.size linux_banner, . - linux_banner

## Fake Linux Kernel sections.
.section __ksymtab,"a",@progbits
.section __ksymtab_gpl,"a",@progbits
9 changes: 9 additions & 0 deletions bolt/test/X86/linux-orc.s
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,15 @@ bar:
.section .orc_unwind_ip
.long .L4 - .

## Linux kernel version
.rodata
.align 16
.globl linux_banner
.type linux_banner, @object
linux_banner:
.string "Linux version 6.6.61\n"
.size linux_banner, . - linux_banner

## Fake Linux Kernel sections.
.section __ksymtab,"a",@progbits
.section __ksymtab_gpl,"a",@progbits
9 changes: 9 additions & 0 deletions bolt/test/X86/linux-parainstructions.s
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ _start:
.byte 1 # type
.byte 7 # length

## Linux kernel version
.rodata
.align 16
.globl linux_banner
.type linux_banner, @object
linux_banner:
.string "Linux version 6.6.61\n"
.size linux_banner, . - linux_banner

## Fake Linux Kernel sections.
.section __ksymtab,"a",@progbits
.section __ksymtab_gpl,"a",@progbits
9 changes: 9 additions & 0 deletions bolt/test/X86/linux-pci-fixup.s
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ _start:
.long 0x0 # class shift
.long .L0 - . # fixup

## Linux kernel version
.rodata
.align 16
.globl linux_banner
.type linux_banner, @object
linux_banner:
.string "Linux version 6.6.61\n"
.size linux_banner, . - linux_banner

## Fake Linux Kernel sections.
.section __ksymtab,"a",@progbits
.section __ksymtab_gpl,"a",@progbits
9 changes: 9 additions & 0 deletions bolt/test/X86/linux-smp-locks.s
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ _start:
.long .L0 - .
.long .L1 - .

## Linux kernel version
.rodata
.align 16
.globl linux_banner
.type linux_banner, @object
linux_banner:
.string "Linux version 6.6.61\n"
.size linux_banner, . - linux_banner

## Fake Linux Kernel sections.
.section __ksymtab,"a",@progbits
.section __ksymtab_gpl,"a",@progbits
9 changes: 9 additions & 0 deletions bolt/test/X86/linux-static-calls.s
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ __start_static_call_sites:
.type __stop_static_call_sites, %object
__stop_static_call_sites:

## Linux kernel version
.rodata
.align 16
.globl linux_banner
.type linux_banner, @object
linux_banner:
.string "Linux version 6.6.61\n"
.size linux_banner, . - linux_banner

## Fake Linux Kernel sections.
.section __ksymtab,"a",@progbits
.section __ksymtab_gpl,"a",@progbits
9 changes: 9 additions & 0 deletions bolt/test/X86/linux-static-keys.s
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ __stop___jump_table:
fake_static_key:
.quad 0

## Linux kernel version
.rodata
.align 16
.globl linux_banner
.type linux_banner, @object
linux_banner:
.string "Linux version 6.6.61\n"
.size linux_banner, . - linux_banner

## Fake Linux Kernel sections.
.section __ksymtab,"a",@progbits
.section __ksymtab_gpl,"a",@progbits
53 changes: 53 additions & 0 deletions bolt/test/X86/linux-version.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# REQUIRES: system-linux

## Check that BOLT correctly detects the Linux kernel version

# RUN: %clang -DA -target x86_64-unknown-unknown \
# RUN: %cflags -nostdlib %s -o %t.exe \
# RUN: -Wl,--image-base=0xffffffff80000000,--no-dynamic-linker,--no-eh-frame-hdr
# RUN: llvm-bolt %t.exe -o %t.out 2>&1 | FileCheck --check-prefix=CHECK-A %s

# RUN: %clang -DB -target x86_64-unknown-unknown \
# RUN: %cflags -nostdlib %s -o %t.exe \
# RUN: -Wl,--image-base=0xffffffff80000000,--no-dynamic-linker,--no-eh-frame-hdr
# RUN: llvm-bolt %t.exe -o %t.out 2>&1 | FileCheck --check-prefix=CHECK-B %s

# RUN: %clang -DC -target x86_64-unknown-unknown \
# RUN: %cflags -nostdlib %s -o %t.exe \
# RUN: -Wl,--image-base=0xffffffff80000000,--no-dynamic-linker,--no-eh-frame-hdr
# RUN: llvm-bolt %t.exe -o %t.out 2>&1 | FileCheck --check-prefix=CHECK-C %s

.text
.globl foo
.type foo, %function
foo:
ret
.size foo, .-foo

## Linux kernel version
.rodata
.align 16
.globl linux_banner
.type linux_banner, @object
linux_banner:

#ifdef A
.string "Linux version 6.6.61\n"
#endif
# CHECK-A: BOLT-INFO: Linux kernel version is 6.6.61

#ifdef B
.string "Linux version 6.6.50-rc4\n"
#endif
# CHECK-B: BOLT-INFO: Linux kernel version is 6.6.50

#ifdef C
.string "Linux version 6.6\n"
#endif
# CHECK-C: BOLT-INFO: Linux kernel version is 6.6

.size linux_banner, . - linux_banner

## Fake Linux Kernel sections.
.section __ksymtab,"a",@progbits
.section __ksymtab_gpl,"a",@progbits
12 changes: 5 additions & 7 deletions clang-tools-extra/clang-doc/Serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -696,13 +696,11 @@ emitInfo(const RecordDecl *D, const FullComment *FC, int LineNumber,

// What this is a specialization of.
auto SpecOf = CTSD->getSpecializedTemplateOrPartial();
if (SpecOf.is<ClassTemplateDecl *>()) {
Specialization.SpecializationOf =
getUSRForDecl(SpecOf.get<ClassTemplateDecl *>());
} else if (SpecOf.is<ClassTemplatePartialSpecializationDecl *>()) {
Specialization.SpecializationOf =
getUSRForDecl(SpecOf.get<ClassTemplatePartialSpecializationDecl *>());
}
if (auto *CTD = dyn_cast<ClassTemplateDecl *>(SpecOf))
Specialization.SpecializationOf = getUSRForDecl(CTD);
else if (auto *CTPSD =
dyn_cast<ClassTemplatePartialSpecializationDecl *>(SpecOf))
Specialization.SpecializationOf = getUSRForDecl(CTPSD);

// Parameters to the specilization. For partial specializations, get the
// parameters "as written" from the ClassTemplatePartialSpecializationDecl
Expand Down
8 changes: 4 additions & 4 deletions clang-tools-extra/clang-tidy/ClangTidy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -646,9 +646,9 @@ void exportReplacements(const llvm::StringRef MainFilePath,
YAML << TUD;
}

NamesAndOptions
ChecksAndOptions
getAllChecksAndOptions(bool AllowEnablingAnalyzerAlphaCheckers) {
NamesAndOptions Result;
ChecksAndOptions Result;
ClangTidyOptions Opts;
Opts.Checks = "*";
clang::tidy::ClangTidyContext Context(
Expand All @@ -661,7 +661,7 @@ getAllChecksAndOptions(bool AllowEnablingAnalyzerAlphaCheckers) {
}

for (const auto &Factory : Factories)
Result.Names.insert(Factory.getKey());
Result.Checks.insert(Factory.getKey());

#if CLANG_TIDY_ENABLE_STATIC_ANALYZER
SmallString<64> Buffer(AnalyzerCheckNamePrefix);
Expand All @@ -670,7 +670,7 @@ getAllChecksAndOptions(bool AllowEnablingAnalyzerAlphaCheckers) {
AllowEnablingAnalyzerAlphaCheckers)) {
Buffer.truncate(DefSize);
Buffer.append(AnalyzerCheck);
Result.Names.insert(Buffer);
Result.Checks.insert(Buffer);
}
for (std::string OptionName : {
#define GET_CHECKER_OPTIONS
Expand Down
Loading