[all-commits] [llvm/llvm-project] b0f10a: [C++20] [Modules] Don't generate the defintition f...
Ahmed Bougacha via All-commits
all-commits at lists.llvm.org
Fri May 31 13:09:07 PDT 2024
Branch: refs/heads/users/ahmedbougacha/ptrauth-siphash
Home: https://github.com/llvm/llvm-project
Commit: b0f10a1dc34aa1b73faeeabdc2d348074a02c75d
https://github.com/llvm/llvm-project/commit/b0f10a1dc34aa1b73faeeabdc2d348074a02c75d
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/CodeGenCXX/partitions.cpp
A clang/test/Modules/pr93497.cppm
Log Message:
-----------
[C++20] [Modules] Don't generate the defintition for non-const available external variables (#93530)
Close https://github.com/llvm/llvm-project/issues/93497
The root cause of the problem is, we mark the variable from other
modules as constnant in LLVM incorrectly. This patch fixes this problem
by not emitting the defintition for non-const available external
variables. Since the non const available externally variable is not
helpful to the optimization.
Commit: 70d6b8a358366ec2ef4e73d5809fe23b9abf527d
https://github.com/llvm/llvm-project/commit/70d6b8a358366ec2ef4e73d5809fe23b9abf527d
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/test/MC/AsmParser/macro-at-pseudo-variable.s
Log Message:
-----------
MCAsmParser: Amend \+ expansion
Amend 7c956293d856224dd6a1b633820ef53009f7ef1c ("MCAsmParser: Support
\+") to increase Macro.Count per iteration to match the new gas feature
(milestone: 2.43).
Commit: 5162027c9bb32ddbc8b37770c569a3e5a877d962
https://github.com/llvm/llvm-project/commit/5162027c9bb32ddbc8b37770c569a3e5a877d962
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vsra-sdnode.ll
Log Message:
-----------
[RISCV] Add test for #93578. NFC
Commit: 4e0bd3fab4b6a54342c9bed14f205895da3cf0d9
https://github.com/llvm/llvm-project/commit/4e0bd3fab4b6a54342c9bed14f205895da3cf0d9
Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/test/CodeGen/AArch64/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/AArch64/dag-combine-concat-vectors.ll
M llvm/test/CodeGen/AArch64/machine-sink-cache-invalidation.ll
M llvm/test/CodeGen/AArch64/ragreedy-local-interval-cost.ll
M llvm/test/CodeGen/AMDGPU/amdpal-callable.ll
M llvm/test/CodeGen/AMDGPU/vgpr-liverange-ir.ll
M llvm/test/CodeGen/AVR/shift.ll
A llvm/test/CodeGen/RISCV/machinelicm-constant-phys-reg.ll
M llvm/test/CodeGen/RISCV/rvv/65704-illegal-instruction.ll
M llvm/test/CodeGen/RISCV/rvv/fold-scalar-load-crash.ll
M llvm/test/CodeGen/RISCV/vlenb.ll
Log Message:
-----------
[MachineLICM] Hoist copies of constant physical register (#93285)
Previously, we just check if the source is a virtual register and
this prevents some potential hoists.
We can see some improvements in AArch64/RISCV tests.
Commit: 476a6d81a3648cf638400632c098e9f0ed025f8f
https://github.com/llvm/llvm-project/commit/476a6d81a3648cf638400632c098e9f0ed025f8f
Author: MagentaTreehouse <99200384+MagentaTreehouse at users.noreply.github.com>
Date: 2024-05-28 (Tue, 28 May 2024)
Changed paths:
M clang/lib/Driver/ToolChains/HIPUtility.cpp
Log Message:
-----------
[NFC] Construct Twines before concatenation (#90728)
Construct `Twine`s before concatenation.
Commit: 7f58ffd09b29d3ff4f9fa025bd4d05dd8fd9fc38
https://github.com/llvm/llvm-project/commit/7f58ffd09b29d3ff4f9fa025bd4d05dd8fd9fc38
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/python/mlir/dialects/scf.py
M mlir/test/python/dialects/scf.py
Log Message:
-----------
[mlir][python] Yield results of `scf.for_` (#93610)
Using `for_` is very hand with python bindings. Currently, it doesn't
support results, we had to fallback to two lines scf.for.
This PR yields results of scf.for in `for_`
---------
Co-authored-by: Maksim Levental <maksim.levental at gmail.com>
Commit: c2a9a974ca85e4ac4509e368d4b9acae7e67bf71
https://github.com/llvm/llvm-project/commit/c2a9a974ca85e4ac4509e368d4b9acae7e67bf71
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
A llvm/test/Transforms/LICM/update-scev-after-hoist.ll
Log Message:
-----------
[LICM] Introduce test for PR92655 (NFC)
Commit: 70091dc943ade280d75cea1e5ea5e93d9a8f934a
https://github.com/llvm/llvm-project/commit/70091dc943ade280d75cea1e5ea5e93d9a8f934a
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/test/Transforms/LICM/update-scev-after-hoist.ll
Log Message:
-----------
[LICM] Invalidate cached SCEV results in `hoistMulAddAssociation`
While reassociating expressions, LICM is required to invalidate SCEV
results, as otherwise subsequent passes in the pipeline that leverage
LICM foldings (e.g. IndVars), may reason on invalid expressions; thus
miscompiling. This is achieved by rewriting the reassociable
instruction from scratch.
Fixes: https://github.com/llvm/llvm-project/issues/91957.
Commit: 53d79feec93ef99e2ba0ac8cfc6cf2f81d28bf8a
https://github.com/llvm/llvm-project/commit/53d79feec93ef99e2ba0ac8cfc6cf2f81d28bf8a
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
Log Message:
-----------
[lldb/DWARF] Bypass the compres^Wconstruction of DIERefs in debug_names (#93296)
DebugNamesDWARFIndex was jumping through hoops to construct a DIERef
from an index entry only to jump through them back a short while later
to construct a DWARFDIE.
This used to be necessary as the index lookup was a two stage process,
where we first enumerated all matches, and then examined them (so it was
important that the enumeration was cheap -- does not trigger unnecessary
parsing). However, now that the processing is callback based, we are
always immediately examining the DWARFDIE right after finding the entry,
and the DIERef just gets in the way.
Commit: 2cfea14a57ad8443c6898d2310abb4346dc92ad2
https://github.com/llvm/llvm-project/commit/2cfea14a57ad8443c6898d2310abb4346dc92ad2
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/tools/lldb-dap/DAP.cpp
Log Message:
-----------
[lldb-dap] Add timestamps to protocol logs (#93540)
I've found them very useful as a rudimentary form of benchmark.
Commit: 98714866830f505d7bb87de6b92a28f280a34b9b
https://github.com/llvm/llvm-project/commit/98714866830f505d7bb87de6b92a28f280a34b9b
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/icmp-of-and-x.ll
Log Message:
-----------
[InstCombine] Add multiuse tests for canonicalizing (icmp eq/ne (and x, y), {x,y}); NFC
Commit: 5532ab17327f2887fdac739ffaaae6c341695370
https://github.com/llvm/llvm-project/commit/5532ab17327f2887fdac739ffaaae6c341695370
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/test/Analysis/ValueTracking/known-power-of-two-urem.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-eq-to-icmp-ule.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-ne-to-icmp-ugt.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-eq-to-icmp-ule.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-ne-to-icmp-ugt.ll
M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
M llvm/test/Transforms/InstCombine/icmp-of-and-x.ll
Log Message:
-----------
[InstCombine] Make the `(icmp eq/ne (and X, Y), X)` canonicalization work for non-const operands
We currently do:
`(icmp eq/ne (and X, Y), Y)` -> `(icmp eq/ne (and ~X, Y), 0)`
if `X` is constant. We can make this more general and do it if `X` is
freely invertable (i.e say `X = ~Z`).
As well, we can also do:
`(icmp eq/ne (and X, Y), Y)` -> `(icmp eq/ne (or X, ~Y), -1)`
If `Y` is freely invertible.
Proofs: https://alive2.llvm.org/ce/z/yeWH3E
Differential Revision: https://reviews.llvm.org/D159059
Closes #84688
Commit: a9e8a3a18eb897196f88d3705ccd966f5b52c012
https://github.com/llvm/llvm-project/commit/a9e8a3a18eb897196f88d3705ccd966f5b52c012
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86CompressEVEX.cpp
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrInfo.h
M llvm/test/CodeGen/X86/apx/add.ll
M llvm/test/CodeGen/X86/apx/and.ll
M llvm/test/CodeGen/X86/apx/compress-evex.mir
M llvm/test/CodeGen/X86/apx/dec.ll
M llvm/test/CodeGen/X86/apx/imul.ll
M llvm/test/CodeGen/X86/apx/inc.ll
M llvm/test/CodeGen/X86/apx/neg.ll
M llvm/test/CodeGen/X86/apx/or.ll
M llvm/test/CodeGen/X86/apx/shl.ll
M llvm/test/CodeGen/X86/apx/shr.ll
M llvm/test/CodeGen/X86/apx/sub.ll
M llvm/test/CodeGen/X86/apx/xor.ll
Log Message:
-----------
[X86][CodeGen] Extend X86CompressEVEX for NF transform
Commit: 76e1a535fd7d8e9451414c76b55d82166c4c5409
https://github.com/llvm/llvm-project/commit/76e1a535fd7d8e9451414c76b55d82166c4c5409
Author: Christian Sigg <csigg at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M utils/bazel/llvm_configs/llvm-config.h.cmake
Log Message:
-----------
[llvm][bazel] Fix llvm-config after 3613b2683107bd60fda6d9348623be0686f6d7e3.
Commit: 1c6746e2db58ab7c7a5fb44cd5efa852ce932f84
https://github.com/llvm/llvm-project/commit/1c6746e2db58ab7c7a5fb44cd5efa852ce932f84
Author: David Green <david.green at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Add support for zext/sext/trunc to shuffleToIdentity (#92696)
This is one of the simple additions to shuffleToIdentity that help it
look through intermediate zext/sext instructions.
Commit: 850f30c3ba378321538233b3cfbd93ae2efef77f
https://github.com/llvm/llvm-project/commit/850f30c3ba378321538233b3cfbd93ae2efef77f
Author: David Green <david.green at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
A llvm/test/CodeGen/Thumb2/mve-tailpred-vptblock.ll
Log Message:
-----------
[ARM][MVE] Don't allow tail-predication with else predicates
The test case contains a vpt block with an else predicated instruction. This
might not be very unrealistic, but currently crashes due to not being able to
handle the else. The instruction would need to be removed. This patch adds some
extra checks that none of the instructions in vpt block is else predicated,
leaving it using vctp.
Commit: 5aba0ded6c0415bc267a80469c8ea3661e012dc6
https://github.com/llvm/llvm-project/commit/5aba0ded6c0415bc267a80469c8ea3661e012dc6
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M flang/lib/Lower/ConvertVariable.cpp
A flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
Log Message:
-----------
[flang] lower assumed-rank variables specification expressions (#93477)
Enable lowering of assumed-ranks in specification parts under a debug
flag. I am using a debug flag because many cryptic TODOs/issues may be
hit until more support is added. The development should not take too
long, so I want to stay away from the noise of adding an actual
experimental flag to flang-new.
Commit: 326f58d7d68c33cfbb6ad54123ab9b56114de502
https://github.com/llvm/llvm-project/commit/326f58d7d68c33cfbb6ad54123ab9b56114de502
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
M flang/test/HLFIR/declare-codegen.fir
Log Message:
-----------
[flang][HLFIR] lower hlfir.declare of assumed-ranks (#93468)
hlfir.declare is in charge of ensuring that the lower bounds of its
"hlfir entity" output are the ones of the source program. For
non-allocatable/non-pointer assumed-ranks where the input descriptor
lower bounds may not be ones, the hlfir.declare needs to be lowered to
an hlfir.rebox_assumed_rank to set the lower bounds to ones.
Commit: 6957c00a8ccd36d990ebeb3b672621ba237bd9d8
https://github.com/llvm/llvm-project/commit/6957c00a8ccd36d990ebeb3b672621ba237bd9d8
Author: Alastair Houghton <ahoughton at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
A llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_xsec_branch.s
Log Message:
-----------
[RuntimeDyld][ELF][AArch64] Fix resolveAArch64ShortBranch. (#92245)
We don't know the load addresses when this function is called, so it
shouldn't be trying to use them to determine whether or not the branch
is short. Notably, this will fail in the case where the code is being
loaded into a target in such a way that the section offsets differ
between the process generating the code and the target process.
rdar://127673408
Commit: 4ad2f415f6e30ceb116466bf81515d3765402a0f
https://github.com/llvm/llvm-project/commit/4ad2f415f6e30ceb116466bf81515d3765402a0f
Author: AnastasiyaChernikova <anastasiya.chernikova at syntacore.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/tools/llvm-exegesis/AArch64/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/Mips/latency-GPR64.s
M llvm/test/tools/llvm-exegesis/Mips/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/PowerPC/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-CMOV32rr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-IN16rr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-SBB8rr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-SQRTSSr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/X86/latency/max-configs.test
M llvm/test/tools/llvm-exegesis/X86/lbr/mov-add.s
M llvm/test/tools/llvm-exegesis/X86/uops/uops-CMOV16rm-noreg-serialization.s
Log Message:
-----------
[Exegesis] Changing non-standard CHECK in tests to more compliant way (#93222)
Fixed some FileChecks in tests. Firstly found in PR89047
(https://github.com/llvm/llvm-project/pull/89047#discussion_r1608909489)
Commit: 93d8d74ae6717c8e7c8b25ad5a6cfa212d3a4d37
https://github.com/llvm/llvm-project/commit/93d8d74ae6717c8e7c8b25ad5a6cfa212d3a4d37
Author: David Green <david.green at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
Log Message:
-----------
[VectorCombine] Remove requirement for Instructions in shuffleToIdentity (#93543)
This removes the check that both operands of the original shuffle are
instructions, which is a relic from a previous version that held more
variables as Instructions.
Commit: fa649df8e54c2aa8921a42ad8d10e1e45700e5d7
https://github.com/llvm/llvm-project/commit/fa649df8e54c2aa8921a42ad8d10e1e45700e5d7
Author: Daniel Grumberg <dgrumberg at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
M clang/test/ExtractAPI/anonymous_record_no_typedef.c
M clang/test/ExtractAPI/enum.c
M clang/tools/libclang/CXExtractAPI.cpp
Log Message:
-----------
[clang][ExtractAPI] Flatten all enum cases from anonymous enums at top level (#93559)
rdar://128863241
Commit: f6ace2bc15bfde4cc9bd140859fa92618568a006
https://github.com/llvm/llvm-project/commit/f6ace2bc15bfde4cc9bd140859fa92618568a006
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-and-combine.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitcast.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-concat.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ext-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-vector-elt.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fcopysign.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-convert.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-extend-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-fma.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce-fa64.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-rounding.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-to-int.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-insert-vector-elt.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-div.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-extends.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-immediates.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-log.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mla-neon-fa64.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mulh.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-rem.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-shifts.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-to-fp.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-limit-duplane.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-log-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-load.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-store.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-optimize-ptrue.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-zip-uzp-trn.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ptest.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-sdiv-pow2.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-splat-vector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-vector-shuffle.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-test-register-mov.ll
Log Message:
-----------
[AArch64] Expand vector ops when NEON and SVE are unavailable. (#90833)
Unlike `+noneon` we must assume that vector types are available, i.e.
it is valid to pass/return vector arguments to and from functions.
However, the compiler must make sure to scalarize any vector
operations.
Commit: a72a90677d2b320e3bca553698e99143034387d9
https://github.com/llvm/llvm-project/commit/a72a90677d2b320e3bca553698e99143034387d9
Author: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
[Nomination] Add an extra Red Hat representative to the security group (#92174)
I'd like to nominate myself as another Red Hat representative. I work at
the LLVM team at Red Hat contributing to upstream and downstream.
Commit: 0f7b4b04a548e10d0f552f13bebc21972d55d7f6
https://github.com/llvm/llvm-project/commit/0f7b4b04a548e10d0f552f13bebc21972d55d7f6
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/X86.cpp
M clang/test/Driver/x86-target-features.c
M clang/test/Preprocessor/x86_target_features.c
Log Message:
-----------
[X86][Driver] Enable feature ccmp,nf for -mapxf
This is follow-up for #78901 after validation.
Commit: f3fb7f569936db418feef98e4ae68777a9a4cd2a
https://github.com/llvm/llvm-project/commit/f3fb7f569936db418feef98e4ae68777a9a4cd2a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/test/CodeGen/X86/x86-atomic-float.c
Log Message:
-----------
[X86] x86-atomic-float.c - cleanup unused check prefixes
Commit: 4bb6974a87e495f19faea4b13475a65e842473f0
https://github.com/llvm/llvm-project/commit/4bb6974a87e495f19faea4b13475a65e842473f0
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/test/CodeGen/X86/x86-atomic-long_double.c
Log Message:
-----------
[X86] x86-atomic-long_double.c - cleanup check prefixes
Commit: 9c42ed1371ee8c211aedcfe8aed16662a9befb69
https://github.com/llvm/llvm-project/commit/9c42ed1371ee8c211aedcfe8aed16662a9befb69
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
A clang/test/CodeGen/X86/x86-atomic-double.c
Log Message:
-----------
[X86] Add x86-atomic-double.c double test coverage
Commit: f42de69213890f1203c1c3418a962e50de4ed73c
https://github.com/llvm/llvm-project/commit/f42de69213890f1203c1c3418a962e50de4ed73c
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/vector-shuffle-512-v16.ll
Log Message:
-----------
[X86] vector-shuffle-512-v16.ll - add fast shuffle test coverage
Commit: 74014b5a3497c1e9c7f0652d26f78fffea9bf51c
https://github.com/llvm/llvm-project/commit/74014b5a3497c1e9c7f0652d26f78fffea9bf51c
Author: Lu Weining <luweining at loongson.cn>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
Log Message:
-----------
Fix typo in AMDGPUUsage. NFC (#93652)
The vendor name is mesa but not mesa3d.
Commit: dc8da7ddeaa595a34827fc9e39322a8109e177f0
https://github.com/llvm/llvm-project/commit/dc8da7ddeaa595a34827fc9e39322a8109e177f0
Author: Pankaj Dwivedi <167427157+PankajDwivedi-25 at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
Log Message:
-----------
[AMDGPU] Reserved private memory register during PEI (#93536)
- Reserved newly selected private memory registers in entry Function
Prologue generation.
- Added assertion patch in eliminateFrameIndex to ensure register is
reserved.
Co-authored-by: PankajDwivedi-25 <pankajkumar.divedi at amd.com>
Commit: 1594cebedd60a08f408e3fa975116ef4db86bf9b
https://github.com/llvm/llvm-project/commit/1594cebedd60a08f408e3fa975116ef4db86bf9b
Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Target/Cpp/expressions.mlir
Log Message:
-----------
[mlir][EmitC] Fix evaluation order of expressions (#93549)
Expressions with the same precedence were not parenthesized and
therefore were possibly evaluated in the wrong order depending on the
shape of the expression tree.
---------
Co-authored-by: Matthias Gehre <matthias.gehre at amd.com>
Co-authored-by: Corentin Ferry <corentin.ferry at amd.com>
Commit: 5553f27d5a45e702415fa2f91d842bf4a1f4a8b5
https://github.com/llvm/llvm-project/commit/5553f27d5a45e702415fa2f91d842bf4a1f4a8b5
Author: Lu Weining <luweining at loongson.cn>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/lower-work-group-id-intrinsics-hsa.ll
M llvm/test/CodeGen/AMDGPU/lower-work-group-id-intrinsics-pal.ll
Log Message:
-----------
[AMDGPU][test] Fix the wrong triples in lower-work-group-id-intrinsics-{hsa,pal}.ll. NFC (#93501)
- hsa -> amdhsa
- Use amdgcn-amd-amd{hsa,pal} for lower-work-group-id-intrinsics-{hsa,pal}.ll respectively
Commit: 78cc9cbba23fd1783a9b233ae745f126ece56cc7
https://github.com/llvm/llvm-project/commit/78cc9cbba23fd1783a9b233ae745f126ece56cc7
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sve.td
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll
Log Message:
-----------
[AArch64][SME] Add intrinsics for multi-vector BFCLAMP (#93532)
According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics
```
svbfloat16x2_t svclamp[_single_bf16_x2](svbfloat16x2_t zd, svbfloat16_t zn,
svbfloat16_t zm) __arm_streaming;
svbfloat16x4_t svclamp[_single_bf16_x4](svbfloat16x4_t zd, svbfloat16_t zn,
svbfloat16_t zm) __arm_streaming;
```
These are available only if __ARM_FEATURE_SME_B16B16 is enabled.
Commit: e1aa8ad6faa1524f12338ca58d1eadfde6f29f34
https://github.com/llvm/llvm-project/commit/e1aa8ad6faa1524f12338ca58d1eadfde6f29f34
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
A flang/test/Lower/OpenMP/allocatable-multiple-vars.f90
Log Message:
-----------
[flang][OpenMP] Fix bug in emitting `dealloc` logic (#93641)
Fixes a bug in emiting deacllocation logic when delayed privatization is
disabled. I introduced the bug when implementing delayed privatization
for allocatables: when delayed privatization is disabled the
deacllocation ops are emitted for only one allocatable variables.
Commit: 5c214eb0c628c874f2c9496e663be4067e64442a
https://github.com/llvm/llvm-project/commit/5c214eb0c628c874f2c9496e663be4067e64442a
Author: Andreas Jonson <andjo403 at hotmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/test/Headers/__clang_hip_math.hip
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/test/Transforms/Inline/ret_attr_align_and_noundef.ll
Log Message:
-----------
[Inline] Clone return range attribute on the callsite into inlined call (#92666)
Commit: 971f1aaad3ca3680bfbab76212f498ca15b280a2
https://github.com/llvm/llvm-project/commit/971f1aaad3ca3680bfbab76212f498ca15b280a2
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/test/API/python_api/address_range/TestAddressRange.py
Log Message:
-----------
[lldb][Test][Windows] Fix flaky address range API tests
The new tests added in #92014 have been flaky on Linaro's
Windows on Arm bot. They appear to be hitting a deadlock trying
to clean up the test process.
This only happens in async mode and I don't see why this test
case needs async mode, so the simple workaround is to stick to
sync mode.
Commit: 3bcccb6af685c3132a9ee578b9e11b2503c35a5c
https://github.com/llvm/llvm-project/commit/3bcccb6af685c3132a9ee578b9e11b2503c35a5c
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/Reassociate.cpp
M llvm/test/Transforms/Reassociate/repeats.ll
Log Message:
-----------
[Reassociate] Drop weight reduction to fix issue 91417 (#91469)
See the following case: https://alive2.llvm.org/ce/z/A-fBki
```
define i3 @src(i3 %0) {
%2 = mul i3 %0, %0
%3 = mul i3 %2, %0
%4 = mul i3 %3, %0
%5 = mul nsw i3 %4, %0
ret i3 %5
}
define i3 @tgt(i3 %0) {
%2 = mul i3 %0, %0
%5 = mul nsw i3 %2, %0
ret i3 %5
}
```
https://github.com/llvm/llvm-project/commit/d7aeefebd6b049f017711cd7c6ef5f217a17b673
introduced weight reduction during weights combination of the same
operand. As the weight of `%0` changes from 5 to 3, the nsw flag in `%5`
should be dropped.
However, the nsw flag isn't cleared by `RewriteExprTree` since `%5 = mul
nsw i3 %0, %4` is not included in the range of `[ExpressionChangedStart,
ExpressionChangedEnd)`.
```
Calculated Rank[] = 3
Combine negations for: %2 = mul i3 %0, %0
Calculated Rank[] = 4
Combine negations for: %3 = mul i3 %0, %2
Calculated Rank[] = 5
Combine negations for: %4 = mul i3 %0, %3
Calculated Rank[] = 6
Combine negations for: %5 = mul nsw i3 %0, %4
LINEARIZE: %5 = mul nsw i3 %0, %4
OPERAND: i3 %0 (1)
ADD USES LEAF: i3 %0 (1)
OPERAND: %4 = mul i3 %0, %3 (1)
DIRECT ADD: %4 = mul i3 %0, %3 (1)
OPERAND: i3 %0 (1)
OPERAND: %3 = mul i3 %0, %2 (1)
DIRECT ADD: %3 = mul i3 %0, %2 (1)
OPERAND: i3 %0 (1)
OPERAND: %2 = mul i3 %0, %0 (1)
DIRECT ADD: %2 = mul i3 %0, %0 (1)
OPERAND: i3 %0 (1)
OPERAND: i3 %0 (1)
RAIn: mul i3 [ %0, #3] [ %0, #3] [ %0, #3]
RAOut: mul i3 [ %0, #3] [ %0, #3] [ %0, #3]
RAOut after CSE reorder: mul i3 [ %0, #3] [ %0, #3] [ %0, #3]
RA: %5 = mul nsw i3 %0, %4
TO: %5 = mul nsw i3 %4, %0
RA: %4 = mul i3 %0, %3
TO: %4 = mul i3 %0, %0
```
The best way to fix this is to inform `RewriteExprTree` to clear flags
of the whole expr tree when weight reduction happens.
But I find that weight reduction based on Carmichael number never
happens in practice.
See the coverage result
https://dtcxzyw.github.io/llvm-opt-benchmark/coverage/home/dtcxzyw/llvm-project/llvm/lib/Transforms/Scalar/Reassociate.cpp.html#L323
I think it would be better to drop `IncorporateWeight`.
Fixes #91417
Commit: 718ba5a58452f013f40fab94f967064919bf13ff
https://github.com/llvm/llvm-project/commit/718ba5a58452f013f40fab94f967064919bf13ff
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/ashr-lshr.ll
M llvm/test/Transforms/InstCombine/lshr.ll
Log Message:
-----------
Reapply [InstCombine] lshr (mul (X, 2^N + 1)), N -> add (X, lshr(X, N)) (#92907)
Alive2 Proofs:
https://alive2.llvm.org/ce/z/eSinJY
https://alive2.llvm.org/ce/z/vyKvde
https://alive2.llvm.org/ce/z/dRFsfV
I mistakenly reverted this commit as part of a larger set of
reverts. Reapplied without changes.
Commit: 6543453c3604c5532666a9bad2bf3d261099dab5
https://github.com/llvm/llvm-project/commit/6543453c3604c5532666a9bad2bf3d261099dab5
Author: Tuan Chuong Goh <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/arm64-tbl.ll
Log Message:
-----------
[AArch64][NFC] Pre-commit test update for Select TBL/TBX instructions (#92914)
Commit: aef0bdd36d888edd1575713e4976162daf81ff5b
https://github.com/llvm/llvm-project/commit/aef0bdd36d888edd1575713e4976162daf81ff5b
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
DAG: Preserve flags when expanding fminimum/fmaximum (#93550)
The operation selection logic here doesn't really work when vector types
need to be split. This was also dropping the flags, and losing nnan made
the combine from select back to fmin/fmax unrecoverable. Preserve the
flags to assist a future commit.
Commit: 9e8ecce88ef65a2953db8071746720dd78bd1632
https://github.com/llvm/llvm-project/commit/9e8ecce88ef65a2953db8071746720dd78bd1632
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
A llvm/test/CodeGen/RISCV/shl-cttz.ll
Log Message:
-----------
[DAGCombine] Transform `shl X, cttz(Y)` to `mul (Y & -Y), X` if cttz is unsupported (#85066)
This patch fold `shl X, cttz(Y)` to `mul (Y & -Y), X` if cttz is
unsupported by the target.
Alive2: https://alive2.llvm.org/ce/z/AtLN5Y
Fixes https://github.com/llvm/llvm-project/issues/84763.
Commit: 23a09b99313edb67d267a974be6cebfdfd97c7c8
https://github.com/llvm/llvm-project/commit/23a09b99313edb67d267a974be6cebfdfd97c7c8
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/test/API/commands/expression/fixits/TestFixIts.py
M lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py
Log Message:
-----------
[lldb][Test] Remove some xfails for AArch64 Linux
PR #92245 fixed these tests on Linux. They likely work on FreeBSD too
but leaving the xfail for that so it can be confirmed later.
Also updated a bugzilla link to one that redirects to Github issues.
Relates to issues #43398 and #48751.
Commit: e93799f260e881ff2f7c0fd7afc78374d615d70e
https://github.com/llvm/llvm-project/commit/e93799f260e881ff2f7c0fd7afc78374d615d70e
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sve.td
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtl.c
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvt.ll
A llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtl.ll
Log Message:
-----------
[SME] Add intrinsics for FCVT(wid.) and FCVTL (#93202)
According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics
```
svfloat32x2_t svcvt_f32[_f16_x2](svfloat16_t zn) __arm_streaming;
svfloat32x2_t svcvtl_f32[_f16_x2](svfloat16_t zn) __arm_streaming;
```
These are available only if __ARM_FEATURE_SME_F16F16 is enabled.
---------
Co-authored-by: Caroline Concatto <caroline.concatto at arm.com>
Commit: 1e44a9690915e8acf7b2a0e67b56aaf4509e9257
https://github.com/llvm/llvm-project/commit/1e44a9690915e8acf7b2a0e67b56aaf4509e9257
Author: Lukacma <Marian.Lukac at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/arm_sme.td
A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_zero.c
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/lib/Target/AArch64/SMEInstrFormats.td
A llvm/test/CodeGen/AArch64/sme2p1-intrinsics-zero.ll
Log Message:
-----------
[AArch64][SME] Add intrinsics for vector groups ZERO (#93201)
According to the specification in
https://github.com/ARM-software/acle/pull/309 this adds the intrinsics:
void svzero_za64_vg1x2(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg1x4(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg2x1(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg2x2(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg2x4(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg4x1(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg4x2(uint32_t slice)
__arm_streaming __arm_inout("za");
void svzero_za64_vg4x4(uint32_t slice)
__arm_streaming __arm_inout("za");
Commit: 7fa45afa938e0feb0030b14a8633de7dd8e529cb
https://github.com/llvm/llvm-project/commit/7fa45afa938e0feb0030b14a8633de7dd8e529cb
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
A llvm/test/CodeGen/SPIRV/phi-spvintrinsic-dominate.ll
Log Message:
-----------
[SPIR-V] Ensure that internal intrinsic functions are inserted at the correct positions (#93552)
The goal of the PR is to ensure that newly inserted internal intrinsic
functions are inserted at the correct positions, and don't break rules
of instruction domination and PHI nodes grouping at top of basic block.
This is a continuation of
https://github.com/llvm/llvm-project/pull/92316 and
https://github.com/llvm/llvm-project/pull/92536
Commit: f63adf3b51008970cc7c3794c68c7a6e33e8d5dd
https://github.com/llvm/llvm-project/commit/f63adf3b51008970cc7c3794c68c7a6e33e8d5dd
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/docs/SPIRVUsage.rst
M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp
M llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_cache_controls/basic-load-store.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_cache_controls/decorate-prefetch-w-cache-controls.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_global_variable_fpga_decorations/global-var-decorations.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_global_variable_host_access/global-var-host-access.ll
A llvm/test/CodeGen/SPIRV/llvm-intrinsics/ptr-annotation.ll
Log Message:
-----------
[SPIR-V] Introduce support of llvm.ptr.annotation to SPIR-V Backend and implement extensions which make use of spirv.Decorations (#93561)
This PR introduces support of llvm.ptr.annotation to SPIR-V Backend, and
implement several extensions which make use of spirv.Decorations and
llvm.ptr.annotation to annotate global variables and pointers:
- SPV_INTEL_cache_controls
- SPV_INTEL_global_variable_host_access
- SPV_INTEL_global_variable_fpga_decorations
Commit: 7c917e8268225735bf6fe0f7d8491fc944358e47
https://github.com/llvm/llvm-project/commit/7c917e8268225735bf6fe0f7d8491fc944358e47
Author: Vyacheslav Levytskyy <vyacheslav.levytskyy at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
A llvm/test/CodeGen/SPIRV/event-zero-const.ll
Log Message:
-----------
[SPIR-V] Implement correct zeroinitializer for extension types in SPIR-V Backend (#93607)
This PR implements correct zeroinitializer for extension types in SPIR-V
Backend.
Previous version has just created 0 of 32/64 integer type (depending on
target machine word size), that caused re-use and type re-write of the
corresponding integer constant 0 with a potential crash on wrong usage
of the constant (i.e., 0 of integer type expected but extension type
found). E.g., the following code would crash without the PR:
```
%r1 = icmp ne i64 %_arg_i, 0
%e1 = tail call spir_func target("spirv.Event") @__spirv_GroupAsyncCopy(i32 2, ptr addrspace(3) %_arg_local, ptr addrspace(1) %_arg_ptr, i64 1, i64 1, target("spirv.Event") zeroinitializer)
```
because 0 in icmp would eventually be of `Event` type.
Commit: 42a0fb2333344077dc8aafd65b50d0ece886cf4e
https://github.com/llvm/llvm-project/commit/42a0fb2333344077dc8aafd65b50d0ece886cf4e
Author: zjgarvey <47986913+zjgarvey at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
M mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
M mlir/test/Dialect/Linalg/generalize-named-ops.mlir
M mlir/test/Dialect/Linalg/named-ops.mlir
Log Message:
-----------
[mlir][linalg] Add linalg.conv_2d_ngchw_gfchw_q to named ops (#92136)
Adds a named op: linalg.conv_2d_ngchw_gfchw_q. This op is similar to
linalg.conv_2d_ngchw_gfchw, but additionally incorporates zero point
offset corrections.
Commit: a860e89028a004bc5b46ce0952b75d4f85a5927d
https://github.com/llvm/llvm-project/commit/a860e89028a004bc5b46ce0952b75d4f85a5927d
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Don't recompute getDemanded in RISCVInsertVSETVLI::needVSETVLI. NFC
This also makes the function a bit easier to reason about since we can
remove the assert. Eventually we might be able to replace needVSETVLI
with VSETVLIInfo::isCompatible.
Commit: 7ee511217b0d1cfd3269e9d2a89acf335ca9a9ea
https://github.com/llvm/llvm-project/commit/7ee511217b0d1cfd3269e9d2a89acf335ca9a9ea
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port 04f01a2b9ced
Commit: 9c4bae7c7c5be754f98bc495d51dd122609cd649
https://github.com/llvm/llvm-project/commit/9c4bae7c7c5be754f98bc495d51dd122609cd649
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86CompressEVEX.cpp
M llvm/test/CodeGen/X86/apx/compress-evex.mir
M llvm/utils/TableGen/X86ManualCompressEVEXTables.def
Log Message:
-----------
[X86][CodeGen] Disable NDD2NonNDD compression for CFCMOV
Commit: 35f2caf713489049cc1b31aa3fe0a054968f80e3
https://github.com/llvm/llvm-project/commit/35f2caf713489049cc1b31aa3fe0a054968f80e3
Author: chuongg3 <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/test/CodeGen/AArch64/arm64-tbl.ll
Log Message:
-----------
[AArch64][GlobalISel] Select TBL/TBX Intrinsics (#92914)
Commit: 8e1290432adf33a7aeca65a53d1faa7577ed0e66
https://github.com/llvm/llvm-project/commit/8e1290432adf33a7aeca65a53d1faa7577ed0e66
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/include/lldb/Symbol/Type.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Symbol/Type.cpp
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
Log Message:
-----------
[lldb/DWARF] Refactor DWARFDIE::Get{Decl,TypeLookup}Context (#93291)
After a bug (the bug is that the functions don't handle DW_AT_signature,
aka type units) led me to one of these similar-but-different functions,
I started to realize that most of the differences between these two
functions are actually bugs.
As a first step towards merging them, this patch rewrites both of them
to follow the same pattern, while preserving all of their differences.
The main change is that GetTypeLookupContext now also uses a `seen` list
to avoid reference loops (currently that's not necessary because the
function strictly follows parent links, but that will change with
DW_AT_signatures).
I've also optimized both functions to avoid recursion by starting contruction
with the deepest scope first (and then reversing it).
Commit: 3ce9b86cfd2d88162bc4a551dd7910b8cff3097b
https://github.com/llvm/llvm-project/commit/3ce9b86cfd2d88162bc4a551dd7910b8cff3097b
Author: Tuan Chuong Goh <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/mulcmle.ll
Log Message:
-----------
[AArch64][NFC] Pre-commit Test for Combine MUL(AND(LSHR)) to CMLTz (#92915)
Commit: 3082258d3a29664a66fcd35c104a40b8cf9d6cba
https://github.com/llvm/llvm-project/commit/3082258d3a29664a66fcd35c104a40b8cf9d6cba
Author: Jan Patrick Lehr <JanPatrick.Lehr at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
A llvm/test/Analysis/CostModel/X86/handle-iptr-with-data-layout-to-not-assert.ll
Log Message:
-----------
[CodeGen][X86] Use TargetLowering for TypeInfo of PointerTy (#93469)
This uses the TargetLowering getSimpleValueType mechanism to retrieve
the ValueType info inside the X86 cost model.
This resolves a build issue we were seeing for the miniQMC application after
https://github.com/llvm/llvm-project/pull/92671.
Commit: 103f6a7606fdc128041bb2e17fb0e992fc6f2225
https://github.com/llvm/llvm-project/commit/103f6a7606fdc128041bb2e17fb0e992fc6f2225
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
M llvm/utils/gn/secondary/llvm/test/BUILD.gn
Log Message:
-----------
Reland "[gn] port 088aa81a5454 (LLVM_HAS_LOGF128)""
This reverts commit 9ebf2f8a67cce570d0752556fed23ff2803aef33.
088aa81a5454 relanded in 3613b2683107b.
Commit: 9a282724a29899e84adc91bdeaf639010408a80d
https://github.com/llvm/llvm-project/commit/9a282724a29899e84adc91bdeaf639010408a80d
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/Transforms/Reassociate/reassoc_bool_vec.ll
Log Message:
-----------
[Reassociate] Update test after recent change
Fix test expectation after 3bcccb6af685c3132a9ee578b9e11b2503c35a5c.
Commit: 23366d4153e1e521a7e5b88d42afea69fb888be7
https://github.com/llvm/llvm-project/commit/23366d4153e1e521a7e5b88d42afea69fb888be7
Author: chuongg3 <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Combine.td
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
M llvm/test/CodeGen/AArch64/mulcmle.ll
Log Message:
-----------
[AArch64][GlobalISel] Combine MUL(AND(LSHR(X, 15), 0x10001), 0xffff) to CMLTz (#92915)
This patch mirrors the following SelectionDAG patch for GlobalISel:
https://reviews.llvm.org/D130874
Commit: 4ffe26334e563a3fea70c2a05de0410a2a3856d7
https://github.com/llvm/llvm-project/commit/4ffe26334e563a3fea70c2a05de0410a2a3856d7
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
M llvm/test/Transforms/InstSimplify/vector_gep.ll
Log Message:
-----------
[InstSimplify] Generate test checks (NFC)
Commit: a49b5cad99ff84c2c9c55db1d5d9d4bfe1411777
https://github.com/llvm/llvm-project/commit/a49b5cad99ff84c2c9c55db1d5d9d4bfe1411777
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
M llvm/test/Transforms/InferAddressSpaces/NVPTX/bug31948.ll
Log Message:
-----------
[InferAddressSpaces] Generate test checks (NFC)
Commit: 9377412c5a8bbfbee93029ef22b4b74949cbe1b5
https://github.com/llvm/llvm-project/commit/9377412c5a8bbfbee93029ef22b4b74949cbe1b5
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/Parse/ParseOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Remove unused include of UniqueVector.h, NFC
Commit: 1ea8caeada6efa991f7221f95fc6df581845895d
https://github.com/llvm/llvm-project/commit/1ea8caeada6efa991f7221f95fc6df581845895d
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
A llvm/test/CodeGen/AArch64/fixed-point-conv-vec-pat.ll
Log Message:
-----------
[AArch64] Add patterns for conversions using fixed-point scvtf (#92922)
Commit: 0dfd2bf4dfd3fc8c0733678186ceb37776597d35
https://github.com/llvm/llvm-project/commit/0dfd2bf4dfd3fc8c0733678186ceb37776597d35
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
Log Message:
-----------
[LTT] Directly create inbounds gep (NFCI)
We know that this gep is inbounds. Constant expression construction
already infers this fact, but make it explicit.
Commit: 180448b13c2bfc94f4eef64d2352ad4cf94f01c7
https://github.com/llvm/llvm-project/commit/180448b13c2bfc94f4eef64d2352ad4cf94f01c7
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
Log Message:
-----------
[AMDGPU] Reduce use of continue in SIWholeQuadMode. NFC. (#93659)
Commit: 24ddce62c8bb92a19ba3677629c77a2e6f137b1a
https://github.com/llvm/llvm-project/commit/24ddce62c8bb92a19ba3677629c77a2e6f137b1a
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
A llvm/test/CodeGen/RISCV/GlobalISel/bitmanip.ll
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-bitreverse-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-bitreverse-rv64.mir
Log Message:
-----------
[GISel] Legalize bitreverse with types smaller than 8 bits (#92998)
This patch adds support for lowering `bitreverse` with types smaller
than 8 bits. It also fixes an existing assertion failure in
`llvm::APInt::getSplat`: https://godbolt.org/z/7crs8xrcG
The lowering logic is copied from SDAG:
https://github.com/llvm/llvm-project/blob/2034f2fc8729bd4645ef7caa3c5c6efa284d2d3f/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp#L9384-L9398
Commit: fba84ecc158ec4a9e0eae91d923d4a8f15e7ed6f
https://github.com/llvm/llvm-project/commit/fba84ecc158ec4a9e0eae91d923d4a8f15e7ed6f
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
Log Message:
-----------
[WPD] Directly create geteleementptr inbounds (NFCI)
We know that this GEP is inbounds, so make it explicit. NFCI
because constant expression construction already infers this.
Commit: 886d31675dbb6fe8cf97fd9083870bd043ce9f02
https://github.com/llvm/llvm-project/commit/886d31675dbb6fe8cf97fd9083870bd043ce9f02
Author: Tuan Chuong Goh <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/GlobalISel/combine-add.mir
M llvm/test/CodeGen/AArch64/neon-extadd.ll
Log Message:
-----------
[AArch64][NFC] Pre-commit test for Push ADD/SUB through {S|Z}EXT (#90964)
Commit: 753ac4786e250604224701616f0962e41e163a02
https://github.com/llvm/llvm-project/commit/753ac4786e250604224701616f0962e41e163a02
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv32.mir
Log Message:
-----------
[RISCV][test] Add missing check-prefix to a test (NFC) (#93683)
Commit: df9701bfee2b13282a9c1bf981d37b965cb22bf7
https://github.com/llvm/llvm-project/commit/df9701bfee2b13282a9c1bf981d37b965cb22bf7
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M openmp/runtime/src/CMakeLists.txt
Log Message:
-----------
[OpenMP] Fix multiply installing `libomp.so` (#93685)
Summary:
The `add_llvm_library` interface handles installing the llvm libraries,
however we want to do our own handling. Otherwise, this will install
into the `./lib` location instead of the `./lib/<target>` one.
Commit: 7af5b68a03bb7f5090a96b3f9f9a34f0e196e466
https://github.com/llvm/llvm-project/commit/7af5b68a03bb7f5090a96b3f9f9a34f0e196e466
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
Log Message:
-----------
[DFSan] Directly create gep inbounds for arg origin tls (NFCI)
Calling code explicitly checks that ArgNo is inbounds. NFCI
because constant expression creation already infers it, this just
makes it explicit.
Commit: fbe98da623c014a3e935b1e683aecdacee17f5bd
https://github.com/llvm/llvm-project/commit/fbe98da623c014a3e935b1e683aecdacee17f5bd
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/irreducible/diverged-entry-headers.ll
M llvm/test/CodeGen/AMDGPU/addrspacecast.ll
M llvm/test/CodeGen/AMDGPU/dpp_combine_gfx11.mir
M llvm/test/MC/AMDGPU/hsa-diag-v4.s
M llvm/test/MC/Disassembler/AMDGPU/gfx10-wave32.txt
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_ds.txt
M llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll
Log Message:
-----------
[AMDGPU] Fix filecheck annotation typos
Co-authored-by: klensy <nightouser at gmail.com>
Commit: e8e5ba00db1b6a8ed5c988b1a252c86487d1bce7
https://github.com/llvm/llvm-project/commit/e8e5ba00db1b6a8ed5c988b1a252c86487d1bce7
Author: Alexandros Lamprineas <alexandros.lamprineas at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
[AArch64][TargetParser] Move ExtensionDependencies into tablegen [NFC] (#93614)
This patch generates ExtensionDependency pairs {Earlier, Later} inferred
by the 'Implies' field of every Extension defined in tablegen. Implied
Subtarget Features that are not Extensions are skipped.
Commit: e20f0fe29f714a22679214b499744735d528fc1a
https://github.com/llvm/llvm-project/commit/e20f0fe29f714a22679214b499744735d528fc1a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/WasmEHPrepare.cpp
Log Message:
-----------
[WasmEHPrepare] Explicitly create inbounds GEP (NFCI)
These are known to be inbounds, create them as such. NFCI because
constant expression construction currently already infers this.
Also drop the unnecessary zero-index GEP: This is equivalent to
the pointer itself nowadays.
Commit: 14dc97df5ef3a9178fc4175303f0f86ed4e3f98e
https://github.com/llvm/llvm-project/commit/14dc97df5ef3a9178fc4175303f0f86ed4e3f98e
Author: chuongg3 <chuong.goh at arm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Combine.td
M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/combine-add.mir
M llvm/test/CodeGen/AArch64/aarch64-addv.ll
M llvm/test/CodeGen/AArch64/arm64-vabs.ll
M llvm/test/CodeGen/AArch64/neon-extadd.ll
M llvm/test/CodeGen/AArch64/vecreduce-add.ll
Log Message:
-----------
[AArch64][GlobalISel] Push ADD/SUB through Extend Instructions (#90964)
The regression in one test is due to a SUB instruction being pushed
through the extend, leaving behind the abs instruction, which prevents
it from selecting uabdl instructions shown below:
`i32 abs(i32 sub(i32 ext i8, i32 ext i8))` =>
`i32 abs(i32 ext(i16 sub(i16 ext i8, i16 ext i8)))`
This is intended to be fixed in a follow up patch
Commit: 0981dca7779d4acfcbb92fbb29a7a1033e283b88
https://github.com/llvm/llvm-project/commit/0981dca7779d4acfcbb92fbb29a7a1033e283b88
Author: donald chen <chenxunyu1993 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/test/Dialect/Linalg/transform-op-split-reduction.mlir
Log Message:
-----------
[mlir][arith] Add neutral element support to arith.maxnumf/arith.minnumf (#93278)
For maxnumf and minnumf, the result of calculations involving NaN will
be another value, so their neutral element is set to NaN.
Commit: 799316ff26cc82d60f276dc62c4a69b5bba1aef3
https://github.com/llvm/llvm-project/commit/799316ff26cc82d60f276dc62c4a69b5bba1aef3
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/include/lldb/Target/RegisterFlags.h
M lldb/source/Target/RegisterFlags.cpp
Log Message:
-----------
[lldb][NFC] Pass Stream& to ToXML methods in RegisterFlags
As suggested in a review of some new code for this file, Stream
is more general. The code does not need to know that it's backed
by a string.
Commit: 975477e7f7ee1d8c29975224abb452f73b90db36
https://github.com/llvm/llvm-project/commit/975477e7f7ee1d8c29975224abb452f73b90db36
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
Log Message:
-----------
[CGBuiltin] Explicitly use inbounds GEP (NFCI)
All of these are inbounds as they access known offsets in fixed
globals. NFCI because constant expression construction currently
already infers this, this patch just makes it explicit.
Commit: 6127f15e5b4834411e8f2e700e25c40490deec35
https://github.com/llvm/llvm-project/commit/6127f15e5b4834411e8f2e700e25c40490deec35
Author: zhijian lin <zhijian at ca.ibm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPC.td
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCInstrP10.td
M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
A llvm/test/CodeGen/PowerPC/pr62372.ll
Log Message:
-----------
[PowerPC] option `-msoft-float` should not block the PC-relative address instruction (#92543)
The Prefix instruction is introduced on PowerPC ISA3_1.
In the PR,
1. The `FeaturePrefixInstrs` do not imply the `FeatureP8Vector`
,`FeatureP9Vector` .
2. `FeaturePrefixInstrs` implies only the FeatureISA3_1.
3. For the prefix instructions `paddi` and `pli` , they have `Predicates
= [PrefixInstrs] `
4. For the prefix instructions `plfs` and `plfd`, they have `Predicates
= [PrefixInstrs, HasFPU] `
5. For the prefix instructions "plxv` , "plxssp` and `plxsd` , they have
`Predicates = [PrefixInstrs, HasP10Vector]`
Fixes #62372
Commit: cd5045a76a02f87542b2ff3d78352c10aee6395b
https://github.com/llvm/llvm-project/commit/cd5045a76a02f87542b2ff3d78352c10aee6395b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/utils/TableGen/VTEmitter.cpp
Log Message:
-----------
[ValueTypes] Use bit instead of int for boolean fields in ValueTypes.td. NFC
Commit: b15a0a37404f36bcd9c7995de8cd16f9cb5ac8af
https://github.com/llvm/llvm-project/commit/b15a0a37404f36bcd9c7995de8cd16f9cb5ac8af
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/X86/math-builtins.c
M clang/test/CodeGen/constrained-math-builtins.c
M clang/test/CodeGen/math-libcalls.c
M clang/test/CodeGenOpenCL/builtins-f16.cl
M llvm/docs/LangRef.rst
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/IR/ConstrainedOps.def
M llvm/include/llvm/IR/Intrinsics.td
M llvm/test/Assembler/fp-intrinsics-attr.ll
M llvm/test/Feature/fp-intrinsics.ll
Log Message:
-----------
[clang] Add tanf16 builtin and support for tan constrained intrinsic (#93314)
In LLVM, the `llvm.experimental.constrained.cos` and
`llvm.experimental.constrained.sin` intrinsics are used for performing
cosine and sine calculations with additional constraints on
floating-point operations. This behavior is expected for all
floating-point math intrinsics. This change adds these constraints for
the `tan` intrinsic.
- `Builtins.td` - replace TanF128 with F16F128MathTemplate
- `CGBuiltin.cpp` - map existing tan builtins to `tan` and
`constrained_tan` intrinsic
- `ConstrainedOps.def` map tan and constrained_tan to an ISDOpcode.
- `ISDOpcodes.h` - define tan and strict tan opcodes
resolves #91421
Commit: fe82a3da36196157c0caa1ef2505186782f750d1
https://github.com/llvm/llvm-project/commit/fe82a3da36196157c0caa1ef2505186782f750d1
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Fuchsia.cmake
M clang/cmake/caches/VectorEngine.cmake
M clang/utils/analyzer/entrypoint.py
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
M compiler-rt/lib/xray/tests/CMakeLists.txt
M lldb/docs/resources/build.rst
M lldb/source/Core/CMakeLists.txt
M llvm/CMakeLists.txt
M llvm/cmake/config-ix.cmake
A llvm/cmake/modules/FindTerminfo.cmake
M llvm/cmake/modules/LLVMConfig.cmake.in
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/Config/config.h.cmake
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/Unix/Process.inc
M llvm/utils/gn/README.rst
A llvm/utils/gn/build/libs/terminfo/BUILD.gn
A llvm/utils/gn/build/libs/terminfo/enable.gni
M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
M utils/bazel/.bazelrc
M utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
M utils/bazel/llvm_configs/config.h.cmake
Log Message:
-----------
Revert "[Support] Remove terminfo dependency (#92865)"
This reverts commit 6bf450c7a60fa62c642e39836566da94bb9bbc91.
It breaks LLDB CI: https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/4762/execution/node/97/log/
```
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -Wdocumentation -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O3 -DNDEBUG -arch arm64 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=14.1 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-dead_strip -Wl,-no_warn_duplicate_libraries tools/lldb/unittests/Editline/CMakeFiles/EditlineTests.dir/EditlineTest.cpp.o -o tools/lldb/unittests/Editline/EditlineTests lib/libLLVMSupport.a lib/libllvm_gtest_main.a lib/libllvm_gtest.a lib/liblldbHost.a lib/liblldbUtility.a lib/libLLVMTestingSupport.a /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libxml2.tbd /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libedit.tbd lib/liblldbHostMacOSXObjCXX.a lib/liblldbUtility.a -framework Foundation -framework CoreFoundation -framework CoreServices -framework Security lib/libLLVMObject.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMTextAPI.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libllvm_gtest.a lib/libLLVMSupport.a -lm /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk/usr/lib/libz.tbd /opt/homebrew/lib/libzstd.dylib lib/libLLVMDemangle.a -lpthread && cd /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/unittests/Editline && /opt/homebrew/Cellar/cmake/3.28.3/bin/cmake -E make_directory /Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake/lldb-build/tools/lldb/unittests/Editline/./Inputs
ld: Undefined symbols:
_setupterm, referenced from:
lldb_private::Editline::Editline(char const*, __sFILE*, __sFILE*, __sFILE*, std::__1::recursive_mutex&) in liblldbHost.a[35](Editline.cpp.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
Commit: 1de6011c34b185235cd65c2e3fb030015d182968
https://github.com/llvm/llvm-project/commit/1de6011c34b185235cd65c2e3fb030015d182968
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/utils/TableGen/VTEmitter.cpp
Log Message:
-----------
[ValueTypes] Remove hardcoded 224 from VTEmitter.cpp. NFC
Add a new bit to ValueTypes.td to indicate whether a type should be
part of the [FIRST_VALUETYPE,LAST_VALUETYPE] range or not.
This was reviewed as part of #93654.
Commit: 6d90ac1e06f31cae9806a8815158e2851cf8e987
https://github.com/llvm/llvm-project/commit/6d90ac1e06f31cae9806a8815158e2851cf8e987
Author: Thorsten Schütt <schuett at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelperVectorOps.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/combine-extract-vec-elt.mir
A llvm/test/CodeGen/AArch64/GlobalISel/combine-freeze.mir
M llvm/test/CodeGen/AArch64/GlobalISel/combine-insert-vec-elt.mir
M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-divrem-insertpt-crash.mir
M llvm/test/CodeGen/AArch64/fast-isel-select.ll
M llvm/test/CodeGen/AMDGPU/div_i128.ll
Log Message:
-----------
[GlobalIsel] Combine freeze (#93239)
Commit: c9c244423ffb8071bb838c3606052e12af537047
https://github.com/llvm/llvm-project/commit/c9c244423ffb8071bb838c3606052e12af537047
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
A mlir/test/mlir-vulkan-runner/vector-interleave.mlir
A mlir/test/mlir-vulkan-runner/vector-shuffle.mlir
Log Message:
-----------
[mlir][spirv] Add integration test for `vector.interleave` and `vector.shuffle` (#93595)
- Add integration test for `vector.shuffle` and `vector.interleave`,
mentioned in issue #91978
- Add `VectorToSPIRV` patterns to `GPUToSPIRVPass`
---------
Co-authored-by: Jakub Kuderski <kubakuderski at gmail.com>
Commit: cfb209b92a26f16ed7413b32da20fc436eff8c58
https://github.com/llvm/llvm-project/commit/cfb209b92a26f16ed7413b32da20fc436eff8c58
Author: Vy Nguyen <oontvoo at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/source/API/SBDebugger.cpp
M lldb/source/Symbol/TypeSystem.cpp
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
[lldb][lldb-dap] Cleanup breakpoint filters. (#87550)
Details:
- remove Swift breakpoint filter because this version of LLDB does not
support Swift.
- only return objc filters when working on macos.
Commit: 2ceec68e1630b40a37448c44fea63f9114848235
https://github.com/llvm/llvm-project/commit/2ceec68e1630b40a37448c44fea63f9114848235
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ValueTypes.td
Log Message:
-----------
[ValueTypes] Rename FlagVT to Glue in ValueTypes.td. NFC
Nothing ever refers to it as FlagVT so we can just use the LLVMName
"Glue".
Commit: 949ef57dd20f8d3f3257376b91af71ab8c380338
https://github.com/llvm/llvm-project/commit/949ef57dd20f8d3f3257376b91af71ab8c380338
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/BinaryFormat/ELF.h
Log Message:
-----------
AMDGPU/NFC: Reserve 0x058 EF_AMDGPU_MACHs (#93696)
Commit: 4e251e7cad6c27b7476edd8e1dc4b98d5a8efe76
https://github.com/llvm/llvm-project/commit/4e251e7cad6c27b7476edd8e1dc4b98d5a8efe76
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
Log Message:
-----------
Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFC.
Commit: 2665b2a6ddb1625799536c45ca15605a6f24c081
https://github.com/llvm/llvm-project/commit/2665b2a6ddb1625799536c45ca15605a6f24c081
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Pull out combineConstantPoolLoads helper from combineLoad. NFC.
The logic is already pretty dense and a future patch will further complicate this.
Commit: 737a3018e826f5452f181a550be90b9135d8eda5
https://github.com/llvm/llvm-project/commit/737a3018e826f5452f181a550be90b9135d8eda5
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/InstrProfReader.cpp
Log Message:
-----------
[nfc][InstrFDO] Add Header::getIndexedProfileVersion and use it to decide profile version. (#93613)
This is a split of https://github.com/llvm/llvm-project/pull/93346 as
discussed.
Commit: 8c5a7a1fc4890fcae50f8e8a61d5a2e2b1ebd7e5
https://github.com/llvm/llvm-project/commit/8c5a7a1fc4890fcae50f8e8a61d5a2e2b1ebd7e5
Author: Vadim D <36827317+vvd170501 at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang-tools-extra/clangd/Config.h
M clang-tools-extra/clangd/ConfigCompile.cpp
M clang-tools-extra/clangd/ConfigFragment.h
M clang-tools-extra/clangd/ConfigYAML.cpp
M clang-tools-extra/clangd/IncludeCleaner.cpp
M clang-tools-extra/clangd/IncludeCleaner.h
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
M clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
Log Message:
-----------
[clangd] Add config option to allow detection of unused angled includes (#87208)
This PR adds a new `AnalyzeAngledIncludes` option to `Includes` section
of clangd config. This option enables unused include checks for all includes
that use the `<>` syntax, not just standard library includes.
Commit: 265589785ccf043492e4e0ab88c2830eae7d3496
https://github.com/llvm/llvm-project/commit/265589785ccf043492e4e0ab88c2830eae7d3496
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/include/lldb/Target/Process.h
M lldb/source/Commands/CommandObjectMemory.cpp
M lldb/source/Target/Process.cpp
Log Message:
-----------
[nfc][lldb] Move FastSearch from CommandObjectMemoryFind to Process (#93688)
Moving CommandObjectMemoryFind::FastSearch() to Process::FindInMemory(). Plan to expose FindInMemory as public API in SBProcess.
Commit: 9595eb10ae9a5661a596dff19bf39365140548e3
https://github.com/llvm/llvm-project/commit/9595eb10ae9a5661a596dff19bf39365140548e3
Author: Hui <hui.xie1990 at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
Log Message:
-----------
[libc++][test] Close LWG3018 and add tests (#93047)
Commit: c54657887b2cd88f0745c151fec0b15a8a7d1e44
https://github.com/llvm/llvm-project/commit/c54657887b2cd88f0745c151fec0b15a8a7d1e44
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[nfc][InstrProfWriter]Store header fields in a vector and back patch once (#93594)
This is a split of https://github.com/llvm/llvm-project/pull/93346 as
discussed.
Commit: 1f67f34a5cf993f03eca8936bfb7203778c2997a
https://github.com/llvm/llvm-project/commit/1f67f34a5cf993f03eca8936bfb7203778c2997a
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
A llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll
Log Message:
-----------
[MTE] add stack frame history buffer
this will allow us to find offending objects in a symbolization step,
like we can do with hwasan.
needs matching changes in AOSP:
https://android-review.git.corp.google.com/q/topic:%22stackhistorybuffer%22
Pull Request: https://github.com/llvm/llvm-project/pull/86356
Commit: 3313f28897a87ec313ec0b52ef71c14d3b9ff652
https://github.com/llvm/llvm-project/commit/3313f28897a87ec313ec0b52ef71c14d3b9ff652
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
R llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll
Log Message:
-----------
Revert "[MTE] add stack frame history buffer"
This reverts commit 1f67f34a5cf993f03eca8936bfb7203778c2997a.
Commit: 1a2f3309765fdc143fdc3809211fb85d2e2ca341
https://github.com/llvm/llvm-project/commit/1a2f3309765fdc143fdc3809211fb85d2e2ca341
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/TextNodeDumper.h
M clang/lib/AST/TextNodeDumper.cpp
M clang/test/AST/ast-dump-decl.cpp
M clang/test/AST/ast-dump-openmp-begin-declare-variant_template_2.cpp
A clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/AST/constraints-explicit-instantiation.cpp
M clang/test/OpenMP/align_clause_ast_print.cpp
M clang/test/OpenMP/generic_loop_ast_print.cpp
M clang/test/OpenMP/interop_ast_print.cpp
M clang/test/SemaOpenACC/sub-array-ast.cpp
M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
M clang/test/SemaTemplate/attributes.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/type_pack_element.cpp
Log Message:
-----------
[clang] Improve ast-dumper text printing of TemplateArgument (#93431)
This improves and unifies our approach to printing all template
arguments.
The same approach to printing types is extended to all
TemplateArguments: A sugared version is printed in quotes, followed by
printing the canonical form, unless they would print the same.
Special improvements are done to add more detail to template template
arguments.
It's planned in a future patch to use this improved TemplateName printer
for other places besides TemplateArguments.
Note: The sugared/desugared printing does not show up for TemplateNames
in tests yet, because we do a poor job of preserving their type sugar.
This will be improved in a future patch.
Commit: d2f7a38b7db78adb5c36fff1f7e12814be1a6c30
https://github.com/llvm/llvm-project/commit/d2f7a38b7db78adb5c36fff1f7e12814be1a6c30
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Fix a warning
This patch fixes:
llvm/lib/Target/X86/X86ISelLowering.cpp:50832:7: error: unused
variable 'MemVT' [-Werror,-Wunused-variable]
Commit: dcbd1fbdf46e74e9be80ec8e3e865b8347e8532b
https://github.com/llvm/llvm-project/commit/dcbd1fbdf46e74e9be80ec8e3e865b8347e8532b
Author: thetruestblue <92476612+thetruestblue at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
Log Message:
-----------
[TEST][Darwin] Change x86_64h UNSUPPORTED lit feature used in san cov test (#93706)
Fix x86_64 lit feature. x86-target-arch not set for x86_64h
x86-target-arch not set for x86_64.
Commit: 9fe7aef1889300a17a594efb55358ebd032a81a2
https://github.com/llvm/llvm-project/commit/9fe7aef1889300a17a594efb55358ebd032a81a2
Author: aengelke <engelke at in.tum.de>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/MachineFrameInfo.h
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/TargetRegisterInfo.cpp
Log Message:
-----------
[CodeGen] Don't check attrs for stack realign (#92564)
shouldRealignStack/canRealignStack are repeatedly called in PEI (through
hasStackRealignment). Checking function attributes is expensive, so
cache this data in the MachineFrameInfo, which had most data already.
This slightly changes the semantics of `MachineFrameInfo::ForcedRealign`
to be also true when the `stackrealign` attribute is set.
Commit: 472184db24f2f5f7ddca76d7aadd13a3dca05991
https://github.com/llvm/llvm-project/commit/472184db24f2f5f7ddca76d7aadd13a3dca05991
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #93595 (#93716)
Commit: 8aceb7a53d82f9566a7cf4775effa4089b22a75b
https://github.com/llvm/llvm-project/commit/8aceb7a53d82f9566a7cf4775effa4089b22a75b
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/TargetLoweringBase.cpp
Log Message:
-----------
[ValueTypes] Remove MVT::MAX_ALLOWED_VALUETYPE. NFC (#93654)
Despite the comment, this isn't used to size bit vectors or tables.
That's done by VALUETYPE_SIZE. MAX_ALLOWED_VALUETYPE is only used by
some static_asserts that compare it to VALUETYPE_SIZE.
This patch removes it and most of the static_asserts. I left one where I
compared VALUETYPE_SIZE to token which is the first type that isn't part
of the VALUETYPE range. This isn't strictly needed, we'd probably catch
duplication error from VTEmitter.cpp first.
Commit: b3bbb2de6fab74b714f38c0bf0822e1634b0d158
https://github.com/llvm/llvm-project/commit/b3bbb2de6fab74b714f38c0bf0822e1634b0d158
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/vsra-sdnode.ll
Log Message:
-----------
[RISCV] Verify the VL and Mask on the outer TRUNCATE_VECTOR_VL in combineTruncOfSraSext. (#93578)
We checked the VL and mask of any additional TRUNCATE_VECTOR_VL
nodes we peek through, but not the outermost.
This moves the check to the outer node and then verifies all the
additional nodes have the same VL and Mask.
Stacked on #93574
Commit: 99b9ab45cd67648a7b6c2ba02041072fe4de346b
https://github.com/llvm/llvm-project/commit/99b9ab45cd67648a7b6c2ba02041072fe4de346b
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
Log Message:
-----------
[memprof] Reorder MemProf sections in profile (#93640)
This patch teaches the V3 format to serialize Frames, call stacks, and
IndexedMemProfRecords, in that order.
I'm planning to use linear IDs for Frames. That is, Frames will be
numbered 0, 1, 2, and so on in the order we serialize them. In turn,
we will seialize the call stacks in terms of those linear IDs.
Likewise, I'm planning to use linear IDs for call stacks and then
serialize IndexedMemProfRecords in terms of those linear IDs for call
stacks.
With the new order, we can successively free data structures as we
serialize them. That is, once we serialize Frames, we can free the
Frames' data proper and just retain mappings from FrameIds to linear
IDs. A similar story applies to call stacks.
Commit: 7348bb23abdf59e503c815037ce9835f5dd15df2
https://github.com/llvm/llvm-project/commit/7348bb23abdf59e503c815037ce9835f5dd15df2
Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/X86/math-builtins.c
M clang/test/CodeGen/constrained-math-builtins.c
M clang/test/CodeGen/math-libcalls.c
M clang/test/CodeGenOpenCL/builtins-f16.cl
M llvm/docs/LangRef.rst
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/IR/ConstrainedOps.def
M llvm/include/llvm/IR/Intrinsics.td
M llvm/test/Assembler/fp-intrinsics-attr.ll
M llvm/test/Feature/fp-intrinsics.ll
Log Message:
-----------
Revert "[clang] Add tanf16 builtin and support for tan constrained intrinsic (#93314)" (#93721)
This reverts commit b15a0a37404f36bcd9c7995de8cd16f9cb5ac8af.
This should undo PR: https://github.com/llvm/llvm-project/pull/93314
will need to re-open https://github.com/llvm/llvm-project/issues/91421
wait for https://github.com/llvm/llvm-project/pull/90503 to land
Commit: 1cff74130f30aaf47a995c5f6b637a04eaab2617
https://github.com/llvm/llvm-project/commit/1cff74130f30aaf47a995c5f6b637a04eaab2617
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCV.h
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/test/CodeGen/RISCV/O0-pipeline.ll
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
R llvm/test/CodeGen/RISCV/rvv/coalesce-vsetvli.mir
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir
Log Message:
-----------
[RISCV] Merge RISCVCoalesceVSETVLI back into RISCVInsertVSETVLI (#92869)
We no longer need to separate the passes now that #70549 is landed and
this will unblock #89089.
It's not strictly NFC because it will move coalescing before register
allocation when -riscv-vsetvl-after-rvv-regalloc is disabled. But this
makes it closer to the original behaviour.
Commit: ec8fe598a94d2826f8e4f79367a5a45a6b32d284
https://github.com/llvm/llvm-project/commit/ec8fe598a94d2826f8e4f79367a5a45a6b32d284
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
Log Message:
-----------
[RISCV] Move vnclipu patterns into DAGCombiner. (#93596)
I plan to add support for multiple layers of vnclipu. For example,
i32->i8 using 2 vnclipu instructions. First clipping to 65535, then
clipping to 255. Similar for signed vnclip.
This scales poorly if we need to add patterns with 2 or 3 truncates.
Instead, move the code to DAGCombiner with new ISD opcodes to represent
VCLIP(U).
This patch just moves the existing patterns into DAG combine. Support
for multiple truncates will as a follow up. A similar patch series will
be made for the signed vnclip.
Commit: 9c4a716c1292096fcbdf415b63b7b0122b03310f
https://github.com/llvm/llvm-project/commit/9c4a716c1292096fcbdf415b63b7b0122b03310f
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/AST/ODRHash.cpp
M clang/lib/AST/TemplateBase.cpp
M clang/lib/AST/TemplateName.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprMember.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/TreeTransform.h
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-decl.cpp
M clang/test/AST/ast-dump-expr.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/CXX/drs/cwg1xx.cpp
M clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp
M clang/test/Index/print-type.cpp
M clang/test/OpenMP/declare_mapper_messages.cpp
M clang/test/Parser/cxx-template-template-recovery.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaTemplate/cwg2398.cpp
M clang/test/SemaTemplate/instantiate-requires-expr.cpp
M clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp
M clang/unittests/AST/TemplateNameTest.cpp
M libcxx/test/std/containers/associative/map/map.cons/deduct.verify.cpp
M libcxx/test/std/containers/associative/multimap/multimap.cons/deduct.verify.cpp
M libcxx/test/std/containers/associative/multiset/multiset.cons/deduct.verify.cpp
M libcxx/test/std/containers/associative/set/set.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/array/array.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/deque/deque.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/list/list.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/vector/vector.cons/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/deduct.verify.cpp
M libcxx/test/std/ranges/range.adaptors/range.join/ctad.verify.cpp
M libcxx/test/std/re/re.regex/re.regex.construct/deduct.verify.cpp
M libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.verify.cpp
Log Message:
-----------
[clang] Preserve Qualifiers and type sugar in TemplateNames (#93433)
This patch improves the preservation of qualifiers and loss of type
sugar in TemplateNames.
This problem is analogous to https://reviews.llvm.org/D112374 and this
patch takes a very similar approach to that patch, except the impact
here is much lesser.
When a TemplateName was written bare, without qualifications, we
wouldn't produce a QualifiedTemplate which could be used to disambiguate
it from a Canonical TemplateName. This had effects in the TemplateName
printer, which had workarounds to deal with this, and wouldn't print the
TemplateName as-written in most situations.
There are also some related fixes to help preserve this type sugar along
the way into diagnostics, so that this patch can be properly tested.
- Fix dropping the template keyword.
- Fix type deduction to preserve sugar in TST TemplateNames.
Commit: f68fdb84e1809caf42dd22b94145f06974429091
https://github.com/llvm/llvm-project/commit/f68fdb84e1809caf42dd22b94145f06974429091
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Log Message:
-----------
DAG: Fix losing flags on select when expanding select_cc (#93662)
This was only preserving the flags on the setcc, not the new select.
This was missing presumably due to getSelect not having a flags argument
until recently. Avoids regressions in a future commit.
Commit: 4e67f45168b6ba95864285ba7f0ee313b084bdfb
https://github.com/llvm/llvm-project/commit/4e67f45168b6ba95864285ba7f0ee313b084bdfb
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
A llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll
Log Message:
-----------
Reapply "[MTE] add stack frame history buffer"
In the reverted change, the order of the IR was dependent on the host
compiler, because we inserted instructions in arguments to functions.
Fix that, and also fix another problem with the test.
This reverts commit 3313f28897a87ec313ec0b52ef71c14d3b9ff652.
Commit: 428b9be6484404183f51de08d2503570bade2287
https://github.com/llvm/llvm-project/commit/428b9be6484404183f51de08d2503570bade2287
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M flang/test/Fir/convert-to-llvm.fir
M mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Target/LLVMIR/llvmir.mlir
Log Message:
-----------
[mlir] Align num elements type to LLVM ArrayType (#93230)
MLIR LLMArrayType is using `unsigned` for the number of elements while
LLVM ArrayType is using `uint64_t`
https://github.com/llvm/llvm-project/blob/4ae896fe979b7db501cabde4b6b3504478958682/llvm/include/llvm/IR/DerivedTypes.h#L377
This leads to silent truncation when we use it for globals in flang.
```
program test
integer(8), parameter :: large = 2**30
real, dimension(large) :: bigarray
common /c/ bigarray
bigarray(999) = 666
end
```
The above program would result in a segfault since the global would be
of size 0 because of the silent truncation.
```
fir.global common @c_(dense<0> : vector<4294967296xi8>) : !fir.array<4294967296xi8>
```
became
```
llvm.mlir.global common @c_(dense<0> : vector<4294967296xi8>) {addr_space = 0 : i32} : !llvm.array<0 x i8>
```
This patch updates the definition of MLIR ArrayType to take `uint64_t`
as argument of the number of elements to be compatible with LLVM.
Commit: 4b4d36654d8056546b177b3d04c352ba0b16d7ea
https://github.com/llvm/llvm-project/commit/4b4d36654d8056546b177b3d04c352ba0b16d7ea
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Store only VNInfo val no in VSETVLIInfo. NFC
The VNInfo id (called val no elsewhere it seems) and register is enough
to uniquely identify AVL values, so try to store as little state as
possible.
This may also allow us to use dummy val nos in an upcoming patch when we
don't have LiveIntervals.
Commit: 3255752cbdd73595605439ad66aa4273a444af17
https://github.com/llvm/llvm-project/commit/3255752cbdd73595605439ad66aa4273a444af17
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M .github/new-prs-labeler.yml
Log Message:
-----------
[Github]Update PGO with more filepaths (#93720)
- `llvm/**/ProfileData/**/*` intends to cover `llvm/include/llvm/ProfileData/` and `llvm/lib/ProfileData/`
- `llvm/**/SampleProfile*` intends to cover a bunch of SamplePGO files and their headers. For example,
`SampleProfile.cpp`, `SampleProfileMatcher.cpp`, `SampleProfileProbe.cpp`
- `llvm/**/CodeGen/MIRSampleProfile*` intends to cover MIRSampleProfile.cpp and its header.
- `llvm/test/Transforms/SampleProfile/**/*` intends to cover unit tests.
Commit: 3fcf36363d0dc18f9782538897c13ff27e23d7a9
https://github.com/llvm/llvm-project/commit/3fcf36363d0dc18f9782538897c13ff27e23d7a9
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Make some static functions in RISCVInsertVSETVLI methods. NFC
So we don't have to thread through some common arguments, and to allow
some methods to access state in an upcoming patch.
Commit: 87e8ce376771f8c88a12776544cd81ec5a4993fb
https://github.com/llvm/llvm-project/commit/87e8ce376771f8c88a12776544cd81ec5a4993fb
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/RelLookupTableConverter.cpp
M llvm/test/Transforms/RelLookupTableConverter/X86/opaque-ptr.ll
M llvm/test/Transforms/RelLookupTableConverter/X86/relative_lookup_table.ll
Log Message:
-----------
[llvm] Re-use original global name in RelLookupTableConverter (#93626)
Prior, the reltable we create was "reltable." + FuncName which can
result in multiple tables named "reltable." + FuncName + ".{number}" if
we substitute multiple tables in a function. Since we replace the
original global, it makes it easier to just take over the original
global's name. Functionally, this doesn't change the IR emitted, just
global names.
This is a subset of PR 93355 that I'm breaking into multiple patches.
Commit: 025394fa0dd3d0c20cc755f79ed521b85e5d7943
https://github.com/llvm/llvm-project/commit/025394fa0dd3d0c20cc755f79ed521b85e5d7943
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/Arch/ARM.cpp
M lld/ELF/Config.h
M lld/ELF/InputFiles.cpp
A lld/test/ELF/armv8-thumb-plt-reloc.s
Log Message:
-----------
Reapply "[lld] Support thumb PLTs" (#93631) (#93644)
This reverts commit 7832769d329ead264aff238c06dce086b3a74922.
This was reverted prior due to a test failure on the windows builder. I
think this was because we didn't specify the triple and assumed windows.
The other tests use the full triple specifying linux, so we follow suite
here.
---
We are using PLTs for cortex-m33 which only supports thumb. More
specifically, this is for a very restricted use case. There's no MMU so
there's no sharing of virtual addresses between two processes, but this
is fine. The MCU is used for running [chre
nanoapps](https://android.googlesource.com/platform/system/chre/+/HEAD/doc/nanoapp_overview.md)
for android. Each nanoapp is a shared library (but effectively acts as
an executable containing a test suite) that is loaded and run on the MCU
one binary at a time and there's only one process running at a time, so
we ensure that the same text segment cannot be shared by two different
running executables. GNU LD supports thumb PLTs but we want to migrate
to a clang toolchain and use LLD, so thumb PLTs are needed.
Commit: 5bec47c1ef6468ea1e9b24fc7126424760306615
https://github.com/llvm/llvm-project/commit/5bec47c1ef6468ea1e9b24fc7126424760306615
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRVPass.cpp
R mlir/test/mlir-vulkan-runner/vector-interleave.mlir
R mlir/test/mlir-vulkan-runner/vector-shuffle.mlir
Log Message:
-----------
Revert "[mlir][spirv] Add integration test for `vector.interleave` and `vector.shuffle`" (#93732)
Reverts llvm/llvm-project#93595
This broke the gcc-7 bot.
Commit: 0d37e5c61797d6075f02daf28d1b16561299bc69
https://github.com/llvm/llvm-project/commit/0d37e5c61797d6075f02daf28d1b16561299bc69
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Log Message:
-----------
[RISCV] Remove redundant TSFlags parameter in RISCVInsertVSETVLI. NFC
Commit: b98bce50ac545e63494335141ff4cc3e39bcb4af
https://github.com/llvm/llvm-project/commit/b98bce50ac545e63494335141ff4cc3e39bcb4af
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/Bitcode/BitcodeWriter.h
Log Message:
-----------
[nfc] clang-format llvm/Bitcode/BitcodeWriter.h
Odd indenting.
Commit: b74f50a26980233c6bdf3bcacea1473a4a5e0d42
https://github.com/llvm/llvm-project/commit/b74f50a26980233c6bdf3bcacea1473a4a5e0d42
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
Log Message:
-----------
[LAA] Store reference to SymbolicStrides in MemoryDepChecker (NFC).
This reduces the need for explicitly passing it through multiple layers
of function calls.
Commit: 6595e7fa1b5588f860aa057aac47c43623169584
https://github.com/llvm/llvm-project/commit/6595e7fa1b5588f860aa057aac47c43623169584
Author: gulfemsavrun <gulfem at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/include/lldb/API/SBDebugger.h
M lldb/include/lldb/Symbol/TypeSystem.h
M lldb/source/API/SBDebugger.cpp
M lldb/source/Symbol/TypeSystem.cpp
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
Revert "[lldb][lldb-dap] Cleanup breakpoint filters." (#93739)
Reverts llvm/llvm-project#87550 because it broke `TestDAP*` lldb tests.
https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64-rbe/b8746585790559468897/overview
Commit: 495bc3cf23dedadd6d633cf9600b7c1f8ac87bb4
https://github.com/llvm/llvm-project/commit/495bc3cf23dedadd6d633cf9600b7c1f8ac87bb4
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
A llvm/docs/DirectX/DXILOpTableGenDesign.rst
Log Message:
-----------
[DirectX][DXIL] Design document for TableGen Spec of DXIL Operations (#85170)
Add an initial design document for TableGen specification of DXIL Operations.
Commit: bfabc958c7c0d7ddc15f23383d9da836e8c6093f
https://github.com/llvm/llvm-project/commit/bfabc958c7c0d7ddc15f23383d9da836e8c6093f
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
[DebugInfo] Add flag to only emit referenced member functions (#87018)
Complete C++ type information can be quite expensive - and there's
limited value in representing every member function, even those that
can't be called (we don't do similarly for every non-member function
anyway). So add a flag to opt out of this behavior for experimenting
with this more terse behavior.
I think Sony already does this by default, so perhaps with a change to
the defaults, Sony can migrate to this rather than a downstream patch.
This breaks current debuggers in some expected ways - but those
breakages are visible without this feature too. Consider member function
template instantiations - they can't be consistently enumerated in every
translation unit:
a.h:
```
struct t1 {
template <int i>
static int f1() {
return i;
}
};
namespace ns {
template <int i>
int f1() {
return i;
}
} // namespace ns
```
a.cpp:
```
void f1() {
t1::f1<0>();
ns::f1<0>();
}
```
b.cpp:
```
void f1();
int main() {
f1();
t1::f1<1>();
ns::f1<1>();
}
```
```
(gdb) p ns::f1<0>()
$1 = 0
(gdb) p ns::f1<1>()
$2 = 1
(gdb) p t1::f1<0>()
Couldn't find method t1::f1<0>
(gdb) p t1::f1<1>()
$3 = 1
(gdb) s
f1 () at a.cpp:3
3 t1::f1<0>();
(gdb) p t1::f1<0>()
$4 = 0
(gdb) p t1::f1<1>()
Couldn't find method t1::f1<1>
(gdb)
```
(other similar non-canonical features are implicit special members
(copy/move ctor/assignment operator, default ctor) and nested types (eg:
pimpl idiom, where the nested type is declared-but-not-defined in one
TU, and defined in another TU))
lldb can't parse the template expressions above, so I'm not sure how to
test it there, but I'd guess it has similar problems. (
https://stackoverflow.com/questions/64602475/how-to-print-value-returned-by-template-member-function-in-gdb-lldb-debugging
so... I guess that's just totally not supported in lldb, how
unfortunate. And implicit special members are instantiated implicitly by
lldb, so missing those doesn't tickle the same issue)
Some very rudimentary numbers for a clang debug build:
.debug_info section size:
-g: 476MiB
-g -fdebug-types-section: 357MiB
-g -gomit-unreferenced-members: 340MiB
Though it also means a major reduction in .debug_str size,
-fdebug-types-section doesn't reduce string usage (so the first two
examples have the same .debug_str size, 247MiB), down to 175MiB.
So for total clang binary size (I don't have a quick "debug section size
reduction" on-hand): 1.45 (no type units) GiB -> 1.34 -> 1.22, so it
saves about 120MiB of binary size.
Also open to any riffing on the flag name for sure.
@probinson - would this be an accurate upstreaming of your internal
handling/would you use this functionality? If it wouldn't be useful to
you, it's maybe not worth adding upstream yet - not sure we'll use it at
Google, but if it was useful to you folks and meant other folks could
test with it it seemed maybe useful.
Original Differential Revision: https://reviews.llvm.org/D152017
Commit: 1880a7bf18f8bf6497eddeda5cea49b507413f3a
https://github.com/llvm/llvm-project/commit/1880a7bf18f8bf6497eddeda5cea49b507413f3a
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
Log Message:
-----------
[LAA] Move getDependenceDistanceStrideAndSize to MemoryDepChecker (NFC).
This avoids unnecessarily passing a number of parameters, and avoids
needing to add extra parameters in the future.
Commit: c6c08eee37bada190bd1aa4593c88a5e2c8cdaac
https://github.com/llvm/llvm-project/commit/c6c08eee37bada190bd1aa4593c88a5e2c8cdaac
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lldb/source/Host/common/Editline.cpp
Log Message:
-----------
[lldb] Remove setupterm workaround on macOS (#93714)
Remove setupterm workaround on macOS which caused an issues after the
removal of the terminfo dependency. There's a comment that explains why
the workaround is present, but neither Jim nor I were able to reproduce
the issue by setting TERM to vt100.
Commit: 058d4295939998923c78df80d0ea3b82ed899aa1
https://github.com/llvm/llvm-project/commit/058d4295939998923c78df80d0ea3b82ed899aa1
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
Log Message:
-----------
[Analysis] Fix a build error regarding std::variant
This patch fixes:
llvm/include/llvm/Analysis/LoopAccessAnalysis.h:381:8: error: no
template named 'variant' in namespace 'std'
Commit: 34b14cc4f88b5e3d757f2ab20c19387178056567
https://github.com/llvm/llvm-project/commit/34b14cc4f88b5e3d757f2ab20c19387178056567
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/test/ELF/linkerscript/orphan-report.s
Log Message:
-----------
[lld][ELF] Suppress `--orphan-handling=error/warn` without `SECTIONS` (#93630)
Without a linker script, `--orphan-handling=error` or `=warn` reports
all input sections, including even well-known sections like `.text`,
`.bss`, `.dynamic`, or `.symtab`. However, in this case, no sections
should be considered orphans because they all are placed with the same
default rules. This patch suppresses errors/warnings for placing orphan
sections if no linker script with the `SECTIONS` command is provided.
The proposed behavior matches GNU gold. GNU ld in the same scenario only
reports sections that are not in its default linker script, thus, it
avoids complaining about `.text` and similar.
Commit: 3bdc90e3ff4c9a18caeb3e6ad40fa5d15bbf9d5e
https://github.com/llvm/llvm-project/commit/3bdc90e3ff4c9a18caeb3e6ad40fa5d15bbf9d5e
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/ELF/Writer.cpp
M lld/ELF/Writer.h
Log Message:
-----------
[ELF] adjustOutputSections: update sortRank. NFC
... as flags have changed. This allows us to revisit the
`osd->osec.hasInputSections` condition in `getRankProximity` (originally
introduced as `Sec->Live` in https://reviews.llvm.org/D61197).
Commit: aeccfee348c717165541d8d895b9b0cdfe31415c
https://github.com/llvm/llvm-project/commit/aeccfee348c717165541d8d895b9b0cdfe31415c
Author: William Junda Huang <williamjhuang at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGExprScalar.cpp
A clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
Add option to generate additional debug info for expression dereferencing pointer to pointers. (#81545)
Such expression does not correspond to a variable in the source code
thus does not have a debug location. When the user collects perf data on
the program, if the intermediate memory load instruction is sampled, it
could not be attributed to any variable/class member, which causes the
sampling results to be under-counted.
This patch adds an option `-fdebug_info_for_pointer_type` to generate a
psuedo variable and its debug info for intermediate expression with
pointer dereferencing, so that perf data collected on the instruction of
that expression can be attributed to the correct class member.
This is a prototype so comments are needed.
Commit: c3e6bd0b09965df218f86ebb6f1e59a570937c5d
https://github.com/llvm/llvm-project/commit/c3e6bd0b09965df218f86ebb6f1e59a570937c5d
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll
Log Message:
-----------
[NFC] [MTE] remove unused functions from test
Commit: e4b424afc4fbfe31ea1876114b4e9232efbf2297
https://github.com/llvm/llvm-project/commit/e4b424afc4fbfe31ea1876114b4e9232efbf2297
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
Log Message:
-----------
[CI] Disable Flang from pre-commit tests when Flang files are not touched on Windows Only (#93729)
Flang triggers some OOM on Windows CI right now. This is disruptive to
MLIR and LLVM changes that don't touch Flang, as such we disable
building Flang on Windows only for these PR that don't touch flang. The
testing on Linux is unchanged, and the post-merge Windows testing is
still fully covering here.
Commit: 66b9785670a7909d8301afdeac27991c9236f346
https://github.com/llvm/llvm-project/commit/66b9785670a7909d8301afdeac27991c9236f346
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll
Log Message:
-----------
[NFC] [MTE] make test more robust by not hardcoding %1
Commit: 89129201fe4b825b2f6a0f3c9da8651603078d29
https://github.com/llvm/llvm-project/commit/89129201fe4b825b2f6a0f3c9da8651603078d29
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
Log Message:
-----------
[NFC] Move DIExpressionCursor to DebugInfoMetadata.h (#69768)
This is an NFC patch to move DIExpressionCursor to DebugInfoMetada.h, so
that it can be used by classes in that header file.
Specifically, I want to use DIExpressionCursor in a subsequent patch:
https://github.com/llvm/llvm-project/pull/71718
Commit: a3f9066e99f3685b4f2271f54ba73210396c00b4
https://github.com/llvm/llvm-project/commit/a3f9066e99f3685b4f2271f54ba73210396c00b4
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
Log Message:
-----------
Add functions peekNextN(unsigned) and assignNewExpr(ArrayRef<uint64_t>) to DIExpressionCursor (#71717)
This commit adds two functions to the DIExpressionCursor class.
`peekNextN(unsigned)` works like peekNext, but lets you peek the next
Nth element
`assignNewExpr(ArrayRef<uint64_t>)` lets you assign a new expression to
the same DIExpressionCursor object
This is part of a stack of patches, it comes after
https://github.com/llvm/llvm-project/pull/69768
Commit: 11d7203c1d2f44085e105b8d4d726f2589f62f40
https://github.com/llvm/llvm-project/commit/11d7203c1d2f44085e105b8d4d726f2589f62f40
Author: Evgenii Kudriashov <evgenii.kudriashov at intel.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
M llvm/lib/Target/X86/GISel/X86LegalizerInfo.cpp
M llvm/lib/Target/X86/GISel/X86LegalizerInfo.h
M llvm/lib/Target/X86/X86TargetMachine.cpp
A llvm/test/CodeGen/X86/isel-buildvector-avx.ll
A llvm/test/CodeGen/X86/isel-buildvector-sse.ll
A llvm/test/CodeGen/X86/isel-buildvector-sse2.ll
Log Message:
-----------
[X86][GlobalISel] Enable G_BUILD_VECTOR and G_CONSTANT_POOL (#92844)
* Add support for G_LOAD from G_CONSTANT_POOL on X86 and X64
* Add X86GlobalBaseRegPass to handle base register initialization for
X86.
* Fix vector type legalization for G_STORE and G_LOAD as well as enable
scalarization for them.
* Custom lower G_BUILD_VECTOR into G_LOAD from G_CONSTANT_POOL.
Commit: 6e7b45c55b4c3299c1160d49f7ad721c62e8e4eb
https://github.com/llvm/llvm-project/commit/6e7b45c55b4c3299c1160d49f7ad721c62e8e4eb
Author: Jun Wang <jwang86 at yahoo.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/MIMGInstructions.td
M llvm/test/MC/AMDGPU/gfx10_asm_mimg.s
M llvm/test/MC/AMDGPU/gfx11_asm_mimg.s
M llvm/test/MC/AMDGPU/mimg.s
M llvm/test/MC/Disassembler/AMDGPU/gfx8_mimg_features.txt
Log Message:
-----------
[AMDGPU][MC] Support tfe operand in image_atomic instructions (#92469)
Current, if an image_atomic instruction has the 'tfe' operand, the
llvm-mc assembler in general would reject it. The only exception is when
dmask is 0x1 and the instruction is not image_atomic_cmpswap (e.g.,
image_atomic_add v[5:6], v252, s[8:15] dmask:0x1 tfe). This patch fixes
this problem and allows tfe to be specified in image_atomic
instructions.
---------
Co-authored-by: Jun Wang <jun.wang7 at amd.com>
Commit: e06e680a97d28dc95d31952a0b200add75941496
https://github.com/llvm/llvm-project/commit/e06e680a97d28dc95d31952a0b200add75941496
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
Log Message:
-----------
[RISCV] Replace duplicate trunc-sat-clip tests with more interesting tests. NFC (#93737)
For each pair of types, we had 3 identical tests using umin with the
unsigned max value.
This patch replaces two of them with smin+smax cases that can be
implemented with a signed vmax followed by a vnclipu.
Commit: b12f81b53ad6c3e1004f32eecbf4083d87731fbc
https://github.com/llvm/llvm-project/commit/b12f81b53ad6c3e1004f32eecbf4083d87731fbc
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/lib/IR/CMakeLists.txt
A llvm/lib/IR/DIExpressionOptimizer.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/unittests/IR/MetadataTest.cpp
Log Message:
-----------
Introduce DIExpression::foldConstantMath() (#71718)
DIExpressions can get very long and have a lot of redundant operations.
This function uses simple pattern matching to fold constant math that
can be evaluated at compile time.
The hope is that other people can contribute other patterns as well.
I also couldn't see a good way of combining this with
`DIExpression::constantFold` so it stands alone.
This is part of a stack of patches and comes after
https://github.com/llvm/llvm-project/pull/69768
https://github.com/llvm/llvm-project/pull/71717
Commit: fb607c9019dcfb3bec4c4ab84b67112b52fbe083
https://github.com/llvm/llvm-project/commit/fb607c9019dcfb3bec4c4ab84b67112b52fbe083
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset-nopad.ll
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset.ll
Log Message:
-----------
[MTE] add tests for stack tagging debug info (#93743)
These are equivalent to the tests in HWASan of the same name.
Commit: 69969c725b0987a12a27a8ac787f06be672a4d09
https://github.com/llvm/llvm-project/commit/69969c725b0987a12a27a8ac787f06be672a4d09
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/test/Bitcode/upgrade-dbg-addr.ll
M llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-expr-chain.mir
M llvm/unittests/IR/MetadataTest.cpp
Log Message:
-----------
Use DIExpression::foldConstantMath() at the result of an append() (#71719)
This patch uses `DIExpression::foldConstantMath()` at the end of a
`DIExpression::append()`. Which should help in reducing the size of
DIExpressions that grow because of salvaging debug info
This is part of a stack of patches and comes after:
https://github.com/llvm/llvm-project/pull/69768
https://github.com/llvm/llvm-project/pull/71717
https://github.com/llvm/llvm-project/pull/71718
Commit: f4681be06b465736cc993b114dd8e2625d37b779
https://github.com/llvm/llvm-project/commit/f4681be06b465736cc993b114dd8e2625d37b779
Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/test/DebugInfo/salvage-icmp.ll
M llvm/test/DebugInfo/salvage-limit-expr-size.ll
M llvm/test/Transforms/InstCombine/cast-mul-select.ll
M llvm/test/Transforms/InstCombine/debuginfo-dce.ll
M llvm/test/Transforms/InstCombine/debuginfo-sink.ll
M llvm/unittests/Transforms/Utils/LocalTest.cpp
Log Message:
-----------
Use DIExpression::foldConstantMath at the result of a Salvaged expression (#71721)
This patch uses `DIExpression::foldConstantMath()` at the result of a
Salvaged expression, that is, it runs the folding optimizations after an
expression has been salvaged completely, to reduce how many times the
fold optimization function is called. Which should help in reducing the
size of DIExpressions that grow because of salvaging debug info
After checking the size of the dSYM with and without this change, I saw
a decrease of about 300KB, where the debug_loc section is about 1.6 GB
in size.
Where the debug loc section reduced in size by 212KB and it is 193MB in
size, the rest comes from the debug_info section
This is part of a stack of patches and comes after:
https://github.com/llvm/llvm-project/pull/69768
https://github.com/llvm/llvm-project/pull/71717
https://github.com/llvm/llvm-project/pull/71718
https://github.com/llvm/llvm-project/pull/71719
Commit: 424f82c204173889a93a74910e63dc53931c3ec9
https://github.com/llvm/llvm-project/commit/424f82c204173889a93a74910e63dc53931c3ec9
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Refactor combineTruncToVnclipu to prepare for adding signed vnclip support. NFC
Reviewed as part of #93728.
Commit: ea1ecb50fa831583241fc531153bd2c072955d29
https://github.com/llvm/llvm-project/commit/ea1ecb50fa831583241fc531153bd2c072955d29
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
Fix test - remove unnecessary/incorrect `-S`, in favor of `-emit-llvm`
Commit: 2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871
https://github.com/llvm/llvm-project/commit/2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Simplify getSectionRank
Follow-up to a previous simplification
2473b1af085ad54e89666cedf684fdf10a84f058.
The xor difference between a SHT_NOTE and a read-only SHT_PROGBITS
(previously >=NOT_SPECIAL) should be smaller than RF_EXEC. Otherwise,
for the following section layout, `findOrphanPos` would place .text
before note.
```
// simplified from linkerscript/custom-section-type.s
non orphans:
progbits 0x8060c00 NOT_SPECIAL
note 0x8040003
orphan:
.text 0x8061000 NOT_SPECIAL
```
Commit: 8a8cd8a766081eebaf4dd51a1012d093713dfe59
https://github.com/llvm/llvm-project/commit/8a8cd8a766081eebaf4dd51a1012d093713dfe59
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
Log Message:
-----------
[RISCV] Move vnclip patterns into DAGCombiner. (#93728)
Similar to #93596, this moves the signed vnclip patterns into DAG
combine.
This will allows us to support more than 1 level of truncate in a
future patch.
Commit: c0873fa20eb5dcba303a003bdd5192d341f89eaa
https://github.com/llvm/llvm-project/commit/c0873fa20eb5dcba303a003bdd5192d341f89eaa
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
Log Message:
-----------
[RISCV] Add trunc-sat-clip tests for i32->i8, i64->i8, and i64->i16. NFC
These can be implemented with multiple vnclips.
Commit: 3cee5672fd645cd58b8c4ee6187f10b509a34d77
https://github.com/llvm/llvm-project/commit/3cee5672fd645cd58b8c4ee6187f10b509a34d77
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
Log Message:
-----------
[gn build] Port b12f81b53ad6
Commit: 246234ac70faa1e3281a2bb83dfc4dd206a7d59c
https://github.com/llvm/llvm-project/commit/246234ac70faa1e3281a2bb83dfc4dd206a7d59c
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-link.c
M compiler-rt/CMakeLists.txt
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/asan/asan_flags.cpp
M compiler-rt/lib/asan/asan_globals_win.cpp
M compiler-rt/lib/asan/asan_malloc_win.cpp
A compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
A compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
A compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
R compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/profile/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
M compiler-rt/lib/ubsan/CMakeLists.txt
R compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan/TestCases/default_options.cpp
M compiler-rt/test/asan/TestCases/on_error_callback.cpp
M compiler-rt/test/asan/TestCases/report_error_summary.cpp
M compiler-rt/test/asan/lit.cfg.py
Log Message:
-----------
[asan][windows] Eliminate the static asan runtime on windows (#81677)
This is one of the major changes we (Microsoft) have made in the version
of asan we ship with Visual Studio.
@amyw-msft wrote a blog post outlining this work at
https://devblogs.microsoft.com/cppblog/msvc-address-sanitizer-one-dll-for-all-runtime-configurations/
> With Visual Studio 2022 version 17.7 Preview 3, we have refactored the
MSVC Address Sanitizer (ASan) to depend on one runtime DLL regardless of
the runtime configuration. This simplifies project onboarding and
supports more scenarios, particularly for projects statically linked
(/MT, /MTd) to the C Runtimes. However, static configurations have a new
dependency on the ASan runtime DLL.
> Summary of the changes:
> ASan now works with /MT or /MTd built DLLs when the host EXE was not
compiled with ASan. This includes Windows services, COM components, and
plugins.
Configuring your project with ASan is now simpler, since your project
doesn’t need to uniformly specify the same [runtime
configuration](https://learn.microsoft.com/en-us/cpp/build/reference/md-mt-ld-use-run-time-library?view=msvc-170)
(/MT, /MTd, /MD, /MDd).
ASan workflows and pipelines for /MT or /MTd built projects will need to
ensure the ASan DLL (clang_rt.asan_dynamic-<arch>.dll) is available on
PATH.
The names of the ASan .lib files needed by the linker have changed (the
linker normally takes care of this if not manually specifying lib names
via /INFERASANLIBS)
You cannot mix ASan-compiled binaries from previous versions of the MSVC
Address Sanitizer (this is always true, but especially true in this
case).
Here's the description of these changes from our internal PR
1. Build one DLL that includes everything debug mode needs (not included
here, already contributed upstream).
* Remove #if _DEBUG checks everywhere.
* In some places, this needed to be replaced with a runtime check. In
asan_win.cpp, IsDebugRuntimePresent was added where we are searching for
allocations prior to ASAN initialization.
* In asan_win_runtime_functions.cpp and interception_win.cpp, we need to
be aware of debug runtime DLLs even when not built with _DEBUG.
2. Redirect statically linked functions to the ASAN DLL for /MT
* New exports for each of the C allocation APIs so that the statically
linked portion of the runtime can call them (see asan_malloc_win.cpp,
search MALLOC_DLL_EXPORT). Since we want our stack trace information to
be accurate and without noise, this means we need to capture stack frame
info from the original call and tell it to our DLL export. For this, I
have reused the __asan_win_new_delete_data used for op new/delete
support from asan_win_new_delete_thunk_common.h and moved it into
asan_win_thunk_common.h renamed as __asan_win_stack_data.
* For the C allocation APIs, a new file is included in the
statically-linked /WHOLEARCHIVE lib - asan_malloc_win_thunk.cpp. These
functions simply provide definitions for malloc/free/etc to be used
instead of the UCRT's definitions for /MT and instead call the ASAN DLL
export. /INFERASANLIBS ensures libucrt.lib will not take precedence via
/WHOLEARCHIVE.
* For other APIs, the interception code was called, so a new export is
provided: __sanitizer_override_function.
__sanitizer_override_function_by_addr is also provided to support
__except_handler4 on x86 (due to the security cookie being per-module).
3. Support weak symbols for /MD
* We have customers (CoreCLR) that rely on this behavior and would force
/MT to get it.
* There was sanitizer_win_weak_interception.cpp before, which did some
stuff for setting up the .WEAK section, but this only worked on /MT. Now
stuff registered in the .WEAK section is passed to the ASAN DLL via new
export __sanitizer_register_weak_function (impl in
sanitizer_win_interception.cpp). Unlike linux, multiple weak symbol
registrations are possible here. Current behavior is to give priority on
module load order such that whoever loads last (so priority is given to
the EXE) will have their weak symbol registered.
* Unfortunately, the registration can only occur during the user module
startup, which is after ASAN DLL startup, so any weak symbols used by
ASAN during initialization will not be picked up. This is most notable
for __asan_default_options and friends (see asan_flags.cpp). A mechanism
was made to add a callback for when a certain weak symbol was
registered, so now we process __asan_default_options during module
startup instead of ASAN startup. This is a change in behavior, but
there's no real way around this due to how DLLs are.
4. Build reorganization
* I noticed that our current build configuration is very MSVC-specific
and so did a bit of reworking. Removed a lot of
create_multiple_windows_obj_lib use since it's no longer needed and it
changed how we needed to refer to each object_lib by adding runtime
configuration to the name, conflicting with how it works for non-MSVC.
* No more Win32 static build, use /MD everywhere.
* Building with /Zl to avoid defaultlib warnings.
In addition:
* I've reapplied "[sanitizer][asan][win] Intercept _strdup on Windows
instead of strdup" which broke the previous static asan runtime. That
runtime is gone now and this change is required for the strdup tests to
work.
* I've modified the MSVC clang driver to support linking the correct
asan libraries, including via defining _DLL (which triggers different
defaultlibs and should result in the asan dll thunk being linked, along
with the dll CRT (via defaultlib directives).
* I've made passing -static-libsan an error on windows, and made
-shared-libsan the default. I'm not sure I did this correctly, or in the
best way.
* Modified the test harnesses to add substitutions for the dynamic and
static thunks and to make the library substitutions point to the dynamic
asan runtime for all test configurations on windows. Both the static and
dynamic windows test configurations remain, because they correspond to
the static and dynamic CRT, not the static and dynamic asan runtime
library.
---------
Co-authored-by: Amy Wishnousky <amyw at microsoft.com>
Commit: ce2927a396c506cbf06ea39eff8f226fd8d46b94
https://github.com/llvm/llvm-project/commit/ce2927a396c506cbf06ea39eff8f226fd8d46b94
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/AST/TemplateBase.cpp
M clang/lib/AST/TemplateName.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
Log Message:
-----------
[clang] fix printing of canonical template template parameters take 2 (#93448)
Since they can also occur as the template name of
template specializations, handle them from TemplateName printing instead
of TemplateArgument.
Commit: 10436aede261db5260e0e11a4aa66565ba975848
https://github.com/llvm/llvm-project/commit/10436aede261db5260e0e11a4aa66565ba975848
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-link.c
M compiler-rt/CMakeLists.txt
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/asan/asan_flags.cpp
M compiler-rt/lib/asan/asan_globals_win.cpp
M compiler-rt/lib/asan/asan_malloc_win.cpp
R compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
R compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
R compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
A compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/profile/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
M compiler-rt/lib/ubsan/CMakeLists.txt
A compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan/TestCases/default_options.cpp
M compiler-rt/test/asan/TestCases/on_error_callback.cpp
M compiler-rt/test/asan/TestCases/report_error_summary.cpp
M compiler-rt/test/asan/lit.cfg.py
Log Message:
-----------
Revert "[asan][windows] Eliminate the static asan runtime on windows (#81677)"
This reverts commit 246234ac70faa1e3281a2bb83dfc4dd206a7d59c.
Commit: f32ebabc27655a1bd26ccdede1610d8d1a05315f
https://github.com/llvm/llvm-project/commit/f32ebabc27655a1bd26ccdede1610d8d1a05315f
Author: Alex MacLean <amaclean at nvidia.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
A llvm/test/CodeGen/NVPTX/combine-mad.ll
Log Message:
-----------
[NVPTX] Improve folding to mad with immediate 1 (#93628)
Extend NVPTX DAG combining logic to distribute a mul instruction across
an add of 1 into a mad where possible. In addition, add support for
transposing a mul through a select with an option of 1, if that would
allow further mul folding.
Commit: 2b1d1c51f6e321267cc86e9db7808298c59caf0e
https://github.com/llvm/llvm-project/commit/2b1d1c51f6e321267cc86e9db7808298c59caf0e
Author: Chen Zheng <czhengsz at cn.ibm.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
[NFC] Fix PPC buildbot failure https://lab.llvm.org/buildbot/#/builders/230/builds/29066
Failure was introduced in https://github.com/llvm/llvm-project/pull/81545
On 64-bit targets for i32 return type, there will be extension in the function
prototype.
Commit: 30c10fda2ba539e70bff4f05625ec6358c0f7502
https://github.com/llvm/llvm-project/commit/30c10fda2ba539e70bff4f05625ec6358c0f7502
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
Revert "[ELF] Simplify getSectionRank"
This reverts commit 2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871.
Buildbots are broken.
Commit: 96d2dc7210db3ed3a4c9f6aa93c14d2ea90e67cc
https://github.com/llvm/llvm-project/commit/96d2dc7210db3ed3a4c9f6aa93c14d2ea90e67cc
Author: csstormq <swust_xiaoqiangxu at 163.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
M llvm/test/Analysis/ScalarEvolution/scev-aa.ll
Log Message:
-----------
[SCEVAA] Enhance SCEVAAResult::alias() to handle two pointers with different pointer bases (#91453)
This patch enhances the SCEVAAResult::alias() interface to handle two
pointers with different pointer bases.
Before calling getMinusSCEV(), we firstly try to explicitly convert
these two pointers into ptrtoint expressions to do that.
Either both pointers are used with ptrtoint or neither, so we can't
end up with a ptr + int mix.
Commit: 8c33b3380b8044824f6adb48cc8d2076aecae566
https://github.com/llvm/llvm-project/commit/8c33b3380b8044824f6adb48cc8d2076aecae566
Author: Pavel Samolysov <samolisov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/unittests/Transforms/CMakeLists.txt
A llvm/unittests/Transforms/Instrumentation/CMakeLists.txt
A llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp
Log Message:
-----------
[PGO] Add a unit test for the PGOInstrumentationGen pass (#93636)
The patch introduces the gmock-based unittest infrastructure for PGO
Instrumentation and adds some test cases to check whether the
instrumentation has taken place. The testing infrastructure for analysis
modules was borrowed from the LoopPassManagerTest unittest and
simplified a bit to handle module analysis passes only. Actually, we are
testing whether the result of a trivial analysis pass was invalidated by
the PGOInstrumentGen one: we exploit the fact the pass invalidates all
the analysis results after a module was instrumented.
NFC.
Commit: f639b57f7993cadb82ee9c36f04703ae4430ed85
https://github.com/llvm/llvm-project/commit/f639b57f7993cadb82ee9c36f04703ae4430ed85
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
[ELF] Simplify getSectionRank
Follow-up to a previous simplification
2473b1af085ad54e89666cedf684fdf10a84f058.
The xor difference between a SHT_NOTE and a read-only SHT_PROGBITS
(previously >=NOT_SPECIAL) should be smaller than RF_EXEC. Otherwise,
for the following section layout, `findOrphanPos` would place .text
before note.
```
// simplified from linkerscript/custom-section-type.s
non orphans:
progbits 0x8060c00 NOT_SPECIAL
note 0x8040003
orphan:
.text 0x8061000 NOT_SPECIAL
```
---
Identical to 2e0cfe69d0d705e9c5d5f217625bf7e3a0e90871.
The revert 30c10fda2ba539e70bff4f05625ec6358c0f7502 is wrong.
Commit: d38d0a0d1bd219555f130dd63e2599f5126e1bdd
https://github.com/llvm/llvm-project/commit/d38d0a0d1bd219555f130dd63e2599f5126e1bdd
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
Log Message:
-----------
Revert "[ELF] Simplify getSectionRank"
This reverts commit f639b57f7993cadb82ee9c36f04703ae4430ed85.
The premerge bot is still broken with failing bolt test.
Commit: 815250b219a04966e4ea5de3a09965bea4d4cc41
https://github.com/llvm/llvm-project/commit/815250b219a04966e4ea5de3a09965bea4d4cc41
Author: Mark Rowe <mrowe at bdash.net.nz>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M compiler-rt/cmake/Modules/AddCompilerRT.cmake
Log Message:
-----------
[compiler-rt] Don't rely on automatic codesigning with Apple's linker (#91681)
In https://github.com/llvm/llvm-project/pull/88323, I changed the logic
within `add_compiler_rt_runtime` to only explicitly code sign the
resulting library if an older version of Apple's ld64 was in use. This
was based on the assumption that newer versions of ld64 and the new
Apple linker always ad-hoc sign their output binaries. This is true in
most cases, but not when using Apple's new linker with the
`-darwin-target-variant` flag to build Mac binaries that are compatible
with Catalyst.
Rather than adding increasingly complicated logic to detect the exact
scenarios that require explicit code signing, I've opted to always
explicitly code sign when using any Apple linker. We instead detect and
use the 'linker-signed' codesigning option when possible to match the
signatures that the linker would otherwise create. This avoids having
non-'linker-signed' ad-hoc signatures which was the underlying problem
that https://github.com/llvm/llvm-project/pull/88323 was intended to
address.
Co-authored-by: Mark Rowe <markrowe at chromium.org>
Commit: 17940465364e0ad66fa364c5bef8abec4e34ac5b
https://github.com/llvm/llvm-project/commit/17940465364e0ad66fa364c5bef8abec4e34ac5b
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
Log Message:
-----------
[VPlan] Move verifier to class to reduce need to pass via args. (NFC)
Move VPlan verification functions to avoid the need to pass VPDT across
multiple calls. This also allows easier extensions in the future.
Commit: 3db1f3110e714ad24f7d72114b3a2c14f6c63651
https://github.com/llvm/llvm-project/commit/3db1f3110e714ad24f7d72114b3a2c14f6c63651
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Fix a regression in annotating class decl braces (#93657)
Fixes #93604.
Commit: 32f1f5ee39985bbd0c8f21bf264a45cd5d4335f6
https://github.com/llvm/llvm-project/commit/32f1f5ee39985bbd0c8f21bf264a45cd5d4335f6
Author: Pavel Samolysov <samolisov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A llvm/test/Transforms/PGOProfile/available_externally_functions.ll
A llvm/test/Transforms/PGOProfile/declarations_only.ll
A llvm/test/Transforms/PGOProfile/global_variables_only.ll
Log Message:
-----------
[PGO] Add tests for modules with only globals and function declarations (#93764)
When a module contains globals and/or function declarations only, the
'__llvm_profile_raw_version' variable should not be generated because
the module was not instrumented at all.
NFC
Commit: 02c6845c762dfd0a19d4a2f997990e160f392dae
https://github.com/llvm/llvm-project/commit/02c6845c762dfd0a19d4a2f997990e160f392dae
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
R clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
Revert "[DebugInfo] Add flag to only emit referenced member functions" (#93767)
Reverts llvm/llvm-project#87018
MacOS and Windows bots are broken.
Commit: 8890209ead2246461985f49c4c9c01cc2371ac09
https://github.com/llvm/llvm-project/commit/8890209ead2246461985f49c4c9c01cc2371ac09
Author: Helena Kotas <hekotas at microsoft.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/SemaHLSL.h
M clang/lib/AST/DeclBase.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaAvailability.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/test/SemaHLSL/Availability/attr-availability-compute.hlsl
M clang/test/SemaHLSL/Availability/attr-availability-mesh.hlsl
M clang/test/SemaHLSL/Availability/attr-availability-pixel.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-lib-multiple-stages.hlsl
M clang/test/SemaHLSL/WaveBuiltinAvailability.hlsl
Log Message:
-----------
[HLSL] Default and Relaxed Availability Diagnostics (#92704)
Implements HLSL availability diagnostics' default and relaxed mode.
HLSL availability diagnostics emits errors or warning when unavailable
shader APIs are used. Unavailable shader APIs are APIs that are exposed
in HLSL code but are not available in the target shader stage or shader
model version.
In the default mode the compiler emits an error when an unavailable API
is found in a code that is reachable from the shader entry point
function. In the future this check will also extended to exported
library functions (#92073). The relaxed diagnostic mode is the same
except the compiler emits a warning. This mode is enabled by
``-Wno-error=hlsl-availability``.
See HLSL Availability Diagnostics design doc
[here](https://github.com/llvm/llvm-project/blob/main/clang/docs/HLSL/AvailabilityDiagnostics.rst)
for more details.
Fixes #90095
Commit: 7d4a45d98275e669bda40410f064891beb3480ce
https://github.com/llvm/llvm-project/commit/7d4a45d98275e669bda40410f064891beb3480ce
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGDebugInfo.h
M clang/lib/CodeGen/CGExprScalar.cpp
R clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp
Log Message:
-----------
Revert "Add option to generate additional debug info for expression dereferencing pointer to pointers. (#81545)"
This reverts commit aeccfee348c717165541d8d895b9b0cdfe31415c, and dependents:
Revert "[NFC] Fix PPC buildbot failure https://lab.llvm.org/buildbot/#/builders/230/builds/29066"
This reverts commit 2b1d1c51f6e321267cc86e9db7808298c59caf0e.
Revert "Fix test - remove unnecessary/incorrect `-S`, in favor of `-emit-llvm`"
This reverts commit ea1ecb50fa831583241fc531153bd2c072955d29.
The test is failing on MacOs and Windows
Commit: 89801c74c3e25f5a1eaa3999863be398f6a82abb
https://github.com/llvm/llvm-project/commit/89801c74c3e25f5a1eaa3999863be398f6a82abb
Author: Bimo <rui.xu at intel.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/python/mlir/runtime/np_to_memref.py
M mlir/python/requirements.txt
M mlir/test/python/execution_engine.py
Log Message:
-----------
[MLIR][Python] add ctype python binding support for bf16 (#92489)
Since bf16 is supported by mlir, similar to
complex128/complex64/float16, we need an implementation of bf16 ctype in
Python binding. Furthermore, to resolve the absence of bf16 support in
NumPy, a third-party package [ml_dtypes
](https://github.com/jax-ml/ml_dtypes) is introduced to add bf16
extension, and the same approach was used in `torch-mlir` project.
See motivation and discussion in:
https://discourse.llvm.org/t/how-to-run-executionengine-with-bf16-dtype-in-mlir-python-bindings/79025
Commit: 49ef21d7674fa8267d674879e21b69d9ca4e6203
https://github.com/llvm/llvm-project/commit/49ef21d7674fa8267d674879e21b69d9ca4e6203
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
Log Message:
-----------
Remove debug print from CI generation script (NFC)
Commit: e6821dd8c8cdd0279000f9a8eb57caf7977d68db
https://github.com/llvm/llvm-project/commit/e6821dd8c8cdd0279000f9a8eb57caf7977d68db
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M mlir/python/mlir/runtime/np_to_memref.py
M mlir/python/requirements.txt
M mlir/test/python/execution_engine.py
Log Message:
-----------
Revert "[MLIR][Python] add ctype python binding support for bf16" (#93771)
Reverts llvm/llvm-project#92489
This broke the bots.
Commit: 3e023d87d8e9a7bcf0a2feb2cee9b9ca47643a7e
https://github.com/llvm/llvm-project/commit/3e023d87d8e9a7bcf0a2feb2cee9b9ca47643a7e
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
Log Message:
-----------
[lldb] Remove DWARFDebugInfo DIERef footguns (#92894)
DWARFDebugInfo doesn't know how to resolve the "file_index" component of
a DIERef. This patch removes GetUnit (in favor of existing
GetUnitContainingDIEOffset) and changes GetDIE to take only the
components it actually uses.
Commit: 498da62088b22ef1d4e90d6021a80ae7bab6abae
https://github.com/llvm/llvm-project/commit/498da62088b22ef1d4e90d6021a80ae7bab6abae
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A clang/test/Modules/cxx20-decls.cppm
Log Message:
-----------
[NFC] [clang] add tests for merging of UsingShadowDecl
Commit: 6a3982f8b7e37987659706cb3e6427c54c9bc7ce
https://github.com/llvm/llvm-project/commit/6a3982f8b7e37987659706cb3e6427c54c9bc7ce
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
M mlir/test/Dialect/LLVMIR/inlining-alias-scopes.mlir
Log Message:
-----------
[MLIR][LLVM] Relax the LLVM dialect's inliner assuming UCF (#93514)
This commit changes the LLVM dialect's inliner interface to stop
assuming that the inlined function only contained unstructured control
flow. This is not necessarily true, and it lead to not properly
propagating the noalias information.
Commit: 4bce270157f9a81bd7e38dc589a2970a445d1e96
https://github.com/llvm/llvm-project/commit/4bce270157f9a81bd7e38dc589a2970a445d1e96
Author: Guy David <49722543+guy-david at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/test/Dialect/GPU/dynamic-shared-memory.mlir
M mlir/test/Dialect/LLVMIR/constant-folding.mlir
M mlir/test/Dialect/SparseTensor/conversion.mlir
M mlir/test/Dialect/SparseTensor/sparse_fill_zero.mlir
M mlir/test/Dialect/SparseTensor/specifier_to_llvm.mlir
M mlir/test/Examples/transform/ChH/full.mlir
Log Message:
-----------
[mlir][llvm] Implement ConstantLike for ZeroOp, UndefOp, PoisonOp (#93690)
These act as constants and should be propagated whenever possible. It is
safe to do so for mlir.undef and mlir.poison because they remain "dirty"
through out their lifetime and can be duplicated, merged, etc. per the
LangRef.
Signed-off-by: Guy David <guy.david at nextsilicon.com>
Commit: d10b76552f919ddb84347ab03908a55804ea6b8a
https://github.com/llvm/llvm-project/commit/d10b76552f919ddb84347ab03908a55804ea6b8a
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/CodeGen/object-size.c
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenHLSL/cbuf.hlsl
M clang/test/Driver/linker-wrapper-image.c
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_ignorelist.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Assembler/ConstantExprFold.ll
M llvm/test/Assembler/getelementptr.ll
M llvm/test/Assembler/getelementptr_vec_ce.ll
M llvm/test/CodeGen/AMDGPU/opencl-printf.ll
M llvm/test/Linker/comdat-largest.ll
M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt-inseltpoison.ll
M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt.ll
M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt-inseltpoison.ll
M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt.ll
M llvm/test/Transforms/GlobalOpt/globalsra-opaque-ptr.ll
M llvm/test/Transforms/GlobalSplit/basic.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-getelementptr.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions-inseltpoison.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions.ll
M llvm/test/Transforms/InferAddressSpaces/NVPTX/bug31948.ll
M llvm/test/Transforms/InferAlignment/gep-array.ll
M llvm/test/Transforms/InstCombine/gep-vector.ll
M llvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
M llvm/test/Transforms/InstSimplify/vector_gep.ll
M llvm/test/Transforms/NewGVN/2007-07-26-InterlockingLoops.ll
M mlir/test/Target/LLVMIR/omptarget-constant-indexing-device-region.mlir
M mlir/test/Target/LLVMIR/omptarget-fortran-allocatable-types-host.mlir
Log Message:
-----------
[ConstantFold] Remove notional over-indexing fold (#93697)
The data-layout independent constant folding currently has some rather
gnarly code for canonicalizing GEP indices to reduce "notional
overindexing", and then infers inbounds based on that canonicalization.
Now that we canonicalize to i8 GEPs, this canonicalization is
essentially useless, as we'll discard it as soon as the GEP hits the
data-layout aware constant folder anyway. As such, I'd like to remove
this code entirely.
This shouldn't have any impact on optimization capabilities.
Commit: 1ac592c4e7b4ba7c680af9286ad79ed27ad628f1
https://github.com/llvm/llvm-project/commit/1ac592c4e7b4ba7c680af9286ad79ed27ad628f1
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ASTContext.cpp
M clang/test/Modules/cxx20-decls.cppm
Log Message:
-----------
[clang] fix merging of UsingShadowDecl (#80245)
[clang] fix merging of UsingShadowDecl
Previously, when deciding if two UsingShadowDecls where mergeable,
we would incorrectly only look for both pointing to the exact redecla
ration, whereas the correct thing is to look for declarations to the
same entity.
This problem has existed as far back as 2013, introduced in commit
fd8634a09de71.
This problem could manifest itself as ODR check false positives when
importing modules.
Fixes: #80252
Commit: 73f4c2547dc3d1b6a453d3c4388648b122554dd1
https://github.com/llvm/llvm-project/commit/73f4c2547dc3d1b6a453d3c4388648b122554dd1
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/Driver/ToolChains/Arch/X86.cpp
A clang/test/Driver/x86-apx-inline-asm-use-gpr32.cpp
M clang/test/Preprocessor/x86_target_features.c
M llvm/docs/LangRef.rst
M llvm/lib/Target/X86/X86.td
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/apx/asm-constraint-jR.ll
A llvm/test/CodeGen/X86/apx/asm-constraint-jr.ll
M llvm/test/CodeGen/X86/apx/asm-constraint.ll
Log Message:
-----------
[X86] Support EGPR for inline assembly. (#92338)
"jR": explicitly enables EGPR
"r", "l", "q": enables/disables EGPR w/wo -mapx-inline-asm-use-gpr32
"jr": explicitly enables GPR with -mapx-inline-asm-use-gpr32
-mapx-inline-asm-use-gpr32 will also define a new macro:
`__APX_INLINE_ASM_USE_GPR32__`
GCC patches:
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631183.html
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631186.html
[[PATCH v2] x86: Define _APX_INLINE_ASM_USE_GPR32_
(gnu.org)](https://gcc.gnu.org/pipermail/gcc-patches/2024-April/649003.html)
Reference: https://gcc.godbolt.org/z/nPPvbY6r4
Commit: 7f524f7ef2e9a7086d8e578c313cf1118c997922
https://github.com/llvm/llvm-project/commit/7f524f7ef2e9a7086d8e578c313cf1118c997922
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
Log Message:
-----------
[X86][CodeGen] Simplify the code in foldMemoryOperandImpl, NFCI
In preparation for the coming NDD -> RMW fold.
Commit: c7acca1cb06f3850590363fb729a3c03a43170dd
https://github.com/llvm/llvm-project/commit/c7acca1cb06f3850590363fb729a3c03a43170dd
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/Shell/SymbolFile/Breakpad/symtab-sorted-by-size.test
Log Message:
-----------
[lldb] Fix collisions between two breakpad tests
symtab-sorted-by-size.test was using the same output file name as
symtab.test.
Commit: 6f2794afeb3c76293cc91cb9f8ae8c90a2ba8b3e
https://github.com/llvm/llvm-project/commit/6f2794afeb3c76293cc91cb9f8ae8c90a2ba8b3e
Author: Freddy Ye <freddy.ye at intel.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Basic/Targets/X86.cpp
Log Message:
-----------
Fix build warning for '[X86] Support EGPR for inline assembly. (#92338)' (#93777)
Commit: e398383f9a05ec6f3766e5ab49dd862a72325ba6
https://github.com/llvm/llvm-project/commit/e398383f9a05ec6f3766e5ab49dd862a72325ba6
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/tbaa.fir
Log Message:
-----------
[flang][fir] add codegen for fir.load of assumed-rank fir.box (#93569)
- Update LLVM type conversion of assumed-rank fir.box/class to generate
the type of the maximum ranked descriptor. That way, alloca for assumed
rank descriptor copies are always big enough. This is needed in the
fir.load case that generates a new storage for the value
- Add a "computeBoxSize" helper to compute the dynamic size of a
descriptor.
- Use that size to generate an llvm.memcpy intrinsic to copy the input
descriptor into the new storage.
Looking at https://reviews.llvm.org/D108221?id=404635, it seems valid to
add the TBAA node on the memcpy, which I did.
In a further patch, I think we should likely always use a memcpy since
LLVM seems to have a better time optimizing it than fir.load/fir.store
patterns.
Commit: 74faa402ccf118ca9ee1434ce385c9a018014a6a
https://github.com/llvm/llvm-project/commit/74faa402ccf118ca9ee1434ce385c9a018014a6a
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
Log Message:
-----------
[flang] lower allocatable assumed-rank specification parts (#93682)
Lower allocatable and pointers specification parts. Nothing special is
required to allocate the descriptor given they are required to be dummy
arguments, however, care must be taken with INTENT(OUT) to use the
runtime to deallocate them (inlined fir.embox + store is not possible).
Commit: 0eb4bf2faf4125d4d279463390a753c8c36a6937
https://github.com/llvm/llvm-project/commit/0eb4bf2faf4125d4d279463390a753c8c36a6937
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/CXX/drs/cwg1xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] CWG150: add tests and change to unreleased (#93758)
Commit: 1034b4d38dd2df542204d55b3e14e985452e4fe4
https://github.com/llvm/llvm-project/commit/1034b4d38dd2df542204d55b3e14e985452e4fe4
Author: AtariDreams <gfunni234 at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/lshr.ll
Log Message:
-----------
[InstCombine] lshr (mul (X, 2^N + 1)), N -> X when X is half-width (#93677)
Alive2 Proof:
https://alive2.llvm.org/ce/z/Yd2CKF
Commit: 3cabbf60393cc8d55fe635e35e89e5973162de33
https://github.com/llvm/llvm-project/commit/3cabbf60393cc8d55fe635e35e89e5973162de33
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/lib/AST/TextNodeDumper.cpp
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-template-decls.cpp
M clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/Import/builtin-template/test.cpp
M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/type_pack_element.cpp
Log Message:
-----------
[clang] text ast-dumper: dump TemplateName for TST and DTST (#93766)
Implement AST text dumping of the TemplateName for
TemplateSpecializationType and DeducedTemplateSpecializationType.
Commit: f38ebec7106fd541046d502be0f79a4dda1a89b0
https://github.com/llvm/llvm-project/commit/f38ebec7106fd541046d502be0f79a4dda1a89b0
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A lldb/test/API/tools/lldb-dap/variables/children/Makefile
A lldb/test/API/tools/lldb-dap/variables/children/TestDAP_variables_children.py
A lldb/test/API/tools/lldb-dap/variables/children/formatter.py
A lldb/test/API/tools/lldb-dap/variables/children/main.cpp
M lldb/tools/lldb-dap/JSONUtils.cpp
Log Message:
-----------
[lldb-dap] Don't call GetNumChildren on non-indexed synthetic variables (#93534)
A synthetic child provider might need to do considerable amount of work
to compute the number of children. lldb-dap is currently calling that
for all synthethic variables, but it's only actually using the value for
values which it deems to be "indexed" (which is determined by looking at
the name of the first child). This patch reverses the logic so that
GetNumChildren is only called for variables with a suitable first child.
Commit: d554f2379b427505907ba52b8b9270c0b436224f
https://github.com/llvm/llvm-project/commit/d554f2379b427505907ba52b8b9270c0b436224f
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/source/Commands/CommandCompletions.cpp
M lldb/test/API/functionalities/completion/TestCompletion.py
Log Message:
-----------
[lldb] Fix module name tab completion (#93458)
Module names can be matched either by a full path or just their
basename. The completion machinery tried to do both, but had several
bugs:
- it always inserted the basename as a completion candidate, even if the
string being completed was a full path
- due to FileSpec canonicalization, it lost information about trailing
slashes (it treated "lib/<TAB>" as "lib<TAB>", even though it's clear
the former was trying to complete a directory name)
- due to both of the previous issues, the completion candidates could
end up being shorter than the string being completed, which caused
crashes (string out of range errors) when attempting to substitute the
results.
This patch rewrites to logic to remove these kinds of issues:
- basename and full path completion are handled separately
- full path completion is attempted always, basename only if the input
string does not contain a slash
- the code remembers both the canonical and original spelling or the
completed argument. The canonical arg is used for matching, while the
original spelling is used for completion. This way "/foo///.//b<TAB>"
can still match "/foo/bar", but it will complete to "/foo///.//bar".
Commit: 540a36ad7e31bfeb11e795047a42bb6e30bf9985
https://github.com/llvm/llvm-project/commit/540a36ad7e31bfeb11e795047a42bb6e30bf9985
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/debug-types-basic.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-basic.test
Log Message:
-----------
[lldb/DWARF] Follow DW_AT_signature when computing type contexts (#93675)
This is necessary to correctly resolve the context within types, as the
name of the type is only present in the type unit.
Commit: 67897d77eda4c312cfe81b19a20abed43227ecb8
https://github.com/llvm/llvm-project/commit/67897d77eda4c312cfe81b19a20abed43227ecb8
Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/Bindings/Python/IRModule.h
A mlir/test/python/live_operations.py
Log Message:
-----------
[mlir][py] invalidate nested operations when parent is deleted (#93339)
When an operation is erased in Python, its children may still be in the
"live" list inside Python bindings. After this, if some of the newly
allocated operations happen to reuse the same pointer address, this will
trigger an assertion in the bindings. This assertion would be incorrect
because the operations aren't actually live. Make sure we remove the
children operations from the "live" list when erasing the parent.
This also concentrates responsibility over the removal from the "live"
list and invalidation in a single place.
Note that this requires the IR to be sufficiently structurally valid so
a walk through it can succeed. If this invariant was broken by, e.g, C++
pass called from Python, there isn't much we can do.
Commit: 8bce40b1eb3eb00358bbc3b7a05ea987a183265f
https://github.com/llvm/llvm-project/commit/8bce40b1eb3eb00358bbc3b7a05ea987a183265f
Author: Him188 <tguan at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64RegisterBanks.td
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
A llvm/test/CodeGen/AArch64/GlobalISel/sve-load-store.ll
Log Message:
-----------
[AArch64][GISel] Support SVE with 128-bit min-size for G_LOAD and G_STORE (#92130)
This patch adds basic support for scalable vector types in load & store
instructions for AArch64 with GISel.
Only scalable vector types with a 128-bit base size are supported, e.g.
`<vscale x 4 x i32>`, `<vscale x 16 x i8>`.
This patch adapted some ideas from a similar abandoned patch
[https://github.com/llvm/llvm-project/pull/72976](https://github.com/llvm/llvm-project/pull/72976).
Commit: cd9a02e2c76ec2f37409c6f7becd61e605c117d8
https://github.com/llvm/llvm-project/commit/cd9a02e2c76ec2f37409c6f7becd61e605c117d8
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCUDANV.cpp
M clang/lib/CodeGen/CGObjCGNU.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
[CodeGen] Remove useless zero-index constant GEPs (NFCI)
Remove zero-index constant expression GEPs, which are not needed
with opaque pointers and will get folded away.
Commit: bc946f52870a51b49a0c7c3c508cef1905a11bc0
https://github.com/llvm/llvm-project/commit/bc946f52870a51b49a0c7c3c508cef1905a11bc0
Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-scalable-deinterleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/test-deinterleave.mlir
Log Message:
-----------
[mlir][vector] Add 1D vector.deinterleave lowering (#93042)
This patch implements the lowering of vector.deinterleave
for 1D vectors.
For fixed vector types, the operation is lowered to two
llvm shufflevector operations. One for even indexed
elements and the other for odd indexed elements. A poison
operation is used to satisfy the parameters of the
shufflevector parameters.
For scalable vectors, the llvm vector.deinterleave2
intrinsic is used for lowering. As such the results
found by extraction and used to form the result
struct for the intrinsic.
Commit: 32b91ec395529ef7ad8b5520fe692464f7512b41
https://github.com/llvm/llvm-project/commit/32b91ec395529ef7ad8b5520fe692464f7512b41
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
[cmake] Fix `-fno-lifetime-dse` not being passed to GCC
A follow-up to #92953. This should fix unexpected performance gains when Clang is built with GCC, and fix downstream LTO crashes reported in https://github.com/llvm/llvm-project/commit/4feae05c6abda364a9295aecfa600d7d4e7dfeb6#r142466703
Commit: fd8b2d2046508c027ccf0fffb50d665c8355997a
https://github.com/llvm/llvm-project/commit/fd8b2d2046508c027ccf0fffb50d665c8355997a
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/test/Fir/convert-to-llvm.fir
Log Message:
-----------
[flang] lower RANK intrinsic (#93694)
First commit is reviewed in
https://github.com/llvm/llvm-project/pull/93682.
Lower RANK using fir.box_rank. This patches updates fir.box_rank to
accept box reference, this avoids the need of generating an assumed-rank
fir.load just for the sake of reading ALLOCATABLE/POINTER rank. The
fir.load would generate a "dynamic" memcpy that is hard to optimize
without further knowledge. A read effect is conditionally given to the
operation.
Commit: 7e9b949a8dfc885ec12b281e194d0530da7403eb
https://github.com/llvm/llvm-project/commit/7e9b949a8dfc885ec12b281e194d0530da7403eb
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
Log Message:
-----------
[flang][OpenMP] Adapt OMPMapInfoFinalization to run on all top level ops (#93545)
This is generally just for consistency with the rest of the pipeline.
The assertion for the insertion point is because I am not sure if
omp::PrivateClauseOp is supported by FirOpBuilder::getAllocaBlock. I
didn't try to fix it because I don't see why we would generate IR like
that.
See RFC:
https://discourse.llvm.org/t/rfc-add-an-interface-for-top-level-container-operations
Commit: 3fee8b346928a24975ebbd6984b583c01ec82955
https://github.com/llvm/llvm-project/commit/3fee8b346928a24975ebbd6984b583c01ec82955
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-min-max.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-select.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
M llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-exts.mir
M llvm/test/CodeGen/Mips/GlobalISel/legalizer/constants.mir
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/rem_and_div.ll
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sitofp_and_uitofp.ll
M llvm/test/CodeGen/RISCV/GlobalISel/jumptable.ll
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-jump-table-brjt-rv64.mir
Log Message:
-----------
[GISel] LegalizationArtifactCombiner: Elide redundant G_SEXT_INREG (#93687)
This is similar to 373c343a, but for targets with zero-or-negative-one
booleans.
The difference in tests is mostly due to G_SEXT_INREG being illegal for
some targets, in which case it gets expanded into G_SHL/G_ASHR pair,
which is not currently optimized by the combiner.
Commit: b2bd024384b484647da9fd9863bf6f77b5731949
https://github.com/llvm/llvm-project/commit/b2bd024384b484647da9fd9863bf6f77b5731949
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
Log Message:
-----------
[CGExprAgg] Don't create zero index GEP
With opaque pointers, we no longer need a zero-index GEP to get
the first element.
Commit: 4310988991b46c9a35f60abc27a08ee10309a50c
https://github.com/llvm/llvm-project/commit/4310988991b46c9a35f60abc27a08ee10309a50c
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/Interpreter/incremental-mode.cpp
M clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
Log Message:
-----------
[clang-repl] Even more tests create the Interpreter and must check host JIT support 2 (#84758)
Commit: 43100766f287185642a3ccbf1a629915f85575e2
https://github.com/llvm/llvm-project/commit/43100766f287185642a3ccbf1a629915f85575e2
Author: Ramkumar Ramachandra <r at artagnon.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
Log Message:
-----------
LV: generalize profitability criterion over TC (#93300)
Generalize LoopVectorizationPlanner::isMoreProfitable smoothly across
the fixed-vector and scalable-vector cases, taking the trip-count into
account, and fixing logical pitfalls that arise from a lack of
generality.
Commit: fecf5c74920705bf9d15ce0db4b04fdcfa05f104
https://github.com/llvm/llvm-project/commit/fecf5c74920705bf9d15ce0db4b04fdcfa05f104
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A llvm/test/CodeGen/X86/apx/asm-constraint-1-jr.ll
A llvm/test/CodeGen/X86/apx/asm-constraint-2-jR.ll
R llvm/test/CodeGen/X86/apx/asm-constraint-jR.ll
R llvm/test/CodeGen/X86/apx/asm-constraint-jr.ll
Log Message:
-----------
[llvm][nfc] Rename tests (#93794)
Renames asm-constraint-jR.ll and asm-constraint-jR.ll - on
case-insensitive files systems those are treated as one file. Originally
introduced in #92338.
Commit: 1d57594d3dce3c7605a414dfecf8b06b3b62c40f
https://github.com/llvm/llvm-project/commit/1d57594d3dce3c7605a414dfecf8b06b3b62c40f
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
Log Message:
-----------
[Clang][AArch64] NFC: Remove -DTEST_SME from RUN lines
We can do this in favour of checking the feature macro that is set
when compiling for '+sme', like we do in other tests.
Commit: 8eb0945373173213e7454a475f6e227da12d6d3a
https://github.com/llvm/llvm-project/commit/8eb0945373173213e7454a475f6e227da12d6d3a
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
Log Message:
-----------
[Clang][AArch64] NFC: Simplify checkArmStreamingBuiltin.
Changing this into if -> else if -> else if > else is NFC, because
the values of FnType are mutually exclusive.
Commit: 22c572eae0f3a73b9154718a3f46c08531e52e91
https://github.com/llvm/llvm-project/commit/22c572eae0f3a73b9154718a3f46c08531e52e91
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.cpp
A llvm/test/CodeGen/X86/apx/memfold-nd2rmw.mir
M llvm/utils/TableGen/X86InstrMappingEmitter.cpp
Log Message:
-----------
[X86][CodeGen] Support memory folding for NDD -> RMW
Commit: 2705c605da2854a6b044fdf5978dea0472fd0ab1
https://github.com/llvm/llvm-project/commit/2705c605da2854a6b044fdf5978dea0472fd0ab1
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/emacs/llvm-mode.el
M llvm/utils/vim/syntax/llvm.vim
M llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
Log Message:
-----------
[RemoveDIs] Update syntax highlighting to include debug records (#93660)
This patch updates the emacs, vim, and vscode syntax highlighters to
recognize debug records.
Commit: 01921bd4f155dbbddd49b818341190a8cb2f20c4
https://github.com/llvm/llvm-project/commit/01921bd4f155dbbddd49b818341190a8cb2f20c4
Author: Jerry Zhang Jian <11689182+jerryzj at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Fix typo zamo -> zaamo (#93792)
Signed-off-by: Jerry Zhang Jian <jerry.zhangjian at sifive.com>
Commit: 4d65887aac98acd6ed749377f4ea296c5a003d7e
https://github.com/llvm/llvm-project/commit/4d65887aac98acd6ed749377f4ea296c5a003d7e
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/convergence-both-diverged-nested.png
M llvm/docs/convergence-closed-path.png
M llvm/docs/convergence-divergent-inside.png
M llvm/docs/convergence-divergent-outside.png
M llvm/docs/convergence-natural-loop.png
M llvm/test/CodeGen/AArch64/large-offset-ldr-merge.mir
M llvm/test/DebugInfo/dpvalue-print-nocrash.ll
M llvm/unittests/DebugInfo/CodeView/GUIDFormatTest.cpp
M llvm/unittests/Target/AMDGPU/ExecMayBeModifiedBeforeAnyUse.cpp
Log Message:
-----------
[LLVM] Remove executable permission from some non-executable files (#93803)
Commit: 8b600a37325bd68c370b00838c9f0a0fda1af6ce
https://github.com/llvm/llvm-project/commit/8b600a37325bd68c370b00838c9f0a0fda1af6ce
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/bindings/headers.swig
R lldb/bindings/interface/SBAddressRangeDocstrings.i
R lldb/bindings/interface/SBAddressRangeExtensions.i
R lldb/bindings/interface/SBAddressRangeListDocstrings.i
R lldb/bindings/interface/SBAddressRangeListExtensions.i
M lldb/bindings/interfaces.swig
M lldb/include/lldb/API/LLDB.h
M lldb/include/lldb/API/SBAddress.h
R lldb/include/lldb/API/SBAddressRange.h
R lldb/include/lldb/API/SBAddressRangeList.h
M lldb/include/lldb/API/SBBlock.h
M lldb/include/lldb/API/SBDefines.h
M lldb/include/lldb/API/SBFunction.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/API/SBTarget.h
M lldb/include/lldb/Core/AddressRange.h
R lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Symbol/Block.h
M lldb/include/lldb/lldb-forward.h
M lldb/source/API/CMakeLists.txt
R lldb/source/API/SBAddressRange.cpp
R lldb/source/API/SBAddressRangeList.cpp
M lldb/source/API/SBBlock.cpp
M lldb/source/API/SBFunction.cpp
M lldb/source/Core/AddressRange.cpp
R lldb/source/Core/AddressRangeListImpl.cpp
M lldb/source/Core/CMakeLists.txt
M lldb/source/Symbol/Block.cpp
R lldb/test/API/python_api/address_range/Makefile
R lldb/test/API/python_api/address_range/TestAddressRange.py
R lldb/test/API/python_api/address_range/main.cpp
Log Message:
-----------
Revert "Add SBAddressRange and SBAddressRangeList to SB API (#92014)"
This reverts commit 42944e4600827738fae868f0df831fb2678be8b4.
Commit: b49c0b8abc460f8fec707a6ffccf2129fd6e1772
https://github.com/llvm/llvm-project/commit/b49c0b8abc460f8fec707a6ffccf2129fd6e1772
Author: Cullen Rhodes <cullen.rhodes at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp
Log Message:
-----------
[mlir][ArmSME] Simplify permutation map handling (#93515)
In -convert-vector-to-arm-sme the permutation_map is explicitly checked
for transpose when converting xfer ops, but for 2-D vector types the
only non-identity permutation map is transpose so this can be
simplified.
Commit: 662b1305292d69507a09164c911cfc782e0e4e73
https://github.com/llvm/llvm-project/commit/662b1305292d69507a09164c911cfc782e0e4e73
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/src/__support/FPUtil/sqrt.h
R libc/src/__support/FPUtil/x86_64/PolyEval.h
M libc/src/__support/FPUtil/x86_64/sqrt.h
Log Message:
-----------
[libc][NFC] Tighten up guard conditions for sqrt and polyeval (#93791)
Found while investigating #93709
Commit: 08d168c56d303c4e6a2e85e56953c3cb98c6092c
https://github.com/llvm/llvm-project/commit/08d168c56d303c4e6a2e85e56953c3cb98c6092c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
Log Message:
-----------
AMDGPU/GlobalISel: Use correct type for intrinsic ID
Commit: 0d0851b9604c4878951f5595b538a0763e9e5e73
https://github.com/llvm/llvm-project/commit/0d0851b9604c4878951f5595b538a0763e9e5e73
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
A llvm/utils/gn/secondary/llvm/unittests/Transforms/Instrumentation/BUILD.gn
Log Message:
-----------
[gn] port 8c33b3380b80 (InstrumentationTests)
Commit: 806ed2625e9569bdb55a13a2b1f9c3e71293fda6
https://github.com/llvm/llvm-project/commit/806ed2625e9569bdb55a13a2b1f9c3e71293fda6
Author: Kristof Beyls <kristof.beyls at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
[docs] Update security group nomination to use gh pr (#93679)
Commit: 191e64ffa9061e9c0d5387b38bd2d5a9ffebb0fb
https://github.com/llvm/llvm-project/commit/191e64ffa9061e9c0d5387b38bd2d5a9ffebb0fb
Author: Christian Sigg <csigg at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Log Message:
-----------
[lldb][bazel] Fix BUILD after 540a36ad7e31bfeb11e795047a42bb6e30bf9985.
Commit: 05e6bb40ebfd285cc87f7ce326b7ba76c3c7f870
https://github.com/llvm/llvm-project/commit/05e6bb40ebfd285cc87f7ce326b7ba76c3c7f870
Author: Roger Ferrer Ibáñez <rofirrim at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
Log Message:
-----------
[SelectionDAG] Add an ISD::CLEAR_CACHE node to lower llvm.clear_cache (#93795)
The current way of lowering `llvm.clear_cache` is a bit unusual. As
suggested by Matt Arsenault we are better off using an ISD node.
This change introduces a new `ISD::CLEAR_CACHE`, registers a new libcall
by default named `__clear_cache` and the default legalisation is a
libcall.
This is preparatory work for a custom lowering of `ISD::CLEAR_CACHE`
needed by RISC-V on some platforms.
Commit: eb88e7c1d95452b1a7a51564b7feac030ac883ad
https://github.com/llvm/llvm-project/commit/eb88e7c1d95452b1a7a51564b7feac030ac883ad
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/Analysis/cfg-openmp.cpp
M clang/test/OpenMP/nvptx_target_cuda_mode_messages.cpp
R clang/test/OpenMP/target_reduction_codegen.cpp
R clang/test/OpenMP/target_reduction_messages.cpp
M clang/test/OpenMP/target_vla_messages.cpp
M llvm/include/llvm/Frontend/OpenMP/OMP.td
M llvm/unittests/Frontend/OpenMPDecompositionTest.cpp
Log Message:
-----------
[Frontend][OpenMP] Remove `reduction` from allowed clauses for `target` (#90754)
The "reduction" clause is not allowed on the "target" construct.
Commit: 7b77301c22f5d4f25c5e96834bf7d6117c608228
https://github.com/llvm/llvm-project/commit/7b77301c22f5d4f25c5e96834bf7d6117c608228
Author: Oleksandr T <oleksandr.tarasiuk at outlook.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang] fix(93002): clang/lib/Sema/SemaOpenMP.cpp:7405: Possible & / && mixup ? (#93093)
Fixes #93002
Commit: ed25d1a82e51595b6fdfc3d187352ed823f80491
https://github.com/llvm/llvm-project/commit/ed25d1a82e51595b6fdfc3d187352ed823f80491
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.s96.mir
Log Message:
-----------
[AMDGPU] Regenerate checks in inst-select-load-global.s96.mir
Commit: c28566cb892dc5ea778edee507278d7c4a90c876
https://github.com/llvm/llvm-project/commit/c28566cb892dc5ea778edee507278d7c4a90c876
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
M llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
Log Message:
-----------
[gn build] Port 8b600a37325b
Commit: 2b9c158efa33a225af38407adde6319fb26858e4
https://github.com/llvm/llvm-project/commit/2b9c158efa33a225af38407adde6319fb26858e4
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/getelementptr.ll
Log Message:
-----------
[InstCombine] Add test for miscompile in gep-of-gep fold (NFC)
Commit: 61790360381fa4526298d5121e8e0adf3456943a
https://github.com/llvm/llvm-project/commit/61790360381fa4526298d5121e8e0adf3456943a
Author: vdonaldson <37090318+vdonaldson at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/test/Lower/Intrinsics/ieee_flag.f90
Log Message:
-----------
[flang] Support calling ieee_support_flag with an array argument (#93772)
If present, the optional second argument of the ieee_exceptions
intrinsic module procedure ieee_support_flag may be either a scalar or
an array. Change the signature of the routine that implements this
function so that it is processed as a transformational function, not an
elemental function, which accounts for this argument variant.
Commit: 1bf1f93d94cb395e04329b17a4fcff65b4ff8122
https://github.com/llvm/llvm-project/commit/1bf1f93d94cb395e04329b17a4fcff65b4ff8122
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M offload/test/api/omp_device_memory.c
Log Message:
-----------
[Offload] Temporarily disable failing test after eb88e7c1
The `target reduction` combination is no longer accepted.
Disable the test to avoid build failures, until a better fix is ready.
Commit: 57da0407c44b187feed40b02cdfd24d71df755cc
https://github.com/llvm/llvm-project/commit/57da0407c44b187feed40b02cdfd24d71df755cc
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
Log Message:
-----------
[clang-tidy] Check number of arguments to size/length in readability-container-size-empty (#93724)
Verify that size/length methods are called with no arguments.
Closes #88203
Commit: b5db2e196928bfbaf5b4e3af50dc60caae498f30
https://github.com/llvm/llvm-project/commit/b5db2e196928bfbaf5b4e3af50dc60caae498f30
Author: David Green <david.green at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/CodeGen/MachineCopyPropagation.cpp
Log Message:
-----------
[MCP] Remove unused TII argument. NFC
Last used in e35fbf5c04f4719db8ff7c7a993cbf96bb706903.
Commit: 1f46729a18ef13c3ba4184ead1da4ab3037cb7ae
https://github.com/llvm/llvm-project/commit/1f46729a18ef13c3ba4184ead1da4ab3037cb7ae
Author: Jeremy Kun <jkun at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.td
M mlir/include/mlir/Dialect/Polynomial/IR/PolynomialAttributes.td
M mlir/lib/Dialect/Polynomial/IR/PolynomialCanonicalization.td
M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
M mlir/test/Dialect/Polynomial/canonicalization.mlir
M mlir/test/Dialect/Polynomial/ops.mlir
M mlir/test/Dialect/Polynomial/ops_errors.mlir
Log Message:
-----------
[polynomial] Move primitive root attribute to ntt/intt ops. (#93227)
Better design to put semantics on the ops, and in this case the ntt/intt
op can lower in multiple ways depending on the polynomial ring modulus
(it can need an nth root of unity for cyclic polymul -> ntt, or a 2nth
root for negacyclic polymul -> ntt)
---------
Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Commit: a871470a0d0c828718409c7a6dfb067a3231d013
https://github.com/llvm/llvm-project/commit/a871470a0d0c828718409c7a6dfb067a3231d013
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/unittests/Interpreter/CodeCompletionTest.cpp
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
A clang/unittests/Interpreter/InterpreterTestFixture.h
Log Message:
-----------
[clang-repl] Introduce common fixture class in unittests (NFC) (#93816)
Reduce code bloat by checking test requirements in a common test fixture
Commit: adc4e45f2ecce13cf4ed9b4ab119492342b86faf
https://github.com/llvm/llvm-project/commit/adc4e45f2ecce13cf4ed9b4ab119492342b86faf
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M offload/test/api/omp_device_memory.c
Log Message:
-----------
[Offload] Update test to use `target parallel for reduction`
Re-enable test disabled in 1bf1f93d with a fix.
Commit: 1159e7645b7f345e662759d763b3e6fcde62d005
https://github.com/llvm/llvm-project/commit/1159e7645b7f345e662759d763b3e6fcde62d005
Author: Ryan Holt <ryanholt at mathworks.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/test/Dialect/Linalg/canonicalize.mlir
Log Message:
-----------
[mlir][linalg] Add folder for transpose(transpose) -> transpose (#93606)
Back to back `linalg.transpose` can be rewritten to a single transpose
Commit: f55622f0ffa4e388cb4da47b655d2a4721f8a405
https://github.com/llvm/llvm-project/commit/f55622f0ffa4e388cb4da47b655d2a4721f8a405
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
M flang/test/Lower/Intrinsics/associated.f90
Log Message:
-----------
[flang] Lower non optional inquired argument in custom intrinsic lowering (#93592)
Handle lowering of non optional inquired argument in custom lowering.
Also fix an issue in the lowering of associated optional argument where
a box was emboxed again which led to weird result.
Commit: e8de977716e45f815edf98b0c7f53b87a1558e73
https://github.com/llvm/llvm-project/commit/e8de977716e45f815edf98b0c7f53b87a1558e73
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/GlobalISel/lds-zero-initializer.ll
M llvm/test/CodeGen/AMDGPU/lds-zero-initializer.ll
Log Message:
-----------
[AMDGPU] Fixed subtarget name in the lit test check-prefix string (NFC). (#93780)
Commit: 647d2728c4dbc387521ce3984ebfda78ff2b031f
https://github.com/llvm/llvm-project/commit/647d2728c4dbc387521ce3984ebfda78ff2b031f
Author: Stefan Gränitz <stefan.graenitz at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/unittests/Interpreter/CodeCompletionTest.cpp
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
M clang/unittests/Interpreter/InterpreterTestFixture.h
Log Message:
-----------
[clang-repl] Fix SetUp in CodeCompletionTest fixture (#93816)
And sort out some unused headers
Commit: 1ee02f9b6053617b741de542ee127c17c5a548be
https://github.com/llvm/llvm-project/commit/1ee02f9b6053617b741de542ee127c17c5a548be
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaOverload.cpp
M clang/test/SemaTemplate/concepts.cpp
Log Message:
-----------
[Clang] Fix overloading for constrained variadic functions (#93817)
Found by #93667
Commit: a2bcb932f3130c3c18ceb06872da9002f6845c4b
https://github.com/llvm/llvm-project/commit/a2bcb932f3130c3c18ceb06872da9002f6845c4b
Author: Pavel Labath <pavel at labath.sk>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/functionalities/completion/TestCompletion.py
Log Message:
-----------
[lldb] Attempt to fix TestCompletion on macos
Macos will automatically load dependent modules when creating a target,
resulting in more modules than the test expects.
Commit: 6147a7b5f9479a4163c07064a9c78c2d5fe40d27
https://github.com/llvm/llvm-project/commit/6147a7b5f9479a4163c07064a9c78c2d5fe40d27
Author: Min-Yih Hsu <min.hsu at sifive.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/load.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/load.s
Log Message:
-----------
[RISCV] Adjust FP load latencies from 6 to 5 in SiFiveP400/P600 scheduling models (#93735)
According to our performance measurements, FLH/W/D have load latencies
closer to 5 rather than 6 in these two models.
Commit: facb767e5b78a024d70585b24254c769473b6b54
https://github.com/llvm/llvm-project/commit/facb767e5b78a024d70585b24254c769473b6b54
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
Log Message:
-----------
[lldb] Fixed the TestGdbRemoteLibrariesSvr4Support test running on a remote target (#93825)
The TestGdbRemoteLibrariesSvr4Support test failed in case of Linux
x86_64 host and Linux Aarch64 target. Installing libraries to the remote
target is not enough. This test actively uses self.getBuildDir() and
os.path.realpath() which does not work in case of the remote target. So,
disable this test for remote target now.
Commit: 59e2a6b08f3e40afea87da3838ba69e1e15b6672
https://github.com/llvm/llvm-project/commit/59e2a6b08f3e40afea87da3838ba69e1e15b6672
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/python_api/debugger/TestDebuggerAPI.py
Log Message:
-----------
[lldb] Fixed the TestDebuggerAPI test running on a remote target (#93829)
Recently we have disabled this test for Windows host and Linux target.
Now we faced the same issue #92419 in case of Linux x86_64 host and
Linux Aarch64 target.
Commit: b62ba7f5b1caf99a3cbbe06d0e1c788c2dc85416
https://github.com/llvm/llvm-project/commit/b62ba7f5b1caf99a3cbbe06d0e1c788c2dc85416
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py
Log Message:
-----------
[lldb] Fixed the TestGdbRemotePlatformFile test running on a remote target (#93832)
Skip checking of few stat fields like st_dev (ID of device containing
file) in case of a remote target.
Commit: ed35a92c404650b15a79ff38bcaff41de176cb78
https://github.com/llvm/llvm-project/commit/ed35a92c404650b15a79ff38bcaff41de176cb78
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M .github/new-prs-labeler.yml
A clang/include/clang/Sema/Attr.h
M clang/include/clang/Sema/Sema.h
A clang/include/clang/Sema/SemaAMDGPU.h
A clang/include/clang/Sema/SemaARM.h
A clang/include/clang/Sema/SemaBPF.h
A clang/include/clang/Sema/SemaHexagon.h
A clang/include/clang/Sema/SemaLoongArch.h
A clang/include/clang/Sema/SemaMIPS.h
A clang/include/clang/Sema/SemaNVPTX.h
A clang/include/clang/Sema/SemaPPC.h
A clang/include/clang/Sema/SemaSystemZ.h
A clang/include/clang/Sema/SemaWasm.h
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Sema/CMakeLists.txt
M clang/lib/Sema/Sema.cpp
A clang/lib/Sema/SemaAMDGPU.cpp
A clang/lib/Sema/SemaARM.cpp
A clang/lib/Sema/SemaBPF.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
A clang/lib/Sema/SemaHexagon.cpp
A clang/lib/Sema/SemaLoongArch.cpp
A clang/lib/Sema/SemaMIPS.cpp
A clang/lib/Sema/SemaNVPTX.cpp
A clang/lib/Sema/SemaPPC.cpp
A clang/lib/Sema/SemaSystemZ.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
A clang/lib/Sema/SemaWasm.cpp
M clang/utils/TableGen/MveEmitter.cpp
Log Message:
-----------
[clang] Introduce target-specific `Sema` components (#93179)
This patch introduces `SemaAMDGPU`, `SemaARM`, `SemaBPF`, `SemaHexagon`,
`SemaLoongArch`, `SemaMIPS`, `SemaNVPTX`, `SemaPPC`, `SemaSystemZ`,
`SemaWasm`. This continues previous efforts to split Sema up. Additional
context can be found in #84184 and #92682.
I decided to bundle target-specific components together because of their
low impact on `Sema`. That said, their impact on `SemaChecking.cpp` is
far from low, and I consider it a success.
Somewhat accidentally, I also moved Wasm- and AMDGPU-specific function
from `SemaDeclAttr.cpp`, because they were exposed in `Sema`. That went
well, and I consider it a success, too. I'd like to move the rest of
static target-specific functions out of `SemaDeclAttr.cpp` like we're
doing with built-ins in `SemaChecking.cpp` .
Commit: 8aa80199751b0cd6631d057b0bfb21584acb206f
https://github.com/llvm/llvm-project/commit/8aa80199751b0cd6631d057b0bfb21584acb206f
Author: Brendan Dahl <brendan.dahl at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
M llvm/test/CodeGen/WebAssembly/half-precision.ll
M llvm/test/MC/WebAssembly/simd-encodings.s
Log Message:
-----------
[WebAssembly] Implement all f16x8 relation instructions. (#93751)
All of these instructions can be generated using regular LL
instructions.
Specified at:
https://github.com/WebAssembly/half-precision/blob/29a9b9462c9285d4ccc1a5dc39214ddfd1892658/proposals/half-precision/Overview.md
Commit: 32546bd2ff822df2419589a03747c6d83415a59e
https://github.com/llvm/llvm-project/commit/32546bd2ff822df2419589a03747c6d83415a59e
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
Log Message:
-----------
[gn build] Port ed35a92c4046
Commit: a8e03aed6ab2675b8d19f93657edc48c82e93625
https://github.com/llvm/llvm-project/commit/a8e03aed6ab2675b8d19f93657edc48c82e93625
Author: Stephen Tozer <stephen.tozer at sony.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/RemoveDIsDebugInfo.md
Log Message:
-----------
[DebugInfo][RemoveDIs] Add documentation for updating code to handle debug records (#93562)
Although the patch that enables debug records by default has been
temporarily reverted, it will (eventually) be reverted and everyone's
code will be subjected to the new debug info format. Although this is
broadly a good thing, it is important that the documentation has enough
information to guide users through the update; this patch adds what
should hopefully be enough detail for most users to either find the
answers, or find out how to find those answers.
Commit: cc2fafa1788908f69366821a04407083f770483e
https://github.com/llvm/llvm-project/commit/cc2fafa1788908f69366821a04407083f770483e
Author: Poseydon42 <vvmposeydon at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
A llvm/test/Transforms/InstSimplify/uscmp.ll
Log Message:
-----------
[InstSimplify] Add constant folding support for `ucmp`/`scmp` intrinsics (#93730)
This PR adds support for folding calls to `ucmp`/`scmp` intrinsics with
constant arguments.
Commit: f6c8e7dc3e1cbcecc2f01d898b895b96bb5723be
https://github.com/llvm/llvm-project/commit/f6c8e7dc3e1cbcecc2f01d898b895b96bb5723be
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
M mlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
M mlir/test/Dialect/LLVMIR/rocdl.mlir
M mlir/test/Target/LLVMIR/rocdl.mlir
Log Message:
-----------
[MLIR][AMDGPU] Remove support for old llvm.amdgcn.buffer.* intrinsics (#93838)
They have been superseded by llvm.amdgcn.raw.buffer.* and
llvm.amdgcn.struct.buffer.*.
Commit: 3d9d48523977af3590f7dd0edfd258454cb9e9cf
https://github.com/llvm/llvm-project/commit/3d9d48523977af3590f7dd0edfd258454cb9e9cf
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
Log Message:
-----------
[lldb][DWARF] Fix adding children to clang type that hasn't started definition. (#93839)
This fixes
https://github.com/llvm/llvm-project/pull/92328#issuecomment-2139339444
by not differentiating `DW_TAG_class_type` and `DW_TAG_structure_type`
in `UniqueDWARFASTTypeList`, because it's possible that DIE for a type
is `DW_TAG_class_type` in one CU but is `DW_TAG_structure_type` in a
different CU.
---------
Co-authored-by: Michael Buch <michaelbuch12 at gmail.com>
Commit: 435114f9fe2139bec770e5a95799f4eab20639e7
https://github.com/llvm/llvm-project/commit/435114f9fe2139bec770e5a95799f4eab20639e7
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
A mlir/test/Integration/Dialect/Vector/CPU/0-d-vectors.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf-full.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-ext.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-full.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf-full.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-ext.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-full.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero-block.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero-block.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/load-vertical.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/multi-tile-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f16f16f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-i8i8i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/ssve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-load-vertical.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-multi-tile-transpose.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f16f16f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-i8i8i32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-read-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-write-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile-fill.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile_fill.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-read-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-write-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/contraction.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/scalable-interleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/sve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-contraction.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-interleave.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-sve.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/dot.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/inline-asm-vector-avx512.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/mask-compress.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/rsqrt.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/sparse-dot-product.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-dot.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-inline-asm-vector-avx512.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-mask-compress.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-rsqrt.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-sparse-dot-product.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-vp2intersect-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/vp2intersect-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/broadcast.mlir
A mlir/test/Integration/Dialect/Vector/CPU/compress.mlir
A mlir/test/Integration/Dialect/Vector/CPU/constant-mask.mlir
A mlir/test/Integration/Dialect/Vector/CPU/contraction.mlir
A mlir/test/Integration/Dialect/Vector/CPU/create-mask-v4i1.mlir
A mlir/test/Integration/Dialect/Vector/CPU/create-mask.mlir
A mlir/test/Integration/Dialect/Vector/CPU/expand.mlir
A mlir/test/Integration/Dialect/Vector/CPU/extract-strided-slice.mlir
A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-col.mlir
A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-row.mlir
A mlir/test/Integration/Dialect/Vector/CPU/fma.mlir
A mlir/test/Integration/Dialect/Vector/CPU/gather.mlir
A mlir/test/Integration/Dialect/Vector/CPU/index-vectors.mlir
A mlir/test/Integration/Dialect/Vector/CPU/insert-strided-slice.mlir
A mlir/test/Integration/Dialect/Vector/CPU/interleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/maskedload.mlir
A mlir/test/Integration/Dialect/Vector/CPU/maskedstore.mlir
A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-col.mlir
A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-row.mlir
A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-i64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-fp.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-int.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-str.mlir
A mlir/test/Integration/Dialect/Vector/CPU/realloc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32-reassoc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64-reassoc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-si4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-ui4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/rewrite-narrow-types.mlir
A mlir/test/Integration/Dialect/Vector/CPU/scan.mlir
A mlir/test/Integration/Dialect/Vector/CPU/scatter.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shape-cast.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shuffle.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shuffle16x16.mlir
A mlir/test/Integration/Dialect/Vector/CPU/sparse-dot-matvec.mlir
A mlir/test/Integration/Dialect/Vector/CPU/sparse-saxpy-jagged-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-broadcast.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-compress.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-constant-mask.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-contraction.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask-v4i1.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-expand.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-extract-strided-slice.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-col.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-row.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-fma.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-gather.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-index-vectors.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-insert-strided-slice.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-interleave.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-maskedload.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-maskedstore.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-col.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-row.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-i64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-fp.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-int.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-str.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-realloc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32-reassoc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64-reassoc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-si4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-ui4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-rewrite-narrow-types.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-scan.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-scatter.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shape-cast.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle16x16.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-dot-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-saxpy-jagged-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-1d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-3d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-to-loops.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-write.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-1d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-3d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-to-loops.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-write.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transpose.mlir
Log Message:
-----------
[mlir][test] Rename Vector integration tests for CPU (nfc) (#93521)
To keep the test filenames consistent, this patch:
* removes "test-" from file names (there used to be a mix of
"test-feature-1.mlir" and "feature-2.mlir"),
* replaces "_" with "-" (there used to be a mix of "feature-3.mlir"
and "feature_4.mlir").
Only files under test/Integration/Dialect/Vector/CPU are updated.
Commit: ce5b371606422ed21cda0e24cdc89cb41cdc5600
https://github.com/llvm/llvm-project/commit/ce5b371606422ed21cda0e24cdc89cb41cdc5600
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M bolt/test/AArch64/Inputs/array_end.lld_script
M bolt/test/Inputs/lsda.ldscript
Log Message:
-----------
[BOLT,test] Make linker scripts less sensitive to lld's orphan placement (#93763)
Then two tests rely on .interp being the first section.
llvm-bolt would crash if lld places .interp after .got
(f639b57f7993cadb82ee9c36f04703ae4430ed85).
For best portability, when a linker scripts specifies a SECTIONS
command, the first section for each PT_LOAD segment should be specified
with a MAXPAGESIZE alignment. Otherwise, linkers have freedom to decide
how to place orphan sections, which might break intention.
Commit: 5f243b3fffca42ed320529a54aefd86087aa85f8
https://github.com/llvm/llvm-project/commit/5f243b3fffca42ed320529a54aefd86087aa85f8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
Log Message:
-----------
AMDGPU: Generalize instruction shrinking code (#93810)
Try to avoid referring to specific operand names, except in the special
case. The special case for hasNamedOperand(Op32, sdst) seems to have
been dead code.
Commit: 48175a5d9f62f0586c04e5a742dafa5e1943f19c
https://github.com/llvm/llvm-project/commit/48175a5d9f62f0586c04e5a742dafa5e1943f19c
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/bindings/headers.swig
A lldb/bindings/interface/SBAddressRangeDocstrings.i
A lldb/bindings/interface/SBAddressRangeExtensions.i
A lldb/bindings/interface/SBAddressRangeListDocstrings.i
A lldb/bindings/interface/SBAddressRangeListExtensions.i
M lldb/bindings/interfaces.swig
M lldb/include/lldb/API/LLDB.h
M lldb/include/lldb/API/SBAddress.h
A lldb/include/lldb/API/SBAddressRange.h
A lldb/include/lldb/API/SBAddressRangeList.h
M lldb/include/lldb/API/SBBlock.h
M lldb/include/lldb/API/SBDefines.h
M lldb/include/lldb/API/SBFunction.h
M lldb/include/lldb/API/SBStream.h
M lldb/include/lldb/API/SBTarget.h
M lldb/include/lldb/Core/AddressRange.h
A lldb/include/lldb/Core/AddressRangeListImpl.h
M lldb/include/lldb/Symbol/Block.h
M lldb/include/lldb/lldb-forward.h
M lldb/source/API/CMakeLists.txt
A lldb/source/API/SBAddressRange.cpp
A lldb/source/API/SBAddressRangeList.cpp
M lldb/source/API/SBBlock.cpp
M lldb/source/API/SBFunction.cpp
M lldb/source/Core/AddressRange.cpp
A lldb/source/Core/AddressRangeListImpl.cpp
M lldb/source/Core/CMakeLists.txt
M lldb/source/Symbol/Block.cpp
A lldb/test/API/python_api/address_range/Makefile
A lldb/test/API/python_api/address_range/TestAddressRange.py
A lldb/test/API/python_api/address_range/main.cpp
Log Message:
-----------
[lldb] Add SBAddressRange and SBAddressRangeList to SB API (#93836)
This adds new SB API calls and classes to allow a user of the SB API to obtain an address range from SBFunction and SBBlock. This is a second attempt to land the reverted PR #92014.
Commit: ded04bf5d32a4fd5e0919053a598443f9d773549
https://github.com/llvm/llvm-project/commit/ded04bf5d32a4fd5e0919053a598443f9d773549
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/source/API/BUILD.gn
M llvm/utils/gn/secondary/lldb/source/Core/BUILD.gn
Log Message:
-----------
[gn build] Port 48175a5d9f62
Commit: 270d95bfedc20c28f142ac63b4882dd06c869c90
https://github.com/llvm/llvm-project/commit/270d95bfedc20c28f142ac63b4882dd06c869c90
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
R lld/test/ELF/linkerscript/orphan-align.s
M lld/test/ELF/linkerscript/orphan.s
R lld/test/ELF/linkerscript/orphans.s
Log Message:
-----------
[ELF] Improve orphan placement tests
Merge orphan-align.test (which introduced `shouldSkip`) into orphan.s.
Commit: 692ae5443b1778e138527ef55d799a4b535a36f9
https://github.com/llvm/llvm-project/commit/692ae5443b1778e138527ef55d799a4b535a36f9
Author: Jeremy Kun <jkun at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
M mlir/test/Dialect/Polynomial/ops_errors.mlir
Log Message:
-----------
[mlir][polynomial] verify from_tensor coeff type (#93243)
Rebased over https://github.com/llvm/llvm-project/pull/93227
---------
Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Commit: 73e07e924470ebab76a634e41fadf425a859e0ea
https://github.com/llvm/llvm-project/commit/73e07e924470ebab76a634e41fadf425a859e0ea
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/test/ELF/linkerscript/orphan.s
Log Message:
-----------
[ELF] Add RW then text test
Currently, lld assigns RF_NOT_SPECIAL so that orphan .interp and
SHT_NOTE are always before other sections. GNU ld doesn't do so. The
next change will remove RF_NOT_SPECIAL.
Commit: 747d670baef35f0615b32652e93c97a2ff8dba18
https://github.com/llvm/llvm-project/commit/747d670baef35f0615b32652e93c97a2ff8dba18
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/ELF/Writer.cpp
M lld/test/ELF/linkerscript/orphan.s
Log Message:
-----------
[ELF] Make .interp/SHT_NOTE not special
Follow-up to a previous simplification
2473b1af085ad54e89666cedf684fdf10a84f058.
The xor difference between a SHT_NOTE and a read-only SHT_PROGBITS
(previously >=NOT_SPECIAL) should be smaller than RF_EXEC. Otherwise,
for the following section layout, `findOrphanPos` would place .text
before note.
```
// simplified from linkerscript/custom-section-type.s
non orphans:
progbits 0x8060c00 NOT_SPECIAL
note 0x8040003
orphan:
.text 0x8061000 NOT_SPECIAL
```
rw-text.lds in orphan.s (added by
73e07e924470ebab76a634e41fadf425a859e0ea) demonstrates a similar case.
The new behavior is more similar to GNU ld.
#93763 fixed BOLT's brittle reliance on the previous .interp behavior.
Commit: 8fa66c6ca7272268747835a0e86805307b62399c
https://github.com/llvm/llvm-project/commit/8fa66c6ca7272268747835a0e86805307b62399c
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-link.c
M compiler-rt/CMakeLists.txt
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/asan/asan_flags.cpp
M compiler-rt/lib/asan/asan_globals_win.cpp
M compiler-rt/lib/asan/asan_malloc_win.cpp
A compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
A compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
A compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
R compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/profile/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
M compiler-rt/lib/ubsan/CMakeLists.txt
R compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan/TestCases/default_options.cpp
M compiler-rt/test/asan/TestCases/on_error_callback.cpp
M compiler-rt/test/asan/TestCases/report_error_summary.cpp
M compiler-rt/test/asan/lit.cfg.py
Log Message:
-----------
[asan][windows] Eliminate the static asan runtime on windows (#93770)
Re-Apply: 246234ac70faa1e3281a2bb83dfc4dd206a7d59c
Originally #81677
The static asan runtime on windows had various buggy hacks to ensure loaded dlls got the executable's copy of asan, these never worked all that well, so we have eliminated the static runtime altogether and made the dynamic runtime work for applications linking any flavor of the CRT.
Among other things this allows non-asan-instrumented applications to load asan-instrumented dlls that link against the static CRT.
Co-authored-by: Amy Wishnousky <amyw at microsoft.com>
Commit: 5785048321ab82d18667655681d871f7cdc357e5
https://github.com/llvm/llvm-project/commit/5785048321ab82d18667655681d871f7cdc357e5
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h
Log Message:
-----------
[VPlan] Add VPIRBasicBlock, use to model pre-preheader. (#93398)
This patch adds a new special type of VPBasicBlock that wraps an
existing IR basic block. Recipes of the block get added before the
terminator of the wrapped IR basic block. Making it a subclass of
VPBasicBlock avoids duplicating various APIs to manage recipes in a
block, as well as makes sure the traversals filtering VPBasicBlocks
automatically apply as well.
Initially VPIRBasicBlock are only used for the pre-preheader (wrapping
the original preheader of the scalar loop).
As follow-up, this will be used to move more parts of the skeleton
inside VPlan, starting with the branch and condition in the middle
block.
Separated out of https://github.com/llvm/llvm-project/pull/92651
PR: https://github.com/llvm/llvm-project/pull/93398
Commit: 485f9f589595006a8d10b8d39bde7124b0dc2042
https://github.com/llvm/llvm-project/commit/485f9f589595006a8d10b8d39bde7124b0dc2042
Author: Hendrik Hübner <117831077+HendrikHuebner at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/include/llvm-libc-types/pthread_rwlockattr_t.h
M libc/include/pthread.h.def
M libc/spec/posix.td
M libc/src/pthread/CMakeLists.txt
A libc/src/pthread/pthread_rwlockattr_getkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_getkind_np.h
M libc/src/pthread/pthread_rwlockattr_init.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.h
M libc/test/src/pthread/CMakeLists.txt
M libc/test/src/pthread/pthread_rwlockattr_test.cpp
Log Message:
-----------
Reland: [libc][POSIX][pthreads] implemented missing pthread_rwlockattr functions (#93622)
New pull request for https://github.com/llvm/llvm-project/issues/89443
The previous PR was reverted after breaking fullbuild due to a missing
struct declaration, which I forgot to commit.
Reverts revert and adds the missing pthread_rwlockattr_getkind_np /
pthread_rwlockattr_setkind_np functions and tests respecitvely.
Commit: 3af717d661e9fe8d562181b933a373ca58e41b27
https://github.com/llvm/llvm-project/commit/3af717d661e9fe8d562181b933a373ca58e41b27
Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/examples/FeatureList/FeatureList.cpp
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Semantics/symbol.h
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/openacc-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/check-acc-structure.cpp
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/check-do-forall.cpp
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/resolve123.f90
A flang/test/Semantics/resolve124.f90
M flang/test/Semantics/resolve55.f90
Log Message:
-----------
[flang] Add parsing of DO CONCURRENT REDUCE clause (#92518)
Derived from #92480. This PR supports parsing of the DO CONCURRENT
REDUCE clause in Fortran 2023. Following the style of the OpenMP parser
in MLIR, the front end accepts both arbitrary operations and procedures
for the REDUCE clause. But later Semantics can notify type errors and
resolve procedure names.
Commit: 0a93e9f2e264472f1c8c3b5d8726aa43a02ecace
https://github.com/llvm/llvm-project/commit/0a93e9f2e264472f1c8c3b5d8726aa43a02ecace
Author: Charlie Barto <chbarto at microsoft.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/MSVC.cpp
M clang/test/Driver/cl-link.c
M compiler-rt/CMakeLists.txt
M compiler-rt/lib/asan/CMakeLists.txt
M compiler-rt/lib/asan/asan_flags.cpp
M compiler-rt/lib/asan/asan_globals_win.cpp
M compiler-rt/lib/asan/asan_malloc_win.cpp
R compiler-rt/lib/asan/asan_malloc_win_thunk.cpp
R compiler-rt/lib/asan/asan_win_common_runtime_thunk.cpp
R compiler-rt/lib/asan/asan_win_common_runtime_thunk.h
A compiler-rt/lib/asan/asan_win_dll_thunk.cpp
M compiler-rt/lib/asan/asan_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/asan/asan_win_static_runtime_thunk.cpp
M compiler-rt/lib/asan/tests/CMakeLists.txt
M compiler-rt/lib/profile/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_common_interface.inc
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dll_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_runtime_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_coverage_win_weak_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_immortalize.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_interception.h
R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.cpp
R compiler-rt/lib/sanitizer_common/sanitizer_win_thunk_interception.h
A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_win_weak_interception.h
M compiler-rt/lib/ubsan/CMakeLists.txt
A compiler-rt/lib/ubsan/ubsan_win_dll_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_dynamic_runtime_thunk.cpp
R compiler-rt/lib/ubsan/ubsan_win_runtime_thunk.cpp
A compiler-rt/lib/ubsan/ubsan_win_weak_interception.cpp
M compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
M compiler-rt/test/asan/TestCases/Linux/interface_symbols_linux.cpp
M compiler-rt/test/asan/TestCases/Windows/double_free.cpp
M compiler-rt/test/asan/TestCases/Windows/free_hook_realloc.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/malloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_and_lib.cpp
M compiler-rt/test/asan/TestCases/Windows/msvc/dll_large_function.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_left_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_right_oob.cpp
M compiler-rt/test/asan/TestCases/Windows/realloc_uaf.cpp
M compiler-rt/test/asan/TestCases/Windows/symbols_path.cpp
M compiler-rt/test/asan/TestCases/Windows/unsymbolized.cpp
M compiler-rt/test/asan/TestCases/Windows/use_after_realloc.cpp
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/asan/TestCases/default_options.cpp
M compiler-rt/test/asan/TestCases/on_error_callback.cpp
M compiler-rt/test/asan/TestCases/report_error_summary.cpp
M compiler-rt/test/asan/lit.cfg.py
Log Message:
-----------
Revert "[asan][windows] Eliminate the static asan runtime on windows (#93770)"
This reverts commit 8fa66c6ca7272268747835a0e86805307b62399c.
Commit: f8cc183ea244be6b8ea5e9da7733923e39c9fc38
https://github.com/llvm/llvm-project/commit/f8cc183ea244be6b8ea5e9da7733923e39c9fc38
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/DWARFLinker/Utils.h
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
M llvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp
Log Message:
-----------
Fix the dsymutil heuristic for excluding system interfaces. (#93745)
The function was meant to find the Developer/ dir, but it found a
Developer directory nested deep inside the top-level Developer dir.
The new implementation rejects everything in Xcode.app/Developer in
broad strokes.
rdar://128571037
Commit: 7cfffe74eeb68fbb3fb9706ac7071f8caeeb6520
https://github.com/llvm/llvm-project/commit/7cfffe74eeb68fbb3fb9706ac7071f8caeeb6520
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/Bitcode/BitcodeWriter.h
M llvm/include/llvm/Bitstream/BitstreamWriter.h
M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
M llvm/include/llvm/Support/raw_ostream.h
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/Support/raw_ostream.cpp
M llvm/unittests/Bitstream/BitstreamWriterTest.cpp
Log Message:
-----------
Unittests and usability for BitstreamWriter incremental flushing (#92983)
- added unittests for the raw_fd_stream output case.
- the `BitstreamWriter` ctor was confusing, the relationship between the buffer and the file stream wasn't clear and in fact there was a potential bug in `BitcodeWriter` in the mach-o case, because that code assumed in-buffer only serialization. The incremental flushing behavior of flushing at end of block boundaries was an implementation detail that meant serializers not using blocks (for example) would need to know to check the buffer and flush. The bug was latent - in the sense that, today, because the stream being passed was not a `raw_fd_stream`, incremental buffering never kicked in.
The new design moves the responsibility of flushing to the `BitstreamWriter`, and makes it work with any `raw_ostream` (but incrementally flush only in the `raw_fd_stream` case). If the `raw_ostream` is over a buffer - i.e. a `raw_svector_stream` - then it's equivalent to today's buffer case. For all other `raw_ostream` cases, buffering is an implementation detail. In all cases, the buffer is flushed (well, in the buffer case, that's a moot statement).
This simplifies the state and state transitions the user has to track: you have a raw_ostream -> BitstreamWrite in it -> destroy the writer => the bitstream is completely written in your raw_ostream. The "buffer" case and the "raw_fd_stream" case become optimizations rather than imposing state transition concerns to the user.
Commit: 0eb9e021b15f477b796a6aaed94c94887f19171c
https://github.com/llvm/llvm-project/commit/0eb9e021b15f477b796a6aaed94c94887f19171c
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/cmake/modules/CheckCompilerFeatures.cmake
A libc/cmake/modules/compiler_features/check_float16.cpp
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/float16-macros.h
M libc/include/math.h.def
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/src/__support/CPP/type_traits/is_floating_point.h
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/macros/properties/CMakeLists.txt
M libc/src/__support/macros/properties/types.h
M libc/src/math/CMakeLists.txt
A libc/src/math/fabsf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fabsf16.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/fabsf16_test.cpp
Log Message:
-----------
[libc][math][c23] Add fabsf16 C23 math function (#93567)
cc @lntue
Commit: baabaa4ce9e79aa33e309eed515e67ae8e328c8b
https://github.com/llvm/llvm-project/commit/baabaa4ce9e79aa33e309eed515e67ae8e328c8b
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaBase.h
M clang/include/clang/Sema/SemaInternal.h
M clang/lib/Sema/SemaBase.cpp
M clang/lib/Sema/SemaDeclObjC.cpp
M clang/lib/Sema/SemaExprObjC.cpp
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][NFC] Move `PDiag` into `SemaBase` (#93849)
This patch moves `PDiag` into `SemaBase`, making it readily available
everywhere across `Sema` without `SemaRef`, like the regular `Diag`.
Commit: 973821cb44cf2826e2aea1cd40ff40e6e975b9d6
https://github.com/llvm/llvm-project/commit/973821cb44cf2826e2aea1cd40ff40e6e975b9d6
Author: Florian Mayer <fmayer at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
Log Message:
-----------
[MTE] rename RecordStackHistoryMode
We used the same name in the global name space for HWASan, so we got
a collision.
Commit: c803c29039a9716436d338b7c513c75b7bbfa8f3
https://github.com/llvm/llvm-project/commit/c803c29039a9716436d338b7c513c75b7bbfa8f3
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[nfc][InstrProf]Remove 'offsetOf' when parsing indexed profiles (#93346)
- In `Header::readFromBuffer`, read the buffer in the forward direction by using `readNext`.
- When compute the header size, spell out the constant.
With the changes above, we can remove `offsetOf` in InstrProf.cpp
---------
Co-authored-by: Kazu Hirata <kazu at google.com>
Commit: 9faa623d96baa39fe109a74ff903c568c7a6782b
https://github.com/llvm/llvm-project/commit/9faa623d96baa39fe109a74ff903c568c7a6782b
Author: Martin Storsjö <martin at martin.st>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
Log Message:
-----------
[compiler-rt] [test] Work around MS CRT stdio format quirks on mingw too (#93787)
So far, these tests have been disabled in mingw build configurations
(built as asan-dynamic), but these were enabled in
246234ac70faa1e3281a2bb83dfc4dd206a7d59c, exposing the issue.
(That commit is currently reverted, but will probably be relanded in
some form soon.)
Commit: ce7b67091267ffcc67194b0f116a63249a77230f
https://github.com/llvm/llvm-project/commit/ce7b67091267ffcc67194b0f116a63249a77230f
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Parse/ParseOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Simplify check for repeated clauses (#93611)
The `FirstClauses` is a vector of pointer-bool pairs, and the pointer
part of the pair is never used. Replace the vector with std::bitset, and
rename it to `SeenClauses` to make the purpose of it a bit clearer.
Commit: 61afebdacc3b980fb82ea606d78d742847a133c3
https://github.com/llvm/llvm-project/commit/61afebdacc3b980fb82ea606d78d742847a133c3
Author: Teresa Johnson <tejohnson at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
Log Message:
-----------
[MemProf][NFC] Switch to DenseMaps (#93868)
Change a couple of maps from std::map to DenseMap, which showed
a modest (3.6%) reduction in peak RSS.
Commit: 7b8048939024841e07f8d89ddfaa4311f9dd7e9c
https://github.com/llvm/llvm-project/commit/7b8048939024841e07f8d89ddfaa4311f9dd7e9c
Author: Artem Yurchenko <44875844+temyurchenko at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/AST/DeclPrinter.cpp
A clang/test/AST/ast-print-language-linkage.cpp
Log Message:
-----------
[clang][AST] fix ast-print of `extern <lang>` with >=2 declarators (#93131)
Problem: the printer used to ignore all but the first declarator for
unbraced language linkage declarators. Furthemore, that one would be
printed without the final semicolon.
Solution: when there is more than one declarator, we print them in a
braced `extern <lang>` block. If the original declaration was unbraced
and there is one or less declarator, we omit the braces, but add the
semicolon.
**N.B.** We are printing braces which were, in some cases, absent from
the original CST. If that's an issue, I'll work on it. See the tests for
the examples.
Commit: 224581cf3c8b734d619e261ec4705106282ae3a8
https://github.com/llvm/llvm-project/commit/224581cf3c8b734d619e261ec4705106282ae3a8
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M flang/lib/Semantics/check-do-forall.cpp
Log Message:
-----------
[flang] Fix a warning
This patch fixes:
flang/lib/Semantics/check-do-forall.cpp:731:9: error: default label
in switch which covers all enumeration values
[-Werror,-Wcovered-switch-default]
Commit: 22ada554d5123717d163fea5a2a8d87020b332fe
https://github.com/llvm/llvm-project/commit/22ada554d5123717d163fea5a2a8d87020b332fe
Author: Adrian Prantl <aprantl at apple.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/DWARFLinker/Utils.h
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
M llvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp
Log Message:
-----------
[dsymutil] Also detect external downloadable toolchains (#93872)
and reject them when copying Swift interface files, since they can live
outside of DEVELOPER_DIR.
Commit: 6f576d957e7efd2e3b2af90d03e626f0bafbd018
https://github.com/llvm/llvm-project/commit/6f576d957e7efd2e3b2af90d03e626f0bafbd018
Author: Nick Desaulniers (paternity leave) <nickdesaulniers at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M libc/test/UnitTest/LibcTest.cpp
M libc/test/UnitTest/LibcTest.h
M libc/test/UnitTest/LibcTestMain.cpp
M libc/test/utils/UnitTest/testfilter_test.cpp
Log Message:
-----------
[libc] android atest compat (#93852)
These changes slighly modify the output of the unittests so that they better
match GTest, so that utilities that parse the expected output from GTest (such
as Android's unit test harness) can read the output from our unit tests.
This allows our unit tests to be run on Android devices.
Add very primitive command line parsing to:
- support --gtest_color=no to disable printing terminal colors.
- recognize --gtest_print_time and print the test time in milliseconds.
- most of our unit tests run on the order of microseconds, so its useful to
preserve the existing behavior. But upsteram GTest ONLY prints time tests
in milliseconds, and Android's atest expects to be able to parse exactly
that. Atest always passes --gtest_print_time. The word `took` is removed as
that also differs from upstream GTest, tripping up parsers.
- ignore other --gtest_* flags
Do so so that atest can parse the output correctly.
Print the test number count before
each run, so that atest can parse this value correctly.
Link: https://android-review.googlesource.com/c/platform/external/llvm-libc/+/3107252
Link: https://google.github.io/googletest/advanced.html#colored-terminal-output
Link: https://google.github.io/googletest/advanced.html#suppressing-the-elapsed-time
Commit: d471860f2d3bbc7208ebf6e9e3e5350677f9c290
https://github.com/llvm/llvm-project/commit/d471860f2d3bbc7208ebf6e9e3e5350677f9c290
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
Log Message:
-----------
[bazel] Port #92983 (#93874)
Commit: 6e975ecf5c93c40d2f088425548eb6476332629c
https://github.com/llvm/llvm-project/commit/6e975ecf5c93c40d2f088425548eb6476332629c
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
M clang/test/Driver/debug-options.c
Log Message:
-----------
Reapply "[DebugInfo] Add flag to only emit referenced member functions" (#93767)
This reverts commit 02c6845c762dfd0a19d4a2f997990e160f392dae,
reapplying bfabc958c7c0d7ddc15f23383d9da836e8c6093f.
The patch was reverted due to the test failing on MacOS and Windows
where type units aren't supported. This is addressed by limiting type
unit flag/test coverage to Linux.
Complete C++ type information can be quite expensive - and there's
limited value in representing every member function, even those that
can't be called (we don't do similarly for every non-member function
anyway). So add a flag to opt out of this behavior for experimenting
with this more terse behavior.
I think Sony already does this by default, so perhaps with a change to
the defaults, Sony can migrate to this rather than a downstream patch.
This breaks current debuggers in some expected ways - but those
breakages are visible without this feature too. Consider member function
template instantiations - they can't be consistently enumerated in every
translation unit:
a.h:
```
struct t1 {
template <int i>
static int f1() {
return i;
}
};
namespace ns {
template <int i>
int f1() {
return i;
}
} // namespace ns
```
a.cpp:
```
void f1() {
t1::f1<0>();
ns::f1<0>();
}
```
b.cpp:
```
void f1();
int main() {
f1();
t1::f1<1>();
ns::f1<1>();
}
```
```
(gdb) p ns::f1<0>()
$1 = 0
(gdb) p ns::f1<1>()
$2 = 1
(gdb) p t1::f1<0>()
Couldn't find method t1::f1<0>
(gdb) p t1::f1<1>()
$3 = 1
(gdb) s
f1 () at a.cpp:3
3 t1::f1<0>();
(gdb) p t1::f1<0>()
$4 = 0
(gdb) p t1::f1<1>()
Couldn't find method t1::f1<1>
(gdb)
```
(other similar non-canonical features are implicit special members
(copy/move ctor/assignment operator, default ctor) and nested types (eg:
pimpl idiom, where the nested type is declared-but-not-defined in one
TU, and defined in another TU))
lldb can't parse the template expressions above, so I'm not sure how to
test it there, but I'd guess it has similar problems. (
https://stackoverflow.com/questions/64602475/how-to-print-value-returned-by-template-member-function-in-gdb-lldb-debugging
so... I guess that's just totally not supported in lldb, how
unfortunate. And implicit special members are instantiated implicitly by
lldb, so missing those doesn't tickle the same issue)
Some very rudimentary numbers for a clang debug build:
.debug_info section size:
-g: 476MiB
-g -fdebug-types-section: 357MiB
-g -gomit-unreferenced-members: 340MiB
Though it also means a major reduction in .debug_str size,
-fdebug-types-section doesn't reduce string usage (so the first two
examples have the same .debug_str size, 247MiB), down to 175MiB.
So for total clang binary size (I don't have a quick "debug section size
reduction" on-hand): 1.45 (no type units) GiB -> 1.34 -> 1.22, so it
saves about 120MiB of binary size.
Original Differential Revision: https://reviews.llvm.org/D152017
Commit: 8247068b70106d188d037b9cc4b8de3548108597
https://github.com/llvm/llvm-project/commit/8247068b70106d188d037b9cc4b8de3548108597
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
M llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
Log Message:
-----------
[RISCV] Support (truncate (smin (smax X, C1), C2)) for vnclipu in combineTruncToVnclip. (#93756)
If the smax removed all negative numbers, then we can treat the smin
like a umin.
If the smin and smax are in the other order we can swap them and use a
vnclipu as long as the smax constant is smaller than the smin constant.
This is based on similar code from X86's detectUSatPattern.
Commit: 167cad531db897c708610447d2632f137931c4be
https://github.com/llvm/llvm-project/commit/167cad531db897c708610447d2632f137931c4be
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/test/ELF/linkerscript/addr.test
R lld/test/ELF/linkerscript/expr-invalid-sec.test
R lld/test/ELF/linkerscript/expr-sections.test
R lld/test/ELF/linkerscript/parse-section-in-addr.test
Log Message:
-----------
[ELF] Improve ADDR tests
Merge some test files.
The "undefined section" error (`checkIfExists`) was previously untested.
Commit: 493eefc93f2901dd987b8ff441004352b317cab9
https://github.com/llvm/llvm-project/commit/493eefc93f2901dd987b8ff441004352b317cab9
Author: Miro Bucko <mbucko at meta.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lldb/test/API/python_api/address_range/TestAddressRange.py
Log Message:
-----------
[lldb][test] Fix failing test TestAddressRange.py (#93871)
Test llvm-project/lldb/test/API/python_api/address_range/TestAddressRange.py is failing on Windows due adding a carriage return character at the end of line. Original PR is #93836.
Commit: 031f08c0a5aa1e9fb6995e26f5e9270a81f077cd
https://github.com/llvm/llvm-project/commit/031f08c0a5aa1e9fb6995e26f5e9270a81f077cd
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Port #93567 (#93877)
Commit: f795853d1f77bff69c3805f75e54fa7a32cc23d9
https://github.com/llvm/llvm-project/commit/f795853d1f77bff69c3805f75e54fa7a32cc23d9
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Support/raw_ostream.cpp
Log Message:
-----------
raw_ostream: Fix a comment in llvm::errs
https://reviews.llvm.org/D81156 tied errs() to outs().
030897523d43e3296f69d25a71a140d9e5793c6a removed the tie, but did not
update the comment.
Commit: c4dad9a6b6dd048b4a8d771864ff905cbc2467af
https://github.com/llvm/llvm-project/commit/c4dad9a6b6dd048b4a8d771864ff905cbc2467af
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.h
Log Message:
-----------
[DirectX] Fix BitcodeWriter ctor after #92983
Commit: 215f92b979277a7ea4d331ae25a3ab9b77c9da0e
https://github.com/llvm/llvm-project/commit/215f92b979277a7ea4d331ae25a3ab9b77c9da0e
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
A llvm/test/CodeGen/AMDGPU/load-store-opt-addc0.mir
Log Message:
-----------
[AMDGPU] Fix crash in the SILoadStoreOptimizer (#93862)
It does not properly handle situation when address calculation uses
V_ADDC_U32 0, 0, carry-in (i.e. with both src0 and src1 immediates).
Commit: d5f077cf52b3e14beb9932ddf7043685a31580b6
https://github.com/llvm/llvm-project/commit/d5f077cf52b3e14beb9932ddf7043685a31580b6
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
Log Message:
-----------
[ELF] Simplify assignOffsets. NFC
Commit: 90acfbf90ddcb9c8c3338373bd13cb44f73bbd00
https://github.com/llvm/llvm-project/commit/90acfbf90ddcb9c8c3338373bd13cb44f73bbd00
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/ProfileData/MemProf.cpp
Log Message:
-----------
[memprof] Use linear IDs for Frames and call stacks (#93740)
With this patch, we stop using on-disk hash tables for Frames and call
stacks. Instead, we'll write out all the Frames as a flat array while
maintaining mappings from FrameIds to the indexes into the array.
Then we serialize call stacks in terms of those indexes.
Likewise, we'll write out all the call stacks as another flat array
while maintaining mappings from CallStackIds to the indexes into the
call stack array. One minor difference from Frames is that the
indexes into the call stack array are not contiguous because call
stacks are variable-length objects.
Then we serialize IndexedMemProfRecords in terms of the indexes
into the call stack array.
Now, we describe each call stack with 32-bit indexes into the Frame
array (as opposed to the 64-bit FrameIds in Version 2). The use of
the smaller type cuts down the profile file size by about 40% relative
to Version 2. The departure from the on-disk hash tables contributes
a little bit to the savings, too.
For now, IndexedMemProfRecords refer to call stacks with 64-bit
indexes into the call stack array. As a follow-up, I'll change that
to uint32_t, including necessary updates to RecordWriterTrait.
Commit: 629b6f4eb129375324486181ac4fda1288ebecbc
https://github.com/llvm/llvm-project/commit/629b6f4eb129375324486181ac4fda1288ebecbc
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M bolt/include/bolt/Core/FunctionLayout.h
M bolt/lib/Core/FunctionLayout.cpp
Log Message:
-----------
[BOLT][NFC] Extend updateLayoutIndices (#93861)
Make FunctionLayout::updateLayoutIndices const and add an overloaded
function that updates LayoutIndices given an Order parameter.
Commit: fc2b15987b417174ee6d899178af08c47e04575b
https://github.com/llvm/llvm-project/commit/fc2b15987b417174ee6d899178af08c47e04575b
Author: Sterling Augustine <saugustine at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/apx/asm-constraint-2-jR.ll
Log Message:
-----------
Send output to a temp file, even in the error case
Prior to this, the test tries to write to the source directory,
which prevents it from working when the source is on a read-only
file systems.
Commit: 419d363385c7fa8bd969a817f95ab025ae94277c
https://github.com/llvm/llvm-project/commit/419d363385c7fa8bd969a817f95ab025ae94277c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/preload-kernargs.ll
Log Message:
-----------
AMDGPU: Add kernarg input attributes to preloaded kernarg test (#93669)
Explicitly mark the unused implicit arguments in the test, since this
should be sensitive to the number of free user SGPRs.
This is in preparation for #83131.
Commit: d9fbccf9a9b1ee2b76267146b4582415df67e66c
https://github.com/llvm/llvm-project/commit/d9fbccf9a9b1ee2b76267146b4582415df67e66c
Author: David Blaikie <dblaikie at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/test/Driver/debug-options.c
Log Message:
-----------
Fix test on MacOS where -fstandalone-debug is the default
This test is meant to check the behavior when -fno-standalone-debug is
active - it doesn't care whether it's explicit or implicit, so let's
make it explicit so it applies equally to MacOS and other platforms.
Commit: 235ddbd138b14aa1479adda2dc16f5f4055f1053
https://github.com/llvm/llvm-project/commit/235ddbd138b14aa1479adda2dc16f5f4055f1053
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/docs/DirectXUsage.rst
Log Message:
-----------
[DirectX] [Docs] Add DXILOpTableGenDesign.rst to toctree of DirectXUsage. (#93864)
Fix doc build failure.
Commit: d4ff9615a1531f4a466b7d1fb0f175e3ae489289
https://github.com/llvm/llvm-project/commit/d4ff9615a1531f4a466b7d1fb0f175e3ae489289
Author: Jorge Gorbe Moya <jgorbe at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/include/clang/Sema/Attr.h
Log Message:
-----------
Add missing #include for ObjCMethodDecl.
DeclBase.h only contains a forward declaration of ObjCMethodDecl, and
when building clang/Sema/Attr.h with header modules this causes a build
failure because `llvm::isa<ObjCMethodDecl>` requires the full type.
Commit: 852aaf54071ad072335dcac57f544d4da34c875a
https://github.com/llvm/llvm-project/commit/852aaf54071ad072335dcac57f544d4da34c875a
Author: Aaron Siddhartha Mondal <aaron at tracemachina.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/cmake/caches/Fuchsia-stage2.cmake
M clang/cmake/caches/Fuchsia.cmake
M clang/cmake/caches/VectorEngine.cmake
M clang/utils/analyzer/entrypoint.py
M compiler-rt/cmake/config-ix.cmake
M compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
M compiler-rt/lib/xray/tests/CMakeLists.txt
M lldb/docs/resources/build.rst
M lldb/source/Core/CMakeLists.txt
M llvm/CMakeLists.txt
M llvm/cmake/config-ix.cmake
R llvm/cmake/modules/FindTerminfo.cmake
M llvm/cmake/modules/LLVMConfig.cmake.in
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/Config/config.h.cmake
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/Unix/Process.inc
M llvm/utils/gn/README.rst
R llvm/utils/gn/build/libs/terminfo/BUILD.gn
R llvm/utils/gn/build/libs/terminfo/enable.gni
M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/tools/llvm-config/BUILD.gn
M utils/bazel/.bazelrc
M utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
M utils/bazel/llvm_configs/config.h.cmake
Log Message:
-----------
Reapply "[Support] Remove terminfo dependency (#92865)" (#93889)
This reverts commit fe82a3da36196157c0caa1ef2505186782f750d1.
This broke LLDB on MacOS due to a missing symbol during linking.
The fix has been applied in c6c08eee37bada190bd1aa4593c88a5e2c8cdaac.
Original commit message:
The terminfo dependency introduces a significant nonhermeticity into the
build. It doesn't respect `--no-undefined-version` meaning that it's not
a dependency that can be built with Clang 17+. This forces maintainers
of source-based distributions to implement patches or ignore linker
errors.
Remove it to reduce the closure size and improve portability of
LLVM-based tools. Users can still use command line arguments to toggle
color support expliticly.
Fixes #75490
Closes #53294 #23355
Commit: e1c3e16d24b5cc097ff08e9283f53319acd3f245
https://github.com/llvm/llvm-project/commit/e1c3e16d24b5cc097ff08e9283f53319acd3f245
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/Decl.cpp
M clang/test/SemaObjCXX/block-capture.mm
Log Message:
-----------
[clang] Fix a crash when a variable is captured by a block nested inside a lambda (#93749)
`Eval->Value.get` returns a null pointer when the variable doesn't have
an initializer. Use `cast_if_present` instead of `cast`.
This fixes https://github.com/llvm/llvm-project/issues/93625.
rdar://128482541
Commit: f38d84ce328c2acdce372680a41d8cf6c1bdf7c4
https://github.com/llvm/llvm-project/commit/f38d84ce328c2acdce372680a41d8cf6c1bdf7c4
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
M llvm/test/Transforms/LoopVectorize/vplan-dot-printing.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
Log Message:
-----------
[VPlan] Use ir-bb prefix for VPIRBasicBlock.
Follow-up to adjust the names and tests after
https://github.com/llvm/llvm-project/pull/93398.
Commit: e9954ec087d640809082f46d1c7e5ac1767b798d
https://github.com/llvm/llvm-project/commit/e9954ec087d640809082f46d1c7e5ac1767b798d
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/test/X86/register-fragments-bolt-symbols.s
Log Message:
-----------
[BOLT] Detect .warm split functions as cold fragments (#93759)
CDSplit splits functions up to three ways: main fragment with no suffix,
and fragments with .cold and .warm suffixes.
Add .warm suffix to the regex used to recognize split fragments.
Test Plan: updated register-fragments-bolt-symbols.s
Commit: aa98c75da49515fb399e2682dfe34c563d44bdf6
https://github.com/llvm/llvm-project/commit/aa98c75da49515fb399e2682dfe34c563d44bdf6
Author: gulfemsavrun <gulfem at google.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/AST/DeclPrinter.cpp
R clang/test/AST/ast-print-language-linkage.cpp
Log Message:
-----------
Revert "[clang][AST] fix ast-print of `extern <lang>` with >=2 declarators" (#93912)
Reverts llvm/llvm-project#93131 because it broke some lldb tests on the
Fuchsia Clang toolchain builders.
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8746482644341901905/infra
Commit: db6de1a20f75cbfe1024f41e64ad39def91fa70f
https://github.com/llvm/llvm-project/commit/db6de1a20f75cbfe1024f41e64ad39def91fa70f
Author: Jianjian Guan <jacquesguan at me.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmul-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vmul-vp.ll
Log Message:
-----------
[DAGCombiner][VP] Add DAGCombine for VP_MUL (#80105)
Use visitMUL to combine VP_MUL, share most logic of MUL with VP_MUL.
Migrate from https://reviews.llvm.org/D121187
Commit: 461cc8612f563fadba2d9db157a0e17e2b463e4e
https://github.com/llvm/llvm-project/commit/461cc8612f563fadba2d9db157a0e17e2b463e4e
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
Log Message:
-----------
[LAA] Add test where stride is also used for BTC.
Add missing test coverage for follow-up to
https://github.com/llvm/llvm-project/pull/93499.
Commit: c5fdb5c34e0dc3f5f3c0db19cf704b30a778cd0e
https://github.com/llvm/llvm-project/commit/c5fdb5c34e0dc3f5f3c0db19cf704b30a778cd0e
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Insert a space between a keyword and a literal (#93632)
Fixes #93603.
Commit: 1fa073ab896e65c55ff63487be0b41d7cea9aa77
https://github.com/llvm/llvm-project/commit/1fa073ab896e65c55ff63487be0b41d7cea9aa77
Author: Zixu Wang <9819235+zixu-w at users.noreply.github.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/lib/Object/MachOObjectFile.cpp
A llvm/test/Object/Inputs/MachO/rebase-bind-table-trailing-opcode.yaml
A llvm/test/Object/macho-rebase-bind-trailing-opcode-boundary.test
Log Message:
-----------
[MachO] Stop parsing past end of rebase/bind table (#93897)
`MachORebaseEntry::moveNext()` and `MachOBindEntry::moveNext()` assume
that the rebase/bind table ends with `{REBASE|BIND}_OPCODE_DONE` or an
actual rebase/bind. However a valid rebase/bind table might also end
with other effectively no-op opcodes, which caused the parser to move
past the end and go into the next table, resulting in corrupted entries
or infinite loops.
Commit: 089dfeee8a8761c35a3a56e75281275871dd53bc
https://github.com/llvm/llvm-project/commit/089dfeee8a8761c35a3a56e75281275871dd53bc
Author: Malay Sanghi <malay.sanghi at intel.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Headers/intrin.h
M clang/test/CodeGen/X86/ms-x86-intrinsics.c
Log Message:
-----------
[X86] Add support for MS inp functions. (#93804)
support _inp, _inpw, _inpd.
These functions were removed from the Windows runtime library, but aare
still supported for kernel mode development.
Commit: 71ccd0d8ccf876e32e21514839195f159642fe4c
https://github.com/llvm/llvm-project/commit/71ccd0d8ccf876e32e21514839195f159642fe4c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/Expression/IRInterpreter.cpp
Log Message:
-----------
[IRInterpreter] Return zero address for missing weak function (#93548)
If a weak function is missing, still return it's address (zero) rather
than failing interpretation. Otherwise we have a mismatch between
Interpret() and CanInterpret() resulting in failures that would not
occur with JIT execution.
Alternatively, we could try to look for weak symbols in CanInterpret()
and generally reject them there.
This is the root cause for the issue exposed by
https://github.com/llvm/llvm-project/pull/92885. Previously, the case
affected by that always fell back to JIT because an icmp constant
expression was used, which is not supported by the interpreter. Now a
normal icmp instruction is used, which is supported. However, we fail to
interpret due to incorrect handling of weak function addresses.
Commit: 4985f25ffcc4735c36967fcdbd5d46e009b25827
https://github.com/llvm/llvm-project/commit/4985f25ffcc4735c36967fcdbd5d46e009b25827
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-05-30 (Thu, 30 May 2024)
Changed paths:
M llvm/include/llvm/IR/GEPNoWrapFlags.h
Log Message:
-----------
[IR] Fix IWYU violation (#93918)
GEPNoWrapFlags.h calls `assert` creating a undeclared identifier error
when running an Apple-stage2 build with LLVM_ENABLE_MODULES enabled.
resolves: rdar://129031201
Commit: f49d26bc7766a6589bdbfc6fd752665ae5643b62
https://github.com/llvm/llvm-project/commit/f49d26bc7766a6589bdbfc6fd752665ae5643b62
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Runtime/support.h
M flang/runtime/support.cpp
M flang/unittests/Runtime/Support.cpp
Log Message:
-----------
[flang][runtime] add IsAssumedSize API (#93857)
Needed for SELECT RANK implementation. I want to stay away from
generating the `rank > 0 && ...` logic in FIR codegen for now.
Commit: 5228c2cbd6d834a76c24ca9f2aaa2c4f7a0b5510
https://github.com/llvm/llvm-project/commit/5228c2cbd6d834a76c24ca9f2aaa2c4f7a0b5510
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/test/Fir/fir-ops.fir
M flang/test/Fir/invalid.fir
Log Message:
-----------
[flang][FIR] add fir.is_assumed_size operation (#93853)
Assumed-rank fir.box/class may describe assumed-size array. This case
needs special handling in SELECT RANK. It is not possible to generate
FIR code to detect that a fir.box is an assumed-size (the way to detect
that is to check that upper dimension extent is -1 in the descriptor).
Instead of emitting a runtime call directly in lowering, add an
operation that can later be lowered to a runtime call or inline code
when the descriptor layout is known.
Commit: 0821b7937c2b7528b1d3a0fa06eb241ae9ce4074
https://github.com/llvm/llvm-project/commit/0821b7937c2b7528b1d3a0fa06eb241ae9ce4074
Author: Fabian Ritter <fabian.ritter at amd.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/SMInstructions.td
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/lib/Target/AMDGPU/VOPInstructions.td
Log Message:
-----------
[AMDGPU] Copy Defs and Uses from Pseudo to Real Instructions (#93004)
Currently, the tablegen files that generate the instruction definitions
in lib/Target/AMDGPU/AMDGPUGenInstrInfo.inc often only include implicit
operands for the architecture-independent pseudo instructions, but not
for the corresponding real instructions. The missing implicit operands
(most prominently: the EXEC mask) do not affect code generation, since
that operates on pseudo instructions, but they are problematic when
working with real instructions, e.g., as a decoding result from the MC
layer.
This patch copies the implicit Defs and Uses from pseudo instructions to
the corresponding real instructions, so that implicit operands are also
defined for real instructions.
Addresses issue #89830.
Commit: 63dc31b68b78bc0e5deef21b98cab72de997c471
https://github.com/llvm/llvm-project/commit/63dc31b68b78bc0e5deef21b98cab72de997c471
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Analysis/builtin_signbit.cpp
M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
M clang/test/CodeGen/constantexpr-fneg.c
M clang/test/CodeGenCXX/cxx11-thread-local.cpp
M clang/test/CodeGenCXX/ubsan-nullability-arg.cpp
M clang/test/CodeGenCXX/weak-external.cpp
M clang/test/Driver/linker-wrapper-image.c
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Assembler/ConstantExprFold.ll
M llvm/test/Assembler/ConstantExprNoFold.ll
M llvm/test/Assembler/vector-cmp.ll
M llvm/test/CodeGen/AMDGPU/lower-ctor-dtor-constexpr-alias.ll
M llvm/test/CodeGen/AMDGPU/lower-ctor-dtor.ll
M llvm/test/CodeGen/AMDGPU/lower-multiple-ctor-dtor.ll
M llvm/test/Instrumentation/MemorySanitizer/check-constant-shadow.ll
M llvm/test/Instrumentation/SanitizerBinaryMetadata/atomics.ll
M llvm/test/Transforms/Attributor/value-simplify.ll
M llvm/test/Transforms/InstCombine/binop-select-cast-of-select-cond.ll
M llvm/test/Transforms/InstCombine/constant-fold-address-space-pointer.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/hoist-xor-by-constant-from-xor-by-value.ll
M llvm/test/Transforms/InstCombine/pr33453.ll
M llvm/test/Transforms/InstCombine/pr83947.ll
M llvm/test/Transforms/InstCombine/rem.ll
M llvm/test/Transforms/InstCombine/select-and-or.ll
M llvm/test/Transforms/InstCombine/select-safe-transforms.ll
M llvm/test/Transforms/InstSimplify/ConstProp/bitcast.ll
M llvm/test/Transforms/InstSimplify/ConstProp/icmp-global.ll
M llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll
M llvm/test/Transforms/InstSimplify/compare.ll
M llvm/test/Transforms/InstSimplify/past-the-end.ll
M llvm/test/Transforms/JumpThreading/constant-fold-status.ll
M llvm/test/Transforms/LowerTypeTests/cfi-direct-call1.ll
M llvm/test/Transforms/LowerTypeTests/function-weak.ll
M llvm/test/Transforms/SCCP/conditions-ranges.ll
M llvm/test/Transforms/SimplifyCFG/phi-to-select-constexpr-icmp.ll
Log Message:
-----------
Reapply [IR] Avoid creating icmp/fcmp constant expressions (#92885)
Reapply after https://github.com/llvm/llvm-project/pull/93548,
which should address the lldb failure on macos.
-----
Do not create icmp/fcmp constant expressions in IRBuilder etc anymore,
i.e. treat them as "undesirable". This is in preparation for removing
them entirely.
Part of:
https://discourse.llvm.org/t/rfc-remove-most-constant-expressions/63179
Commit: e1cc9e4eaddcc295b4e775512e33b947b1514c17
https://github.com/llvm/llvm-project/commit/e1cc9e4eaddcc295b4e775512e33b947b1514c17
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Other/constant-fold-gep.ll
M llvm/test/Transforms/InstCombine/gepgep.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
Log Message:
-----------
[ConstantFold] Remove non-trivial gep-of-gep fold (#93823)
This fold is subtly incorrect, because DL-unaware constant folding does
not know the correct index type to use, and just performs the addition
in the type that happens to already be there. This is incorrect, since
sext(X)+sext(Y) is generally not the same as sext(X+Y). See the
`@constexpr_gep_of_gep_with_narrow_type()` for a miscompile with the
current implementation.
One could try to restrict the fold to cases where no overflow occurs,
but I'm not bothering with that here, because the DL-aware constant
folding will take care of this anyway. I've only kept the
straightforward zero-index case, where we just concatenate two GEPs.
Commit: be566d2eacdaed972b90d2eeb1e66d732c9fe7c1
https://github.com/llvm/llvm-project/commit/be566d2eacdaed972b90d2eeb1e66d732c9fe7c1
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/include/clang/AST/RecursiveASTVisitor.h
Log Message:
-----------
[clang] AST Visitor: skip empty qualifiers in QualifiedTemplateName (#93926)
Commit: f484c79e7a5c6502e12d3975734fb4335ab51103
https://github.com/llvm/llvm-project/commit/f484c79e7a5c6502e12d3975734fb4335ab51103
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
Log Message:
-----------
[AArch64] Avoid NEON ctpop in Streaming-SVE mode (#93826)
The NEON ctpop instruction is also used for scalars.
Commit: ae8627809076390dbab04e01f3bf9d384c9e124e
https://github.com/llvm/llvm-project/commit/ae8627809076390dbab04e01f3bf9d384c9e124e
Author: Yvan Roux <yvan.roux at foss.st.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/docs/Security.rst
Log Message:
-----------
[Nomination] Add ST representative to Security group (#93176)
I'd like to nominate myself to join the LLVM Security group as a
representative of ST. I work in ST's compiler team contributing to
upstream (LLVM and GNU) and several downstream toolchains. We believe
that it is important for us to be part of this group to address or
report any potential security issues the LLVM project or our toolchains
may encounter.
Commit: b86a9c5bf2fab0408a3d549995d6e2449f71a16d
https://github.com/llvm/llvm-project/commit/b86a9c5bf2fab0408a3d549995d6e2449f71a16d
Author: Théo Degioanni <theo.degioanni.llvm.deluge062 at simplelogin.fr>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A mlir/include/mlir/Dialect/IRDL/IRDLSymbols.h
M mlir/lib/Dialect/IRDL/CMakeLists.txt
M mlir/lib/Dialect/IRDL/IR/IRDL.cpp
M mlir/lib/Dialect/IRDL/IR/IRDLOps.cpp
M mlir/lib/Dialect/IRDL/IRDLLoading.cpp
A mlir/lib/Dialect/IRDL/IRDLSymbols.cpp
M mlir/test/Dialect/IRDL/cmath.irdl.mlir
M mlir/test/Dialect/IRDL/cyclic-types.irdl.mlir
M mlir/test/Dialect/IRDL/invalid.irdl.mlir
M mlir/test/Dialect/IRDL/testd.irdl.mlir
Log Message:
-----------
[mlir][irdl] Lookup symbols near dialects instead of locally (#92819)
Because symbols cannot refer to operations outside of their symbol
tables, it was impossible to refer to operations outside of the dialect
currently being defined. This PR modifies the lookup logic to happen
relative to the symbol table containing the dialect-defining operations.
This is a bit of hack but should unblock the situation here.
Commit: 51e459a561519c8d51e2b4cadddc0d1f99c8b7ef
https://github.com/llvm/llvm-project/commit/51e459a561519c8d51e2b4cadddc0d1f99c8b7ef
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Other/constant-fold-gep.ll
M llvm/test/Transforms/InstCombine/gepgep.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/ptrtoint-nullgep.ll
Log Message:
-----------
Revert "[ConstantFold] Remove non-trivial gep-of-gep fold (#93823)"
This reverts commit e1cc9e4eaddcc295b4e775512e33b947b1514c17.
This causes some non-trivial text size increases in unoptimized
builds for Bullet. Revert while I investigate.
Commit: b1be480b034f75bbc245bffc10d8cdc7193568d1
https://github.com/llvm/llvm-project/commit/b1be480b034f75bbc245bffc10d8cdc7193568d1
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAGCombiner] Move CanReassociate down to first use. NFC.
Commit: 48ba7da9c8e3d03beb27e3a5acf34a3a180d202d
https://github.com/llvm/llvm-project/commit/48ba7da9c8e3d03beb27e3a5acf34a3a180d202d
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/src/string/memory_utils/op_x86.h
M libc/src/string/memory_utils/utils.h
Log Message:
-----------
[libc][NFC] Allow compilation of `memcpy` with `-m32` (#93790)
Needed to support i386 (#93709).
Commit: 2766a66fa777bbb654e08ccbcfdc3e61b70ba015
https://github.com/llvm/llvm-project/commit/2766a66fa777bbb654e08ccbcfdc3e61b70ba015
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
Log Message:
-----------
[AMDGPU] Remove FlatVariant argument from isLegalFlatAddressingMode. NFC. (#93938)
This argument is easily deduced from AS argument.
Commit: de32a3df354f1d01c0a5c81285ac786cea9d8bdf
https://github.com/llvm/llvm-project/commit/de32a3df354f1d01c0a5c81285ac786cea9d8bdf
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/OpenMP/for_private_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
M clang/test/OpenMP/parallel_copyin_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_private_codegen.cpp
M clang/test/OpenMP/sections_reduction_codegen.cpp
M clang/test/OpenMP/single_private_codegen.cpp
Log Message:
-----------
[Clang] Regenerate test checks (NFC)
To minimize diffs in an upcoming change.
Commit: 60a890d8556c3af3f0f3e6aeb1c29340f9bf27b6
https://github.com/llvm/llvm-project/commit/60a890d8556c3af3f0f3e6aeb1c29340f9bf27b6
Author: Sergey Kachkov <sergey.kachkov at syntacore.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A llvm/test/Transforms/LoopUnroll/peel-loop-min-max-intrinsics.ll
Log Message:
-----------
[LoopPeel] Add pre-commit test for min/max intrinsics
Commit: c8fad4fb88b3c9cd7c4d0cf872273b44a879526f
https://github.com/llvm/llvm-project/commit/c8fad4fb88b3c9cd7c4d0cf872273b44a879526f
Author: Tom Eccles <tom.eccles at arm.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Optimizer/Transforms/OMPMarkDeclareTarget.cpp
Log Message:
-----------
[flang][OpenMP][NFC] Reduce OMPMarkDeclareTarget boilerplate (#93797)
The pass constructor can be generated automatically by tablegen.
This pass does not need adapting to work with non-function top level
operations because it operates specifically on call operations inside of
an OpenMP declare target function.
Commit: a65771fce4a2f25f16d4b3918ad6a11370637f7b
https://github.com/llvm/llvm-project/commit/a65771fce4a2f25f16d4b3918ad6a11370637f7b
Author: Henry Linjamäki <henry.linjamaki at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/UsersManual.rst
M clang/lib/Driver/ToolChains/SPIRV.cpp
M clang/test/Driver/hipspv-toolchain.hip
M clang/test/Driver/spirv-toolchain.cl
M clang/test/lit.site.cfg.py.in
Log Message:
-----------
[SPIR-V] Prefer llvm-spirv-<LLVM_VERSION_MAJOR> tool (#77897)
Prefer using `llvm-spirv-<LLVM_VERSION_MAJOR>` tool (i.e.
`llvm-spirv-18`) over plain `llvm-spirv`. If the versioned tool is not
found in PATH, fall back to use the plain `llvm-spirv`.
An issue with the using `llvm-spirv` is that the one found in PATH might
be compiled against older LLVM version which could lead to crashes or
obscure bugs. For example, `llvm-spirv` distributed by Ubuntu links
against different LLVM version depending on the Ubuntu release (LLVM-10
in 20.04LTS, LLVM-13 in 22.04LTS).
Commit: 196dca7561b4c3865ef7d5e45c22d215619d7385
https://github.com/llvm/llvm-project/commit/196dca7561b4c3865ef7d5e45c22d215619d7385
Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
Log Message:
-----------
[clang][analyzer][NFC] Improve docs of alpha.unix.BlockInCriticalSection (#93812)
- Enhanced descriptions for blocking and critical section functions
- Added an additional code sample highlighting interleaved C and C++
style mutexes
Commit: 46b3145b7c6bbe7014f9e790236717e4f8a711d8
https://github.com/llvm/llvm-project/commit/46b3145b7c6bbe7014f9e790236717e4f8a711d8
Author: Endre Fülöp <endre.fulop at sigmatechnology.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/analyzer/checkers.rst
M clang/test/Analysis/block-in-critical-section.cpp
Log Message:
-----------
[clang][analyzer][NFC] Add test for a limitation of alpha.unix.BlockInCriticalSection checker (#93799)
Updated the documentation in `checkers.rst` to include an example of how
`trylock` function is handled.
Added a new test for a scenario where `pthread_mutex_trylock` is used,
demonstrating the current limitation.
Commit: f34dedbf44a0578430f81de94f294f4474fee0fb
https://github.com/llvm/llvm-project/commit/f34dedbf44a0578430f81de94f294f4474fee0fb
Author: Sergey Kachkov <109674256+skachkov-sc at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/test/Transforms/LoopUnroll/peel-loop-min-max-intrinsics.ll
Log Message:
-----------
[LoopPeel] Support min/max intrinsics in loop peeling (#93162)
This patch adds processing of min/max intrinsics in LoopPeel in the
similar way as it was done for conditional statements: for
min/max(IterVal, BoundVal) we peel iterations where IterVal < BoundVal
for monotonically increasing IterVal; for monotonically decreasing
IterVal we peel iterations where IterVal > BoundVal (strict comparision
predicates are used to minimize number of peeled iterations).
Commit: 189efb0fbb5af31bebcc1eefdf41296e7e72b425
https://github.com/llvm/llvm-project/commit/189efb0fbb5af31bebcc1eefdf41296e7e72b425
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/vselect-pcmp.ll
Log Message:
-----------
[X86] vselect-pcmp.ll - add tests showing poor codegen on AVX1 targets where we have to split/concat 128-bit subvectors
We'd be better off consistently using 128-bit instructions
Based off a regression reported after #92794
Commit: 8f4d5a32ace7f858881b6a59663ff6596b162dbc
https://github.com/llvm/llvm-project/commit/8f4d5a32ace7f858881b6a59663ff6596b162dbc
Author: Adam Siemieniuk <adam.siemieniuk at intel.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp
M mlir/test/Dialect/Tensor/fold-reassociative-reshapes.mlir
Log Message:
-----------
[mlir][tensor] Fold unpadding collapse_shape into extract_slice (#93554)
Commit: f917c396c9855d7e0af0b1b3e6209757c2de0b51
https://github.com/llvm/llvm-project/commit/f917c396c9855d7e0af0b1b3e6209757c2de0b51
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/test/HLFIR/maxloc-elemental.fir
M flang/test/HLFIR/minloc-elemental.fir
Log Message:
-----------
[flang] improve and rename Entity::hasNonDefaultLowerBounds (#93848)
Improve hasNonDefaultLowerBounds to follow box fir.convert. This helps
HLFIR helpers to generate less code when it can be easily deduced that
the fir.box lower bounds were set to ones.
It will help me for SELECT RANK lowering to avoid generating
hlfir.declare with lower bounds inside the RANK CASE (Current situation
would not be incorrect, the lower bounds would be SSA value ending-up
being one, I just want simpler IR).
Renamed to mayHaveNonDefaultLowerBounds since it may still answer yes when
the lower bounds are ones.
Commit: 7acd2c0652250994a4d922bda7275d750f7bf1b7
https://github.com/llvm/llvm-project/commit/7acd2c0652250994a4d922bda7275d750f7bf1b7
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/Arch/AArch64.cpp
M lld/test/ELF/aarch64-fpic-got.s
Log Message:
-----------
[lld][ELF][AArch64] Support `R_AARCH64_GOT_LD_PREL19` relocation (#89592)
With tiny code model, the GOT slot contents can be loaded via `ldr x0,
:got:sym` which corresponds to `R_AARCH64_GOT_LD_PREL19` static
GOT-relative relocation.
See
https://github.com/ARM-software/abi-aa/blob/main/aaelf64/aaelf64.rst#static-aarch64-relocations
Commit: 23427b808c84fcbf20315dbbb62f6b48edf36c21
https://github.com/llvm/llvm-project/commit/23427b808c84fcbf20315dbbb62f6b48edf36c21
Author: Elvina Yakubova <eyakubova at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
Log Message:
-----------
[BOLT][NFC] Fix typo in DWARFRewriter.cpp (#93955)
Commit: 37ecd43335f8ff57ea2df8d86f8b5a35c7cee5c2
https://github.com/llvm/llvm-project/commit/37ecd43335f8ff57ea2df8d86f8b5a35c7cee5c2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
Log Message:
-----------
[ExecutionEngine] Remove handling for removed ConstantExprs (NFCI)
These constant expressions no longer exist, so don't handle them.
Commit: 765ce869916e2d0652e55cacea1cd175c4ad862b
https://github.com/llvm/llvm-project/commit/765ce869916e2d0652e55cacea1cd175c4ad862b
Author: Elvina Yakubova <eyakubova at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/docs/CommandLineArgumentReference.md
A bolt/docs/generate_doc.py
Log Message:
-----------
[BOLT][DOC] Add script for automatic user guide generation (#93822)
Commit: f0e8d003e5157c128f8f2375eac487b38e445648
https://github.com/llvm/llvm-project/commit/f0e8d003e5157c128f8f2375eac487b38e445648
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/X86/widen_load-3.ll
Log Message:
-----------
[X86] widen_load-3.ll - add missing nounwind attributes
Commit: 6ee845d2401b7f0e5f385fc0e3a8cb44afd667dc
https://github.com/llvm/llvm-project/commit/6ee845d2401b7f0e5f385fc0e3a8cb44afd667dc
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/IR/Constants.cpp
Log Message:
-----------
[IR] Remove handling for removed ConstantExprs (NFC)
Commit: 654cd946296586e00c8d2f203a137b6a6b0d8be7
https://github.com/llvm/llvm-project/commit/654cd946296586e00c8d2f203a137b6a6b0d8be7
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[VPlan] Unconditionally run optimizeForVFAndUF.
Now that the VPlan for the main vector loop gets cloned in the epilogue
vectorization code path, there optimizeForVFAndUF can be applied
unconditionally.
Commit: b52962d1b89ca9102a89497743b7576d572b437e
https://github.com/llvm/llvm-project/commit/b52962d1b89ca9102a89497743b7576d572b437e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/vselect-pcmp.ll
Log Message:
-----------
[X86] LowerVSELECT - split v16i16/v32i8 pre-AVX2 VSELECT ops if enough of the operands are free to split.
Often on AVX1 we're better off consistently using 128-bit instructions, so recognise when the operands are loads that can be freely/cheaply split - ideally this functionality needs to be moved to isFreeToSplitVector but we're using it in a few places where we don't want to split loads yet.
Based off a regression reported after #92794
Commit: 5c7f7cc4dea3e202b56cebaa303d7fb8b26fc18e
https://github.com/llvm/llvm-project/commit/5c7f7cc4dea3e202b56cebaa303d7fb8b26fc18e
Author: David Truby <david.truby at arm.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/test/Driver/exec.f90
Log Message:
-----------
[flang] Fix exec.f90 test on LIT integrated shell (#93961)
The exec.f90 test sets an environment variable for a specific command
directly
rather than using env, which doesn't work on shells that don't support
this
syntax, most notably the LIT integrated shell. This patch simply adds
env so
that this works on the integrated shell.
Commit: edf4e02906bd0c57087a44e5c4890ffc453667b2
https://github.com/llvm/llvm-project/commit/edf4e02906bd0c57087a44e5c4890ffc453667b2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
Log Message:
-----------
[RISCV] Support multiple levels of truncates in combineTruncToVnclip. (#93752)
We can use multiple vnclips to saturate an i32 value into an i8 value.
Commit: 6163775077236a0e602759912872a06162efd01b
https://github.com/llvm/llvm-project/commit/6163775077236a0e602759912872a06162efd01b
Author: Kirill Podoprigora <kirill.bast9 at mail.ru>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/README.txt
Log Message:
-----------
[clang] ``README.txt``: Replace the link to the old bug tracker with the new one. (#93878)
Commit: fb87e11e7253656ffe99726f45b679e08343bd5f
https://github.com/llvm/llvm-project/commit/fb87e11e7253656ffe99726f45b679e08343bd5f
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll
Log Message:
-----------
[RISCV] Add test case for strided scatter with scalar offset. NFC
Commit: c5e417a812d86226b087346cadb05d3aae9fe1d0
https://github.com/llvm/llvm-project/commit/c5e417a812d86226b087346cadb05d3aae9fe1d0
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/test/API/commands/session/save/TestSessionSave.py
Log Message:
-----------
[lldb] Fix 'session save' command on Windows
1. Use dashes (-) instead of colons (:) as time separator in a session log
file name since Windows doesn't support saving files with names containing
colons.
2. Temporary file creation code is changed in the test:
On Windows, the temporary file should be closed before 'session save'
writes session log to it. NamedTemporaryFile() can preserve the file
after closing it with delete_on_close=False option.
However, this option is only available since Python 3.12. Thus
mkstemp() is used for temporary file creation as the more compatible
option.
Commit: e6bef08e22ac52aca0d6364f972cfb49c483adb3
https://github.com/llvm/llvm-project/commit/e6bef08e22ac52aca0d6364f972cfb49c483adb3
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/test/HLFIR/bufferize01.fir
Log Message:
-----------
[flang] Avoid double free in bufferize pass (#93922)
In some cases where we have an `hlfir.no_reassoc` operation, the
bufferization pass could not earse the hlfir.destroy op during the
`hlfir.associate` op conversion as show in the example below.
```
func.func @double_free(%arg0: !fir.boxchar<1>) {
%c5 = arith.constant 5 : index
%true = arith.constant true
%0 = hlfir.as_expr %arg0 move %true : (!fir.boxchar<1>, i1) -> !hlfir.expr<!fir.char<1,?>>
%1 = hlfir.no_reassoc %0 : !hlfir.expr<!fir.char<1,?>>
%2:3 = hlfir.associate %1 typeparams %c5 {adapt.valuebyref} : (!hlfir.expr<!fir.char<1,?>>, index) -> (!fir.boxchar<1>, !fir.ref<!fir.char<1,?>>, i1)
fir.call @noop(%2#0) : (!fir.boxchar<1>) -> ()
hlfir.end_associate %2#1, %2#2 : !fir.ref<!fir.char<1,?>>, i1
hlfir.destroy %0 : !hlfir.expr<!fir.char<1,?>>
return
}
func.func private @noop(!fir.boxchar<1>)
```
The bufferization pass is looking at uses of its source `%1` that is the
result of an `hlfir.no_reassoc` operation. In order to avoid double free
generation, also look at the indirection in presence of
`hlfir.no_reassoc`.
Commit: 5e423f1c5119387879c04069f048d6dbfc2c90d6
https://github.com/llvm/llvm-project/commit/5e423f1c5119387879c04069f048d6dbfc2c90d6
Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/dotest_args.py
Log Message:
-----------
[lldb][test] Add --sysroot argument to dotest.py
This argument allows to set specific sysroot pass which will be used for
building LLDB API test programs.
It might come in handy for setting up cross-platform remote runs of API
tests on Windows host.
It can be useful for cross-compiling LLDB API tests. The argument can be
set using `LLDB_TEST_USER_ARGS` argument:
```
cmake ...
-DLLDB_TEST_USER_ARGS="...;--sysroot;C:\path\to\sysroot;..."
...
```
Commit: ca0dae0d6be55863d0113d0a7e8e62e3f4763028
https://github.com/llvm/llvm-project/commit/ca0dae0d6be55863d0113d0a7e8e62e3f4763028
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrFormats.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
Log Message:
-----------
[AMDGPU][NFC] Eliminate GCNPredicateControl. (#93964)
Removes ~100K instances of SIAssemblerPredicate and VIAssemblerPredicate
fields from instruction records.
Commit: 85ea1aaf15b3721aaea35280ffdedad36128bf6b
https://github.com/llvm/llvm-project/commit/85ea1aaf15b3721aaea35280ffdedad36128bf6b
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/SemaOpenACC/compute-construct-device_type-clause.c
Log Message:
-----------
[OpenACC] Fix device_type clause appertainment
Seemingly I forgot to implement the appertainment checks when doing the
original device_type implementation, so we fell through to the 'not
implemented' section of the diagnostics.
This patch corrects the appertainment, so that we disallow it correctly.
Commit: 98d5d3448d9ddc6fb07855eb45a08652bd530c01
https://github.com/llvm/llvm-project/commit/98d5d3448d9ddc6fb07855eb45a08652bd530c01
Author: Victor Perez <victor.perez at codeplay.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A mlir/include/mlir/Conversion/GPUToLLVMSPV/GPUToLLVMSPVPass.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
M mlir/lib/Conversion/CMakeLists.txt
A mlir/lib/Conversion/GPUToLLVMSPV/CMakeLists.txt
A mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp
A mlir/test/Conversion/GPUToLLVMSPV/gpu-to-llvm-spv.mlir
Log Message:
-----------
[MLIR][GPU-LLVM] Define `-convert-gpu-to-llvm-spv` pass (#90972)
Define pass for GPU to LLVM conversion for SPIR-V backend tool ingest.
Supported operations:
- `gpu.block_id`
- `gpu.global_id`
- `gpu.block_dim`
- `gpu.thread_id`
- `gpu.grid_dim`
- `gpu.barrier`
- `gpu.shuffle`
---------
Signed-off-by: Victor Perez <victor.perez at codeplay.com>
Commit: 7b6a89f346f281e5b7caa593a8c484eaf4264055
https://github.com/llvm/llvm-project/commit/7b6a89f346f281e5b7caa593a8c484eaf4264055
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/Writer.cpp
M lld/test/ELF/linkerscript/memory-err.s
A lld/test/ELF/linkerscript/section-not-converge.test
Log Message:
-----------
[ELF] Detect convergence of output section addresses
Some linker scripts don't converge. https://reviews.llvm.org/D66279
("[ELF] Make LinkerScript::assignAddresses iterative") detected
convergence of symbol assignments.
This patch detects convergence of output section addresses. While input
sections might also have convergence issues, they are less common as
expressions that could cause convergence issues typically involve output
sections and symbol assignments.
GNU ld has an error `non constant or forward reference address expression for section` that
correctly rejects
```
SECTIONS {
.text ADDR(.data)+0x1000 : { *(.text) }
.data : { *(.data) }
}
```
but not the following variant:
```
SECTIONS {
.text foo : { *(.text) }
.data : { *(.data) }
foo = ADDR(.data)+0x1000;
}
```
Our approach consistently rejects both cases.
Link: https://discourse.llvm.org/t/lld-and-layout-convergence/79232
Pull Request: https://github.com/llvm/llvm-project/pull/93888
Commit: 57eb92ea6c1fbc64692221727219078636ed6c86
https://github.com/llvm/llvm-project/commit/57eb92ea6c1fbc64692221727219078636ed6c86
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test
Log Message:
-----------
[llvm-objdump][test] Relax directory prefix check in source-interleave test (#93789)
This test currently has an explicit regex for characters that are
supposedly valid inside a directory name -- however, it does not
actually cover all necessary characters. For example, this test fails if
the path contains a tilde.
Instead, replace this with a wildcard.
Commit: 775f1cd34daffa3e188bddcd600b6ccad1f72d24
https://github.com/llvm/llvm-project/commit/775f1cd34daffa3e188bddcd600b6ccad1f72d24
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-mcpu.cl
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/include/llvm/TargetParser/TargetParser.h
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/ObjectYAML/ELFYAML.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/GCNProcessors.td
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/lib/TargetParser/TargetParser.cpp
M llvm/test/CodeGen/AMDGPU/directive-amdgcn-target.ll
M llvm/test/CodeGen/AMDGPU/elf-header-flags-mach.ll
M llvm/test/CodeGen/AMDGPU/generic-targets-require-v6.ll
M llvm/test/CodeGen/AMDGPU/hsa-generic-target-features.ll
M llvm/test/Object/AMDGPU/elf-header-flags-mach.yaml
M llvm/test/tools/llvm-objdump/ELF/AMDGPU/subtarget.ll
M llvm/test/tools/llvm-readobj/ELF/AMDGPU/elf-headers.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
AMDGPU: Add gfx12-generic target (#93875)
Commit: 97c34eb8df47543299500ee4cd0b877d184ed790
https://github.com/llvm/llvm-project/commit/97c34eb8df47543299500ee4cd0b877d184ed790
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openmp-offload-gpu.c
Log Message:
-----------
[CUDA] Fix a couple of driver tests that really weren't being run (#93960)
Commit: 6416958067179c2987af0ef4568cd57f98b7e347
https://github.com/llvm/llvm-project/commit/6416958067179c2987af0ef4568cd57f98b7e347
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openmp-offload-gpu.c
Log Message:
-----------
Revert "[CUDA] Fix a couple of driver tests that really weren't being run" (#93988)
Reverts llvm/llvm-project#93960
The change to offloading-interoperability.c broke many bots.
Commit: 07bd43945789e3fc8f57d21484a7f683d17166f3
https://github.com/llvm/llvm-project/commit/07bd43945789e3fc8f57d21484a7f683d17166f3
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/spec/stdc.td
M libc/src/__support/OSUtil/baremetal/CMakeLists.txt
A libc/src/__support/OSUtil/baremetal/exit.cpp
R libc/src/__support/OSUtil/baremetal/quick_exit.cpp
A libc/src/__support/OSUtil/exit.h
M libc/src/__support/OSUtil/gpu/CMakeLists.txt
A libc/src/__support/OSUtil/gpu/exit.cpp
R libc/src/__support/OSUtil/gpu/quick_exit.cpp
M libc/src/__support/OSUtil/linux/CMakeLists.txt
A libc/src/__support/OSUtil/linux/exit.cpp
R libc/src/__support/OSUtil/linux/quick_exit.cpp
R libc/src/__support/OSUtil/quick_exit.h
M libc/src/__support/libc_assert.h
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/_Exit.cpp
M libc/src/stdlib/exit.cpp
A libc/src/stdlib/quick_exit.cpp
A libc/src/stdlib/quick_exit.h
M libc/src/unistd/_exit.cpp
M libc/test/IntegrationTest/test.h
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/quick_exit_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc] added quick_exit function (#93620)
- In /libc/src/__support/ OSUtil, changed quick_exit to just exit, and
put in namespace
LIBC_NAMESPACE::internal.
- In /libc/src/stdlib added quick_exit
- Added test files for quick_exit
Commit: 3b79c823f6a84632dbc40065cf8ec4b2878a9453
https://github.com/llvm/llvm-project/commit/3b79c823f6a84632dbc40065cf8ec4b2878a9453
Author: Nico Weber <thakis at chromium.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/test/BUILD.gn
Log Message:
-----------
[gn] port a65771fce4a2
Commit: 41ddf128ea2ecfe0c418d2dfb5bbf99538498750
https://github.com/llvm/llvm-project/commit/41ddf128ea2ecfe0c418d2dfb5bbf99538498750
Author: David Stone <davidfromonline at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/include/clang/Basic/CustomizableOptional.h
Log Message:
-----------
Remove dangling conversion to `optional<T> &` (#93385)
Commit: 37f302348717d1cceb2708b50eb08d98789a3469
https://github.com/llvm/llvm-project/commit/37f302348717d1cceb2708b50eb08d98789a3469
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/lib/ProfileData/MemProf.cpp
Log Message:
-----------
[memprof] Use uint32_t for linear call stack IDs (#93924)
This patch switches to uint32_t for linear call stack IDs as uint32_t
is sufficient to index into the call stack array.
Commit: 13b6284b9321ea684b4df299f430124681a14d90
https://github.com/llvm/llvm-project/commit/13b6284b9321ea684b4df299f430124681a14d90
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #92819 (#93992)
Commit: 7caa812f2707fa3649c01000de6550dac226ce87
https://github.com/llvm/llvm-project/commit/7caa812f2707fa3649c01000de6550dac226ce87
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #92819 take 2 (#93995)
I missed this since it was still broken because of another patch
https://github.com/llvm/llvm-project/pull/93996
Commit: 1e81b67925fdd77a3d65ba2a7f652d1e840512f4
https://github.com/llvm/llvm-project/commit/1e81b67925fdd77a3d65ba2a7f652d1e840512f4
Author: jimingham <jingham at apple.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/test/API/python_api/run_locker/TestRunLocker.py
Log Message:
-----------
[lldb] FormatManager::GetPossibleMatches assumes all ValueObjects have targets. (#93880)
But one made in a situation where that's impossible might only have an
error, and no symbol context, so that's not necessarily true. Check for
the target's validity before using it.
Fixes issue #93313
Commit: 34599266b27eb9265a4cde8a647059d25479f586
https://github.com/llvm/llvm-project/commit/34599266b27eb9265a4cde8a647059d25479f586
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port #90972 (#93996)
Commit: 9482af3ddede001aa6a4c36855b0880bd9964bdf
https://github.com/llvm/llvm-project/commit/9482af3ddede001aa6a4c36855b0880bd9964bdf
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/lib/Lower/ConvertCall.cpp
M flang/test/HLFIR/c_ptr_byvalue.f90
M flang/test/Lower/CUDA/cuda-device-proc.cuf
M flang/test/Lower/HLFIR/assumed-rank-iface.f90
M flang/test/Lower/HLFIR/bindc-value-derived.f90
M flang/test/Lower/HLFIR/block_bindc_pocs.f90
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-character-singleton-result.f90
M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
M flang/test/Lower/block.f90
A flang/test/Lower/call-bindc.f90
Log Message:
-----------
[flang] Carry over BIND(C) information to fir.call (#93981)
The BIND(C) attribute attached to a function can be lost when we do
indirect call. This information might be useful for codegen that have
specific ABI. This patch carry over the BIND(C) information to the
fir.call operation.
Commit: c232137d93425dd87ccf960ca9ad515417325634
https://github.com/llvm/llvm-project/commit/c232137d93425dd87ccf960ca9ad515417325634
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/lib/Lower/ConvertCall.cpp
A flang/test/Lower/HLFIR/elemental-result-length.f90
Log Message:
-----------
[flang][HLFIR] compute elemental function result length parameters (#93983)
Prepare the argument and map them to their corresponding dummy symbol in
order to lower the specification expression of the function result.
Extract the preparation of arguments according to the interface to its
own function to be reused.
It seems there is no need to conditionally compute the length on the
input since all the information comes from the CharBoxValue or the
descriptor for cases where the number of element could be 0.
Commit: 68a64812d7bac28412d43a0b4b19bae6db101c48
https://github.com/llvm/llvm-project/commit/68a64812d7bac28412d43a0b4b19bae6db101c48
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
A clang/test/C/C11/n1464.c
M clang/www/c_status.html
Log Message:
-----------
[C11] Claim conformance to N1464
That's on the CMPLX macros which Clang supports via __builtin_complex.
Commit: 458a31562aee703c15224dd9fcde19f67834a8f9
https://github.com/llvm/llvm-project/commit/458a31562aee703c15224dd9fcde19f67834a8f9
Author: Luke Lau <luke at igalia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll
Log Message:
-----------
[RISCV] Add more tests for strided gathers with scalar offsets. NFC
Commit: f46d1463b835560d90ad3ac02b63c771e4ebe566
https://github.com/llvm/llvm-project/commit/f46d1463b835560d90ad3ac02b63c771e4ebe566
Author: Erick Velez <erickvelez7 at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/lib/Parse/ParseExprCXX.cpp
M clang/test/CXX/drs/cwg0xx.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaCXX/template-specialization.cpp
M clang/test/SemaTemplate/dependent-names.cpp
M clang/test/SemaTemplate/template-id-expr.cpp
M clang/test/SemaTemplate/template-id-printing.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] require template arg list after template kw (#80801)
Require a template argument list after an identifier prefixed by the
template keyword. Introduced by [CWG
96](https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96),
but the current wording of
[[temp.names]p5](https://eel.is/c++draft/temp.names#6) was introduced in
[P1787R6](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html),
and became [temp.names]p6 somewhere else.
Fixes #53095
---------
Co-authored-by: Shafik Yaghmour <shafik.yaghmour at intel.com>
Commit: 3b81d9d91b18c2bd06bd36d8512a3a284a8980a9
https://github.com/llvm/llvm-project/commit/3b81d9d91b18c2bd06bd36d8512a3a284a8980a9
Author: Paul T Robinson <paul.robinson at sony.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openmp-offload-gpu.c
Log Message:
-----------
Reapply "[CUDA] Fix a couple of driver tests that really weren't bein… (#94000)
…g run" (#93988)"
This reverts commit 6416958067179c2987af0ef4568cd57f98b7e347.
Fix bots by using different options.
Commit: b06e736982a3568fe2bcea8688550f9e393b7450
https://github.com/llvm/llvm-project/commit/b06e736982a3568fe2bcea8688550f9e393b7450
Author: Fangrui Song <i at maskray.me>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/MC/MCExpr.cpp
Log Message:
-----------
[MC] Speed up AttemptToFoldSymbolOffsetDifference in the absence of MCAsmLayout
The `FA < FB` check added by https://reviews.llvm.org/D153096 is slow.
Compute an informal layout order to speed up computation when
`AttemptToFoldSymbolOffsetDifference` is repeatedly called for the same
section.
Commit 9500a5d02e23f9b43294e5f662ac099f8989c0e4 ("[MC] Make UseAssemblerInfoForParsing mostly true")
exposed this performance pitfall, which was mitigated by
`setUseAssemblerInfoForParsing(false)` workarounds (e.g. commit
245491a9f384e4c53421196533c2a2b693efaf8d). The workaround can be removed
now.
Commit: 5a02a9a2e67444494f086dfe1cd6f15ba2210bc0
https://github.com/llvm/llvm-project/commit/5a02a9a2e67444494f086dfe1cd6f15ba2210bc0
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lldb/source/Core/Mangled.cpp
A lldb/test/API/lang/c/non-mangled/Makefile
A lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
A lldb/test/API/lang/c/non-mangled/main.c
Log Message:
-----------
[lldb] Improve identification of Dlang mangled names (#93881)
Reduce false positive identification of C names as Dlang mangled names. This happens
when a C function uses the prefix `_D`.
The [Dlang ABI](https://dlang.org/spec/abi.html#name_mangling) shows that mangled names
have a length immediately following the `_D` prefix. This change checks for a digit
after the `_D` prefix, when identifying the mangling scheme of a symbol. This doesn't
prevent false positives entirely, but does make it less likely.
Commit: a9664407d7a9a4210133075e5adb67b365965727
https://github.com/llvm/llvm-project/commit/a9664407d7a9a4210133075e5adb67b365965727
Author: Valentin Clement <clementval at gmail.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M flang/test/Lower/OpenMP/threadprivate-default-clause.f90
Log Message:
-----------
[flang][openmp] Fix test after PR #93981
Commit: e19565c5c4679ac7f5414f35137f6df4f70e713a
https://github.com/llvm/llvm-project/commit/e19565c5c4679ac7f5414f35137f6df4f70e713a
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
Log Message:
-----------
[Offload][AMDGPU] Only allow memory pool access to valid agents (#93969)
Summary:
The logic since the next-gen plugins was added was that every single
agent would get access to a memory pool we allocated. This is necessary
for things like fine-grained memory and to faciliate d2d copied.
However, there are cases where an agent cannot legally access a memory
pool. We have a debug check for this, but it would always be triggered
in these situations because both uses of the function simply passed
every agent. This patch changes the behavior by only enabling memory
pool access for agents that can access the memory pool.
Commit: e79c0806552880aa802c83f1edf59a3ffd39bdcc
https://github.com/llvm/llvm-project/commit/e79c0806552880aa802c83f1edf59a3ffd39bdcc
Author: Daniel Thornburgh <dthorn at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/cmake/modules/FindLibEdit.cmake
Log Message:
-----------
[cmake] Allow multiple LibEdit_LIBRARIES (#93896)
If built statically, `libedit` may have a private static library
dependency on a provider of the `terminfo` API (e.g., `ncurses`). This
means that multiple libraries would need to be provided as the value for
`LibEdit_LIBRARIES`, but the current implementation of `FindLibEdit`
precludes this. This PR allows a list to be passed to
`LibEdit_LIBRARIES`.
Commit: 435e5c10b0ea6cf2a9674760ef2f4977412386eb
https://github.com/llvm/llvm-project/commit/435e5c10b0ea6cf2a9674760ef2f4977412386eb
Author: RoseZhang03 <rosezhang at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/src/__support/OSUtil/linux/exit.cpp
Log Message:
-----------
[libc] restored original no_stack_protector syntax (#94005)
forward fix for #93620
-GCC doesn't recognize [[clang:: ']] prefix, so restored the original
__attribute__ syntax
Commit: ed155f3f237a7e3a3e40a84d815225d27e83f0db
https://github.com/llvm/llvm-project/commit/ed155f3f237a7e3a3e40a84d815225d27e83f0db
Author: Petr Hosek <phosek at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libcxx/CMakeLists.txt
M libcxxabi/CMakeLists.txt
M libunwind/CMakeLists.txt
M llvm-libgcc/CMakeLists.txt
Log Message:
-----------
[runtimes] Correctly apply libdir subdir for multilib (#93354)
We weren't applying the libdir subdir to header directories but this is
necessary for correctness when building e.g. ASan variant. This change
also updates path construction logic accross all runtimes and ensures
they're consistent.
Commit: 4be3083bb39836466680a15f970ecc883d2e362a
https://github.com/llvm/llvm-project/commit/4be3083bb39836466680a15f970ecc883d2e362a
Author: shaw young <58664393+shawbyoung at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M bolt/include/bolt/Core/BinaryBasicBlock.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Profile/YAMLProfileWriter.cpp
Log Message:
-----------
[BOLT] Remove mutable from BB::LayoutIndex (#93224)
Removed mutability from BB::LayoutIndex, subsequently removed const from
BB::SetLayout, and changed BF::dfs to track visited blocks with a set as
opposed to tracking and altering LayoutIndexes for more consistent code.
Commit: 95810690287283b3180a4a4f2452b4e4d51e217b
https://github.com/llvm/llvm-project/commit/95810690287283b3180a4a4f2452b4e4d51e217b
Author: Paul Kirth <paulkirth at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M lld/test/ELF/fatlto/fatlto.test
Log Message:
-----------
[lld][test] Precommit test for ld -r links with FatLTO PIC objects (#92817)
Currently, with PIC relocatable links, FatLTO sections are treated as
orphan
sections and incorrectly concatenated together. This test verifies the
current
behavior, but should be fixed to either merge those sections into a
single llvm
module, similar to what `llvm-link` would produce, or to drop them
altogether.
Commit: f2f6569ecabd54cc7d26bf77424c0b8b674bf14d
https://github.com/llvm/llvm-project/commit/f2f6569ecabd54cc7d26bf77424c0b8b674bf14d
Author: Jeremy Kun <jkun at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
M mlir/test/Dialect/Polynomial/ops.mlir
Log Message:
-----------
[mlir][polynomial] ensure primitive root calculation doesn't overflow (#93368)
Rebased over https://github.com/llvm/llvm-project/pull/93243
Co-authored-by: Jeremy Kun <j2kun at users.noreply.github.com>
Commit: 96d19fdc2678d1246bb14fed3ff0fc557893d2c4
https://github.com/llvm/llvm-project/commit/96d19fdc2678d1246bb14fed3ff0fc557893d2c4
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/include/llvm/ADT/STLExtras.h
Log Message:
-----------
[ADT] Remove llvm::erase_value (#94003)
The function has been deprecated since:
commit f9306f6de3bd19a2dcacd64566852a5f92c86e77
Author: Kazu Hirata <kazu at google.com>
Date: Tue Oct 24 23:03:13 2023 -0700
Commit: 99a0cd6f7edcb184a65d2e65842e7d9ece2a5eaf
https://github.com/llvm/llvm-project/commit/99a0cd6f7edcb184a65d2e65842e7d9ece2a5eaf
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
M llvm/test/CodeGen/RISCV/rvv/vfredmax.ll
M llvm/test/CodeGen/RISCV/rvv/vfredmin.ll
M llvm/test/CodeGen/RISCV/rvv/vfredosum.ll
M llvm/test/CodeGen/RISCV/rvv/vfredusum.ll
M llvm/test/CodeGen/RISCV/rvv/vfwredosum.ll
M llvm/test/CodeGen/RISCV/rvv/vfwredusum.ll
M llvm/test/CodeGen/RISCV/rvv/vredand.ll
M llvm/test/CodeGen/RISCV/rvv/vredmax.ll
M llvm/test/CodeGen/RISCV/rvv/vredmaxu.ll
M llvm/test/CodeGen/RISCV/rvv/vredmin.ll
M llvm/test/CodeGen/RISCV/rvv/vredminu.ll
M llvm/test/CodeGen/RISCV/rvv/vredor.ll
M llvm/test/CodeGen/RISCV/rvv/vredsum.ll
M llvm/test/CodeGen/RISCV/rvv/vredxor.ll
M llvm/test/CodeGen/RISCV/rvv/vwredsum.ll
M llvm/test/CodeGen/RISCV/rvv/vwredsumu.ll
Log Message:
-----------
[RISCV] Use TU policy for C reduction intrinsics. (#93970)
The C intrinsics should allow a value to be specified for the upper
elements.
This used to work before https://reviews.llvm.org/D146752 which should
have only changed the behavior for the autovectorizer. It clearly
changed all reductions.
Commit: 3320249688d216a25d5297152e59b58e3fb89915
https://github.com/llvm/llvm-project/commit/3320249688d216a25d5297152e59b58e3fb89915
Author: Adam Paszke <apaszke at google.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M mlir/lib/Target/LLVM/NVVM/Target.cpp
Log Message:
-----------
[MLIR][NVVM] Make the call to findTool optional for fatbinary (#93968)
Commit: fc21387b6510ee44520f2f17fb671f1265a9055f
https://github.com/llvm/llvm-project/commit/fc21387b6510ee44520f2f17fb671f1265a9055f
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
M llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.mir
Log Message:
-----------
[AMDGPU] Enable constant offset promotion to immediate FLAT (#93884)
Currently it is only supported for FLAT Global.
Commit: 5849cbad0f124fed6773f47b67160d8674c93a9a
https://github.com/llvm/llvm-project/commit/5849cbad0f124fed6773f47b67160d8674c93a9a
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M libc/utils/gpu/loader/Loader.h
M libc/utils/gpu/loader/amdgpu/Loader.cpp
M libc/utils/gpu/loader/nvptx/Loader.cpp
Log Message:
-----------
[libc] Add line numbers to libc utility error messages (#94010)
Summary:
Currently we just print the error as seen, this makes it difficult if
something goes wrong to know where it failed. This patch just adds in
line numbers to all the error handling routines so you can trace it
back.
Commit: 6119340e0bc538fbb884cea405fd6add9ed5798c
https://github.com/llvm/llvm-project/commit/6119340e0bc538fbb884cea405fd6add9ed5798c
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/SemaOpenACC/compute-construct-async-clause.c
M clang/test/SemaOpenACC/compute-construct-attach-clause.c
M clang/test/SemaOpenACC/compute-construct-copy-clause.c
M clang/test/SemaOpenACC/compute-construct-copyin-clause.c
M clang/test/SemaOpenACC/compute-construct-copyout-clause.c
M clang/test/SemaOpenACC/compute-construct-create-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.c
M clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
M clang/test/SemaOpenACC/compute-construct-if-clause.c
M clang/test/SemaOpenACC/compute-construct-no_create-clause.c
M clang/test/SemaOpenACC/compute-construct-num_gangs-clause.c
M clang/test/SemaOpenACC/compute-construct-num_workers-clause.c
M clang/test/SemaOpenACC/compute-construct-present-clause.c
M clang/test/SemaOpenACC/compute-construct-private-clause.c
M clang/test/SemaOpenACC/compute-construct-reduction-clause.c
M clang/test/SemaOpenACC/compute-construct-self-clause.c
M clang/test/SemaOpenACC/compute-construct-vector_length-clause.c
M clang/test/SemaOpenACC/compute-construct-wait-clause.c
Log Message:
-----------
[OpenACC] Audit/add tests to ensure we enforce appertainment correctly
I apparently missed a few other clauses as well when doing my initial
implementation, so this adds tests for all, and fixes up the few that
had problems.
This is something that I'll do better to keep an eye on, though
shouldn't be necessary once the rest of the clauses are implemented and
we can remove the 'default' case.
Commit: cab81dd03813ac6333ad7fc031d72b84341fe2b9
https://github.com/llvm/llvm-project/commit/cab81dd03813ac6333ad7fc031d72b84341fe2b9
Author: Egor Pasko <pasko at chromium.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/CodeGen/BackendUtil.cpp
M clang/test/CodeGen/X86/x86_64-instrument-functions.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGen/lto-newpm-pipeline.c
M clang/test/CodeGen/mcount-aix.c
M clang/test/CodeGen/mcount.c
M clang/test/Frontend/gnu-mcount.c
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/LinkAllPasses.h
M llvm/include/llvm/Transforms/Utils.h
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Transforms/Scalar/Scalar.cpp
M llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
M llvm/test/CodeGen/AArch64/O0-pipeline.ll
M llvm/test/CodeGen/AArch64/O3-pipeline.ll
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
M llvm/test/CodeGen/ARM/O3-pipeline.ll
M llvm/test/CodeGen/LoongArch/O0-pipeline.ll
M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
M llvm/test/CodeGen/PowerPC/O0-pipeline.ll
M llvm/test/CodeGen/PowerPC/O3-pipeline.ll
M llvm/test/CodeGen/RISCV/O0-pipeline.ll
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
M llvm/test/CodeGen/X86/O0-pipeline.ll
A llvm/test/CodeGen/X86/instrument-function-inlined.ll
M llvm/test/CodeGen/X86/opt-pipeline.ll
M llvm/test/Other/new-pass-manager.ll
M llvm/test/Other/new-pm-O0-defaults.ll
M llvm/test/Other/new-pm-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
A llvm/test/Transforms/EntryExitInstrumenter/pre-inliner-instrumentation.ll
M llvm/tools/llc/llc.cpp
M llvm/tools/opt/optdriver.cpp
Log Message:
-----------
[EntryExitInstrumenter] Move passes out of clang into LLVM default pipelines (#92171)
Move EntryExitInstrumenter(PostInlining=true) to as late as possible and
EntryExitInstrumenter(PostInlining=false) to an early pre-inlining stage
(but skip for ThinLTO post-link).
This should fix the issues reported in
https://github.com/rust-lang/rust/issues/92109 and
https://github.com/llvm/llvm-project/issues/52853. These are caused
by https://reviews.llvm.org/D97608.
Commit: 8578b60758e6a588ec41a9678829cebec471f8e5
https://github.com/llvm/llvm-project/commit/8578b60758e6a588ec41a9678829cebec471f8e5
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M clang/lib/Headers/ptrauth.h
Log Message:
-----------
[clang] Add ABI-defined key assignments to ptrauth.h. (#93901)
This is the current key assignment defined by the arm64e architecture
on Darwin platforms, and also matches the intended key assignments
in the initial ELF adopters. This can be made more generic if needed,
by e.g., defining these in the preprocessor instead.
Commit: 8e9ab9cfe45e6c958046d5a9575aedfc4cb29c0c
https://github.com/llvm/llvm-project/commit/8e9ab9cfe45e6c958046d5a9575aedfc4cb29c0c
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-05-31 (Fri, 31 May 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .github/new-prs-labeler.yml
M bolt/docs/CommandLineArgumentReference.md
A bolt/docs/generate_doc.py
M bolt/include/bolt/Core/BinaryBasicBlock.h
M bolt/include/bolt/Core/FunctionLayout.h
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Core/FunctionLayout.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Profile/YAMLProfileWriter.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/test/AArch64/Inputs/array_end.lld_script
M bolt/test/Inputs/lsda.ldscript
M bolt/test/X86/register-fragments-bolt-symbols.s
M clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
M clang-tools-extra/clangd/Config.h
M clang-tools-extra/clangd/ConfigCompile.cpp
M clang-tools-extra/clangd/ConfigFragment.h
M clang-tools-extra/clangd/ConfigYAML.cpp
M clang-tools-extra/clangd/IncludeCleaner.cpp
M clang-tools-extra/clangd/IncludeCleaner.h
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp
M clang-tools-extra/clangd/unittests/ConfigYAMLTests.cpp
M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/container-size-empty.cpp
M clang/README.txt
M clang/docs/ReleaseNotes.rst
M clang/docs/UsersManual.rst
M clang/docs/analyzer/checkers.rst
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/TemplateName.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/CustomizableOptional.h
M clang/include/clang/Basic/DebugOptions.def
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/arm_sme.td
M clang/include/clang/Basic/arm_sve.td
M clang/include/clang/Driver/Options.td
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
A clang/include/clang/Sema/Attr.h
M clang/include/clang/Sema/Sema.h
A clang/include/clang/Sema/SemaAMDGPU.h
A clang/include/clang/Sema/SemaARM.h
A clang/include/clang/Sema/SemaBPF.h
M clang/include/clang/Sema/SemaBase.h
M clang/include/clang/Sema/SemaHLSL.h
A clang/include/clang/Sema/SemaHexagon.h
M clang/include/clang/Sema/SemaInternal.h
A clang/include/clang/Sema/SemaLoongArch.h
A clang/include/clang/Sema/SemaMIPS.h
A clang/include/clang/Sema/SemaNVPTX.h
A clang/include/clang/Sema/SemaPPC.h
A clang/include/clang/Sema/SemaSystemZ.h
A clang/include/clang/Sema/SemaWasm.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/Decl.cpp
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/DeclTemplate.cpp
M clang/lib/AST/ODRHash.cpp
M clang/lib/AST/TemplateBase.cpp
M clang/lib/AST/TemplateName.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/AST/Type.cpp
M clang/lib/AST/TypePrinter.cpp
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCUDANV.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGObjCGNU.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Driver/ToolChains/Arch/X86.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/HIPUtility.cpp
M clang/lib/Driver/ToolChains/SPIRV.cpp
M clang/lib/Format/FormatToken.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Headers/intrin.h
M clang/lib/Headers/ptrauth.h
M clang/lib/Parse/ParseExprCXX.cpp
M clang/lib/Parse/ParseOpenMP.cpp
M clang/lib/Sema/CMakeLists.txt
M clang/lib/Sema/Sema.cpp
A clang/lib/Sema/SemaAMDGPU.cpp
A clang/lib/Sema/SemaARM.cpp
M clang/lib/Sema/SemaAvailability.cpp
A clang/lib/Sema/SemaBPF.cpp
M clang/lib/Sema/SemaBase.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaDeclObjC.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaExprMember.cpp
M clang/lib/Sema/SemaExprObjC.cpp
M clang/lib/Sema/SemaHLSL.cpp
A clang/lib/Sema/SemaHexagon.cpp
A clang/lib/Sema/SemaLoongArch.cpp
A clang/lib/Sema/SemaMIPS.cpp
A clang/lib/Sema/SemaNVPTX.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaOverload.cpp
A clang/lib/Sema/SemaPPC.cpp
A clang/lib/Sema/SemaSystemZ.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/SemaType.cpp
A clang/lib/Sema/SemaWasm.cpp
M clang/lib/Sema/TreeTransform.h
M clang/test/AST/ast-dump-ctad-alias.cpp
M clang/test/AST/ast-dump-decl.cpp
M clang/test/AST/ast-dump-expr.cpp
M clang/test/AST/ast-dump-openmp-begin-declare-variant_template_2.cpp
M clang/test/AST/ast-dump-template-decls.cpp
A clang/test/AST/ast-dump-template-name.cpp
M clang/test/AST/ast-dump-using-template.cpp
M clang/test/AST/constraints-explicit-instantiation.cpp
M clang/test/Analysis/block-in-critical-section.cpp
M clang/test/Analysis/builtin_signbit.cpp
M clang/test/Analysis/cfg-openmp.cpp
A clang/test/C/C11/n1464.c
M clang/test/CXX/drs/cwg0xx.cpp
M clang/test/CXX/drs/cwg1xx.cpp
M clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3-2a.cpp
M clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp
M clang/test/CodeGen/X86/ms-x86-intrinsics.c
A clang/test/CodeGen/X86/x86-atomic-double.c
M clang/test/CodeGen/X86/x86-atomic-float.c
M clang/test/CodeGen/X86/x86-atomic-long_double.c
M clang/test/CodeGen/X86/x86_64-instrument-functions.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_clamp.c
M clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvt.c
A clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_cvtl.c
A clang/test/CodeGen/aarch64-sme2p1-intrinsics/acle_sme2p1_zero.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_create4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_get4.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set2.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set3.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4-bfloat.c
M clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_set4.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_bfmlsl.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_cntp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_create4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_dot.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_fclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_get2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ld1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ldnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pext.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_pfalse.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_psel_svcount.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_ptrue.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_qcvtn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_sclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set2_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_set4_bool.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_st1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_stnt1.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_uclamp.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_pn.c
M clang/test/CodeGen/aarch64-sve2p1-intrinsics/acle_sve2p1_while_x2.c
M clang/test/CodeGen/catch-nullptr-and-nonzero-offset.c
M clang/test/CodeGen/constantexpr-fneg.c
M clang/test/CodeGen/instrument-objc-method.m
M clang/test/CodeGen/lto-newpm-pipeline.c
M clang/test/CodeGen/mcount-aix.c
M clang/test/CodeGen/mcount.c
M clang/test/CodeGen/object-size.c
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp
M clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp
M clang/test/CodeGenCXX/cxx11-thread-local.cpp
A clang/test/CodeGenCXX/debug-info-incomplete-types.cpp
M clang/test/CodeGenCXX/partitions.cpp
M clang/test/CodeGenCXX/ubsan-nullability-arg.cpp
M clang/test/CodeGenCXX/weak-external.cpp
M clang/test/CodeGenHLSL/cbuf.hlsl
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-mcpu.cl
M clang/test/Driver/debug-options.c
M clang/test/Driver/hipspv-toolchain.hip
M clang/test/Driver/linker-wrapper-image.c
M clang/test/Driver/offloading-interoperability.c
M clang/test/Driver/openmp-offload-gpu.c
M clang/test/Driver/spirv-toolchain.cl
A clang/test/Driver/x86-apx-inline-asm-use-gpr32.cpp
M clang/test/Driver/x86-target-features.c
M clang/test/ExtractAPI/anonymous_record_no_typedef.c
M clang/test/ExtractAPI/enum.c
M clang/test/Frontend/gnu-mcount.c
M clang/test/Headers/__clang_hip_math.hip
M clang/test/Import/builtin-template/test.cpp
M clang/test/Index/print-type.cpp
M clang/test/Interpreter/incremental-mode.cpp
M clang/test/Misc/target-invalid-cpu-note.c
A clang/test/Modules/cxx20-decls.cppm
A clang/test/Modules/pr93497.cppm
M clang/test/OpenMP/align_clause_ast_print.cpp
M clang/test/OpenMP/declare_mapper_messages.cpp
M clang/test/OpenMP/for_private_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen.cpp
M clang/test/OpenMP/for_reduction_codegen_UDR.cpp
M clang/test/OpenMP/generic_loop_ast_print.cpp
M clang/test/OpenMP/interop_ast_print.cpp
M clang/test/OpenMP/nvptx_target_cuda_mode_messages.cpp
M clang/test/OpenMP/parallel_copyin_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_lastprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_firstprivate_codegen.cpp
M clang/test/OpenMP/parallel_master_taskloop_simd_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_lastprivate_codegen.cpp
M clang/test/OpenMP/sections_private_codegen.cpp
M clang/test/OpenMP/sections_reduction_codegen.cpp
M clang/test/OpenMP/single_private_codegen.cpp
R clang/test/OpenMP/target_reduction_codegen.cpp
R clang/test/OpenMP/target_reduction_messages.cpp
M clang/test/OpenMP/target_vla_messages.cpp
M clang/test/OpenMP/threadprivate_codegen.cpp
M clang/test/Parser/cxx-template-template-recovery.cpp
M clang/test/Preprocessor/x86_target_features.c
A clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_b16b16.cpp
M clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp
M clang/test/SemaCXX/template-specialization.cpp
M clang/test/SemaHLSL/Availability/attr-availability-compute.hlsl
M clang/test/SemaHLSL/Availability/attr-availability-mesh.hlsl
M clang/test/SemaHLSL/Availability/attr-availability-pixel.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-default-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-compute.hlsl
A clang/test/SemaHLSL/Availability/avail-diag-relaxed-lib.hlsl
A clang/test/SemaHLSL/Availability/avail-lib-multiple-stages.hlsl
M clang/test/SemaHLSL/WaveBuiltinAvailability.hlsl
M clang/test/SemaObjCXX/block-capture.mm
M clang/test/SemaOpenACC/compute-construct-async-clause.c
M clang/test/SemaOpenACC/compute-construct-attach-clause.c
M clang/test/SemaOpenACC/compute-construct-copy-clause.c
M clang/test/SemaOpenACC/compute-construct-copyin-clause.c
M clang/test/SemaOpenACC/compute-construct-copyout-clause.c
M clang/test/SemaOpenACC/compute-construct-create-clause.c
M clang/test/SemaOpenACC/compute-construct-default-clause.c
M clang/test/SemaOpenACC/compute-construct-device_type-clause.c
M clang/test/SemaOpenACC/compute-construct-deviceptr-clause.c
M clang/test/SemaOpenACC/compute-construct-firstprivate-clause.c
M clang/test/SemaOpenACC/compute-construct-if-clause.c
M clang/test/SemaOpenACC/compute-construct-no_create-clause.c
M clang/test/SemaOpenACC/compute-construct-num_gangs-clause.c
M clang/test/SemaOpenACC/compute-construct-num_workers-clause.c
M clang/test/SemaOpenACC/compute-construct-present-clause.c
M clang/test/SemaOpenACC/compute-construct-private-clause.c
M clang/test/SemaOpenACC/compute-construct-reduction-clause.c
M clang/test/SemaOpenACC/compute-construct-self-clause.c
M clang/test/SemaOpenACC/compute-construct-vector_length-clause.c
M clang/test/SemaOpenACC/compute-construct-wait-clause.c
M clang/test/SemaOpenACC/sub-array-ast.cpp
M clang/test/SemaTemplate/aggregate-deduction-candidate.cpp
M clang/test/SemaTemplate/attributes.cpp
M clang/test/SemaTemplate/concepts.cpp
M clang/test/SemaTemplate/cwg2398.cpp
M clang/test/SemaTemplate/deduction-guide.cpp
M clang/test/SemaTemplate/dependent-names.cpp
M clang/test/SemaTemplate/instantiate-requires-expr.cpp
M clang/test/SemaTemplate/make_integer_seq.cpp
M clang/test/SemaTemplate/nested-implicit-deduction-guides.cpp
M clang/test/SemaTemplate/template-id-expr.cpp
M clang/test/SemaTemplate/template-id-printing.cpp
M clang/test/SemaTemplate/type_pack_element.cpp
M clang/test/lit.site.cfg.py.in
M clang/tools/libclang/CXExtractAPI.cpp
M clang/unittests/AST/TemplateNameTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Interpreter/CodeCompletionTest.cpp
M clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp
M clang/unittests/Interpreter/IncrementalProcessingTest.cpp
M clang/unittests/Interpreter/InterpreterExtensionsTest.cpp
M clang/unittests/Interpreter/InterpreterTest.cpp
A clang/unittests/Interpreter/InterpreterTestFixture.h
M clang/utils/TableGen/MveEmitter.cpp
M clang/www/c_status.html
M clang/www/cxx_dr_status.html
M compiler-rt/cmake/Modules/AddCompilerRT.cmake
M compiler-rt/test/asan/TestCases/debug_double_free.cpp
M compiler-rt/test/asan/TestCases/debug_report.cpp
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_allowlist_ignorelist.cpp
M compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_trace_pc_guard.cpp
M flang/examples/FeatureList/FeatureList.cpp
M flang/include/flang/Optimizer/Builder/HLFIRTools.h
M flang/include/flang/Optimizer/Builder/IntrinsicCall.h
M flang/include/flang/Optimizer/CodeGen/FIROpPatterns.h
M flang/include/flang/Optimizer/CodeGen/TypeConverter.h
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/include/flang/Parser/dump-parse-tree.h
M flang/include/flang/Parser/parse-tree.h
M flang/include/flang/Runtime/support.h
M flang/include/flang/Semantics/symbol.h
M flang/include/flang/Tools/CLOptions.inc
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/ConvertCall.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Lower/OpenACC.cpp
M flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
M flang/lib/Optimizer/Builder/HLFIRTools.cpp
M flang/lib/Optimizer/Builder/IntrinsicCall.cpp
M flang/lib/Optimizer/CodeGen/CodeGen.cpp
M flang/lib/Optimizer/CodeGen/FIROpPatterns.cpp
M flang/lib/Optimizer/CodeGen/TypeConverter.cpp
M flang/lib/Optimizer/Dialect/FIROps.cpp
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
M flang/lib/Optimizer/Transforms/OMPMapInfoFinalization.cpp
M flang/lib/Optimizer/Transforms/OMPMarkDeclareTarget.cpp
M flang/lib/Parser/executable-parsers.cpp
M flang/lib/Parser/openacc-parsers.cpp
M flang/lib/Parser/unparse.cpp
M flang/lib/Semantics/check-acc-structure.cpp
M flang/lib/Semantics/check-cuda.cpp
M flang/lib/Semantics/check-do-forall.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/runtime/support.cpp
M flang/test/Driver/exec.f90
M flang/test/Fir/convert-to-llvm.fir
M flang/test/Fir/fir-ops.fir
M flang/test/Fir/invalid.fir
M flang/test/Fir/tbaa.fir
M flang/test/HLFIR/bufferize01.fir
M flang/test/HLFIR/c_ptr_byvalue.f90
M flang/test/HLFIR/declare-codegen.fir
M flang/test/HLFIR/maxloc-elemental.fir
M flang/test/HLFIR/minloc-elemental.fir
M flang/test/Lower/CUDA/cuda-device-proc.cuf
M flang/test/Lower/HLFIR/assumed-rank-iface.f90
M flang/test/Lower/HLFIR/bindc-value-derived.f90
M flang/test/Lower/HLFIR/block_bindc_pocs.f90
M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
M flang/test/Lower/HLFIR/calls-character-singleton-result.f90
A flang/test/Lower/HLFIR/convert-variable-assumed-rank.f90
A flang/test/Lower/HLFIR/elemental-result-length.f90
M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
M flang/test/Lower/Intrinsics/associated.f90
M flang/test/Lower/Intrinsics/ieee_flag.f90
A flang/test/Lower/OpenMP/allocatable-multiple-vars.f90
M flang/test/Lower/OpenMP/threadprivate-default-clause.f90
M flang/test/Lower/block.f90
A flang/test/Lower/call-bindc.f90
A flang/test/Semantics/resolve123.f90
A flang/test/Semantics/resolve124.f90
M flang/test/Semantics/resolve55.f90
M flang/unittests/Runtime/Support.cpp
M libc/cmake/modules/CheckCompilerFeatures.cmake
A libc/cmake/modules/compiler_features/check_float16.cpp
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/float16-macros.h
M libc/include/llvm-libc-types/pthread_rwlockattr_t.h
M libc/include/math.h.def
M libc/include/pthread.h.def
M libc/spec/posix.td
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/src/__support/CPP/type_traits/is_floating_point.h
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/FPUtil/sqrt.h
R libc/src/__support/FPUtil/x86_64/PolyEval.h
M libc/src/__support/FPUtil/x86_64/sqrt.h
M libc/src/__support/OSUtil/baremetal/CMakeLists.txt
A libc/src/__support/OSUtil/baremetal/exit.cpp
R libc/src/__support/OSUtil/baremetal/quick_exit.cpp
A libc/src/__support/OSUtil/exit.h
M libc/src/__support/OSUtil/gpu/CMakeLists.txt
A libc/src/__support/OSUtil/gpu/exit.cpp
R libc/src/__support/OSUtil/gpu/quick_exit.cpp
M libc/src/__support/OSUtil/linux/CMakeLists.txt
A libc/src/__support/OSUtil/linux/exit.cpp
R libc/src/__support/OSUtil/linux/quick_exit.cpp
R libc/src/__support/OSUtil/quick_exit.h
M libc/src/__support/libc_assert.h
M libc/src/__support/macros/properties/CMakeLists.txt
M libc/src/__support/macros/properties/types.h
M libc/src/math/CMakeLists.txt
A libc/src/math/fabsf16.h
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/fabsf16.cpp
M libc/src/pthread/CMakeLists.txt
A libc/src/pthread/pthread_rwlockattr_getkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_getkind_np.h
M libc/src/pthread/pthread_rwlockattr_init.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.cpp
A libc/src/pthread/pthread_rwlockattr_setkind_np.h
M libc/src/stdlib/CMakeLists.txt
M libc/src/stdlib/_Exit.cpp
M libc/src/stdlib/exit.cpp
A libc/src/stdlib/quick_exit.cpp
A libc/src/stdlib/quick_exit.h
M libc/src/string/memory_utils/op_x86.h
M libc/src/string/memory_utils/utils.h
M libc/src/unistd/_exit.cpp
M libc/test/IntegrationTest/test.h
M libc/test/UnitTest/LibcTest.cpp
M libc/test/UnitTest/LibcTest.h
M libc/test/UnitTest/LibcTestMain.cpp
M libc/test/src/math/smoke/CMakeLists.txt
A libc/test/src/math/smoke/fabsf16_test.cpp
M libc/test/src/pthread/CMakeLists.txt
M libc/test/src/pthread/pthread_rwlockattr_test.cpp
M libc/test/src/stdlib/CMakeLists.txt
A libc/test/src/stdlib/quick_exit_test.cpp
M libc/test/utils/UnitTest/testfilter_test.cpp
M libc/utils/gpu/loader/Loader.h
M libc/utils/gpu/loader/amdgpu/Loader.cpp
M libc/utils/gpu/loader/nvptx/Loader.cpp
M libcxx/CMakeLists.txt
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/test/std/containers/associative/map/map.cons/deduct.verify.cpp
M libcxx/test/std/containers/associative/multimap/multimap.cons/deduct.verify.cpp
M libcxx/test/std/containers/associative/multiset/multiset.cons/deduct.verify.cpp
M libcxx/test/std/containers/associative/set/set.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/queue/queue.cons/deduct.verify.cpp
M libcxx/test/std/containers/container.adaptors/stack/stack.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/array/array.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/deque/deque.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/forwardlist/forwardlist.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/list/list.cons/deduct.verify.cpp
M libcxx/test/std/containers/sequences/vector/vector.cons/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.map/unord.map.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/deduct.verify.cpp
M libcxx/test/std/containers/unord/unord.set/unord.set.cnstr/deduct.verify.cpp
M libcxx/test/std/ranges/range.adaptors/range.join/ctad.verify.cpp
M libcxx/test/std/re/re.regex/re.regex.construct/deduct.verify.cpp
M libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp
M libcxx/test/std/utilities/optional/optional.object/optional.object.ctor/deduct.verify.cpp
M libcxxabi/CMakeLists.txt
M libunwind/CMakeLists.txt
M lld/ELF/Arch/AArch64.cpp
M lld/ELF/Arch/ARM.cpp
M lld/ELF/Config.h
M lld/ELF/InputFiles.cpp
M lld/ELF/LinkerScript.cpp
M lld/ELF/LinkerScript.h
M lld/ELF/Writer.cpp
M lld/ELF/Writer.h
M lld/test/ELF/aarch64-fpic-got.s
A lld/test/ELF/armv8-thumb-plt-reloc.s
M lld/test/ELF/fatlto/fatlto.test
M lld/test/ELF/linkerscript/addr.test
R lld/test/ELF/linkerscript/expr-invalid-sec.test
R lld/test/ELF/linkerscript/expr-sections.test
M lld/test/ELF/linkerscript/memory-err.s
R lld/test/ELF/linkerscript/orphan-align.s
M lld/test/ELF/linkerscript/orphan-report.s
M lld/test/ELF/linkerscript/orphan.s
R lld/test/ELF/linkerscript/orphans.s
R lld/test/ELF/linkerscript/parse-section-in-addr.test
A lld/test/ELF/linkerscript/section-not-converge.test
M lldb/include/lldb/Symbol/Type.h
M lldb/include/lldb/Target/Process.h
M lldb/include/lldb/Target/RegisterFlags.h
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/dotest_args.py
M lldb/source/Commands/CommandCompletions.cpp
M lldb/source/Commands/CommandObjectMemory.cpp
M lldb/source/Core/Mangled.cpp
M lldb/source/DataFormatters/FormatManager.cpp
M lldb/source/Expression/IRInterpreter.cpp
M lldb/source/Host/common/Editline.cpp
M lldb/source/Interpreter/CommandInterpreter.cpp
M lldb/source/Plugins/SymbolFile/DWARF/AppleDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugInfo.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
M lldb/source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp
M lldb/source/Symbol/Type.cpp
M lldb/source/Target/Process.cpp
M lldb/source/Target/RegisterFlags.cpp
M lldb/test/API/commands/expression/fixits/TestFixIts.py
M lldb/test/API/commands/expression/static-initializers/TestStaticInitializers.py
M lldb/test/API/commands/session/save/TestSessionSave.py
M lldb/test/API/functionalities/completion/TestCompletion.py
A lldb/test/API/lang/c/non-mangled/Makefile
A lldb/test/API/lang/c/non-mangled/TestCNonMangled.py
A lldb/test/API/lang/c/non-mangled/main.c
M lldb/test/API/python_api/address_range/TestAddressRange.py
M lldb/test/API/python_api/debugger/TestDebuggerAPI.py
M lldb/test/API/python_api/run_locker/TestRunLocker.py
A lldb/test/API/tools/lldb-dap/variables/children/Makefile
A lldb/test/API/tools/lldb-dap/variables/children/TestDAP_variables_children.py
A lldb/test/API/tools/lldb-dap/variables/children/formatter.py
A lldb/test/API/tools/lldb-dap/variables/children/main.cpp
M lldb/test/API/tools/lldb-server/TestGdbRemotePlatformFile.py
M lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
M lldb/test/Shell/SymbolFile/Breakpad/symtab-sorted-by-size.test
M lldb/test/Shell/SymbolFile/DWARF/x86/Inputs/debug-types-basic.cpp
M lldb/test/Shell/SymbolFile/DWARF/x86/debug-types-basic.test
M lldb/tools/lldb-dap/DAP.cpp
M lldb/tools/lldb-dap/JSONUtils.cpp
M lldb/unittests/SymbolFile/DWARF/DWARFDIETest.cpp
M llvm-libgcc/CMakeLists.txt
M llvm/cmake/modules/FindLibEdit.cmake
M llvm/cmake/modules/HandleLLVMOptions.cmake
M llvm/docs/AMDGPUUsage.rst
A llvm/docs/DirectX/DXILOpTableGenDesign.rst
M llvm/docs/DirectXUsage.rst
M llvm/docs/LangRef.rst
M llvm/docs/RemoveDIsDebugInfo.md
M llvm/docs/SPIRVUsage.rst
M llvm/docs/Security.rst
M llvm/docs/convergence-both-diverged-nested.png
M llvm/docs/convergence-closed-path.png
M llvm/docs/convergence-divergent-inside.png
M llvm/docs/convergence-divergent-outside.png
M llvm/docs/convergence-natural-loop.png
M llvm/include/llvm/ADT/STLExtras.h
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/include/llvm/Analysis/TargetFolder.h
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/include/llvm/Bitcode/BitcodeWriter.h
M llvm/include/llvm/Bitstream/BitstreamWriter.h
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/GIMatchTableExecutorImpl.h
M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/MachineFrameInfo.h
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/CodeGen/ValueTypes.td
M llvm/include/llvm/CodeGenTypes/MachineValueType.h
M llvm/include/llvm/DWARFLinker/Utils.h
M llvm/include/llvm/Frontend/OpenMP/OMP.td
M llvm/include/llvm/IR/ConstantFolder.h
M llvm/include/llvm/IR/DebugInfoMetadata.h
M llvm/include/llvm/IR/GEPNoWrapFlags.h
M llvm/include/llvm/IR/IntrinsicsAArch64.td
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/LinkAllPasses.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/include/llvm/ProfileData/MemProf.h
M llvm/include/llvm/ProfileData/PGOCtxProfWriter.h
M llvm/include/llvm/Support/raw_ostream.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/TargetParser/AArch64TargetParser.h
M llvm/include/llvm/TargetParser/TargetParser.h
M llvm/include/llvm/Transforms/Utils.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/LoopAccessAnalysis.cpp
M llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelperVectorOps.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/Utils.cpp
M llvm/lib/CodeGen/MachineCopyPropagation.cpp
M llvm/lib/CodeGen/MachineFunction.cpp
M llvm/lib/CodeGen/MachineLICM.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/lib/CodeGen/TargetRegisterInfo.cpp
M llvm/lib/CodeGen/WasmEHPrepare.cpp
M llvm/lib/DWARFLinker/Classic/DWARFLinker.cpp
M llvm/lib/DWARFLinker/Parallel/DWARFLinkerCompileUnit.cpp
M llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
M llvm/lib/IR/CMakeLists.txt
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
A llvm/lib/IR/DIExpressionOptimizer.cpp
M llvm/lib/IR/DebugInfoMetadata.cpp
M llvm/lib/MC/MCExpr.cpp
M llvm/lib/MC/MCParser/AsmParser.cpp
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/Object/MachOObjectFile.cpp
M llvm/lib/ObjectYAML/ELFYAML.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/ProfileData/MemProf.cpp
M llvm/lib/Support/raw_ostream.cpp
M llvm/lib/Target/AArch64/AArch64Combine.td
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64RegisterBanks.td
M llvm/lib/Target/AArch64/AArch64StackTagging.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp
M llvm/lib/Target/AArch64/SMEInstrFormats.td
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUCombinerHelper.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/BUFInstructions.td
M llvm/lib/Target/AMDGPU/DSInstructions.td
M llvm/lib/Target/AMDGPU/FLATInstructions.td
M llvm/lib/Target/AMDGPU/GCNProcessors.td
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/MIMGInstructions.td
M llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SIInstrFormats.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
M llvm/lib/Target/AMDGPU/SMInstructions.td
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
M llvm/lib/Target/AMDGPU/VOPInstructions.td
M llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.cpp
M llvm/lib/Target/DirectX/DXILWriter/DXILBitcodeWriter.h
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/PowerPC/PPC.td
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCInstrP10.td
M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
M llvm/lib/Target/RISCV/RISCV.h
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.h
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP600.td
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/SPIRV/MCTargetDesc/SPIRVInstPrinter.cpp
M llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp
M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
M llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h
M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
M llvm/lib/Target/X86/GISel/X86InstructionSelector.cpp
M llvm/lib/Target/X86/GISel/X86LegalizerInfo.cpp
M llvm/lib/Target/X86/GISel/X86LegalizerInfo.h
M llvm/lib/Target/X86/X86.td
M llvm/lib/Target/X86/X86CompressEVEX.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
M llvm/lib/Target/X86/X86InstrInfo.cpp
M llvm/lib/Target/X86/X86InstrInfo.h
M llvm/lib/Target/X86/X86TargetMachine.cpp
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/lib/TargetParser/AArch64TargetParser.cpp
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/lib/TargetParser/TargetParser.cpp
M llvm/lib/Transforms/IPO/LowerTypeTests.cpp
M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/lib/Transforms/Scalar/Reassociate.cpp
M llvm/lib/Transforms/Scalar/Scalar.cpp
M llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
M llvm/lib/Transforms/Utils/InlineFunction.cpp
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/lib/Transforms/Utils/RelLookupTableConverter.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
A llvm/test/Analysis/CostModel/X86/handle-iptr-with-data-layout-to-not-assert.ll
M llvm/test/Analysis/LoopAccessAnalysis/symbolic-stride.ll
M llvm/test/Analysis/ScalarEvolution/scev-aa.ll
M llvm/test/Analysis/UniformityAnalysis/AMDGPU/irreducible/diverged-entry-headers.ll
M llvm/test/Analysis/ValueTracking/known-power-of-two-urem.ll
M llvm/test/Assembler/ConstantExprFold.ll
M llvm/test/Assembler/ConstantExprNoFold.ll
M llvm/test/Assembler/getelementptr.ll
M llvm/test/Assembler/getelementptr_vec_ce.ll
M llvm/test/Assembler/vector-cmp.ll
M llvm/test/Bitcode/upgrade-dbg-addr.ll
M llvm/test/CodeGen/AArch64/GlobalISel/combine-add.mir
M llvm/test/CodeGen/AArch64/GlobalISel/combine-extract-vec-elt.mir
A llvm/test/CodeGen/AArch64/GlobalISel/combine-freeze.mir
M llvm/test/CodeGen/AArch64/GlobalISel/combine-insert-vec-elt.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-min-max.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-select.mir
M llvm/test/CodeGen/AArch64/GlobalISel/prelegalizer-combiner-divrem-insertpt-crash.mir
A llvm/test/CodeGen/AArch64/GlobalISel/sve-load-store.ll
M llvm/test/CodeGen/AArch64/O0-pipeline.ll
M llvm/test/CodeGen/AArch64/O3-pipeline.ll
M llvm/test/CodeGen/AArch64/aarch64-addv.ll
M llvm/test/CodeGen/AArch64/arm64-tbl.ll
M llvm/test/CodeGen/AArch64/arm64-vabs.ll
M llvm/test/CodeGen/AArch64/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/AArch64/dag-combine-concat-vectors.ll
M llvm/test/CodeGen/AArch64/fast-isel-select.ll
A llvm/test/CodeGen/AArch64/fixed-point-conv-vec-pat.ll
M llvm/test/CodeGen/AArch64/large-offset-ldr-merge.mir
M llvm/test/CodeGen/AArch64/machine-sink-cache-invalidation.ll
M llvm/test/CodeGen/AArch64/mulcmle.ll
M llvm/test/CodeGen/AArch64/neon-extadd.ll
M llvm/test/CodeGen/AArch64/ragreedy-local-interval-cost.ll
M llvm/test/CodeGen/AArch64/sme2-intrinsics-cvt.ll
A llvm/test/CodeGen/AArch64/sme2-intrinsics-cvtl.ll
A llvm/test/CodeGen/AArch64/sme2p1-intrinsics-zero.ll
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-assign-tag-offset.ll
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-declare-tag-offset.ll
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset-nopad.ll
A llvm/test/CodeGen/AArch64/stack-tagging-dbg-value-tag-offset.ll
A llvm/test/CodeGen/AArch64/stack-tagging-prologue.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-and-combine.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bit-counting.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitcast.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-bitselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-concat.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ext-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-vector-elt.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fcopysign.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-convert.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-extend-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-fma.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce-fa64.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-rounding.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-to-int.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-fp-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-insert-vector-elt.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-arith.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-compares.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-div.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-extends.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-immediates.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-log.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-minmax.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mla-neon-fa64.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-mulh.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-rem.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-select.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-shifts.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-to-fp.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-vselect.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ld2-alloca.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-limit-duplane.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-loads.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-log-reduce.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-load.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-masked-store.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-optimize-ptrue.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-permute-zip-uzp-trn.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-ptest.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-rev.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-sdiv-pow2.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-splat-vector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc-stores.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-trunc.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-vector-shuffle.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-test-register-mov.ll
M llvm/test/CodeGen/AArch64/sve2p1-intrinsics-bfclamp.ll
M llvm/test/CodeGen/AArch64/vecreduce-add.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-global.s96.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/lds-zero-initializer.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-saddo.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ssubo.mir
M llvm/test/CodeGen/AMDGPU/addrspacecast.ll
M llvm/test/CodeGen/AMDGPU/amdpal-callable.ll
M llvm/test/CodeGen/AMDGPU/directive-amdgcn-target.ll
M llvm/test/CodeGen/AMDGPU/div_i128.ll
M llvm/test/CodeGen/AMDGPU/dpp_combine_gfx11.mir
M llvm/test/CodeGen/AMDGPU/elf-header-flags-mach.ll
M llvm/test/CodeGen/AMDGPU/generic-targets-require-v6.ll
M llvm/test/CodeGen/AMDGPU/hsa-generic-target-features.ll
M llvm/test/CodeGen/AMDGPU/lds-zero-initializer.ll
M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
A llvm/test/CodeGen/AMDGPU/load-store-opt-addc0.mir
M llvm/test/CodeGen/AMDGPU/lower-ctor-dtor-constexpr-alias.ll
M llvm/test/CodeGen/AMDGPU/lower-ctor-dtor.ll
M llvm/test/CodeGen/AMDGPU/lower-multiple-ctor-dtor.ll
M llvm/test/CodeGen/AMDGPU/lower-work-group-id-intrinsics-hsa.ll
M llvm/test/CodeGen/AMDGPU/lower-work-group-id-intrinsics-pal.ll
M llvm/test/CodeGen/AMDGPU/opencl-printf.ll
M llvm/test/CodeGen/AMDGPU/preload-kernargs.ll
M llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm.mir
M llvm/test/CodeGen/AMDGPU/vgpr-liverange-ir.ll
M llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-exts.mir
M llvm/test/CodeGen/ARM/O3-pipeline.ll
M llvm/test/CodeGen/AVR/shift.ll
M llvm/test/CodeGen/LoongArch/O0-pipeline.ll
M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
M llvm/test/CodeGen/Mips/GlobalISel/legalizer/constants.mir
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/rem_and_div.ll
M llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/sitofp_and_uitofp.ll
A llvm/test/CodeGen/NVPTX/combine-mad.ll
M llvm/test/CodeGen/PowerPC/O0-pipeline.ll
M llvm/test/CodeGen/PowerPC/O3-pipeline.ll
A llvm/test/CodeGen/PowerPC/pr62372.ll
A llvm/test/CodeGen/RISCV/GlobalISel/bitmanip.ll
M llvm/test/CodeGen/RISCV/GlobalISel/jumptable.ll
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-bitreverse-rv32.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-bitreverse-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-jump-table-brjt-rv64.mir
M llvm/test/CodeGen/RISCV/O0-pipeline.ll
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
A llvm/test/CodeGen/RISCV/machinelicm-constant-phys-reg.ll
M llvm/test/CodeGen/RISCV/rvv/65704-illegal-instruction.ll
R llvm/test/CodeGen/RISCV/rvv/coalesce-vsetvli.mir
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-trunc-sat-clip.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vmul-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fold-scalar-load-crash.ll
M llvm/test/CodeGen/RISCV/rvv/fpclamptosat_vec.ll
M llvm/test/CodeGen/RISCV/rvv/rvv-peephole-vmerge-vops.ll
M llvm/test/CodeGen/RISCV/rvv/strided-load-store.ll
M llvm/test/CodeGen/RISCV/rvv/trunc-sat-clip-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vfredmax.ll
M llvm/test/CodeGen/RISCV/rvv/vfredmin.ll
M llvm/test/CodeGen/RISCV/rvv/vfredosum.ll
M llvm/test/CodeGen/RISCV/rvv/vfredusum.ll
M llvm/test/CodeGen/RISCV/rvv/vfwredosum.ll
M llvm/test/CodeGen/RISCV/rvv/vfwredusum.ll
M llvm/test/CodeGen/RISCV/rvv/vmul-vp.ll
M llvm/test/CodeGen/RISCV/rvv/vredand.ll
M llvm/test/CodeGen/RISCV/rvv/vredmax.ll
M llvm/test/CodeGen/RISCV/rvv/vredmaxu.ll
M llvm/test/CodeGen/RISCV/rvv/vredmin.ll
M llvm/test/CodeGen/RISCV/rvv/vredminu.ll
M llvm/test/CodeGen/RISCV/rvv/vredor.ll
M llvm/test/CodeGen/RISCV/rvv/vredsum.ll
M llvm/test/CodeGen/RISCV/rvv/vredxor.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir
M llvm/test/CodeGen/RISCV/rvv/vsra-sdnode.ll
M llvm/test/CodeGen/RISCV/rvv/vwredsum.ll
M llvm/test/CodeGen/RISCV/rvv/vwredsumu.ll
A llvm/test/CodeGen/RISCV/shl-cttz.ll
M llvm/test/CodeGen/RISCV/vlenb.ll
A llvm/test/CodeGen/SPIRV/event-zero-const.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_cache_controls/basic-load-store.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_cache_controls/decorate-prefetch-w-cache-controls.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_global_variable_fpga_decorations/global-var-decorations.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_global_variable_host_access/global-var-host-access.ll
A llvm/test/CodeGen/SPIRV/llvm-intrinsics/ptr-annotation.ll
A llvm/test/CodeGen/SPIRV/phi-spvintrinsic-dominate.ll
A llvm/test/CodeGen/Thumb2/mve-tailpred-vptblock.ll
M llvm/test/CodeGen/WebAssembly/half-precision.ll
M llvm/test/CodeGen/X86/O0-pipeline.ll
M llvm/test/CodeGen/X86/apx/add.ll
M llvm/test/CodeGen/X86/apx/and.ll
A llvm/test/CodeGen/X86/apx/asm-constraint-1-jr.ll
A llvm/test/CodeGen/X86/apx/asm-constraint-2-jR.ll
M llvm/test/CodeGen/X86/apx/asm-constraint.ll
M llvm/test/CodeGen/X86/apx/compress-evex.mir
M llvm/test/CodeGen/X86/apx/dec.ll
M llvm/test/CodeGen/X86/apx/imul.ll
M llvm/test/CodeGen/X86/apx/inc.ll
A llvm/test/CodeGen/X86/apx/memfold-nd2rmw.mir
M llvm/test/CodeGen/X86/apx/neg.ll
M llvm/test/CodeGen/X86/apx/or.ll
M llvm/test/CodeGen/X86/apx/shl.ll
M llvm/test/CodeGen/X86/apx/shr.ll
M llvm/test/CodeGen/X86/apx/sub.ll
M llvm/test/CodeGen/X86/apx/xor.ll
A llvm/test/CodeGen/X86/instrument-function-inlined.ll
A llvm/test/CodeGen/X86/isel-buildvector-avx.ll
A llvm/test/CodeGen/X86/isel-buildvector-sse.ll
A llvm/test/CodeGen/X86/isel-buildvector-sse2.ll
M llvm/test/CodeGen/X86/opt-pipeline.ll
M llvm/test/CodeGen/X86/vector-shuffle-512-v16.ll
M llvm/test/CodeGen/X86/vselect-pcmp.ll
M llvm/test/CodeGen/X86/widen_load-3.ll
M llvm/test/DebugInfo/MIR/AArch64/dbgcall-site-expr-chain.mir
M llvm/test/DebugInfo/dpvalue-print-nocrash.ll
M llvm/test/DebugInfo/salvage-icmp.ll
M llvm/test/DebugInfo/salvage-limit-expr-size.ll
A llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_xsec_branch.s
M llvm/test/Instrumentation/MemorySanitizer/check-constant-shadow.ll
M llvm/test/Instrumentation/SanitizerBinaryMetadata/atomics.ll
M llvm/test/Linker/comdat-largest.ll
M llvm/test/MC/AMDGPU/gfx10_asm_mimg.s
M llvm/test/MC/AMDGPU/gfx11_asm_mimg.s
M llvm/test/MC/AMDGPU/hsa-diag-v4.s
M llvm/test/MC/AMDGPU/mimg.s
M llvm/test/MC/AsmParser/macro-at-pseudo-variable.s
M llvm/test/MC/Disassembler/AMDGPU/gfx10-wave32.txt
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_ds.txt
M llvm/test/MC/Disassembler/AMDGPU/gfx8_mimg_features.txt
M llvm/test/MC/WebAssembly/simd-encodings.s
M llvm/test/Object/AMDGPU/elf-header-flags-mach.yaml
A llvm/test/Object/Inputs/MachO/rebase-bind-table-trailing-opcode.yaml
A llvm/test/Object/macho-rebase-bind-trailing-opcode-boundary.test
M llvm/test/Other/new-pass-manager.ll
M llvm/test/Other/new-pm-O0-defaults.ll
M llvm/test/Other/new-pm-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
M llvm/test/Transforms/Attributor/value-simplify.ll
M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt-inseltpoison.ll
M llvm/test/Transforms/CodeGenPrepare/AArch64/gather-scatter-opt.ll
M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt-inseltpoison.ll
M llvm/test/Transforms/CodeGenPrepare/X86/gather-scatter-opt.ll
A llvm/test/Transforms/EntryExitInstrumenter/pre-inliner-instrumentation.ll
M llvm/test/Transforms/GlobalOpt/globalsra-opaque-ptr.ll
M llvm/test/Transforms/GlobalSplit/basic.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-getelementptr.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions-inseltpoison.ll
M llvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions.ll
M llvm/test/Transforms/InferAddressSpaces/NVPTX/bug31948.ll
M llvm/test/Transforms/InferAlignment/gep-array.ll
M llvm/test/Transforms/Inline/ret_attr_align_and_noundef.ll
M llvm/test/Transforms/InstCombine/ashr-lshr.ll
M llvm/test/Transforms/InstCombine/binop-select-cast-of-select-cond.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-eq-to-icmp-ule.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v2-and-icmp-ne-to-icmp-ugt.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-eq-to-icmp-ule.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v3-and-icmp-ne-to-icmp-ugt.ll
M llvm/test/Transforms/InstCombine/cast-mul-select.ll
M llvm/test/Transforms/InstCombine/constant-fold-address-space-pointer.ll
M llvm/test/Transforms/InstCombine/debuginfo-dce.ll
M llvm/test/Transforms/InstCombine/debuginfo-sink.ll
M llvm/test/Transforms/InstCombine/gep-vector.ll
M llvm/test/Transforms/InstCombine/getelementptr.ll
M llvm/test/Transforms/InstCombine/hoist-xor-by-constant-from-xor-by-value.ll
M llvm/test/Transforms/InstCombine/icmp-and-lowbit-mask.ll
M llvm/test/Transforms/InstCombine/icmp-of-and-x.ll
M llvm/test/Transforms/InstCombine/lshr.ll
M llvm/test/Transforms/InstCombine/pr33453.ll
M llvm/test/Transforms/InstCombine/pr83947.ll
M llvm/test/Transforms/InstCombine/rem.ll
M llvm/test/Transforms/InstCombine/select-and-or.ll
M llvm/test/Transforms/InstCombine/select-safe-transforms.ll
M llvm/test/Transforms/InstSimplify/ConstProp/bitcast.ll
M llvm/test/Transforms/InstSimplify/ConstProp/icmp-global.ll
M llvm/test/Transforms/InstSimplify/ConstProp/vectorgep-crash.ll
M llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll
M llvm/test/Transforms/InstSimplify/compare.ll
M llvm/test/Transforms/InstSimplify/past-the-end.ll
A llvm/test/Transforms/InstSimplify/uscmp.ll
M llvm/test/Transforms/InstSimplify/vector_gep.ll
M llvm/test/Transforms/JumpThreading/constant-fold-status.ll
A llvm/test/Transforms/LICM/update-scev-after-hoist.ll
A llvm/test/Transforms/LoopUnroll/peel-loop-min-max-intrinsics.ll
M llvm/test/Transforms/LoopVectorize/AArch64/clamped-trip-count.ll
M llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-forced.ll
M llvm/test/Transforms/LoopVectorize/RISCV/low-trip-count.ll
M llvm/test/Transforms/LoopVectorize/RISCV/riscv-vector-reverse.ll
M llvm/test/Transforms/LoopVectorize/RISCV/short-trip-count.ll
M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
M llvm/test/Transforms/LoopVectorize/interleave-and-scalarize-only.ll
M llvm/test/Transforms/LoopVectorize/vplan-dot-printing.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing-before-execute.ll
M llvm/test/Transforms/LoopVectorize/vplan-printing.ll
M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll
M llvm/test/Transforms/LowerTypeTests/cfi-direct-call1.ll
M llvm/test/Transforms/LowerTypeTests/function-weak.ll
M llvm/test/Transforms/NewGVN/2007-07-26-InterlockingLoops.ll
A llvm/test/Transforms/PGOProfile/available_externally_functions.ll
A llvm/test/Transforms/PGOProfile/declarations_only.ll
A llvm/test/Transforms/PGOProfile/global_variables_only.ll
M llvm/test/Transforms/Reassociate/reassoc_bool_vec.ll
M llvm/test/Transforms/Reassociate/repeats.ll
M llvm/test/Transforms/RelLookupTableConverter/X86/opaque-ptr.ll
M llvm/test/Transforms/RelLookupTableConverter/X86/relative_lookup_table.ll
M llvm/test/Transforms/SCCP/conditions-ranges.ll
M llvm/test/Transforms/SimplifyCFG/phi-to-select-constexpr-icmp.ll
M llvm/test/Transforms/VectorCombine/AArch64/shuffletoidentity.ll
M llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll
M llvm/test/tools/llvm-exegesis/AArch64/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/Mips/latency-GPR64.s
M llvm/test/tools/llvm-exegesis/Mips/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/PowerPC/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-CMOV32rr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-IN16rr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-SBB8rr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-SQRTSSr.s
M llvm/test/tools/llvm-exegesis/X86/latency/latency-by-opcode-name.s
M llvm/test/tools/llvm-exegesis/X86/latency/max-configs.test
M llvm/test/tools/llvm-exegesis/X86/lbr/mov-add.s
M llvm/test/tools/llvm-exegesis/X86/uops/uops-CMOV16rm-noreg-serialization.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/load.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP600/load.s
M llvm/test/tools/llvm-objdump/ELF/AMDGPU/subtarget.ll
M llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.test
M llvm/test/tools/llvm-readobj/ELF/AMDGPU/elf-headers.test
M llvm/tools/llc/llc.cpp
M llvm/tools/llvm-readobj/ELFDumper.cpp
M llvm/tools/opt/optdriver.cpp
M llvm/unittests/Bitstream/BitstreamWriterTest.cpp
M llvm/unittests/DWARFLinkerParallel/DWARFLinkerTest.cpp
M llvm/unittests/DebugInfo/CodeView/GUIDFormatTest.cpp
M llvm/unittests/Frontend/OpenMPDecompositionTest.cpp
M llvm/unittests/IR/MetadataTest.cpp
M llvm/unittests/Target/AMDGPU/ExecMayBeModifiedBeforeAnyUse.cpp
M llvm/unittests/Transforms/CMakeLists.txt
A llvm/unittests/Transforms/Instrumentation/CMakeLists.txt
A llvm/unittests/Transforms/Instrumentation/PGOInstrumentationTest.cpp
M llvm/unittests/Transforms/Utils/LocalTest.cpp
M llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp
M llvm/unittests/Transforms/Vectorize/VPlanTestBase.h
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
M llvm/utils/TableGen/VTEmitter.cpp
M llvm/utils/TableGen/X86InstrMappingEmitter.cpp
M llvm/utils/TableGen/X86ManualCompressEVEXTables.def
M llvm/utils/emacs/llvm-mode.el
M llvm/utils/gn/secondary/clang/lib/Sema/BUILD.gn
M llvm/utils/gn/secondary/clang/test/BUILD.gn
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/IR/BUILD.gn
M llvm/utils/gn/secondary/llvm/test/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
A llvm/utils/gn/secondary/llvm/unittests/Transforms/Instrumentation/BUILD.gn
M llvm/utils/vim/syntax/llvm.vim
M llvm/utils/vscode/llvm/syntaxes/ll.tmLanguage.yaml
A mlir/include/mlir/Conversion/GPUToLLVMSPV/GPUToLLVMSPVPass.h
M mlir/include/mlir/Conversion/Passes.h
M mlir/include/mlir/Conversion/Passes.td
A mlir/include/mlir/Dialect/IRDL/IRDLSymbols.h
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.td
M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
M mlir/include/mlir/Dialect/Linalg/IR/LinalgNamedStructuredOps.yaml
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/include/mlir/Dialect/Polynomial/IR/Polynomial.td
M mlir/include/mlir/Dialect/Polynomial/IR/PolynomialAttributes.td
M mlir/lib/Bindings/Python/IRCore.cpp
M mlir/lib/Bindings/Python/IRModule.h
M mlir/lib/Conversion/CMakeLists.txt
A mlir/lib/Conversion/GPUToLLVMSPV/CMakeLists.txt
A mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp
M mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
M mlir/lib/Dialect/IRDL/CMakeLists.txt
M mlir/lib/Dialect/IRDL/IR/IRDL.cpp
M mlir/lib/Dialect/IRDL/IR/IRDLOps.cpp
M mlir/lib/Dialect/IRDL/IRDLLoading.cpp
A mlir/lib/Dialect/IRDL/IRDLSymbols.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMInlining.cpp
M mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
M mlir/lib/Dialect/LLVMIR/IR/ROCDLDialect.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/lib/Dialect/Polynomial/IR/PolynomialCanonicalization.td
M mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp
M mlir/lib/Dialect/Tensor/Transforms/ReshapePatterns.cpp
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/lib/Target/LLVM/NVVM/Target.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/python/mlir/dialects/linalg/opdsl/ops/core_named_ops.py
M mlir/python/mlir/dialects/scf.py
A mlir/test/Conversion/GPUToLLVMSPV/gpu-to-llvm-spv.mlir
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
M mlir/test/Dialect/GPU/dynamic-shared-memory.mlir
M mlir/test/Dialect/IRDL/cmath.irdl.mlir
M mlir/test/Dialect/IRDL/cyclic-types.irdl.mlir
M mlir/test/Dialect/IRDL/invalid.irdl.mlir
M mlir/test/Dialect/IRDL/testd.irdl.mlir
M mlir/test/Dialect/LLVMIR/constant-folding.mlir
M mlir/test/Dialect/LLVMIR/inlining-alias-scopes.mlir
M mlir/test/Dialect/LLVMIR/rocdl.mlir
M mlir/test/Dialect/Linalg/canonicalize.mlir
M mlir/test/Dialect/Linalg/generalize-named-ops.mlir
M mlir/test/Dialect/Linalg/named-ops.mlir
M mlir/test/Dialect/Linalg/transform-op-split-reduction.mlir
M mlir/test/Dialect/Polynomial/canonicalization.mlir
M mlir/test/Dialect/Polynomial/ops.mlir
M mlir/test/Dialect/Polynomial/ops_errors.mlir
M mlir/test/Dialect/SparseTensor/conversion.mlir
M mlir/test/Dialect/SparseTensor/sparse_fill_zero.mlir
M mlir/test/Dialect/SparseTensor/specifier_to_llvm.mlir
M mlir/test/Dialect/Tensor/fold-reassociative-reshapes.mlir
M mlir/test/Examples/transform/ChH/full.mlir
A mlir/test/Integration/Dialect/Vector/CPU/0-d-vectors.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf-full.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/mulf.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-ext.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli-full.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/muli.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf-full.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-mulf.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-ext.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli-full.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-muli.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero-block.mlir
R mlir/test/Integration/Dialect/Vector/CPU/AMX/test-tilezero.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero-block.mlir
A mlir/test/Integration/Dialect/Vector/CPU/AMX/tilezero.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/load-vertical.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/multi-tile-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f16f16f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-f64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-i8i8i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/ssve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-load-vertical.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-multi-tile-transpose.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f16f16f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-i8i8i32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-read-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transfer-write-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile-fill.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile_fill.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-read-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transfer-write-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSME/transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-scalable-deinterleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/contraction.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/scalable-interleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/sve.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-contraction.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-interleave.mlir
R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-sve.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/dot.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/inline-asm-vector-avx512.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/mask-compress.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/rsqrt.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/sparse-dot-product.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-dot.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-inline-asm-vector-avx512.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-mask-compress.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-rsqrt.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-sparse-dot-product.mlir
R mlir/test/Integration/Dialect/Vector/CPU/X86Vector/test-vp2intersect-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/X86Vector/vp2intersect-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/broadcast.mlir
A mlir/test/Integration/Dialect/Vector/CPU/compress.mlir
A mlir/test/Integration/Dialect/Vector/CPU/constant-mask.mlir
A mlir/test/Integration/Dialect/Vector/CPU/contraction.mlir
A mlir/test/Integration/Dialect/Vector/CPU/create-mask-v4i1.mlir
A mlir/test/Integration/Dialect/Vector/CPU/create-mask.mlir
A mlir/test/Integration/Dialect/Vector/CPU/expand.mlir
A mlir/test/Integration/Dialect/Vector/CPU/extract-strided-slice.mlir
A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-col.mlir
A mlir/test/Integration/Dialect/Vector/CPU/flat-transpose-row.mlir
A mlir/test/Integration/Dialect/Vector/CPU/fma.mlir
A mlir/test/Integration/Dialect/Vector/CPU/gather.mlir
A mlir/test/Integration/Dialect/Vector/CPU/index-vectors.mlir
A mlir/test/Integration/Dialect/Vector/CPU/insert-strided-slice.mlir
A mlir/test/Integration/Dialect/Vector/CPU/interleave.mlir
A mlir/test/Integration/Dialect/Vector/CPU/maskedload.mlir
A mlir/test/Integration/Dialect/Vector/CPU/maskedstore.mlir
A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-col.mlir
A mlir/test/Integration/Dialect/Vector/CPU/matrix-multiply-row.mlir
A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/outerproduct-i64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-fp.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-int.mlir
A mlir/test/Integration/Dialect/Vector/CPU/print-str.mlir
A mlir/test/Integration/Dialect/Vector/CPU/realloc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32-reassoc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64-reassoc.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-f64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i32.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-i64.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-si4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/reductions-ui4.mlir
A mlir/test/Integration/Dialect/Vector/CPU/rewrite-narrow-types.mlir
A mlir/test/Integration/Dialect/Vector/CPU/scan.mlir
A mlir/test/Integration/Dialect/Vector/CPU/scatter.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shape-cast.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shuffle.mlir
A mlir/test/Integration/Dialect/Vector/CPU/shuffle16x16.mlir
A mlir/test/Integration/Dialect/Vector/CPU/sparse-dot-matvec.mlir
A mlir/test/Integration/Dialect/Vector/CPU/sparse-saxpy-jagged-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-broadcast.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-compress.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-constant-mask.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-contraction.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask-v4i1.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-create-mask.mlir
A mlir/test/Integration/Dialect/Vector/CPU/test-deinterleave.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-expand.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-extract-strided-slice.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-col.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-flat-transpose-row.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-fma.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-gather.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-index-vectors.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-insert-strided-slice.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-interleave.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-maskedload.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-maskedstore.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-col.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-matrix-multiply-row.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-outerproduct-i64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-fp.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-int.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-print-str.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-realloc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32-reassoc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64-reassoc.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-f64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i32.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-i64.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-si4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-reductions-ui4.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-rewrite-narrow-types.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-scan.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-scatter.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shape-cast.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-shuffle16x16.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-dot-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-sparse-saxpy-jagged-matvec.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-1d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-2d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read-3d.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-read.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-to-loops.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transfer-write.mlir
R mlir/test/Integration/Dialect/Vector/CPU/test-transpose.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-1d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-2d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read-3d.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-read.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-to-loops.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transfer-write.mlir
A mlir/test/Integration/Dialect/Vector/CPU/transpose.mlir
M mlir/test/Target/Cpp/expressions.mlir
M mlir/test/Target/LLVMIR/llvmir.mlir
M mlir/test/Target/LLVMIR/omptarget-constant-indexing-device-region.mlir
M mlir/test/Target/LLVMIR/omptarget-fortran-allocatable-types-host.mlir
M mlir/test/Target/LLVMIR/rocdl.mlir
M mlir/test/python/dialects/scf.py
A mlir/test/python/live_operations.py
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/test/api/omp_device_memory.c
M openmp/runtime/src/CMakeLists.txt
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm_configs/llvm-config.h.cmake
Log Message:
-----------
Merge branch 'main' into users/ahmedbougacha/ptrauth-siphash
Compare: https://github.com/llvm/llvm-project/compare/42cb73fecf10...8e9ab9cfe45e
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list