Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
660 commits
Select commit Hold shift + click to select a range
c48d818
[RISCV] Add SiFiveP600Model SchedModel that is used by sifive-p670 (#…
michaelmaitland Mar 18, 2024
e5f2ed3
[RISCV] Add IMinMax sched resources to P600SchedModel
michaelmaitland Mar 18, 2024
85d7fef
[flang][NFC] Fix include style (#85655)
clementval Mar 18, 2024
457f762
[cmake] Disable FatLTO in clang build for Fuchsia (#85677)
ilovepi Mar 18, 2024
1261c02
[LICM] Drop nsw/nuw flags on affected instructions in hoistMulAddAsso…
topperc Mar 18, 2024
7d55b91
[mlir][nvgpu] Support strided memref when creating TMA descriptor (#8…
grypp Mar 18, 2024
6800f42
[lld] Fix warnings
kazutakahirata Mar 18, 2024
20f5bcf
[OpenMP] Add OpenMP extension API to dump mapping tables (#85381)
nicebert Mar 18, 2024
8578b6e
[VPlan] Store VPlan directly in VPRecipeBuilder (NFCI).
fhahn Mar 18, 2024
9a5c0d6
Revert "[RemoveDIs] Enable direct-to-bitcode writing by default"
OCHyams Mar 18, 2024
cf835b9
[libc] Remove fileno from GPU entrypoints
jhuber6 Mar 18, 2024
9936ac3
[docs] Prefer --gcc-install-dir= to deprecated GCC_INSTALL_PREFIX (#8…
MaskRay Mar 18, 2024
ff63d62
[CodeExtractor] Terminate callsite blocks to new `noreturn` functions…
goldsteinn Mar 10, 2024
6984ba7
[InstSimply] Add tests for simplify `(fmul -x, +/-0)`; NFC
goldsteinn Mar 15, 2024
5265be1
[InstSimply] Simplify `(fmul -x, +/-0)` -> `-/+0`
goldsteinn Mar 15, 2024
18da51b
[CodeGen] More uses of LocationSize::beforeOrAfterPointer().
davemgreen Mar 18, 2024
ea72c08
[ELF] Change getSymbolIndex to use const reference. NFC
MaskRay Mar 18, 2024
0007d7e
[flang] Reduce recursion in common::visit (#85483)
klausler Mar 18, 2024
606a997
[flang] Fix SCALE() folding with big scale factors (#85576)
klausler Mar 18, 2024
7eb5d4f
[flang][runtime] Round hex REAL input correctly with excess digits (#…
klausler Mar 18, 2024
53e8d50
[flang] Catch inappropriate attributes for PARAMETERs (#85588)
klausler Mar 18, 2024
d0d9839
[flang] Fix crash on erroneous program (#85615) (#85659)
klausler Mar 18, 2024
5d56b34
[libc] Remove direct math.h includes (#85324)
michaelrj-google Mar 18, 2024
8b8e1ad
[SystemZ] Don't lower ATOMIC_LOAD/STORE to LOAD/STORE (#75879)
JonPsson1 Mar 18, 2024
65d444b
[lldb][nfc] Factor out repeated code in DWIM Print (#85669)
felipepiovezan Mar 18, 2024
7459f72
Add missing includes (to fix the modules build)
adrian-prantl Mar 18, 2024
228757f
[ELF] Improve --pack-dyn-relocs tests for Android and RELR
MaskRay Mar 18, 2024
e0b19e9
[MLIR] Remove unused implicit capture in the lambda (NFC)
joker-eph Mar 18, 2024
4841858
[BOLT][DWARF] Add support to debug_names for DW_AT_abstract_origin/DW…
ayermolo Mar 18, 2024
7ef1a59
remove incorrect DCHECK
fmayer Mar 18, 2024
715a931
[libc] Added tablegen definition for fileno (#85682)
Sh0g0-1758 Mar 18, 2024
f4e90e3
[flang][runtime] Get rid of warnings in F18 runtime CUDA build. (#85488)
vzakhari Mar 18, 2024
ba2dc29
[compiler-rt] Don't check COMPILER_RT_STANDALONE_BUILD for test deps
arichardson Mar 18, 2024
2e6b18b
[mlir][sparse] add example to new operation doc, and roundtrip test (…
aartbik Mar 19, 2024
42c38b1
[mlir][sparse] deallocate temporary transposed tensor (#85720)
aartbik Mar 19, 2024
8a6a0f1
[flang][cuda] Add proper TODO for cuda fortran assignment (#85705)
clementval Mar 19, 2024
6ae77ec
Revert "[lld] Fix warnings"
Mar 19, 2024
5373daa
Revert "[lld-macho] Implement ObjC category merging (-objc_category_m…
Mar 19, 2024
d66121d
[WebAssembly] Change the default linker for `wasm32-wasip2` (#84569)
alexcrichton Mar 19, 2024
a629621
[libc][math] Improve atanf performance. (#85463)
lntue Mar 19, 2024
a5f576e
[flang] Diagnose calling impure final procedure due to finalization i…
kkwli Mar 19, 2024
aec50cd
[NFC] Disable llvm-objdump test on AIX
jakeegan Mar 19, 2024
f6a2a55
[flang][cuda] Handle lowering of stars in cuf kernel launch parameter…
clementval Mar 19, 2024
a2527e0
[clang-format] Put erroneously removed braces back into a unit test
owenca Mar 19, 2024
bda0514
[libc] Remove constexpr from atan_eval and asin_eval. (#85725)
lntue Mar 19, 2024
e04dd68
[GlobalMerge] Use vector::assign in place of fill+resize. NFC (#85723)
topperc Mar 19, 2024
924a1dc
[Dwarf] Support `__ptrauth` qualifier in metadata nodes (#83862)
kovdan01 Mar 19, 2024
ff60a84
Convert copy to r-value reference. (#85606)
MalaySanghi Mar 19, 2024
b1752dd
[mlir][sparse] Fix memory leaks (part 4) (#85729)
matthias-springer Mar 19, 2024
cb2ca23
[llvm-shlib] Fix the version naming style of libLLVM for Windows (#85…
mstorsjo Mar 19, 2024
f0a5e50
[llvm][NVPTX] Add missing feature guard.
akuegel Mar 19, 2024
110f630
[KnownBits] Remove useless lambdas from unit test
jayfoad Mar 19, 2024
eb5623d
[MacroFusion] Complete tests and fix indents
wangpc-pp Mar 19, 2024
59ff3ad
[clang][dataflow][NFC] Rename `ControlFlowContext` to `AdornedCFG`. (…
martinboehme Mar 19, 2024
eac6844
[gn build] Port 59ff3adcc131
llvmgnsyncbot Mar 19, 2024
b788e46
[clang][dataflow] Model assignment to derived class from base. (#85064)
martinboehme Mar 19, 2024
5e486d1
[TableGen][NFC] Move MacroFusion classes to TargetMacroFusion.td
wangpc-pp Mar 19, 2024
703920d
[DAG] Matched FixedWidth pattern for ISD::AVGFLOORU (#84903)
Sh0g0-1758 Mar 19, 2024
6aaf9c8
[clang][Interp][NFC] Sanitize collectBaseOffset parameters
tbaederr Mar 19, 2024
a747e86
[InstCombine] Fold `fpto{s|u}i non-norm` to zero (#85569)
dtcxzyw Mar 19, 2024
1a6953a
ValueTracking: Fix bug with fcmp false to nan constant
arsenm Mar 19, 2024
0d40de7
[clang][Interp][NFC] Add InterpFrame::dump()
tbaederr Mar 19, 2024
29849d5
[OpenMP] Fix ompx_dump_mapping_tables lit test (#85754)
nicebert Mar 19, 2024
db60491
[mlir][bufferization] Check OpFilter before casting to BufferizableOp…
d0k Mar 19, 2024
5e379b6
[AMDGPU][PromoteAlloca] Drop bitcast handling (#85747)
Pierre-vh Mar 19, 2024
a4b2363
[mlir] Don't assert when simplifying certain `AffineExpr`s (#78855)
ubfx Mar 19, 2024
e85bfa6
[AArch64] Add support for Cortex-A520AE and Cortex-A720AE CPUs (#85401)
jthackray Mar 19, 2024
29cde04
[clang-format] Fixed the warning in building document for TableGenBre…
hnakamura5 Mar 19, 2024
6bc6e1a
[tsan][test] Switch setitimer(ITIMER_REAL, ...) to setitimer(ITIMER_V…
serge-sans-paille Mar 19, 2024
d9c31ee
Fix overflow flag for i128 USUBO
uweigand Mar 19, 2024
8eee236
[flang] Lower sequence associated argument passed by descriptor (#85696)
jeanPerier Mar 19, 2024
9f6b663
[Flang][OpenMP] Complete and organize directive sets (#85219)
skatrak Mar 19, 2024
5773061
[mlir][bufferization] Fix OpFilter not to crash on unloaded dialects
d0k Mar 19, 2024
d1c3795
Revert "Fix overflow flag for i128 USUBO"
uweigand Mar 19, 2024
d0829fb
[flang] Enable polymorphic lowering by default (#83285)
jeanPerier Mar 19, 2024
d671ebe
[Flang][Lower] NFC: Replace SmallVector with more suitable alternativ…
skatrak Mar 19, 2024
aeb4dd1
Fix macro expansion for AMDHSA_BITS_SET (#85661)
JanekvO Mar 19, 2024
953c13b
[AMDGPU][PromoteAlloca] Whole-function alloca promotion to vector (#8…
Pierre-vh Mar 19, 2024
ccf042e
[mlir][complex] Make CPU runner test platform agnostic (#85607)
Lewuathe Mar 19, 2024
c9bdeab
[tsan][test] Switch setitimer(ITIMER_REAL, ...) to setitimer(ITIMER_V…
serge-sans-paille Mar 19, 2024
00ca809
[ConstantFold] Fix comparison between special pointer constants
nikic Mar 19, 2024
7edfbf2
[lldb][DataFormatter] Fix format specifiers in LibCxxSliceArray summa…
Michael137 Mar 19, 2024
078aaf1
[LoongArch] Add diagnostics for PseudoLI_D instruction (#85742)
wangleiat Mar 19, 2024
2f2f16f
[Flang][OpenMP][Lower] NFC: Move clause processing helpers into the C…
skatrak Mar 19, 2024
d712c5e
[clang][dataflow] Make optional checker work for types derived from o…
martinboehme Mar 19, 2024
4a6bc9f
[MacroFusion] Add SingleFusion that accepts a single instruction pair
wangpc-pp Mar 19, 2024
4f909da
[RemoveDIs] Add flag to control loading into new debug mode from bitc…
OCHyams Mar 19, 2024
d4fb50d
[bazel] Split TransformDialect into a header-only lib in prep for PR8…
d0k Mar 19, 2024
08701e3
[AMDGPU][NFC] Test clean up. (#85775)
Mar 19, 2024
afec08e
[clang] Add `intrin0.h` header to mimic `intrin0.h` used by MSVC STL …
MaxEW707 Mar 19, 2024
4e612a6
[gn build] Port afec08ef9f10
llvmgnsyncbot Mar 19, 2024
97fc16e
[DAG] visitEXTRACT_VECTOR_ELT - share the same SDLoc instead of recre…
RKSimon Mar 19, 2024
9f433bf
[X86] Add PAVG(0,x) test coverage for PR #85581
RKSimon Mar 19, 2024
9a3ece2
[mlir][sparse] Fix the calling convention of __truncsfbf2 on windows x64
d0k Mar 19, 2024
ef520ca
Revert "[RISCV] Recursively split concat_vector into smaller LMULs (#…
lukel97 Mar 19, 2024
92764c9
[DAG] Matched Fixedwidth Pattern for ISD::AVGCEILU (#85031)
Sh0g0-1758 Mar 19, 2024
930f21c
[bazel] Trim TransformDialectInterfaces to the bare minimum
d0k Mar 19, 2024
e9da5f0
[OpenMP] Fix target data region codegen being omitted for device pass…
TIFitis Mar 19, 2024
335f365
Reapply: [SystemZ] Fix overflow flag for i128 USUBO
uweigand Mar 19, 2024
175ad66
[analyzer] Mention possibility of underflow in array overflow errors …
NagyDonat Mar 19, 2024
4b10d1f
[compiler-rt] Fixing UB on Windows for trampoline allocations (#85639)
zacklj89 Mar 19, 2024
9f80444
Revert "[Flang][OpenMP][Lower] NFC: Move clause processing helpers in…
skatrak Mar 19, 2024
94c6ce1
[SLPVectorizer] Use IRBuilderBase where possible (NFC)
nikic Mar 19, 2024
835c1b5
[RemoveDIs] Auto-upgrade debug intrinsics to DbgRecords (default fals…
OCHyams Mar 19, 2024
5b59b3a
[NFC][RemoveDIs] Switch constant-hoisting to insert with iterators (#…
jmorse Mar 19, 2024
c1328db
[clang][dataflow] Refactor processing of terminator element (#84499)
ymand Mar 19, 2024
d93363a
workflows: Fix baseline version for llvm abi checks (#85166)
tstellar Mar 19, 2024
ef395a4
[AArch64] Add soft-float ABI (#84146)
ostannard Mar 19, 2024
4aec143
[bazel] Make grab bag //libc:internal_includes textual, some of these…
d0k Mar 19, 2024
7ef433f
[NFC][RemoveDIs] Switch ConstantExpr::getAsInstruction to not insert …
jmorse Mar 19, 2024
b4b7d98
[flang] Fix cuda-option test on Darwin (#85687)
luporl Mar 19, 2024
db4170a
Revert "[flang] Fix cuda-option test on Darwin (#85687)"
SLTozer Mar 19, 2024
885f93d
Reapply "[flang] Fix cuda-option test on Darwin (#85687)"
SLTozer Mar 19, 2024
ab851f7
Revert "[NFC][RemoveDIs] Switch ConstantExpr::getAsInstruction to not…
SLTozer Mar 19, 2024
b59c2a0
[llvm-objdump][macho] Fix relative method list dumping for little end…
alx32 Mar 19, 2024
0e76818
[ValueTracking] Test isKnownNonZero() range metadata with vector (NFC)
nikic Mar 19, 2024
6872a64
[ValueTracking] Handle vector range metadata in isKnownNonZero()
nikic Mar 19, 2024
6503b01
[clang-cl] Fix value of __FUNCTION__ in MSVC mode. (#84014)
zahiraam Mar 19, 2024
d1e2305
[ValueTracking] Fix release build
nikic Mar 19, 2024
a1fb514
[libc] Prevent constant propagation for atanf(+-Inf) in gcc. (#85733)
lntue Mar 19, 2024
2cc75ae
[ValueTracking] Move MD_range handling to isKnownNonZeroFromOperator()
nikic Mar 19, 2024
31eaf86
[SLP]Improve minbitwidth analysis.
alexey-bataev Mar 8, 2024
43a2ec4
[dsymutil] Remove support for obfuscated bitcode (#85713)
JDevlieghere Mar 19, 2024
66125ad
[X86] Add test coverage for vector avgceils/avgceilu/avgfloors/avgflo…
RKSimon Mar 19, 2024
c20596c
[NFC] [hwasan] also be more consistent when getting pointer types (#8…
fmayer Mar 19, 2024
25bb743
Trim trailing whitespaces in MCInstrAnalysis.h. NFC. (#85805)
rampitec Mar 19, 2024
9a96fb4
Reapply "[NFC][RemoveDIs] Switch ConstantExpr::getAsInstruction to no…
SLTozer Mar 19, 2024
8819f87
[MLIR][NVVM] Add barrier.arrive (#85412)
grypp Mar 19, 2024
a40becd
[bazel][libc] Add more mess
d0k Mar 19, 2024
0081ec1
[VectorCombine] Add a mask for SK_Broadcast shuffle costing (#85808)
preames Mar 19, 2024
081a66f
[DXIL] implement dot intrinsic lowering for integers (#85662)
farzonl Mar 19, 2024
252e255
[MLIR][LLVM][SROA] Avoid splitting dynamically indexed allocas (#85758)
Dinistro Mar 19, 2024
c63a291
[libc][cpp] reverse_iterator support (#85702)
nickdesaulniers Mar 19, 2024
b9d83ef
[NFC][RemoveDIs] Use iterators for insertion at various call-sites (#…
jmorse Mar 19, 2024
e59f120
[RISCV] Add test for strided load combine regression. NFC
lukel97 Mar 19, 2024
24f22b3
[llvm-readelf] Print a blank line for the first hex/string dump
MaskRay Mar 19, 2024
09eb9f1
[InstCombine] Fix for folding `select` into floating point binary ope…
michele-scandale Mar 19, 2024
9ed1aa3
Fixing up an edit missed in #84014; NFC
AaronBallman Mar 19, 2024
ab76052
AMDGPU: Treat SWMMAC the same as MFMA and other WMMA for sched_barrie…
changpeng Mar 19, 2024
fe84369
[mlir][ArmNeon] Implements unrolling patterns for LowerContractionToS…
KoolJBlack Mar 19, 2024
a7eaae4
[Flang] Fix to the module procedure interface block ignoring implicit…
harishch4 Mar 19, 2024
c7de4a3
[OpenMP] Enable the affinity tests on FreeBSD, NetBSD and DragonFly (…
brad0 Mar 19, 2024
b9a41b9
[NFC][OpenMP] Add test checking clang offload chunking policy (#83261)
DominikAdamski Mar 19, 2024
5f38436
[Driver] -fsanitize=undefined: don't expand to signed-integer-overflo…
MaskRay Mar 19, 2024
4bade55
[test] Fix aarch64-tlsdesc-zrel.s
MaskRay Mar 19, 2024
3176c15
Revert "[dsymutil] Remove support for obfuscated bitcode" (#85826)
Mar 19, 2024
71b69dd
[WebAssembly] Pass ArrayRef by value (NFC) (#85732)
aheejin Mar 19, 2024
e61922d
Expose TimeTraceProfiler for Async Events (#83778)
atetubou Mar 19, 2024
1d296ec
[libc][bazel] fix missing iterator inclusion (#85840)
michaelrj-google Mar 19, 2024
a0394f1
[Headers][X86] Add rounding and exception notes to conversions (#83447)
pogo59 Mar 19, 2024
3ff67d8
[HLSL] Fix for build break introduced by #85662 (#85839)
farzonl Mar 19, 2024
0a40f5d
[clang-tidy] Add support for lambdas in cppcoreguidelines-owning-memo…
PiotrZSL Mar 19, 2024
28c1279
[clang-tidy] Add bugprone-suspicious-stringview-data-usage check (#83…
PiotrZSL Mar 19, 2024
a6e231b
Revert "[Float2Int] Resolve FIXME: Pick the smallest legal type that …
alexfh Mar 19, 2024
c2c1e6e
[VPlan] Replace disjoint or with add instead of dropping disjoint. (#…
fhahn Mar 19, 2024
e4f9175
[BOLT] Update DIEStreamer (#85818)
kazutakahirata Mar 19, 2024
da118c9
[SLP]Do extra analysis int minbitwidth if some checks return false.
alexey-bataev Mar 14, 2024
0b59af4
[InstCombine] Clear sign-bit of the constant magnitude in copysign (#…
dtcxzyw Mar 19, 2024
32a6e9d
[dsymutil] Remove support for obfuscated bitcode (#85713)
JDevlieghere Mar 19, 2024
8af3f74
Revert "[BOLT] Update DIEStreamer (#85818)"
kazutakahirata Mar 19, 2024
4b61d5b
[ArmNeonTransforms][Bazel] Added appropriate deps for BUILD.bazel fil…
bviyer Mar 19, 2024
3dc1b50
[libc] Make 'printf' converter output "(null)" instead of "null" (#85…
jhuber6 Mar 19, 2024
4128340
[BOLT] Update DWARFRewriter for 32a6e9d66945
JDevlieghere Mar 19, 2024
5cccc40
Revert "[OpenMP] Disable flaky barrier fence test (#85093)"
jhuber6 Mar 19, 2024
85b6af1
[libc][math][c23] Add linux/* entrypoints for nextup* and nextdown* (…
overmighty Mar 19, 2024
4549f89
[gn build] Port 28c1279db354
llvmgnsyncbot Mar 19, 2024
ac7a456
[gn build] Port 32a6e9d66945
llvmgnsyncbot Mar 19, 2024
3cd9dcc
[cmake] Disable using FatLTO on Apple platforms (#85708)
ilovepi Mar 19, 2024
ffd08c7
[RemoveDIs][NFC] Rename DPValue -> DbgVariableRecord (#85216)
SLTozer Mar 19, 2024
cd34860
[lld-macho] Implement ObjC category merging (-objc_category_merging) …
alx32 Mar 19, 2024
4242d15
[flang][cuda] Update syntax of fir.cuda_kernel_launch to match fir.ca…
clementval Mar 19, 2024
12a6546
Add support for sysroot-relative system header search paths (#82084)
etcwilde Mar 19, 2024
2377b97
[DAG] SimplifyShift - shift i1/vXi1 X, Y --> X (any non-zero shift am…
RKSimon Mar 19, 2024
8cbb8ac
[mlir][spirv] Add folding for SelectOp (#85430)
inbelic Mar 19, 2024
5cfcd9b
[cmake] Reenable FatLTO for Fuchsia toolchains
ilovepi Mar 18, 2024
e3030f1
[ARM] FIX: Fix parsing `pkhtb` with a condition code
AlfieRichardsArm Mar 19, 2024
31f4b32
[Hexagon] ELF attributes for Hexagon (#85359)
quic-areg Mar 19, 2024
73302d3
[gn build] Port 31f4b329c823
llvmgnsyncbot Mar 19, 2024
1678785
[libc][bazel] unglob libc macros (#85831)
michaelrj-google Mar 19, 2024
23047df
[InstCombine] Add more tests for simplifying `(icmp (and/or x, Mask),…
goldsteinn Mar 13, 2024
b60cf84
[InstCombine] Add more cases for simplifying `(icmp (and/or x, Mask),…
goldsteinn Mar 13, 2024
ebd1379
[DAGCombiner] Add tests for simplifying `{si|ui}tofp`; NFC
goldsteinn Mar 15, 2024
353fbeb
[DAGCombiner] Simplifying `{si|ui}tofp` when only signbit is needed
goldsteinn Mar 15, 2024
888e284
[NVPTX] Use PTX prmt for llvm.bswap (#85545)
AlexMaclean Mar 19, 2024
35bf8e7
[Support] Add decodeULEB128AndInc/decodeSLEB128AndInc
MaskRay Mar 19, 2024
e28d3e9
[NFC] [hwasan] factor get[PC|FP] out of HWASan class (#84404)
fmayer Mar 14, 2024
b5d02bb
[OpenMP] Increment kernel args version, used by runtime for detecting…
dhruvachak Mar 19, 2024
1bab88d
[ELF] Move some operations from link to setConfigs. NFC
MaskRay Mar 19, 2024
12a2bc3
[CSSPGO] Fix the issue of preinliner import function list (#85719)
wlei-llvm Mar 19, 2024
f2bb6fb
Add Maksim and me to office hours (#85824)
j2kun Mar 20, 2024
4bf06be
[GISEL][RISCV] IRTranslator for scalable vector load (#80006)
jiahanxie353 Mar 20, 2024
36146d2
[ELF] Make LinkerDrive::link a template. NFC
MaskRay Mar 20, 2024
595280a
Revert "[llvm] Include LLVM_REPOSITORY and LLVM_REVISION in tool vers…
JDevlieghere Mar 20, 2024
22ac5f7
[MLIR] Add missing MLIRFuncDialect dep to MLIRMemRefToLLVM (#84546)
RoboTux Mar 20, 2024
f5f3d5d
[Clang][Sema] Fix a crash in lambda instantiation (#85565)
jcsxky Mar 20, 2024
e2fa90f
[lldb/API] Add missing `eBroadcastBitSymbolsChanged` to SBTarget (NFC…
medismailben Mar 20, 2024
a289f66
Revert "[lldb] Store SupportFile in FileEntry (NFC)" (#85885)
JDevlieghere Mar 20, 2024
6f31cf5
Revert "[clang-format][NFC] Eliminate the IsCpp parameter in all func…
owenca Mar 20, 2024
456c239
[ELF] Set ctx.internalFile for PPC64 _savegpr[01]_{14..31} and _restg…
MaskRay Mar 20, 2024
09db84c
[ELF] Remove unneeded null check in getRelocatedSection. NFC
MaskRay Mar 20, 2024
de159ae
[NVPTX][DebugInfo] avoid emitting extra .loc directives (#84584)
AlexMaclean Mar 20, 2024
936519f
[InstallAPI] Verify that declarations in headers map to exports found…
cyndyishida Mar 20, 2024
0412840
[lld] Fix -Wstring-conversion in ObjC.cpp (NFC)
DamonFool Mar 20, 2024
db7d0ed
Revert "[lldb] Update SymbolFilePDBTests for LineEntry change (d5a277…
JDevlieghere Mar 20, 2024
e7175b0
[HIP] do not link runtime for -r (#85675)
yxsamliu Mar 20, 2024
92b2b49
[lldb] Outline Doxygen comments in LineEntry.h (NFC)
JDevlieghere Mar 15, 2024
a292344
[RISCV] Refactor code to reduce nesting and remove repeated calls to …
topperc Mar 20, 2024
f375aff
[RISCV] Add the CSR names from Smrnmi. (#83370)
topperc Mar 20, 2024
b2082a9
Revert "[clang-format][NFC] Delete 100+ redundant #include lines in .…
owenca Mar 20, 2024
3eb9ff3
Turn 'counted_by' into a type attribute and parse it into 'CountAttri…
rapidsna Mar 20, 2024
4a026b5
[AMDGCN] Use ZExt when handling indices in insertment element (#85718)
DataCorrupted Mar 20, 2024
c242302
[MLIR][LLVM] DI Recursive Type fix for recursion via scope of composi…
zyx-billy Mar 20, 2024
6960ace
Revert "[InstCombine] Canonicalize `(sitofp x)` -> `(uitofp x)` if `x…
goldsteinn Mar 20, 2024
d7e28cd
MIPS: Support -m(no-)unaligned-access for r6 (#85174)
wzssyqa Mar 20, 2024
d538c56
[mlir][bufferize] Fix broken implementation of denyDialect (#85881)
mfrancio Mar 20, 2024
807fd07
[clangd] Handle variable templates consistently with class templates …
HighCommander4 Mar 20, 2024
5e78417
[MLIR][CUDA] Use _alloca instead of alloca on Windows (#85853)
jholewinski-nv Mar 20, 2024
9848fa4
Enable exp10 libcall on linux (#68736)
Krishna-13-cyber Mar 20, 2024
756c205
[clang][Tooling] Add special symbol mappings for C, starting with siz…
kadircet Mar 20, 2024
f0420c7
[ValueTracking] Handle `not` in `isImpliedCondition` (#85397)
dtcxzyw Mar 20, 2024
27df1b2
[SLPVectorizer] Use TargetFolder (#85800)
nikic Mar 20, 2024
4462bb5
[InstallAPI][bazel] Update BUILD after 936519f25cb4fabc19f1241e838e93…
chsigg Mar 20, 2024
11dd881
[libc++][format] Fixes nested concept evaluation. (#85548)
mordante Mar 20, 2024
272d1b4
[libcxx] [modules] Fix relative paths with absolute LIBCXX_INSTALL_MO…
mstorsjo Mar 20, 2024
cf09b7d
[libc++][ranges] LWG3715: `view_interface::empty` is overconstrained …
xiaoyang-sde Mar 20, 2024
211eebf
[libc++][ranges] remove `__workaround_52970` (#85683)
xiaoyang-sde Mar 20, 2024
070d1e8
[AMDGPU] Add test for fpext & fptrunc with bf16. (#85909)
Mar 20, 2024
e6b5bd5
[FMV] Emit the resolver along with the default version definition. (#…
labrinea Mar 20, 2024
9fd1c41
[MLIR] Add missing MLIRLinalgTransforms to LinalgToStandard conv (#84…
RoboTux Mar 20, 2024
d032638
[PowerPC] Fix operand regclass of XSTSTDCSP
ecnelises Mar 20, 2024
1f1e094
[flang] run CFG conversion on omp reduction declare ops (#84953)
tblah Mar 20, 2024
1f63a56
[flang][CodeGen] Run PreCGRewrite on omp reduction declare ops (#84954)
tblah Mar 20, 2024
0f46e31
[IR] Change representation of getelementptr inrange (#84341)
nikic Mar 20, 2024
27534d6
[mlir][LLVM] erase call mappings in forgetMapping() (#84955)
tblah Mar 20, 2024
56e3249
[AMDGPU] Simplify GFX11/GFX12 FLAT instruction definitions. NFC. (#85…
jayfoad Mar 20, 2024
eefef90
Revert "Enable exp10 libcall on linux (#68736)"
nikic Mar 20, 2024
3b0a426
[flang][NFC] move extractSequenceType helper out of OpenACC to share …
tblah Mar 20, 2024
260ac8e
[MLIR] Remove unneeded FuncOps.h include in AffineAnalysis (#85912)
RoboTux Mar 20, 2024
fe13412
[OpenMP] Disable workshare_chunk.c test case on SystemZ
uweigand Mar 20, 2024
cd768ec
[AArch64] Support scalable offsets with isLegalAddressingMode (#83255)
huntergr-arm Mar 20, 2024
0247564
[MLIR] Add missing MLIRGPUDialect dep to MLIRSPIRVDialect (#84554)
RoboTux Mar 20, 2024
b7975ca
Revert "[FMV] Emit the resolver along with the default version defini…
labrinea Mar 20, 2024
d93cfd8
[bazel] Add a missing dependency for aa95aa69b96f51a3c19a24a0387ebc1f…
d0k Mar 20, 2024
7227ec9
[libc++][NFC] Remove uses of add_{const,cv,volatile} (#85635)
philnik777 Mar 20, 2024
36a3f8f
[TTI][TLI][AArch64] Support scalable immediates with isLegalAddImmedi…
huntergr-arm Mar 20, 2024
22f2056
[libc++][CI] Reenables the module tests. (#85799)
mordante Mar 20, 2024
197f3ec
[flang][OpenMP] lower simple array reductions (#84958)
tblah Mar 20, 2024
6086937
[gn build] Port 36a3f8f6471b
llvmgnsyncbot Mar 20, 2024
fe2119a
[VectorCombine] foldBitcastShuffle - include the cost of bitcasts in …
RKSimon Mar 20, 2024
4990e5c
Merge commit 'fe2119a7b08b' into matthias.bump_to_fe2119a7b08b
mgehre-amd Aug 15, 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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .ci/generate-buildkite-pipeline-premerge
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function compute-projects-to-test() {
done
;;
clang)
for p in clang-tools-extra compiler-rt flang libc lldb openmp cross-project-tests; do
for p in clang-tools-extra compiler-rt flang lldb cross-project-tests; do
echo $p
done
;;
Expand Down Expand Up @@ -224,7 +224,7 @@ fi
# needs while letting them run on the infrastructure provided by LLVM.

# Figure out which projects need to be built on each platform
all_projects="bolt clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
all_projects="bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
modified_projects="$(keep-modified-projects ${all_projects})"

linux_projects_to_test=$(exclude-linux $(compute-projects-to-test ${modified_projects}))
Expand Down
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
/clang/www/cxx_dr_status.html @Endilll
/clang/www/make_cxx_dr_status @Endilll

clang/lib/AST/Interp/ @tbaederr
clang/test/AST/Interp/ @tbaederr

/lldb/ @JDevlieghere

# MLIR Interfaces.
Expand Down Expand Up @@ -105,3 +108,6 @@

# BOLT
/bolt/ @aaupov @maksfb @rafaelauler @ayermolo @dcci

# Bazel build system.
/utils/bazel/ @rupprecht
5 changes: 5 additions & 0 deletions .github/new-prs-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,8 @@ backend:DirectX:
- '**/*DirectX*/**'
- '**/*DXIL*/**'
- '**/*dxil*/**'
- '**/*DXContainer*'
- '**/*DXContainer*/**'

backend:SPIR-V:
- clang/lib/Driver/ToolChains/SPIRV.*
Expand Down Expand Up @@ -933,3 +935,6 @@ openmp:libomp:

openmp:libomptarget:
- any: ['openmp/**', '!openmp/runtime/**']

bazel:
- utils/bazel/**
12 changes: 10 additions & 2 deletions .github/workflows/llvm-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
BASELINE_REF: ${{ steps.vars.outputs.BASELINE_REF }}
ABI_HEADERS: ${{ steps.vars.outputs.ABI_HEADERS }}
BASELINE_VERSION_MAJOR: ${{ steps.vars.outputs.BASELINE_VERSION_MAJOR }}
BASELINE_VERSION_MINOR: ${{ steps.vars.outputs.BASELINE_VERSION_MINOR }}
LLVM_VERSION_MAJOR: ${{ steps.version.outputs.LLVM_VERSION_MAJOR }}
LLVM_VERSION_MINOR: ${{ steps.version.outputs.LLVM_VERSION_MINOR }}
LLVM_VERSION_PATCH: ${{ steps.version.outputs.LLVM_VERSION_PATCH }}
Expand All @@ -58,7 +59,14 @@ jobs:
- name: Setup Variables
id: vars
run: |
if [ ${{ steps.version.outputs.LLVM_VERSION_MINOR }} -ne 0 ] || [ ${{ steps.version.outputs.LLVM_VERSION_PATCH }} -eq 0 ]; then
# C++ ABI:
# 18.1.0 we aren't doing ABI checks.
# 18.1.1 We want to check 18.1.0.
# C ABI:
# 18.1.0 We want to check 17.0.x
# 18.1.1 We want to check 18.1.0
echo "BASELINE_VERSION_MINOR=1" >> "$GITHUB_OUTPUT"
if [ ${{ steps.version.outputs.LLVM_VERSION_PATCH }} -eq 0 ]; then
{
echo "BASELINE_VERSION_MAJOR=$(( ${{ steps.version.outputs.LLVM_VERSION_MAJOR }} - 1))"
echo "ABI_HEADERS=llvm-c"
Expand All @@ -82,7 +90,7 @@ jobs:
include:
- name: build-baseline
llvm_version_major: ${{ needs.abi-dump-setup.outputs.BASELINE_VERSION_MAJOR }}
ref: llvmorg-${{ needs.abi-dump-setup.outputs.BASELINE_VERSION_MAJOR }}.0.0
ref: llvmorg-${{ needs.abi-dump-setup.outputs.BASELINE_VERSION_MAJOR }}.${{ needs.abi-dump-setup.outputs.BASELINE_VERSION_MINOR }}.0
repo: llvm/llvm-project
- name: build-latest
llvm_version_major: ${{ needs.abi-dump-setup.outputs.LLVM_VERSION_MAJOR }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Install clang-format
uses: aminya/setup-cpp@v1
with:
clangformat: 17.0.1
clangformat: 18.1.1

- name: Setup Python env
uses: actions/setup-python@v4
Expand Down
8 changes: 7 additions & 1 deletion bolt/include/bolt/Core/DIEBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,13 @@ class DIEBuilder {
void updateReferences();

/// Update the Offset and Size of DIE, populate DebugNames table.
uint32_t finalizeDIEs(DWARFUnit &CU, DIE &Die, uint32_t &CurOffset);
/// Along with current CU, and DIE being processed and the new DIE offset to
/// be updated, it takes in Parents vector that can be empty if this DIE has
/// no parents.
uint32_t
finalizeDIEs(DWARFUnit &CU, DIE &Die,
std::vector<std::optional<BOLTDWARF5AccelTableData *>> &Parents,
uint32_t &CurOffset);

void registerUnit(DWARFUnit &DU, bool NeedSort);

Expand Down
17 changes: 12 additions & 5 deletions bolt/include/bolt/Core/DebugNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ class BOLTDWARF5AccelTableData : public DWARF5AccelTableData {
bool isTU() const { return DWARF5AccelTableData::isTU(); }
std::optional<unsigned> getSecondUnitID() const { return SecondUnitID; }

void setPatchOffset(uint64_t PatchOffset) { OffsetVal = PatchOffset; }
uint64_t getPatchOffset() const { return std::get<uint64_t>(OffsetVal); }

private:
std::optional<unsigned> SecondUnitID;
};
Expand All @@ -49,10 +52,12 @@ class DWARF5AcceleratorTable {
Abbrev->~DebugNamesAbbrev();
}
/// Add DWARF5 Accelerator table entry.
/// Input is DWARFUnit being processed, DIE that belongs to it, and potential
/// SkeletonCU if the Unit comes from a DWO section.
void addAccelTableEntry(DWARFUnit &Unit, const DIE &Die,
const std::optional<uint64_t> &DWOID);
/// Input is DWARFUnit being processed, DIE that belongs to it, potential
/// DWOID if the Unit comes from a DWO section, and potential parent entry.
std::optional<BOLTDWARF5AccelTableData *>
addAccelTableEntry(DWARFUnit &Unit, const DIE &Die,
const std::optional<uint64_t> &DWOID,
std::optional<BOLTDWARF5AccelTableData *> &Parent);
/// Set current unit being processed.
void setCurrentUnit(DWARFUnit &Unit, const uint64_t UnitStartOffset);
/// Emit Accelerator table.
Expand Down Expand Up @@ -121,6 +126,8 @@ class DWARF5AcceleratorTable {
llvm::DenseMap<llvm::hash_code, uint64_t> StrCacheToOffsetMap;
// Contains DWO ID to CUList Index.
llvm::DenseMap<uint64_t, uint32_t> CUOffsetsToPatch;
// Contains a map of Entry ID to Entry relative offset.
llvm::DenseMap<uint64_t, uint32_t> EntryRelativeOffsets;
/// Adds Unit to either CUList, LocalTUList or ForeignTUList.
/// Input Unit being processed, and DWO ID if Unit is being processed comes
/// from a DWO section.
Expand All @@ -143,7 +150,7 @@ class DWARF5AcceleratorTable {
/// Write Entries.
void writeEntries();
/// Write an Entry.
void writeEntry(const BOLTDWARF5AccelTableData &Entry);
void writeEntry(BOLTDWARF5AccelTableData &Entry);
/// Write augmentation_string for BOLT.
void writeAugmentationString();
/// Emit out Header for DWARF5 Accelerator table.
Expand Down
65 changes: 27 additions & 38 deletions bolt/include/bolt/Core/MCPlusBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,9 @@ class MCPlusBuilder {
llvm_unreachable("not implemented");
}

virtual bool createDirectCall(MCInst &Inst, const MCSymbol *Target,
virtual void createDirectCall(MCInst &Inst, const MCSymbol *Target,
MCContext *Ctx, bool IsTailCall) {
llvm_unreachable("not implemented");
return false;
}

virtual MCPhysReg getX86R11() const { llvm_unreachable("not implemented"); }
Expand Down Expand Up @@ -1534,15 +1533,13 @@ class MCPlusBuilder {
}

/// Create a no-op instruction.
virtual bool createNoop(MCInst &Inst) const {
virtual void createNoop(MCInst &Inst) const {
llvm_unreachable("not implemented");
return false;
}

/// Create a return instruction.
virtual bool createReturn(MCInst &Inst) const {
virtual void createReturn(MCInst &Inst) const {
llvm_unreachable("not implemented");
return false;
}

/// Store \p Target absolute address to \p RegName
Expand All @@ -1556,32 +1553,30 @@ class MCPlusBuilder {

/// Creates a new unconditional branch instruction in Inst and set its operand
/// to TBB.
///
/// Returns true on success.
virtual bool createUncondBranch(MCInst &Inst, const MCSymbol *TBB,
virtual void createUncondBranch(MCInst &Inst, const MCSymbol *TBB,
MCContext *Ctx) const {
llvm_unreachable("not implemented");
return false;
}

/// Create a version of unconditional jump that has the largest span for a
/// single instruction with direct target.
virtual void createLongUncondBranch(MCInst &Inst, const MCSymbol *Target,
MCContext *Ctx) const {
llvm_unreachable("not implemented");
}

/// Creates a new call instruction in Inst and sets its operand to
/// Target.
///
/// Returns true on success.
virtual bool createCall(MCInst &Inst, const MCSymbol *Target,
virtual void createCall(MCInst &Inst, const MCSymbol *Target,
MCContext *Ctx) {
llvm_unreachable("not implemented");
return false;
}

/// Creates a new tail call instruction in Inst and sets its operand to
/// Target.
///
/// Returns true on success.
virtual bool createTailCall(MCInst &Inst, const MCSymbol *Target,
virtual void createTailCall(MCInst &Inst, const MCSymbol *Target,
MCContext *Ctx) {
llvm_unreachable("not implemented");
return false;
}

virtual void createLongTailCall(InstructionListType &Seq,
Expand All @@ -1590,43 +1585,36 @@ class MCPlusBuilder {
}

/// Creates a trap instruction in Inst.
///
/// Returns true on success.
virtual bool createTrap(MCInst &Inst) const {
virtual void createTrap(MCInst &Inst) const {
llvm_unreachable("not implemented");
return false;
}

/// Creates an instruction to bump the stack pointer just like a call.
virtual bool createStackPointerIncrement(MCInst &Inst, int Size = 8,
virtual void createStackPointerIncrement(MCInst &Inst, int Size = 8,
bool NoFlagsClobber = false) const {
llvm_unreachable("not implemented");
return false;
}

/// Creates an instruction to move the stack pointer just like a ret.
virtual bool createStackPointerDecrement(MCInst &Inst, int Size = 8,
virtual void createStackPointerDecrement(MCInst &Inst, int Size = 8,
bool NoFlagsClobber = false) const {
llvm_unreachable("not implemented");
return false;
}

/// Create a store instruction using \p StackReg as the base register
/// and \p Offset as the displacement.
virtual bool createSaveToStack(MCInst &Inst, const MCPhysReg &StackReg,
virtual void createSaveToStack(MCInst &Inst, const MCPhysReg &StackReg,
int Offset, const MCPhysReg &SrcReg,
int Size) const {
llvm_unreachable("not implemented");
return false;
}

virtual bool createLoad(MCInst &Inst, const MCPhysReg &BaseReg, int64_t Scale,
virtual void createLoad(MCInst &Inst, const MCPhysReg &BaseReg, int64_t Scale,
const MCPhysReg &IndexReg, int64_t Offset,
const MCExpr *OffsetExpr,
const MCPhysReg &AddrSegmentReg,
const MCPhysReg &DstReg, int Size) const {
llvm_unreachable("not implemented");
return false;
}

virtual InstructionListType createLoadImmediate(const MCPhysReg Dest,
Expand All @@ -1636,32 +1624,27 @@ class MCPlusBuilder {

/// Create a fragment of code (sequence of instructions) that load a 32-bit
/// address from memory, zero-extends it to 64 and jump to it (indirect jump).
virtual bool
virtual void
createIJmp32Frag(SmallVectorImpl<MCInst> &Insts, const MCOperand &BaseReg,
const MCOperand &Scale, const MCOperand &IndexReg,
const MCOperand &Offset, const MCOperand &TmpReg) const {
llvm_unreachable("not implemented");
return false;
}

/// Create a load instruction using \p StackReg as the base register
/// and \p Offset as the displacement.
virtual bool createRestoreFromStack(MCInst &Inst, const MCPhysReg &StackReg,
virtual void createRestoreFromStack(MCInst &Inst, const MCPhysReg &StackReg,
int Offset, const MCPhysReg &DstReg,
int Size) const {
llvm_unreachable("not implemented");
return false;
}

/// Creates a call frame pseudo instruction. A single operand identifies which
/// MCCFIInstruction this MCInst is referring to.
///
/// Returns true on success.
virtual bool createCFI(MCInst &Inst, int64_t Offset) const {
virtual void createCFI(MCInst &Inst, int64_t Offset) const {
Inst.clear();
Inst.setOpcode(TargetOpcode::CFI_INSTRUCTION);
Inst.addOperand(MCOperand::createImm(Offset));
return true;
}

/// Create an inline version of memcpy(dest, src, 1).
Expand Down Expand Up @@ -1699,6 +1682,12 @@ class MCPlusBuilder {
return Inst.getOpcode() == TargetOpcode::CFI_INSTRUCTION;
}

/// Create a conditional branch with a target-specific conditional code \p CC.
virtual void createCondBranch(MCInst &Inst, const MCSymbol *Target,
unsigned CC, MCContext *Ctx) const {
llvm_unreachable("not implemented");
}

/// Reverses the branch condition in Inst and update its taken target to TBB.
///
/// Returns true on success.
Expand Down
28 changes: 22 additions & 6 deletions bolt/lib/Core/DIEBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,20 +377,32 @@ getUnitForOffset(DIEBuilder &Builder, DWARFContext &DWCtx,
return nullptr;
}

uint32_t DIEBuilder::finalizeDIEs(DWARFUnit &CU, DIE &Die,
uint32_t &CurOffset) {
uint32_t DIEBuilder::finalizeDIEs(
DWARFUnit &CU, DIE &Die,
std::vector<std::optional<BOLTDWARF5AccelTableData *>> &Parents,
uint32_t &CurOffset) {
getState().DWARFDieAddressesParsed.erase(Die.getOffset());
uint32_t CurSize = 0;
Die.setOffset(CurOffset);
DebugNamesTable.addAccelTableEntry(
CU, Die, SkeletonCU ? SkeletonCU->getDWOId() : std::nullopt);
std::optional<BOLTDWARF5AccelTableData *> NameEntry =
DebugNamesTable.addAccelTableEntry(
CU, Die, SkeletonCU ? SkeletonCU->getDWOId() : std::nullopt,
Parents.back());
// It is possible that an indexed debugging information entry has a parent
// that is not indexed (for example, if its parent does not have a name
// attribute). In such a case, a parent attribute may point to a nameless
// index entry (that is, one that cannot be reached from any entry in the name
// table), or it may point to the nearest ancestor that does have an index
// entry.
if (NameEntry)
Parents.push_back(std::move(NameEntry));
for (DIEValue &Val : Die.values())
CurSize += Val.sizeOf(CU.getFormParams());
CurSize += getULEB128Size(Die.getAbbrevNumber());
CurOffset += CurSize;

for (DIE &Child : Die.children()) {
uint32_t ChildSize = finalizeDIEs(CU, Child, CurOffset);
uint32_t ChildSize = finalizeDIEs(CU, Child, Parents, CurOffset);
CurSize += ChildSize;
}
// for children end mark.
Expand All @@ -400,6 +412,8 @@ uint32_t DIEBuilder::finalizeDIEs(DWARFUnit &CU, DIE &Die,
}

Die.setSize(CurSize);
if (NameEntry)
Parents.pop_back();

return CurSize;
}
Expand All @@ -410,7 +424,9 @@ void DIEBuilder::finish() {
uint32_t HeaderSize = CU.getHeaderSize();
uint32_t CurOffset = HeaderSize;
DebugNamesTable.setCurrentUnit(CU, UnitStartOffset);
finalizeDIEs(CU, *UnitDIE, CurOffset);
std::vector<std::optional<BOLTDWARF5AccelTableData *>> Parents;
Parents.push_back(std::nullopt);
finalizeDIEs(CU, *UnitDIE, Parents, CurOffset);

DWARFUnitInfo &CurUnitInfo = getUnitInfoByDwarfUnit(CU);
CurUnitInfo.UnitOffset = UnitStartOffset;
Expand Down
Loading