[all-commits] [llvm/llvm-project] 4cf9a4: [clang-format] Adjust requires clause wrapping (#1...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Tue Aug 20 15:38:16 PDT 2024
Branch: refs/heads/users/MaskRay/spr/aarch64elf-allow-implicit-dx-at-section-beginning-1
Home: https://github.com/llvm/llvm-project
Commit: 4cf9a4266167c686e7e405ead5d6c1cd389eeca5
https://github.com/llvm/llvm-project/commit/4cf9a4266167c686e7e405ead5d6c1cd389eeca5
Author: Nathan Sidwell <nathan at acm.org>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Adjust requires clause wrapping (#101550) (#102078)
Address #101550 by adding OwnLineWithBrace option for RequiresClausePosition. This permits placing a following '{' on the same line as the requires clause.
Thus, instead of:
```
bool Foo ()
requires(true)
{
return true;
}
```
we have:
```
bool Foo ()
requires(true) {
return true;
}
```
If the function body is empty, we'll get:
```
bool Foo ()
requires(true) {}
```
I attempted to get a line break between the open and close braces, but
failed. Perhaps that's fine -- it's rare and only happens in the empty
body case.
Commit: 6e0fc155782ff5307245a85c7b037a2998ec6c86
https://github.com/llvm/llvm-project/commit/6e0fc155782ff5307245a85c7b037a2998ec6c86
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFeatures.td
Log Message:
-----------
[RISCV] Remove feature implication from Zvknhb.
We don't have feature implications on any other Zvk extensions and
we have error messages in RISCVISAInfo if Zve or V is not enabled.
I'm working on testing and refactoring in that code so I'd like to
make it consistent.
Commit: f44f02629274ea67aad23553ebc11042537758ad
https://github.com/llvm/llvm-project/commit/f44f02629274ea67aad23553ebc11042537758ad
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/test/Instrumentation/AddressSanitizer/instrument_initializer_without_global.ll
Log Message:
-----------
[asan] Catch `initialization-order-fiasco` in modules without globals (#104621)
Those modules still can have global constructors and access
globals in other modules which are not initialized yet.
Commit: 1ff630d5c32e73f5346e5cac0392762c11d1323d
https://github.com/llvm/llvm-project/commit/1ff630d5c32e73f5346e5cac0392762c11d1323d
Author: Pradeep Kumar <pradeepku at nvidia.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
A llvm/test/CodeGen/NVPTX/brkpt.ll
Log Message:
-----------
[LLVM][NVPTX] Add support for brkpt instruction (#104470)
This commit adds NVPTX codegen support for brkpt instruction
(https://docs.nvidia.com/cuda/parallel-thread-execution/#miscellaneous-instructions-brkpt)
with test under CodeGen/NVPTX/brkpt.ll
Commit: c51578eba1f88750ef189377b1bc848607449309
https://github.com/llvm/llvm-project/commit/c51578eba1f88750ef189377b1bc848607449309
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[SelectionDAG][X86] Use getAllOnesConstant. NFC (#104640)
Part of an effort to make getConstant stricter about implicit truncation
when converting uint64_t to APInt.
Commit: 34f941a2f96b804dd24c2a25770d899b018339ff
https://github.com/llvm/llvm-project/commit/34f941a2f96b804dd24c2a25770d899b018339ff
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/test/Instrumentation/AddressSanitizer/instrument_initializer_without_global.ll
Log Message:
-----------
Revert "[asan] Catch `initialization-order-fiasco` in modules without globals" (#104665)
Reverts llvm/llvm-project#104621
To many bots are broken, see #104621.
Commit: d257cd875873666d250e3fa7e95aafcd099f4e2f
https://github.com/llvm/llvm-project/commit/d257cd875873666d250e3fa7e95aafcd099f4e2f
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M clang/test/CodeGen/sanitize-ignorelist-mainfile.c
Log Message:
-----------
[CodeGen][asan] Use `%t` instead of `cd` in test
Commit: 2f89c1c76ce22831bd7abebea99202a6d3313110
https://github.com/llvm/llvm-project/commit/2f89c1c76ce22831bd7abebea99202a6d3313110
Author: Mariusz Sikora <mariusz.sikora at amd.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
Log Message:
-----------
[AMDGPU][NFC] Remove duplicate code by using getAddressableLocalMemorySize (#104604)
Commit: 8041bf48337dcd8f02052c47b398216453e56168
https://github.com/llvm/llvm-project/commit/8041bf48337dcd8f02052c47b398216453e56168
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-16 (Fri, 16 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Log Message:
-----------
[NFC][asan] Make 'Module &M' class member
Commit: 067f2e9f18e1c92496202dc37428a89945f57c22
https://github.com/llvm/llvm-project/commit/067f2e9f18e1c92496202dc37428a89945f57c22
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
[SelectionDAG] Use getSignedConstant/getAllOnesConstant.
Commit: e6ceb29ab6bb5632cac79e99da4d248e9bb7d378
https://github.com/llvm/llvm-project/commit/e6ceb29ab6bb5632cac79e99da4d248e9bb7d378
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
Log Message:
-----------
[RISCV] Use getAllOnesConstant/getSignedConstant.
Commit: cb7614e839148196c53711fdee639e6dff933a8d
https://github.com/llvm/llvm-project/commit/cb7614e839148196c53711fdee639e6dff933a8d
Author: Matthias Springer <me at m-sp.org>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/test/Transforms/test-legalize-type-conversion.mlir
Log Message:
-----------
[mlir][Transforms] Dialect conversion: Fix bug in `computeNecessaryMaterializations` (#104630)
There was a typo in the code path that removes unnecessary
materializations.
Before: Update `opResult` (result of an op different from `user`) in
mapping and remove `user`.
```
replaceMaterialization(rewriterImpl, opResult, inputOperands,
inverseMapping);
necessaryMaterializations.remove(materializationOps.lookup(user));
```
After: Update `user->getResults()` in mapping and remove `user`.
```
replaceMaterialization(rewriterImpl, user->getResults(), inputOperands,
inverseMapping);
necessaryMaterializations.remove(materializationOps.lookup(user));
```
Commit: fc6300a5f7ef430e4ec86d16be0b146de7fbd16b
https://github.com/llvm/llvm-project/commit/fc6300a5f7ef430e4ec86d16be0b146de7fbd16b
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.h
A llvm/test/CodeGen/AMDGPU/pseudo-scalar-transcendental.mir
Log Message:
-----------
[AMDGPU] Disable inline constants for pseudo scalar transcendentals (#104395)
Prevent operand folding from inlining constants into pseudo scalar
transcendental f16 instructions.
However still allow literal constants.
Commit: aad27bf534b59645f47a92f072af798687b1dd0d
https://github.com/llvm/llvm-project/commit/aad27bf534b59645f47a92f072af798687b1dd0d
Author: Giuseppe Rossini <giuseppe.rossini at amd.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
M mlir/test/Target/LLVMIR/Import/intrinsic.ll
M mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
Log Message:
-----------
Add non-temporal support for LLVM masked loads (#104598)
This PR is adding non-temporal support to masked load as a `UnitAttr`
attribute. Non temporal load is quite an important feature for masked
loads to make the intrinsic usable from high level compilers
Commit: 48ae61470104e9d7a8be5beb8739c24f52cc33c0
https://github.com/llvm/llvm-project/commit/48ae61470104e9d7a8be5beb8739c24f52cc33c0
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
A llvm/test/Transforms/InstCombine/pr96012.ll
Log Message:
-----------
[InstCombine] Avoid infinite loop when negating phi nodes (#104581)
Closes https://github.com/llvm/llvm-project/issues/96012
---------
Co-authored-by: Nikita Popov <github at npopov.com>
Commit: 0da2ba811ac8a01509bc533428941fb9519c0715
https://github.com/llvm/llvm-project/commit/0da2ba811ac8a01509bc533428941fb9519c0715
Author: Daniil Fukalov <dfukalov at gmail.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/APFixedPoint.h
M llvm/include/llvm/ADT/DynamicAPInt.h
M llvm/include/llvm/ADT/SlowDynamicAPInt.h
M llvm/include/llvm/ADT/SmallPtrSet.h
M llvm/include/llvm/ADT/SmallVector.h
M llvm/include/llvm/ADT/Statistic.h
M llvm/include/llvm/Analysis/AliasAnalysis.h
M llvm/include/llvm/Analysis/AliasSetTracker.h
M llvm/include/llvm/Analysis/AssumeBundleQueries.h
M llvm/include/llvm/Analysis/BlockFrequencyInfo.h
M llvm/include/llvm/Analysis/BranchProbabilityInfo.h
M llvm/include/llvm/Analysis/CGSCCPassManager.h
M llvm/include/llvm/Analysis/CallGraph.h
M llvm/include/llvm/Analysis/CaptureTracking.h
M llvm/include/llvm/Analysis/CodeMetrics.h
M llvm/include/llvm/Analysis/ConstraintSystem.h
M llvm/include/llvm/Analysis/CtxProfAnalysis.h
M llvm/include/llvm/Analysis/CycleAnalysis.h
M llvm/include/llvm/Analysis/DXILMetadataAnalysis.h
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/include/llvm/Analysis/DomConditionCache.h
M llvm/include/llvm/Analysis/DomPrinter.h
M llvm/include/llvm/Analysis/DomTreeUpdater.h
M llvm/include/llvm/Analysis/DominanceFrontier.h
M llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h
M llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
M llvm/include/llvm/Analysis/IVDescriptors.h
M llvm/include/llvm/Analysis/InlineAdvisor.h
M llvm/include/llvm/Analysis/InlineOrder.h
M llvm/include/llvm/Analysis/InstructionSimplify.h
M llvm/include/llvm/Analysis/InteractiveModelRunner.h
M llvm/include/llvm/Analysis/LazyBlockFrequencyInfo.h
M llvm/include/llvm/Analysis/LazyBranchProbabilityInfo.h
M llvm/include/llvm/Analysis/LazyCallGraph.h
M llvm/include/llvm/Analysis/LazyValueInfo.h
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/include/llvm/Analysis/MLInlineAdvisor.h
M llvm/include/llvm/Analysis/MemoryBuiltins.h
M llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h
M llvm/include/llvm/Analysis/MemoryLocation.h
M llvm/include/llvm/Analysis/MemoryProfileInfo.h
M llvm/include/llvm/Analysis/MemorySSA.h
M llvm/include/llvm/Analysis/MustExecute.h
M llvm/include/llvm/Analysis/NoInferenceModelRunner.h
M llvm/include/llvm/Analysis/ObjCARCAliasAnalysis.h
M llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
M llvm/include/llvm/Analysis/ProfileSummaryInfo.h
M llvm/include/llvm/Analysis/PtrUseVisitor.h
M llvm/include/llvm/Analysis/RegionInfo.h
M llvm/include/llvm/Analysis/RegionPrinter.h
M llvm/include/llvm/Analysis/ReplayInlineAdvisor.h
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/include/llvm/Analysis/SyntheticCountsUtils.h
M llvm/include/llvm/Analysis/TargetLibraryInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/UniformityAnalysis.h
M llvm/include/llvm/Analysis/ValueLattice.h
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/MemoryProfileInfo.cpp
M llvm/lib/Analysis/ValueLattice.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
M llvm/lib/Transforms/Utils/SizeOpts.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
M llvm/unittests/Analysis/MemoryProfileInfoTest.cpp
M mlir/include/mlir/Analysis/Presburger/Fraction.h
Log Message:
-----------
[NFC] Cleanup in ADT and Analysis headers. (#104484)
Remove unused directly includes and forward declarations in ADT and
Analysis headers.
Commit: 27d37ee4d067f42e9a46a0871d3cb961323e5c85
https://github.com/llvm/llvm-project/commit/27d37ee4d067f42e9a46a0871d3cb961323e5c85
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M clang/include/clang/AST/Attr.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaAMDGPU.h
M clang/include/clang/Sema/SemaARM.h
M clang/include/clang/Sema/SemaAVR.h
M clang/include/clang/Sema/SemaBPF.h
M clang/include/clang/Sema/SemaCUDA.h
M clang/include/clang/Sema/SemaCodeCompletion.h
M clang/include/clang/Sema/SemaHLSL.h
M clang/include/clang/Sema/SemaHexagon.h
M clang/include/clang/Sema/SemaLoongArch.h
M clang/include/clang/Sema/SemaM68k.h
M clang/include/clang/Sema/SemaMIPS.h
M clang/include/clang/Sema/SemaMSP430.h
M clang/include/clang/Sema/SemaNVPTX.h
M clang/include/clang/Sema/SemaObjC.h
M clang/include/clang/Sema/SemaOpenACC.h
M clang/include/clang/Sema/SemaOpenCL.h
M clang/include/clang/Sema/SemaOpenMP.h
M clang/include/clang/Sema/SemaPPC.h
M clang/include/clang/Sema/SemaPseudoObject.h
M clang/include/clang/Sema/SemaRISCV.h
M clang/include/clang/Sema/SemaSYCL.h
M clang/include/clang/Sema/SemaSwift.h
M clang/include/clang/Sema/SemaSystemZ.h
M clang/include/clang/Sema/SemaWasm.h
M clang/include/clang/Sema/SemaX86.h
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseObjc.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaARM.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprObjC.cpp
M clang/lib/Sema/SemaLambda.cpp
M clang/lib/Sema/SemaMIPS.cpp
M clang/lib/Sema/SemaObjC.cpp
M clang/lib/Sema/SemaPPC.cpp
M clang/lib/Sema/SemaSYCL.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/SemaType.cpp
M clang/lib/Sema/SemaX86.cpp
Log Message:
-----------
[clang][NFC] Clean up `Sema` headers
When various `Sema*.h` and `Sema*.cpp` files were created, cleanup of
`Sema.h` includes and forward declarations was left for the later.
Now's the time. This commit touches `Sema.h` and Sema components:
1. Unused includes are removed.
2. Unused forward declarations are removed.
3. Missing includes are added (those files are largely IWYU-clean now).
4. Includes were converted into forward declarations where possible.
As this commit focuses on headers, all changes to `.cpp` files were
minimal, and were aiming at keeping everything buildable.
Commit: 362142c4bb5cc657151f592e507f552d5b9f7dde
https://github.com/llvm/llvm-project/commit/362142c4bb5cc657151f592e507f552d5b9f7dde
Author: Tomas Matheson <Tomas.Matheson at arm.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M clang/test/CodeGen/aarch64-targetattr.c
A clang/test/Driver/aarch64-negative-modifiers-for-default-features.c
M clang/test/Driver/arm-sb.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a12.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a13.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a14.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a15.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a16.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a17.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-m4.c
M clang/test/Driver/print-enabled-extensions/aarch64-cortex-r82.c
M clang/test/Driver/print-enabled-extensions/aarch64-cortex-r82ae.c
M llvm/lib/Target/AArch64/AArch64Features.td
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/test/MC/AArch64/arm64-system-encoding.s
M llvm/test/MC/AArch64/armv8.5a-ssbs-error.s
M llvm/test/MC/AArch64/armv8.5a-ssbs.s
M llvm/test/MC/Disassembler/AArch64/armv8.5a-ssbs.txt
M llvm/test/MC/Disassembler/AArch64/basic-a64-instructions.txt
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
Log Message:
-----------
[AArch64] Add a check for invalid default features (#104435)
This adds a check that all ExtensionWithMArch which are marked as
implied features for an architecture are also present in the list of
default features. It doesn't make sense to have something mandatory but
not on by default.
There were a number of existing cases that violated this rule, and some
changes to which features are mandatory (indicated by the Implies
field).
This resulted in a bug where if a feature was marked as `Implies` but
was not added to `DefaultExt`, then for `-march=base_arch+nofeat` the
Driver would consider `feat` to have never been added and therefore
would do nothing to disable it (no `-target-feature -feat` would be
added, but the backend would enable the feature by default because of
`Implies`). See
clang/test/Driver/aarch64-negative-modifiers-for-default-features.c.
Note that the processor definitions do not respect the architecture
DefaultExts. These apply only when specifying `-march=<some architecture
version>`. So when a feature is moved from `Implies` to `DefaultExts` on
the Architecture definition, the feature needs to be added to all
processor definitions (that are based on that architecture) in order to
preserve the existing behaviour. I have checked the TRMs for many cases
(see specific commit messages) but in other cases I have just kept the
current behaviour and not tried to fix it.
Commit: 76161451f5ca837b25769c7d142f8271b45d9b28
https://github.com/llvm/llvm-project/commit/76161451f5ca837b25769c7d142f8271b45d9b28
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M libc/newhdrgen/yaml/string.yaml
M libc/spec/bsd_ext.td
Log Message:
-----------
[libc] Fix type signature for strlcpy and strlcat (#104643)
Summary:
These should not be const on the destination pointer.
Commit: 16929219b056fdbf9e0c93092904f2c5cac8a66f
https://github.com/llvm/llvm-project/commit/16929219b056fdbf9e0c93092904f2c5cac8a66f
Author: Changpeng Fang <changpeng.fang at amd.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SIModeRegister.cpp
M llvm/test/CodeGen/AMDGPU/fail.llvm.fptrunc.round.ll
M llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.ll
M llvm/test/CodeGen/AMDGPU/mode-register-fptrunc.mir
Log Message:
-----------
AMDGPU: Add tonearest and towardzero roundings for intrinsic llvm.fptrunc.round (#104486)
This work simplifies and generalizes the instruction definition for
intrinsic llvm.fptrunc.round. We no longer name the instruction with the
rounding mode. Instead, we introduce an immediate operand for the
rounding mode for the pseudo instruction. This immediate will be used to
set up the hardware mode register at the time the real instruction is
generated. We name the pseudo instruction as FPTRUNC_ROUND_F16_F32 (for
f32 -> f16), which is easy to generalize for other types.
"round.towardzero" and "round.tonearest" are added for f32 -> f16
truncating, in addition to the existing "round.upward" and
"round.downward". Other rounding modes are not supported by hardware at
this moment.
Commit: 0b092dfee3c5d9d7e4bde636330ce39a656ee676
https://github.com/llvm/llvm-project/commit/0b092dfee3c5d9d7e4bde636330ce39a656ee676
Author: weiguozhi <57237827+weiguozhi at users.noreply.github.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/clobber_frame_ptr.ll
Log Message:
-----------
[X86] Don't save/restore fp around longjmp instructions (#102556)
Longjmp instructions can also modify fp register, it is expected
behavior. We should not save/restore fp around these instructions.
Commit: 107f3efdbedeecf4768fc0387db929e51ce96f85
https://github.com/llvm/llvm-project/commit/107f3efdbedeecf4768fc0387db929e51ce96f85
Author: Jesse Huang <jesse.huang at sifive.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/test/MC/RISCV/machine-csr-names-invalid.s
M llvm/test/MC/RISCV/rv32-only-csr-names.s
Log Message:
-----------
[RISCV][MC] Make error message of CSR with wrong extension more detailed (#104424)
Make the error message of lacking an extension for a CSR more
detailed and update related tests
Commit: f620c5b692dd0bc08692979236073db0db27f0fc
https://github.com/llvm/llvm-project/commit/f620c5b692dd0bc08692979236073db0db27f0fc
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M clang/lib/AST/ByteCode/Context.cpp
M clang/test/AST/ByteCode/c.c
Log Message:
-----------
[clang][bytecode] Classify 1-bit unsigned integers as bool (#104662)
This happens for enum types with bool parent types. isBooleanType()
returns false for them however.
The previous version did the same thing by re-classifying the enum
integer type, but that breaks with forward-declared enums.
Commit: b21b907aeb36a4ce6b403944e9c440a3bba5c3e0
https://github.com/llvm/llvm-project/commit/b21b907aeb36a4ce6b403944e9c440a3bba5c3e0
Author: Kelvin Li <kkwli at users.noreply.github.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M flang/lib/Evaluate/tools.cpp
M flang/test/Semantics/data08.f90
Log Message:
-----------
[flang] Handle Hollerith in data statement initialization in big endian (#103451)
Update to read the Hollerith literal in reverse order for big endian
environment.
Commit: 555399d562201f3114fb22f883cd1b6710af1a0d
https://github.com/llvm/llvm-project/commit/555399d562201f3114fb22f883cd1b6710af1a0d
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M clang/lib/AST/ByteCode/Interp.h
M clang/test/AST/ByteCode/cxx23.cpp
Log Message:
-----------
[clang][bytecode] Fix shifting negative values (#104663)
Commit: 69f76c782b554a004078af6909c19a11e3846415
https://github.com/llvm/llvm-project/commit/69f76c782b554a004078af6909c19a11e3846415
Author: Martin Storsjö <martin at martin.st>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M lld/MinGW/Driver.cpp
M lld/MinGW/Options.td
M lld/test/MinGW/driver.test
Log Message:
-----------
[LLD] [MinGW] Recognize the -rpath option (#102886)
GNU ld silently accepts the -rpath option for Windows targets, as a
no-op.
This has lead to some build systems (and users) passing this option
while building for Windows/MinGW, even if Windows doesn't have any
concept like rpath.
Older versions of Conan did include -rpath in the pkg-config files it
generated, see e.g.
https://github.com/conan-io/conan/blob/17c58f0c61931f9de218ac571cd97a8e0befa68e/conans/client/generators/pkg_config.py#L104-L114
and
https://github.com/conan-io/conan/blob/17c58f0c61931f9de218ac571cd97a8e0befa68e/conans/client/build/compiler_flags.py#L26-L34
- and see https://github.com/mstorsjo/llvm-mingw/issues/300 for user
reports about this issue.
Recognize the option in LLD for MinGW targets, to improve drop-in
compatibility compared to GNU ld, but produce a warning to alert users
that the option really has no effect for these targets.
Commit: f7d94b783f62f61cb9085adaa71e1ffa95918bcc
https://github.com/llvm/llvm-project/commit/f7d94b783f62f61cb9085adaa71e1ffa95918bcc
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
[SelectionDAG] Use getAllOnesConstant.
Commit: efa859cd3e195bc4c377e8acf21d45fa410c63b6
https://github.com/llvm/llvm-project/commit/efa859cd3e195bc4c377e8acf21d45fa410c63b6
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMInstrInfo.td
M llvm/lib/Target/X86/X86ISelLoweringCall.cpp
Log Message:
-----------
[ARM] Use SelectonDAG::getSignedConstant.
Commit: 69115cce29d5dbbdacaa05aaedc89810aa58ef0c
https://github.com/llvm/llvm-project/commit/69115cce29d5dbbdacaa05aaedc89810aa58ef0c
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
Log Message:
-----------
[AArch64] Use SelectionDAG::getSignedConstant/getAllOnesConstant.
Commit: 27a62ec72aed3faf1388600f485552471b580e3b
https://github.com/llvm/llvm-project/commit/27a62ec72aed3faf1388600f485552471b580e3b
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/CodeGen/TargetPassConfig.h
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/LinkAllPasses.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/include/llvm/Transforms/Scalar.h
A llvm/include/llvm/Transforms/Scalar/LoopTermFold.h
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
M llvm/lib/Transforms/Scalar/CMakeLists.txt
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
A llvm/lib/Transforms/Scalar/LoopTermFold.cpp
M llvm/lib/Transforms/Scalar/Scalar.cpp
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
M llvm/test/Transforms/LoopStrengthReduce/RISCV/lsr-cost-compare.ll
M llvm/test/Transforms/LoopStrengthReduce/RISCV/term-fold-crash.ll
M llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold-negative-testcase.ll
M llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold.ll
M llvm/test/Transforms/LoopStrengthReduce/lsr-unreachable-bb-phi-node.ll
Log Message:
-----------
[LSR] Split the -lsr-term-fold transformation into it's own pass (#104234)
This transformation doesn't actually use any of the internal state of
LSR and recomputes all information from SCEV. Splitting it out makes
it easier to test.
Note that long term I would like to write a version of this transform
which *is* integrated with LSR's solver, but if that happens, we'll
just delete the extra pass.
Integration wise, I switched from using TTI to using a pass configuration
variable. This seems slightly more idiomatic, and means we don't run
the extra logic on any target other than RISCV.
Commit: addeb22f109158921bae9d91fb76eda99081fa82
https://github.com/llvm/llvm-project/commit/addeb22f109158921bae9d91fb76eda99081fa82
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn
Log Message:
-----------
[gn build] Port 27a62ec72aed
Commit: f499a3fe5fb6fd816d35b541e67a3761093cfded
https://github.com/llvm/llvm-project/commit/f499a3fe5fb6fd816d35b541e67a3761093cfded
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Target/VE/VECustomDAG.cpp
M llvm/lib/Target/VE/VEInstrInfo.td
Log Message:
-----------
[VE] Use SelectionDAG::getSignedConstant/getAllOnesConstant.
Commit: c4c9f39ba46b52ea88dffd54217f0205788751c6
https://github.com/llvm/llvm-project/commit/c4c9f39ba46b52ea88dffd54217f0205788751c6
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/openmp-firstprivate.mlir
Log Message:
-----------
[MLIR][OpenMP] Fix MLIR->LLVM value matching in privatization logic (#103718)
Fixes #102935
Updates matching logic for finding the LLVM value that corresponds to an
MLIR value. We need that matching to find the delayed privatizer for an
LLVM value being privatized.
The issue occures when there is an "indirect" correspondence between
MLIR and LLVM values: in some cases the values we are trying to match
stem from a pair of load/store ops that point to the same memref. This
PR adds such matching logic.
Commit: 93ab50ab3530d82579062fc471f5e91c42eacdde
https://github.com/llvm/llvm-project/commit/93ab50ab3530d82579062fc471f5e91c42eacdde
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/APInt.h
Log Message:
-----------
[APInt] Replace enum with static constexpr member variables. NFC
With C++17 we no longer need the enum to prevent ODR use.
Commit: 88f801037338a2c273a8f6dea8ebcb0c48a2cc06
https://github.com/llvm/llvm-project/commit/88f801037338a2c273a8f6dea8ebcb0c48a2cc06
Author: Mike Crowe <mac at mcrowe.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang-tools-extra/docs/ReleaseNotes.rst
Log Message:
-----------
[clang-tidy] Correct typo in ReleaseNotes.rst (#104674)
Commit: e994494a590ea14d4bc9bf14b6cd7b8bc7ce06b6
https://github.com/llvm/llvm-project/commit/e994494a590ea14d4bc9bf14b6cd7b8bc7ce06b6
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
Log Message:
-----------
[PowerPC] Use MathExtras helpers to simplify code. NFC (#104691)
Commit: e59c8241fa6a5a9c8f9175b0ed7b0dfdb5c945cf
https://github.com/llvm/llvm-project/commit/e59c8241fa6a5a9c8f9175b0ed7b0dfdb5c945cf
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-17 (Sat, 17 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
Log Message:
-----------
[RISCV] Remove unused tablegen classes from unratified Zbp instructions. NFC
These weren't removed when we removed Zbp.
Commit: 07bd3bb9b7eb34426a81de2b988f53f08611ab35
https://github.com/llvm/llvm-project/commit/07bd3bb9b7eb34426a81de2b988f53f08611ab35
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/lib/AST/ByteCode/Pointer.cpp
Log Message:
-----------
[clang][bytecode][NFC] Improve Pointer::print()
Do not access PointeeStorage.BS.Pointee if we have a non-block pointer
and extend printing to handle function pointers as well.
Commit: dac182990dabe8d15cfb8079aba68df2ded015aa
https://github.com/llvm/llvm-project/commit/dac182990dabe8d15cfb8079aba68df2ded015aa
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/lib/AST/ByteCode/Interp.h
M clang/lib/AST/ByteCode/Pointer.cpp
M clang/lib/AST/ByteCode/Pointer.h
A clang/test/AST/ByteCode/codegen.c
Log Message:
-----------
[clang][bytecode] IntPointer::atOffset() should append (#104686)
... to current offset. This breaks other tests which this commit also
fixes. Namely, getIndex() should return the integer representation for
non-block pointers.
Commit: 11259343593043c77678b59d420159fcd147a858
https://github.com/llvm/llvm-project/commit/11259343593043c77678b59d420159fcd147a858
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Builtins.td
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/test/Analysis/builtin_signbit.cpp
M clang/test/Sema/constant-builtins-2.c
Log Message:
-----------
[Clang] `constexpr` builtin floating point classification / comparison functions (#94118)
As per [P0533R9](https://wg21.link/P0533R9), the corresponding C++
`[c.math.fpclass]` standard library functions for the C macros are now
`constexpr`.
The only classification function that wasn't already `constexpr` was
`__builtin_signbit`.
The floating point comparison functions `__builtin_isgreater`,
`__builtin_isgreaterequal`, `__builtin_isless`, `__builtin_islessequal`,
`__builtin_islessgreater` and `__builtin_isunordered` are now
`constexpr`.
The C23 macro `iseqsig` is not currently supported because
`__bulitin_iseqsig` doesn't exist yet (and C++26 is still currently
based on C18).
This also allows them to be constant folded in C, matching the behaviour
of GCC.
Commit: 10fe531d6c9d46fb9584d33782f26d27887c72fd
https://github.com/llvm/llvm-project/commit/10fe531d6c9d46fb9584d33782f26d27887c72fd
Author: David Green <david.green at arm.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
Log Message:
-----------
[GlobalISel] Add and use an Opcode variable and update match-table-cxx.td checks. NFC
Commit: c4092d326ae4989f54c5f01d3a077841fd76bc2f
https://github.com/llvm/llvm-project/commit/c4092d326ae4989f54c5f01d3a077841fd76bc2f
Author: Oleksandr T. <oleksandr.tarasiuk at outlook.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaStmt.cpp
M clang/test/Sema/c2x-nodiscard.c
Log Message:
-----------
[Clang] warn on discarded [[nodiscard]] function results after casting in C (#104677)
Fixes #104391
Commit: 71801707e33c235656b172fa7dfb8662473a95c2
https://github.com/llvm/llvm-project/commit/71801707e33c235656b172fa7dfb8662473a95c2
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/test/Sema/constant-builtins-2.c
Log Message:
-----------
[clang][test] Remove bytecode interpreter RUN line from test
Specifically, from constant-builtins2. This breaks runners using
sanitizers.
See https://github.com/llvm/llvm-project/pull/94118
Commit: e9e3a183d6d8d8729223b7131aa57fd9f02f0440
https://github.com/llvm/llvm-project/commit/e9e3a183d6d8d8729223b7131aa57fd9f02f0440
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/Transforms/LoopVectorize/RISCV/blocks-with-dead-instructions.ll
Log Message:
-----------
[LV] Don't cost branches and conditions to empty blocks.
Update the legacy cost model skip branches with successors blocks
that are empty or only contain dead instructions, together with their
conditions. Such branches and conditions won't result in any
generated code and will be cleaned up by VPlan transforms.
This fixes a difference between the legacy and VPlan-based cost model.
When running LV in its usual pipeline position, such dead blocks should
already have been cleaned up, but they might be generated manually or by
fuzzers.
Fixes https://github.com/llvm/llvm-project/issues/100591.
Commit: ff80e1ffe79d893be990cda981526a321697eb9a
https://github.com/llvm/llvm-project/commit/ff80e1ffe79d893be990cda981526a321697eb9a
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/saturating-add-sub.ll
Log Message:
-----------
[InstSimplify] Simplify `uadd.sat(X, Y) u>= X + Y` and `usub.sat(X, Y) u<= X, Y` (#104698)
These patterns are found in harfbuzz/typst.
Alive2: https://alive2.llvm.org/ce/z/cxyjYV
Commit: 29811a81f77c22523dbfffbd2d39ac731baea37b
https://github.com/llvm/llvm-project/commit/29811a81f77c22523dbfffbd2d39ac731baea37b
Author: PaulXiCao <paulxicao7 at gmail.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M libcxx/docs/Status/Cxx17.rst
Log Message:
-----------
[libc++][docs] Fixing hyperlink for mathematical special function documentation (#104444)
Inter-documentation link for progress tracking of mathematical special
function is fixed.
Commit: 6ed2a6bf0d26122210c8732d80431529784c4000
https://github.com/llvm/llvm-project/commit/6ed2a6bf0d26122210c8732d80431529784c4000
Author: Daniel Chen <cdchen at ca.ibm.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M flang/include/flang/Evaluate/integer.h
M flang/lib/Evaluate/integer.cpp
Log Message:
-----------
[Flang]: Use actual endianness for Integer<80> (#103928)
This PR is to use the actual endianness of the platform when instantiate
Integer<80> so that AIX (big-endian) will not get confused.
Commit: d082f1f37d8cb7a0c6875537ba873a631b154d53
https://github.com/llvm/llvm-project/commit/d082f1f37d8cb7a0c6875537ba873a631b154d53
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/lib/AST/ByteCode/Boolean.h
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Interp.h
M clang/lib/AST/ByteCode/Opcodes.td
Log Message:
-----------
[clang][bytecode] Only booleans can be inverted
No need to have the Inv() function be templated.
Commit: e05307f6633ca405834a4fd24d858ffb676c9170
https://github.com/llvm/llvm-project/commit/e05307f6633ca405834a4fd24d858ffb676c9170
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Avoid multiple calls to getCurrentDirective in DSAChecker, NFC
Commit: dd40632b52d8da2146a12254afc900315ac3c2e4
https://github.com/llvm/llvm-project/commit/dd40632b52d8da2146a12254afc900315ac3c2e4
Author: c8ef <c8ef at outlook.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprConstant.cpp
M clang/test/SemaCXX/constant-expression-cxx11.cpp
Log Message:
-----------
[clang] fix divide by zero in ComplexExprEvaluator (#104666)
fix: #55390.
---------
Co-authored-by: Sergei Barannikov <barannikov88 at gmail.com>
Commit: bbcb625798514f1cd6ef04818381d38ea26b23e5
https://github.com/llvm/llvm-project/commit/bbcb625798514f1cd6ef04818381d38ea26b23e5
Author: Mike Crowe <mac at mcrowe.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseStdPrintCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-format.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst
A clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-member.cpp
A clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-print-member.cpp
Log Message:
-----------
[clang-tidy] Support member functions with modernize-use-std-print/format (#104675)
These checks can be made to work on member functions quite easily and
it's not unknown to have at least printf-style functions as members.
Let's remove the restriction.
Commit: de5ea2d122c31e1551654ff506c33df299f351b8
https://github.com/llvm/llvm-project/commit/de5ea2d122c31e1551654ff506c33df299f351b8
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
Log Message:
-----------
[clang][OpenMP] Change /* ParamName */ to /*ParamName=*/, NFC
Change
foo(/* Index */ 0);
to
foo(/*Index=*/0);
There was a mix of these two formats in the source. Clang-format treats
the latter one a bit better, so use that one consistently.
Commit: bcbe9d6c776bc02bfe8f911607240af0d1775d79
https://github.com/llvm/llvm-project/commit/bcbe9d6c776bc02bfe8f911607240af0d1775d79
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaDecl.cpp
M clang/test/SemaCXX/attr-lifetimebound.cpp
Log Message:
-----------
[Clang] Do not allow `[[clang::lifetimebound]]` on explicit object member functions (#96113)
Previously, `[[clang::lifetimebound]]` applied to an explicit object
member function did nothing and was silently ignored.
Now issue the error diagnostic `'lifetimebound' attribute cannot be
applied; explicit object member function has no implicit object
parameter`
Commit: 0d150db214e2aa13a825b563c7238e1243d61db1
https://github.com/llvm/llvm-project/commit/0d150db214e2aa13a825b563c7238e1243d61db1
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
R clang/include/clang/Rewrite/Core/DeltaTree.h
M clang/include/clang/Rewrite/Core/HTMLRewrite.h
R clang/include/clang/Rewrite/Core/RewriteBuffer.h
R clang/include/clang/Rewrite/Core/RewriteRope.h
M clang/include/clang/Rewrite/Core/Rewriter.h
M clang/lib/ARCMigrate/ARCMT.cpp
M clang/lib/ARCMigrate/ObjCMT.cpp
M clang/lib/Frontend/Rewrite/FixItRewriter.cpp
M clang/lib/Frontend/Rewrite/HTMLPrint.cpp
M clang/lib/Frontend/Rewrite/RewriteMacros.cpp
M clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
M clang/lib/Frontend/Rewrite/RewriteObjC.cpp
M clang/lib/Rewrite/CMakeLists.txt
R clang/lib/Rewrite/DeltaTree.cpp
M clang/lib/Rewrite/HTMLRewrite.cpp
R clang/lib/Rewrite/RewriteRope.cpp
M clang/lib/Rewrite/Rewriter.cpp
M clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
M clang/lib/Tooling/Core/Replacement.cpp
M clang/unittests/Rewrite/CMakeLists.txt
R clang/unittests/Rewrite/RewriteBufferTest.cpp
A llvm/include/llvm/ADT/DeltaTree.h
A llvm/include/llvm/ADT/RewriteBuffer.h
A llvm/include/llvm/ADT/RewriteRope.h
M llvm/lib/Support/CMakeLists.txt
A llvm/lib/Support/DeltaTree.cpp
A llvm/lib/Support/RewriteBuffer.cpp
A llvm/lib/Support/RewriteRope.cpp
M llvm/unittests/ADT/CMakeLists.txt
A llvm/unittests/ADT/RewriteBufferTest.cpp
Log Message:
-----------
[llvm][clang] Move RewriterBuffer to ADT. (#99770)
These classes are not specific to clang and useful for other rewriter
tools (flagged in previous review).
Commit: a28c20244242e6f4faad3e8ac673cb8f972c9d7a
https://github.com/llvm/llvm-project/commit/a28c20244242e6f4faad3e8ac673cb8f972c9d7a
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Rewrite/BUILD.gn
M llvm/utils/gn/secondary/clang/unittests/Rewrite/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
Log Message:
-----------
[gn build] Port 0d150db214e2
Commit: caa1070b1c880627b223dc3884860a64e4b510c7
https://github.com/llvm/llvm-project/commit/caa1070b1c880627b223dc3884860a64e4b510c7
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/lib/Driver/ToolChains/HIPUtility.cpp
M clang/test/Driver/hip-toolchain-rdc.hip
Log Message:
-----------
[HIP] search fatbin symbols for libs passed by -l (#104638)
For -fgpu-rdc linking, clang needs to collect undefined fatbin symbols
and resolve them to the embedded fatbin.
This has been done for object files and archive files passed as input
files to clang.
However, the same action is not performed for archive files passed
through -l options, which causes missing symbols.
This patch adds that.
Commit: 5c13f9aea280f1d499be7eca45b85371b0240c48
https://github.com/llvm/llvm-project/commit/5c13f9aea280f1d499be7eca45b85371b0240c48
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M libc/startup/gpu/amdgpu/start.cpp
Log Message:
-----------
[libc] Add single threaded kernel attributes to AMDGPU startup utility (#104651)
Summary:
I fixed the errors here recently so I can actually use these. This
shouldn't impact much, just should hopefully make the code generated
slightly better.
Commit: deb6b45c32687275a6d4e24326ffc9700f8ae52c
https://github.com/llvm/llvm-project/commit/deb6b45c32687275a6d4e24326ffc9700f8ae52c
Author: jameshu15869 <55058507+jameshu15869 at users.noreply.github.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M libc/benchmarks/gpu/LibcGpuBenchmark.cpp
M libc/benchmarks/gpu/LibcGpuBenchmark.h
M libc/benchmarks/gpu/src/math/CMakeLists.txt
A libc/benchmarks/gpu/src/math/atan2_benchmark.cpp
M libc/benchmarks/gpu/timing/amdgpu/timing.h
M libc/benchmarks/gpu/timing/nvptx/timing.h
Log Message:
-----------
[libc][gpu] Add Atan2 Benchmarks (#104708)
This PR adds benchmarking for `atan2()`, `__nv_atan2()`, and
`__ocml_atan2_f64()` using the same setup as `sin()`. This PR also adds
support for throughout bencmarking for functions with 2 inputs.
Commit: 79d021116d8434d28e179660d31f4bd6cdbccd62
https://github.com/llvm/llvm-project/commit/79d021116d8434d28e179660d31f4bd6cdbccd62
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
A llvm/test/MC/ELF/relax-branch.s
Log Message:
-----------
[MC] Add test that requires multiple relaxation steps
This can catch the code size regression
due to the reverted be5a845e4c29aadb513ae6e5e2879dccf37efdbb
("[MC] Compute fragment offsets eagerly").
Commit: bf5cd4220d20d0ee5533d55f463612fbe2980071
https://github.com/llvm/llvm-project/commit/bf5cd4220d20d0ee5533d55f463612fbe2980071
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
Log Message:
-----------
[MIPS] Remove expensive LLVM_DEBUG relocation dump
The input is usually ordered by offset, so inspecting the output is
sufficient. The super expensive relocation dump is not conventional.
Commit: 3496245ed3d0b4d24444260da77dcdb93512fb5a
https://github.com/llvm/llvm-project/commit/3496245ed3d0b4d24444260da77dcdb93512fb5a
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/lib/Format/Format.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
Log Message:
-----------
[clang-format] Change GNU style language standard to LS_Latest (#104669)
Fixes #104655.
Commit: 0224d8355d84b3eee2390cd13bb0b749ba40b0db
https://github.com/llvm/llvm-project/commit/0224d8355d84b3eee2390cd13bb0b749ba40b0db
Author: Frederic Cambus <fred at statdns.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M clang/tools/scan-build/man/scan-build.1
Log Message:
-----------
Update Clang version from 19 to 20 in scan-build.1.
Similar to D110763.
Commit: 70f3863b5f30e856278f399b068a30bc4d5d16c2
https://github.com/llvm/llvm-project/commit/70f3863b5f30e856278f399b068a30bc4d5d16c2
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
Log Message:
-----------
[DAG][PatternMatch] Add support for matchers with flags; NFC
Add support for matching with `SDNodeFlags` i.e `add` with `nuw`.
This patch adds helpers for `or disjoint` or `zext nneg` with the same
names as we have in IR/PatternMatch api.
Closes #103060
Commit: c6e16a49ef41261b01aabc27f4b806af6cc81a20
https://github.com/llvm/llvm-project/commit/c6e16a49ef41261b01aabc27f4b806af6cc81a20
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/include/llvm/Analysis/TargetLibraryInfo.def
M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
M llvm/test/Transforms/InferFunctionAttrs/annotate.ll
M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
Log Message:
-----------
[TLI] Add support for inferring attr `cold`/`noreturn` on `std::terminate` and `__cxa_throw`
These functions are both inherently on the error path so `cold` seems
appropriate. `noreturn` is definitional.
Closes #101622
Commit: 1a6bf94407af7962345ffaf6ac9e9a9766fd8913
https://github.com/llvm/llvm-project/commit/1a6bf94407af7962345ffaf6ac9e9a9766fd8913
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/include/llvm/MC/MCELFObjectWriter.h
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
Log Message:
-----------
[MC] Remove ELFRelocationEntry::OriginalAddend
For MIPS's o32 ABI (REL), https://reviews.llvm.org/D19718 introduced
`OriginalAddend` to find the matching R_MIPS_LO16 relocation for
R_MIPS_GOT16 when STT_SECTION conversion is applicable.
lw $2, %lo(local1)
lui $2, %got(local1)
However, we could just store the original `Addend` in
`ELFRelocationEntry` and remove `OriginalAddend`.
Note: The relocation ordering algorithm in
https://reviews.llvm.org/D19718 is inefficient (#104562), which will be
addressed by another patch.
Commit: f16125a13ce725b1e936468e08257c0fbb80c0fa
https://github.com/llvm/llvm-project/commit/f16125a13ce725b1e936468e08257c0fbb80c0fa
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
A llvm/test/CodeGen/X86/fold-loop-of-urem.ll
A llvm/test/Transforms/CodeGenPrepare/X86/fold-loop-of-urem.ll
Log Message:
-----------
[CodeGenPrepare][X86] Add tests for folding `urem` with loop invariant value; NFC
Commit: c64ce8bf283120fd145a57d0e61f9697f719139d
https://github.com/llvm/llvm-project/commit/c64ce8bf283120fd145a57d0e61f9697f719139d
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/test/CodeGen/X86/fold-loop-of-urem.ll
M llvm/test/Transforms/CodeGenPrepare/X86/fold-loop-of-urem.ll
Log Message:
-----------
[CodeGenPrepare] Folding `urem` with loop invariant value
```
for(i = Start; i < End; ++i)
Rem = (i nuw+ IncrLoopInvariant) u% RemAmtLoopInvariant;
```
->
```
Rem = (Start nuw+ IncrLoopInvariant) % RemAmtLoopInvariant;
for(i = Start; i < End; ++i, ++rem)
Rem = rem == RemAmtLoopInvariant ? 0 : Rem;
```
In its current state, only if `IncrLoopInvariant` and `Start` both
being zero.
Alive2 seemed unable to prove this (see:
https://alive2.llvm.org/ce/z/ATGDp3 which is clearly wrong but still
checks out...) so wrote an exhaustive test here:
https://godbolt.org/z/WYa561388
Closes #96625
Commit: 7d5281a66d5d42c65cfb9d95eaf9aa01afb089fb
https://github.com/llvm/llvm-project/commit/7d5281a66d5d42c65cfb9d95eaf9aa01afb089fb
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/preload-kernargs.ll
Log Message:
-----------
[AMDGPU][NFC] Fix preload-kernarg.ll test after attributor move (#98840)
Update was to stale version of the test with missing functions and extra
runlines that had been removed.
Commit: 4eefc8d4cee1808f44710622c8c3b66281feb8a3
https://github.com/llvm/llvm-project/commit/4eefc8d4cee1808f44710622c8c3b66281feb8a3
Author: Bimo <rui.xu at intel.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M mlir/python/mlir/dialects/tensor.py
M mlir/test/python/dialects/linalg/opdsl/emit_matmul.py
M mlir/test/python/dialects/linalg/ops.py
Log Message:
-----------
[MLIR][Python] enhance python api for tensor.empty (#103087)
Since we have extended `EmptyOp`, maybe we should also provide a
corresponding `tensor.empty` method. In the downstream usage, I tend to
use APIs with all lowercase letters to create ops, so having a
`tensor.empty` to replace the extended `tensor.EmptyOp` would keep my
code style consistent.
Commit: 7f87b5bf0e2f0e01735e5abe724d7fe5c69d202e
https://github.com/llvm/llvm-project/commit/7f87b5bf0e2f0e01735e5abe724d7fe5c69d202e
Author: Tianqing Wang <tianqing.wang at intel.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SwitchLoweringUtils.h
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/unpredictable-brcond.ll
Log Message:
-----------
[SelectionDAG][X86] Preserve unpredictable metadata for conditional branches in SelectionDAG, as well as JCCs generated by X86 backend. (#102101)
This builds on 09515f2c2, which preserves unpredictable metadata in
CodeGen for `select`. This patch does it for conditional branches.
Commit: 731ae694a3d8f4d39e855c9a82c97d4f170fd48a
https://github.com/llvm/llvm-project/commit/731ae694a3d8f4d39e855c9a82c97d4f170fd48a
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/test/CodeGen/X86/fold-loop-of-urem.ll
M llvm/test/Transforms/CodeGenPrepare/X86/fold-loop-of-urem.ll
Log Message:
-----------
Revert "[CodeGenPrepare] Folding `urem` with loop invariant value"
This reverts commit c64ce8bf283120fd145a57d0e61f9697f719139d.
Seems to be causing stage2 failures on buildbots. Reverting while I
investigate.
Commit: a80a90e34b1f26422ebf56e922abe2c193607c81
https://github.com/llvm/llvm-project/commit/a80a90e34b1f26422ebf56e922abe2c193607c81
Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/test/Driver/print-supported-extensions-riscv.c
M clang/test/Preprocessor/riscv-target-features.c
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/rvv/zvbc.s
A llvm/test/MC/RISCV/rvv/zvkgs.s
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV][MC] Support experimental extensions Zvbc32e and Zvkgs (#103709)
These two extensions add addtional instructions for carryless
multiplication with 32-bits elements and Vector-Scalar GCM
instructions.
Please see https://github.com/riscv/riscv-isa-manual/pull/1306.
Commit: 82fdfd4aa7f60b1f8e715211b925a7f2bfe57ea9
https://github.com/llvm/llvm-project/commit/82fdfd4aa7f60b1f8e715211b925a7f2bfe57ea9
Author: Akshat Oke <76596238+Akshat-Oke at users.noreply.github.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/TableGen/Error.cpp
Log Message:
-----------
[TableGen] Print Error and not crash on dumping non-string values (#104568)
Co-authored-by: Akshat Oke <Akshat.Oke at amd.com>
Commit: 7faf1a0868cb6a6a05e454044239292c454e0a71
https://github.com/llvm/llvm-project/commit/7faf1a0868cb6a6a05e454044239292c454e0a71
Author: Daniel Cederman <cederman at gaisler.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/Sparc/DelaySlotFiller.cpp
M llvm/lib/Target/Sparc/LeonFeatures.td
M llvm/lib/Target/Sparc/LeonPasses.cpp
M llvm/lib/Target/Sparc/LeonPasses.h
M llvm/lib/Target/Sparc/Sparc.h
M llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
A llvm/test/CodeGen/SPARC/tn0009.mir
A llvm/test/CodeGen/SPARC/tn0010.mir
A llvm/test/CodeGen/SPARC/tn0011.ll
A llvm/test/CodeGen/SPARC/tn0012.mir
A llvm/test/CodeGen/SPARC/tn0013.mir
Log Message:
-----------
[Sparc] Add errata workaround pass for GR712RC and UT700 (#103843)
This patch adds a pass that provides workarounds for the errata
described in GRLIB-TN-0009, GRLIB-TN-0010, GRLIB-TN-0011, GRLIB-TN-0012,
and GRLIB-TN-0013, that are applicable to the GR712RC and UT700. The
documents are available for download from here:
https://www.gaisler.com/index.php/information/app-tech-notes
The pass will detect certain sensitive instruction sequences and prevent
them from occurring by inserting NOP instruction. Below is an overview
of each of the workarounds. A similar implementation is available in
GCC.
GRLIB-TN-0009:
* Insert NOPs to prevent the sequence (stb/sth/st/stf) -> (single
non-store/load instruction) -> (any store)
* Insert NOPs to prevent the sequence (std/stdf) -> (any store)
GRLIB-TN-0010:
* Insert a NOP between load instruction and atomic instruction (swap and
casa).
* Insert a NOP at branch target if load in delay slot and atomic
instruction at branch target.
* Do not allow functions to begin with atomic instruction.
GRLIB-TN-0011:
* Insert .p2align 4 before atomic instructions (swap and casa).
GRLIB-TN-0012:
* Place a NOP at the branch target of an integer branch if it is a
floating-point operation or a floating-point branch.
GRLIB-TN-0013:
* Prevent (div/sqrt) instructions in the delay slot.
* Insert NOPs to prevent the sequence (div/sqrt) -> (two or three
floating point operations or loads) -> (div/sqrt).
* Do not insert NOPs if any of the floating point operations have a
dependency on the destination register of the first (div/sqrt).
* Do not insert NOPs if one of the floating point operations is a
(div/sqrt).
* Insert NOPs to prevent (div/sqrt) followed by a branch.
Commit: f802c39cea29d587ba4db6f71352e3f11a994a89
https://github.com/llvm/llvm-project/commit/f802c39cea29d587ba4db6f71352e3f11a994a89
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-18 (Sun, 18 Aug 2024)
Changed paths:
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Add more tests for RISCVISAInfo::checkDependency(). NFC
Commit: 164d1230f78b32647e1a6e948245e75f557a8068
https://github.com/llvm/llvm-project/commit/164d1230f78b32647e1a6e948245e75f557a8068
Author: Pengcheng Wang <wangpengcheng.pp at bytedance.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
Log Message:
-----------
[RISCV] Simplify reserse fixed regs (#104736)
Add a macro to simplify some codes.
Commit: d489b7ccb7b43fe54dfb4b2884d7f1eb2cb5806e
https://github.com/llvm/llvm-project/commit/d489b7ccb7b43fe54dfb4b2884d7f1eb2cb5806e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Merge some ISA error reporting together and make some errors more precise.
Loop over the extension names that have the same error message.
Print the name of Zvk* extensions instead of 'zvk*'.
Commit: 10a4f1ef9e1f30729920d2dd22d75d1002e66d0d
https://github.com/llvm/llvm-project/commit/10a4f1ef9e1f30729920d2dd22d75d1002e66d0d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
Log Message:
-----------
[RISCV] Add helper functions to exploit similarity of some RISCVISAInfo::checkDependency() error strings. NFC
Commit: 371f936c456bca2b2af52f0d7fb9e7c9d1c0a1b7
https://github.com/llvm/llvm-project/commit/371f936c456bca2b2af52f0d7fb9e7c9d1c0a1b7
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
Log Message:
-----------
[RISCV] Make extension names lower case in RISCVISAInfo::checkDependency() error messages.
Commit: 985d64b03accbed8500a85372d716367d89b61be
https://github.com/llvm/llvm-project/commit/985d64b03accbed8500a85372d716367d89b61be
Author: hev <wangrui at loongson.cn>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchMergeBaseOffset.cpp
M llvm/test/CodeGen/LoongArch/can-not-realign-stack.ll
M llvm/test/CodeGen/LoongArch/lasx/build-vector.ll
M llvm/test/CodeGen/LoongArch/lasx/ir-instruction/shuffle-as-xvshuf.ll
M llvm/test/CodeGen/LoongArch/lasx/vselect.ll
M llvm/test/CodeGen/LoongArch/lsx/build-vector.ll
M llvm/test/CodeGen/LoongArch/lsx/ir-instruction/shuffle-as-vshuf.ll
M llvm/test/CodeGen/LoongArch/lsx/vselect.ll
M llvm/test/CodeGen/LoongArch/merge-base-offset.ll
Log Message:
-----------
[LoongArch] Merge base and offset for LSX/LASX memory accesses (#104452)
Commit: 83879f4f5311af334550c54c8279397a8aa33e7b
https://github.com/llvm/llvm-project/commit/83879f4f5311af334550c54c8279397a8aa33e7b
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/CodeGen/Hexagon/block-addr.ll
M llvm/test/DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
M llvm/test/Transforms/SimplifyCFG/sink-and-convert-switch.ll
Log Message:
-----------
[SimplifyCFG] Don't block sinking for allocas if no phi created (#104579)
SimplifyCFG sinking currently does not sink loads/stores of allocas,
because historically SROA was unable to handle the resulting IR. Since
then, SROA both learned to speculate loads/stores over selects and phis,
*and* SimplifyCFG sinking has been deferred to the end of the function
simplification pipeline, which means that SROA happens before it.
As such, I believe that this workaround should no longer be necessary.
Given how sensitive SimplifyCFG sinking seems to be, this patch takes a
very conservative step towards removing this, by allowing sinking if we
don't actually need to form a phi over the pointer argument.
This fixes https://github.com/llvm/llvm-project/issues/104567, where
sinking a store to an escaped alloca allows converting a switch into
arithmetic.
Commit: 5795f9e27390fe5c322853476b3c9ba8376e8541
https://github.com/llvm/llvm-project/commit/5795f9e27390fe5c322853476b3c9ba8376e8541
Author: Matthias Springer <me at m-sp.org>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M mlir/docs/BytecodeFormat.md
Log Message:
-----------
[mlir][docs] Update Bytecode documentation (#99854)
There were some discrepancies between the dialect section documentation
and the implementation.
Commit: cd60d10a10732154d95892219f70f0784f5a2249
https://github.com/llvm/llvm-project/commit/cd60d10a10732154d95892219f70f0784f5a2249
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
Log Message:
-----------
[VPlan] Move some LoopVectorizationPlanner helpers to VPlan.cpp (NFC).
Members not requiring access to LoopVectorizationLegality or
LoopVectorizationCostModel can safely be moved out of the very large
LoopVectorization.cpp and are more accurately placed in VPlan.cpp
Commit: 5ab65a6c1c38eef2a096a6b9231281fb4876c387
https://github.com/llvm/llvm-project/commit/5ab65a6c1c38eef2a096a6b9231281fb4876c387
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/X86/X86ScheduleZnver2.td
M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx1.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx2.s
Log Message:
-----------
[X86] VPERM2*128 instructions aren't microcoded on znver2
This appears to be a copy+paste error from znver1 (which isn't really microcoded either - but it is rather complex!).
Confirmed with Agner + uops.info.
Commit: 9e3e8b5715d01fc7ac6b0bdcd1870f3823f3ab30
https://github.com/llvm/llvm-project/commit/9e3e8b5715d01fc7ac6b0bdcd1870f3823f3ab30
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/X86/X86ScheduleZnver1.td
M llvm/test/tools/llvm-mca/X86/Znver1/resources-avx1.s
M llvm/test/tools/llvm-mca/X86/Znver1/resources-avx2.s
Log Message:
-----------
[X86] VPERM2*128 instructions aren't microcoded on znver1
AMD refer to them as microcoded, but not in the same way as LLVM - the uop count and pipe usage is high but predictable
Confirmed with Agner + uops.info.
Commit: 8b1916b7666ae29c3ca2a196f5d1062e2d51f10f
https://github.com/llvm/llvm-project/commit/8b1916b7666ae29c3ca2a196f5d1062e2d51f10f
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Cleanup lowerShuffleWithUNPCK/PACK signatures to match (most) other lowerShuffle* methods. NFC.
Commit: 9211977d134d81cbc7a24f13e244334484c31b87
https://github.com/llvm/llvm-project/commit/9211977d134d81cbc7a24f13e244334484c31b87
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
A llvm/test/CodeGen/AArch64/sme-darwin-sve-vg.ll
Log Message:
-----------
[AArch64][SME] Return false from produceCompactUnwindFrame if VG save required. (#104588)
The compact unwind format requires all registers are stored in pairs, so
return false from produceCompactUnwindFrame if we require saving VG.
Commit: 63267ca9016aa334b329aa408716456b4e3799c8
https://github.com/llvm/llvm-project/commit/63267ca9016aa334b329aa408716456b4e3799c8
Author: Weining Lu <luweining at loongson.cn>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/test/CodeGen/LoongArch/ir-instruction/load-store-atomic.ll
Log Message:
-----------
[LoongArch] Fix the assertion for atomic store with 'ptr' type
Commit: 065d2d9c60da0214c17a8300385b22be1c26dc70
https://github.com/llvm/llvm-project/commit/065d2d9c60da0214c17a8300385b22be1c26dc70
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
M mlir/test/Dialect/LLVMIR/inlining-alias-scopes.mlir
Log Message:
-----------
[MLIR][LLVM] Improve the noalias propagation during inlining (#104750)
This commit changes the LLVM dialect's inliner interface to properly
propagate noalias information to memory accesses that have different
underlying object. By always introducing an SSACopy intrinsic, it's
possible to understand that specific memory operations are using
unrelated pointers. Previously, the backwards slice walk did continue
beyond the boundary of the original function and failed to reason about
the "underlying objects".
Commit: 740f05545150fb01cfca8c16da50c956b4f30959
https://github.com/llvm/llvm-project/commit/740f05545150fb01cfca8c16da50c956b4f30959
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[VPlan] Rename getBestVF -> computeBestVF (NFC).
As suggested in https://github.com/llvm/llvm-project/pull/103033, more
accurately rename to computeBestVF, as it now does not simply return the
best VF, but directly computes it.
Commit: de5deb7b07db39810c4b07870c75ccc8dccc5fe9
https://github.com/llvm/llvm-project/commit/de5deb7b07db39810c4b07870c75ccc8dccc5fe9
Author: Daniil Kovalev <dkovalev at accesssoftek.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/CodeGen/aarch64-elf-pauthabi.c
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/test/CodeGen/AArch64/note-gnu-property-elf-pauthabi.ll
M llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-feature-pauth.s
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[PAC][ELF][AArch64] Encode several ptrauth features in PAuth core info (#102508)
For llvm_linux platform, define the following meaning for bits 9, 10,
11:
- bit 9: set if indirect gotos signing is enabled;
- bit 10: set if type info vtable pointer discrimination is enabled;
- bit 11: set if function pointer type discrimination is enabled.
Commit: b6d1df2afd0a464f3f37055f16fb9321a3b2eaaf
https://github.com/llvm/llvm-project/commit/b6d1df2afd0a464f3f37055f16fb9321a3b2eaaf
Author: Qiu Chaofan <qiucofan at cn.ibm.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/flags.c
A llvm/test/CodeGen/PowerPC/noredzone.ll
Log Message:
-----------
[PowerPC] Support -mno-red-zone option (#94581)
Commit: cde806b0e63fddcca013536b4bd55e45607205d1
https://github.com/llvm/llvm-project/commit/cde806b0e63fddcca013536b4bd55e45607205d1
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M lld/MachO/SyntheticSections.cpp
Log Message:
-----------
[lld][MachO] Fix a suspicous assert in SyntheticSections.cpp
This was comparing some .size() (uint64_t) against the sizeof a size_t
which changes with system bitness. This produced a warning that
brought this to my attention.
These tests were failing too on 32 bit Arm only:
lld :: MachO/objc-category-merging-complete-test.s
lld :: MachO/objc-category-merging-minimal.s
The assert I think meant to check the value of target->wordSize,
not the size of its type. Which is a type that changes size between
systems.
Commit: 74a512df2bea0f0d1f314c6b8dc33c97f9086336
https://github.com/llvm/llvm-project/commit/74a512df2bea0f0d1f314c6b8dc33c97f9086336
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
M mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
Log Message:
-----------
[mlir][vector] Populate sink patterns in apply_patterns.vector.reduction_to_contract (#104754)
This restores the functionality to before:
https://github.com/llvm/llvm-project/commit/42944da5ba7617bbc02f341e9ef401c325310a73
This fixes a buildbot failure:
https://lab.llvm.org/buildbot/#/builders/143/builds/1487
Commit: 00def06c6e9a0582e85bef5f3a186839c48d1ae2
https://github.com/llvm/llvm-project/commit/00def06c6e9a0582e85bef5f3a186839c48d1ae2
Author: Tim Besard <tim.besard at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Transforms/PassBuilder.h
M llvm/lib/Passes/PassBuilderBindings.cpp
M llvm/unittests/Passes/PassBuilderBindings/PassBuilderBindingsTest.cpp
Log Message:
-----------
[LLVM][NewPM] Add C API for running the pipeline on a single function. (#103773)
By adding a new entrypoint, `LLVMRunPassesOnFunction`, as suggested in
https://discourse.llvm.org/t/newpm-c-api-questions/80598.
Also removes erroneous `LLVMConsumeError`s from the pass builder unit
tests as the string conversion already consumes the error, causing an
abort when the test would fail.
Commit: b8dccb7d56c7e32b549c00a094d1b6ac32a01328
https://github.com/llvm/llvm-project/commit/b8dccb7d56c7e32b549c00a094d1b6ac32a01328
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/unsafe-vf-hint-remark.ll
Log Message:
-----------
[VPlan] Emit note when UserVF > MaxUserVF (NFCI).
As suggested in https://github.com/llvm/llvm-project/pull/103033, add a
remark when the UserVF is ignored due to it being larger than MaxUserVF.
Only changes behavior of diagnostic/debug output.
Commit: abf69a167bbc99054871e3f9cc8810bbebcb6747
https://github.com/llvm/llvm-project/commit/abf69a167bbc99054871e3f9cc8810bbebcb6747
Author: Volodymyr Vasylkun <vvmposeydon at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/test/Transforms/InstCombine/scmp.ll
M llvm/test/Transforms/InstCombine/select-select.ll
M llvm/test/Transforms/InstCombine/ucmp.ll
M llvm/test/Transforms/PhaseOrdering/partialord-ule.ll
Log Message:
-----------
[InstCombine] Fold `(x < y) ? -1 : zext(x != y)` into `u/scmp(x,y)` (#101049)
This patch adds the aforementioned fold to InstCombine. This pattern is
produced after naive implementations of 3-way comparison in high-level
languages are transformed into LLVM IR and then optimized.
Proofs: https://alive2.llvm.org/ce/z/w4QLq_
Commit: f2fcd9cb97f76f34196233fc5c9170fb0905d844
https://github.com/llvm/llvm-project/commit/f2fcd9cb97f76f34196233fc5c9170fb0905d844
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
Log Message:
-----------
[VPlan] Rename getBestPlanFor -> getPlanFor (NFC).
As suggested in https://github.com/llvm/llvm-project/pull/103033, more
accurately rename to getPlanFor , as it simplify returns the VPlan for
VF, relying on the fact that there is a single VPlan for each VF at the
moment.
Commit: 816068e462888f31f4bcf71f2f728eb77ff2ea15
https://github.com/llvm/llvm-project/commit/816068e462888f31f4bcf71f2f728eb77ff2ea15
Author: tcwzxx <tcwzxx at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[NFC][SLP] Remove useless code of the schedule (#104697)
Currently, the SLP schedule has two containers of `ScheduleData`:
`ExtraScheduleDataMap` and `ScheduleDataMap`. However, the
`ScheduleData` in `ExtraScheduleDataMap` is only used to indicate
whether the instruction is processed or not and does not participate in
the schedule, which is useless. `ScheduleDataMap` is sufficient for this
purpose. The `OpValue` member is used only in `ExtraScheduleDataMap`,
which is also useless.
Commit: c6e9493a00d22f2591c5a9c51d9fd34fe5eee5b6
https://github.com/llvm/llvm-project/commit/c6e9493a00d22f2591c5a9c51d9fd34fe5eee5b6
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/test/Analysis/CostModel/X86/icmp-codesize.ll
M llvm/test/Analysis/CostModel/X86/icmp-latency.ll
M llvm/test/Analysis/CostModel/X86/icmp-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/icmp.ll
Log Message:
-----------
[CostModel][X86] Add cost tests for scmp/ucmp intrinsics
Commit: 0cc6b464f8adb739e6f9bcc9bda8cff9bb1f1c2a
https://github.com/llvm/llvm-project/commit/0cc6b464f8adb739e6f9bcc9bda8cff9bb1f1c2a
Author: Piotr Fusik <p.fusik at samsung.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/docs/ExtendingLLVM.rst
Log Message:
-----------
[docs] Update a filename, fix indentation (#103018)
Commit: b05c55472bf7cadcd0e4cb1a669b3474695b0524
https://github.com/llvm/llvm-project/commit/b05c55472bf7cadcd0e4cb1a669b3474695b0524
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/X86/abds-neg.ll
M llvm/test/CodeGen/X86/abds.ll
M llvm/test/CodeGen/X86/abdu-neg.ll
M llvm/test/CodeGen/X86/abdu.ll
Log Message:
-----------
[X86] LowerABD - simplify i32/i64 to use sub+sub+cmov instead of repeating nodes via abs (#102174)
Using X86ISD::SUB nodes directly allows us to drive the X86ISD::CMOV node with exact flags instead of trying to cleanup the generic codegen via ICMP/SUBO nodes.
Commit: 50daa2397f831f3577cf8f9057f047021867dc88
https://github.com/llvm/llvm-project/commit/50daa2397f831f3577cf8f9057f047021867dc88
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/include/llvm/IR/DataLayout.h
M llvm/lib/IR/DataLayout.cpp
M llvm/test/Transforms/InstCombine/crash.ll
M llvm/test/Transforms/InstCombine/phi.ll
M llvm/unittests/IR/DataLayoutTest.cpp
M mlir/test/Target/LLVMIR/Import/import-failure.ll
Log Message:
-----------
[DataLayout] Refactor parsing of i/f/v/a specifications (#104699)
Split off of #104545 to reduce patch size.
Commit: 3e999bbc2ddfc8be7b2d1a250c9905c905e6ce81
https://github.com/llvm/llvm-project/commit/3e999bbc2ddfc8be7b2d1a250c9905c905e6ce81
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/lib/AST/ByteCode/Program.cpp
M clang/test/Modules/merge-using-decls.cpp
Log Message:
-----------
[clang][bytecode] Use first FieldDecl instead of asserting (#104760)
This assertion fails sometimes. We use the first decl for lookup later,
so let's use the first decl here as well.
Commit: 13865b09c6b0c767a8c3d4f49662e6c503260976
https://github.com/llvm/llvm-project/commit/13865b09c6b0c767a8c3d4f49662e6c503260976
Author: David Green <david.green at arm.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/test/Analysis/CostModel/AArch64/arith-fp.ll
Log Message:
-----------
[AArch64] Add fneg(fmul) and fmul(fneg) tests. NFC
Commit: c6605a08681309188fa260a409bf5d37400876a0
https://github.com/llvm/llvm-project/commit/c6605a08681309188fa260a409bf5d37400876a0
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/lib/AST/ByteCode/MemberPointer.cpp
M clang/test/AST/ByteCode/memberpointers.cpp
Log Message:
-----------
[clang][bytecode] Fix member pointers to IndirectFieldDecls (#104756)
Commit: a567d4598755219e535eb04d21b43c3624526714
https://github.com/llvm/llvm-project/commit/a567d4598755219e535eb04d21b43c3624526714
Author: Hans Wennborg <hans at chromium.org>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M compiler-rt/test/ubsan/TestCases/Integer/bit-int.c
Log Message:
-----------
Require !windows instead of XFAIL'ing ubsan/TestCases/Integer/bit-int.c
The test would unexpectedly pass on Windows when there's 128-bit runtime
routines available. See comment on #104494
Commit: 3188e9b4e0f106abd683829906a21a98655bb794
https://github.com/llvm/llvm-project/commit/3188e9b4e0f106abd683829906a21a98655bb794
Author: Julian Brown <julian.brown at amd.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaOpenMP.cpp
A clang/test/OpenMP/loop_collapse_1.c
A clang/test/OpenMP/loop_collapse_2.cpp
Log Message:
-----------
[clang][OpenMP] Diagnose badly-formed collapsed imperfect loop nests (#60678) (#101305)
This patch fixes a couple of cases where Clang aborts with loop nests
that are being collapsed (via the relevant OpenMP clause) into a new,
combined loop.
The problematic cases happen when a variable declared within the loop
nest is used in the (init, condition, iter) statement of a more
deeply-nested loop. I don't think these cases (generally?) fall under
the non-rectangular loop nest rules as defined in OpenMP 5.0+, but I
could be wrong (and anyway, emitting an error is better than crashing).
In terms of implementation: the crash happens because (to a first
approximation) all the loop bounds calculations are pulled out to the
start of the new, combined loop, but variables declared in the loop nest
"haven't been seen yet". I believe there is special handling for
iteration variables declared in "for" init statements, but not for
variables declared elsewhere in the "imperfect" parts of a loop nest.
So, this patch tries to diagnose the troublesome cases before they can
cause a crash. This is slightly awkward because at the point where we
want to do the diagnosis (SemaOpenMP.cpp), we don't have scope
information readily available. Instead we "manually" scan through the
AST of the loop nest looking for var decls (ForVarDeclFinder), then we
ensure we're not using any of those in loop control subexprs
(ForSubExprChecker). All that is only done when we have a "collapse"
clause.
Range-for loops can also cause crashes at present without this patch, so
are handled too.
Commit: 7efa068f7a7ed4f42ba09cce73e8c09bb8b4e8ce
https://github.com/llvm/llvm-project/commit/7efa068f7a7ed4f42ba09cce73e8c09bb8b4e8ce
Author: Michael Maitland <michaeltmaitland at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
M llvm/test/tools/llvm-mca/RISCV/SiFiveP400/load.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vislide-vx.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vlseg-vsseg.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vmv.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vreduce.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vrgather.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vshift-vmul.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvbb.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvbc.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvkg.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvkned.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvknhb.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvksed.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvksh.s
Log Message:
-----------
[RISCV] Add vector and vector crypto to SiFiveP400 scheduler model (#102155)
The SiFiveP400 scheduler model did not support vector or vector crypto.
With the addition of the sifive-p470 processor, this model needs to support
these extensions.
The processors who use this model but do not have vector or vector
crypto will never produce these instructions, so there is no impact to these
processors.
Co-authored-by: Min Hsu <min.hsu at sifive.com>
Commit: ea28668f8c980c9987b0e2f305b0a8eff9797401
https://github.com/llvm/llvm-project/commit/ea28668f8c980c9987b0e2f305b0a8eff9797401
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/multi-tile-matmul-mixed-types.mlir
M mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-i8i8i32.mlir
Log Message:
-----------
[mlir][ArmSME] Remove XFAILs (#104758)
Buildbots have been updated to QEMU 9.0.2:
https://github.com/llvm/llvm-project/pull/104758#issuecomment-2296592845
Commit: 4f083c0a2cb1d19942406f7e6e97ae47e8ac91b1
https://github.com/llvm/llvm-project/commit/4f083c0a2cb1d19942406f7e6e97ae47e8ac91b1
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/test/DebugInfo/COFF/AArch64/arm64-register-variables.ll
M llvm/test/DebugInfo/COFF/ARMNT/arm-register-variables.ll
Log Message:
-----------
[DebugInfo] Make tests SimplifyCFG-independent (NFC)
Run SimplifyCFG over the test input and disable the SimplifyCFG
run in the backend, so that these tests are not affected by changes
to SimplifyCFG.
Commit: 79f6ae05c139d3d5b6446f8a265a3c6e3f5b18f8
https://github.com/llvm/llvm-project/commit/79f6ae05c139d3d5b6446f8a265a3c6e3f5b18f8
Author: smanna12 <soumi.manna at intel.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/lib/AST/ASTContext.cpp
Log Message:
-----------
[Clang][NFC] Fix potential null dereference in encodeTypeForFunctionPointerAuth (#104737)
This patch replaces getAs with castAs in
encodeTypeForFunctionPointerAuth to prevent dereferencing a potential
null pointer, enhancing type safety as reported by static analyzer tool.
Commit: c60da1a271a6bb271e7703b2f7c71fbece67ab78
https://github.com/llvm/llvm-project/commit/c60da1a271a6bb271e7703b2f7c71fbece67ab78
Author: Daniel Grumberg <dgrumberg at apple.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/include/clang/ExtractAPI/API.h
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
M clang/lib/ExtractAPI/API.cpp
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
M clang/test/ExtractAPI/anonymous_record_no_typedef.c
Log Message:
-----------
[clang][ExtractAPI] Stop dropping fields of nested anonymous record types when they aren't attached to variable declaration (#104600)
- Introduce primitives for removing records from `APISet` and managing
the record chain of `RecordContext`
- Detect nested anonymous record types and remove them from the `APISet`
after they have been fully traversed and transfer ownership of child
records to the parent context (if any)
Commit: a566635915730e6720e1b341f014c7c62af748bf
https://github.com/llvm/llvm-project/commit/a566635915730e6720e1b341f014c7c62af748bf
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
R llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.cpp
R llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.h
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/AMDGPU/CMakeLists.txt
M llvm/lib/Target/AMDGPU/R600TargetMachine.cpp
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
Log Message:
-----------
[AMDGPU] Move AMDGPUCodeGenPassBuilder into AMDGPUTargetMachine(NFC) (#103720)
This will allow us to reuse the existing flags and the static
functions while building the pipeline for new pass manager.
Commit: 7dd6340bdadf86bd0facdea89d1876a5c36dc33b
https://github.com/llvm/llvm-project/commit/7dd6340bdadf86bd0facdea89d1876a5c36dc33b
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/include/llvm/Support/MathExtras.h
M llvm/unittests/Support/MathExtrasTest.cpp
Log Message:
-----------
MathExtras: template'ize alignToPowerOf2 (#97814)
Follow up on 5627794 (MathExtras: avoid unnecessarily widening types) to
change the overflow behavior of alignToPowerOf2 to only overflow if the
result is not representable in the return type. This allows us to
template'ize it, and avoid unnecessarily widening the types of
arguments.
Commit: b18b4547f1bfaf6da37b29440a96176e807c2e6c
https://github.com/llvm/llvm-project/commit/b18b4547f1bfaf6da37b29440a96176e807c2e6c
Author: Daniel Grumberg <dgrumberg at apple.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/include/clang/ExtractAPI/API.h
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
M clang/lib/ExtractAPI/API.cpp
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
M clang/test/ExtractAPI/anonymous_record_no_typedef.c
Log Message:
-----------
Revert "[clang][ExtractAPI] Stop dropping fields of nested anonymous record types when they aren't attached to variable declaration (#104600)"
This reverts commit c60da1a271a6bb271e7703b2f7c71fbece67ab78.
Commit: a449b857241dd29a1164c483d3ee73612e45cbb4
https://github.com/llvm/llvm-project/commit/a449b857241dd29a1164c483d3ee73612e45cbb4
Author: Christudasan Devadasan <christudasan.devadasan at amd.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/CMakeLists.txt
R llvm/lib/Target/AMDGPU/R600CodeGenPassBuilder.cpp
R llvm/lib/Target/AMDGPU/R600CodeGenPassBuilder.h
M llvm/lib/Target/AMDGPU/R600ISelLowering.cpp
M llvm/lib/Target/AMDGPU/R600TargetMachine.cpp
M llvm/lib/Target/AMDGPU/R600TargetMachine.h
Log Message:
-----------
[AMDGPU][R600] Move R600CodeGenPassBuilder into R600TargetMachine(NFC). (#103721)
Commit: b64e7e07e544d62ab132fc9f5c4153d4807a5fa3
https://github.com/llvm/llvm-project/commit/b64e7e07e544d62ab132fc9f5c4153d4807a5fa3
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/test/Transforms/SimplifyCFG/hoist-common-code.ll
Log Message:
-----------
[SimplifyCFG] Add tests for hoisting of commutative instructions (NFC)
Commit: b1d75fe48c940ba677614db3d891fbebcb8a41a2
https://github.com/llvm/llvm-project/commit/b1d75fe48c940ba677614db3d891fbebcb8a41a2
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M lldb/unittests/Callback/TestBreakpointSetCallback.cpp
Log Message:
-----------
[lldb][test] Fix cast dropping const warnin in TestBreakpointSetCallback.cpp
When building with gcc I get this warning:
```
<...>TestBreakpointSetCallback.cpp:58:25: warning: cast from type ‘const char*’ to type ‘void*’ casts away qualifiers [-Wcast-qual]
58 | void *baton = (void *)"hello";
| ^~~~~~~
```
Use the address of a mutable global variable instead. All we care about
is that the address passed as the baton is the same one we get later.
Commit: c7a54bfd1d25330199c96dd0a46cef1644b1b1ce
https://github.com/llvm/llvm-project/commit/c7a54bfd1d25330199c96dd0a46cef1644b1b1ce
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
Log Message:
-----------
[lldb][ASTUtils] Remove unused SemaSourceWithPriorities::addSource API
As far as I can tell, this has always been unused. My hunch is that
this was supposed to mimick the `MultiplexExternalSemaSource::AddSource`
API which `SemaSourceWithPriorities` is based on.
Commit: 0abb7791614947bc24931dd851ade31d02496977
https://github.com/llvm/llvm-project/commit/0abb7791614947bc24931dd851ade31d02496977
Author: Wesley Wiser <wwiser at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
M llvm/lib/Target/X86/X86FrameLowering.cpp
M llvm/lib/Target/X86/X86RegisterInfo.cpp
M llvm/lib/Target/X86/X86RegisterInfo.h
A llvm/test/CodeGen/X86/avx512f-large-stack.ll
M llvm/test/CodeGen/X86/huge-stack.ll
M llvm/test/CodeGen/X86/win64-stackprobe-overflow.ll
Log Message:
-----------
[LLVM] [X86] Fix integer overflows in frame layout for huge frames (#101840)
Fix 32-bit integer overflows in the X86 target frame layout when dealing
with frames larger than 4gb. When this occurs, we'll scavenge a scratch
register to be able to hold the correct stack offset for frame locals.
This completes reapplying #84114.
Fixes #48911
Fixes #75944
Fixes #87154
Commit: 576aa3a50960f02e4dfe2d6ed2c55aa66006adcf
https://github.com/llvm/llvm-project/commit/576aa3a50960f02e4dfe2d6ed2c55aa66006adcf
Author: Akshat Oke <76596238+Akshat-Oke at users.noreply.github.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/TableGen/TGParser.cpp
M llvm/test/TableGen/dump.td
Log Message:
-----------
[TableGen] Resolve References at top level (#104578)
Add a dummy resolver to resolve references outside records. This invokes
Fold() with isFinal to force resolution.
Fixes #102447
Co-authored-by: Akshat Oke <Akshat.Oke at amd.com>
Commit: 08201cb4245b0a03e1af664e00a22ea4db1fc2fb
https://github.com/llvm/llvm-project/commit/08201cb4245b0a03e1af664e00a22ea4db1fc2fb
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M lldb/unittests/Disassembler/x86/TestGetControlFlowKindx86.cpp
Log Message:
-----------
[lldb][test] Fix GCC warnings in TestGetControlFlowKindX86.cpp
```
<...>/TestGetControlFlowKindx86.cpp:148:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
148 | if (kind == eInstructionControlFlowKindReturn)
| ^
```
Usually llvm is a "no braces for single line body" project but
for whatever reason gcc objects to it here. Perhaps because it's
within a for loop.
Added the newlines just for readability.
Commit: 8d165136ac36a53e51b50c620a12039d6c1e628e
https://github.com/llvm/llvm-project/commit/8d165136ac36a53e51b50c620a12039d6c1e628e
Author: meehatpa <gune30 at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
M mlir/test/Conversion/MathToSPIRV/math-to-gl-spirv.mlir
M mlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir
Log Message:
-----------
[mlir][[spirv] Add support for math.log2 and math.log10 to GLSL/OpenCL SPIRV Backends (#104608)
As log2 and log10 are not available in spirv, realize them as a
decomposition using spirv.CL.log/spirv.GL.Log.
Commit: 7a06ebdeb6440d80fbcaeccd33314c6e039c6795
https://github.com/llvm/llvm-project/commit/7a06ebdeb6440d80fbcaeccd33314c6e039c6795
Author: Fred Grim <fgrim at apple.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M lldb/unittests/Process/elf-core/ThreadElfCoreTest.cpp
Log Message:
-----------
[lldb] PopulatePrpsInfoTest can fail due to hardcoded priority value (#104617)
In implementing this test one of the assertions assumes that the
priority is the default in linux (0) but, evidently, some of the build
runners prioritize the test to, at least, 5. This ensures that
regardless of the priority the test passes by validating that its the
process's priority
```
fgrim at host001 :~/llvm-project/debug_build> nice -n 15 tools/lldb/unittests/Process/elf-core/ProcessElfCoreTests
[==========] Running 2 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 2 tests from ElfCoreTest
[ RUN ] ElfCoreTest.PopulatePrpsInfoTest
[ OK ] ElfCoreTest.PopulatePrpsInfoTest (4 ms)
[ RUN ] ElfCoreTest.PopulatePrStatusTest
[ OK ] ElfCoreTest.PopulatePrStatusTest (3 ms)
[----------] 2 tests from ElfCoreTest (7 ms total)
[----------] Global test environment tear-down
[==========] 2 tests from 1 test suite ran. (8 ms total)
[ PASSED ] 2 tests.
===(10:03)===
fgrim at host001 :~/llvm-project/debug_build>
```
Commit: d27278a835ba9110b5bf775852b1a407d1c2bc62
https://github.com/llvm/llvm-project/commit/d27278a835ba9110b5bf775852b1a407d1c2bc62
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/test/AST/ByteCode/codegen.cpp
Log Message:
-----------
[clang][bytecode] Discard NullToPointer cast SubExpr (#104782)
So we still properly abort if they fail.
Commit: fade54ac6608255e9b3c425432871f177236d6e8
https://github.com/llvm/llvm-project/commit/fade54ac6608255e9b3c425432871f177236d6e8
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
Log Message:
-----------
[gn build] Port a449b857241d
Commit: c6d6186b586f4249e393910b099815e616138cde
https://github.com/llvm/llvm-project/commit/c6d6186b586f4249e393910b099815e616138cde
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/BUILD.gn
Log Message:
-----------
[gn build] Port a56663591573
Commit: 0ee0857363aadf9ce0f403e7e0da10f0a9d94887
https://github.com/llvm/llvm-project/commit/0ee0857363aadf9ce0f403e7e0da10f0a9d94887
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
Log Message:
-----------
[lldb][Python] Silence GCC warning for modules error workaround
```
lldb-python.h:16:30: warning: ‘g_fcxx_modules_workaround’ defined but not used [-Wunused-variable]
16 | static llvm::Expected<bool> *g_fcxx_modules_workaround;
|
```
Workaround originally added in 36cb29cbbe1b22dcd298ad65e1fabe899b7d7249.
Commit: 42386dc46d8217b2dfed8dfc41afeec366ec2015
https://github.com/llvm/llvm-project/commit/42386dc46d8217b2dfed8dfc41afeec366ec2015
Author: Phil Camp <phil.camp at sony.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
A llvm/test/tools/llvm-mca/JSON/X86/views-bottleneck.s
M llvm/test/tools/llvm-mca/JSON/X86/views-custom-parameters.s
M llvm/test/tools/llvm-mca/JSON/X86/views-multiple-anonymous-regions.s
M llvm/test/tools/llvm-mca/JSON/X86/views-multiple-region.s
M llvm/test/tools/llvm-mca/JSON/X86/views.s
M llvm/tools/llvm-mca/Views/BottleneckAnalysis.cpp
M llvm/tools/llvm-mca/Views/BottleneckAnalysis.h
Log Message:
-----------
[llvm-mca] Add bottle-neck analysis to JSON output. (#90056)
This patch implements the bottle-neck analysis data in the JSON dump
mode.
Commit: f95026dbf66e353128a3a3d7b55f3e52d5985535
https://github.com/llvm/llvm-project/commit/f95026dbf66e353128a3a3d7b55f3e52d5985535
Author: Lei Huang <lei at ca.ibm.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/lib/CodeGen/ABIInfoImpl.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
A clang/test/CodeGen/PowerPC/transparent_union.c
Log Message:
-----------
[PowerPC] Fix codegen for transparent_union function params (#101738)
Update codegen for func param with transparent_union attr to be that of
the first union member.
PPC fix for: https://github.com/llvm/llvm-project/issues/76773
Commit: a3fea0643da544b2e5d5c48f2ea942dad22d01f2
https://github.com/llvm/llvm-project/commit/a3fea0643da544b2e5d5c48f2ea942dad22d01f2
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/SmallPtrSet.h
M llvm/lib/Support/SmallPtrSet.cpp
Log Message:
-----------
[SmallPtrSet] Optimize find/erase
Port #100517 for DenseMap.
Pull Request: https://github.com/llvm/llvm-project/pull/104740
Commit: e9b2e16dc98345bb1b91b1a6dacb3cec85f49e31
https://github.com/llvm/llvm-project/commit/e9b2e16dc98345bb1b91b1a6dacb3cec85f49e31
Author: eddyz87 <eddyz87 at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/lib/CodeGen/CGCall.cpp
A clang/test/CodeGen/bpf-attr-bpf-fastcall-1.c
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
A clang/test/Sema/bpf-attr-bpf-fastcall.c
M llvm/lib/Target/BPF/BPFCallingConv.td
M llvm/lib/Target/BPF/BPFISelLowering.cpp
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/lib/Target/BPF/BPFMIPeephole.cpp
M llvm/lib/Target/BPF/BPFRegisterInfo.cpp
M llvm/lib/Target/BPF/BPFRegisterInfo.h
A llvm/test/CodeGen/BPF/bpf-fastcall-1.ll
A llvm/test/CodeGen/BPF/bpf-fastcall-2.ll
A llvm/test/CodeGen/BPF/bpf-fastcall-3.ll
A llvm/test/CodeGen/BPF/bpf-fastcall-regmask-1.ll
Log Message:
-----------
[BPF] introduce `__attribute__((bpf_fastcall))` (#101228)
This commit introduces attribute bpf_fastcall to declare BPF functions
that do not clobber some of the caller saved registers (R0-R5).
The idea is to generate the code complying with generic BPF ABI, but
allow compatible Linux Kernel to remove unnecessary spills and fills of
non-scratched registers (given some compiler assistance).
For such functions do register allocation as-if caller saved registers
are not clobbered, but later wrap the calls with spill and fill patterns
that are simple to recognize in kernel.
For example for the following C code:
#define __bpf_fastcall __attribute__((bpf_fastcall))
void bar(void) __bpf_fastcall;
void buz(long i, long j, long k);
void foo(long i, long j, long k) {
bar();
buz(i, j, k);
}
First allocate registers as if:
foo:
call bar # note: no spills for i,j,k (r1,r2,r3)
call buz
exit
And later insert spills fills on the peephole phase:
foo:
*(u64 *)(r10 - 8) = r1; # Such call pattern is
*(u64 *)(r10 - 16) = r2; # correct when used with
*(u64 *)(r10 - 24) = r3; # old kernels.
call bar
r3 = *(u64 *)(r10 - 24); # But also allows new
r2 = *(u64 *)(r10 - 16); # kernels to recognize the
r1 = *(u64 *)(r10 - 8); # pattern and remove spills/fills.
call buz
exit
The offsets for generated spills/fills are picked as minimal stack
offsets for the function. Allocated stack slots are not used for any
other purposes, in order to simplify in-kernel analysis.
Corresponding functionality had been merged in Linux Kernel as
[this](https://lore.kernel.org/bpf/172179364482.1919.9590705031832457529.git-patchwork-notify@kernel.org/)
patch set (the patch assumed that `no_caller_saved_regsiters` attribute
would be used by LLVM, naming does not matter for the Kernel).
Commit: 9b65558d2f20463b1a32374165d6fa06696623e9
https://github.com/llvm/llvm-project/commit/9b65558d2f20463b1a32374165d6fa06696623e9
Author: Sam Elliott <quic_aelliott at quicinc.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M lld/ELF/LinkerScript.cpp
M lld/test/ELF/riscv-section-layout.s
M lld/test/ELF/section-name.s
Log Message:
-----------
[lld][ELF] Combine uniqued small data sections (#104485)
RISC-V GCC with `-fdata-sections` will emit `.sbss.<name>`,
`.srodata.<name>`, and `.sdata.<name>` sections for small data items of
different kinds. Clang/LLVM already emits `.srodata.*` sections, and we
intend to emit the other two section name patterns in #87040.
This change ensures that any input sections starting `.sbss` are
combined into one output section called `.sbss`, and the same
respectively for `.srodata` and `.sdata`. This also allows the existing
RISC-V specific code for determining an output order for `.sbss` and
`.sdata` sections to apply to placing the sections.
Commit: 93d0f82272dc230ff4d53d48c43b2f1518754a7b
https://github.com/llvm/llvm-project/commit/93d0f82272dc230ff4d53d48c43b2f1518754a7b
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/docs/CodeReview.rst
Log Message:
-----------
[docs] Add note about "Re-request review" (#104735)
Commit: 7d60f4648b9f794b8965b84a7a5641dfc5e07fae
https://github.com/llvm/llvm-project/commit/7d60f4648b9f794b8965b84a7a5641dfc5e07fae
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
Log Message:
-----------
[DirectX] Differentiate between 0/1 overloads in the OpBuilder. NFC
DXIL operations that only have one signature behave one of two ways - either
they are always suffixed with a type like `dx.op.ThreadId.i32` and hence have
exactly one overload, or they're never suffixed like `dx.op.CreateHandle` and
hence have zero overloads.
Update DXIL.td for operations that have one overload and remove the hack in the
builder that was adjusting names for unoverloaded ops.
Pull Request: https://github.com/llvm/llvm-project/pull/104246
Commit: 6bb5a0b171e22ef0a17ae8bf9bf4a3f7ad682901
https://github.com/llvm/llvm-project/commit/6bb5a0b171e22ef0a17ae8bf9bf4a3f7ad682901
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Sema/SemaTemplate.cpp
A clang/test/SemaTemplate/explicit-instantiation-cxx20.cpp
Log Message:
-----------
[Clang] Check constraints for an explicit instantiation of a member function (#104438)
Because there may be multiple constrained function of the same type, we
need to perform overload resolution to find the best viable function to
specialize.
Fixes #46029
Commit: f357fe371d3f752878abf1fb1d5fb550e2650c8e
https://github.com/llvm/llvm-project/commit/f357fe371d3f752878abf1fb1d5fb550e2650c8e
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/docs/DirectX/DXILOpTableGenDesign.rst
M llvm/include/llvm/Support/DXILABI.h
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILConstants.h
M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
M llvm/utils/TableGen/DXILEmitter.cpp
Log Message:
-----------
[DirectX] Disentangle DXIL.td's op types from LLVMType. NFC
LLVMType is both too broad and too narrow for defining DXIL operations, in
different ways. It's too broad in the sense that we don't need the full set of
MVTs - the set of types DXIL operations work on is much smaller. It's too
narrow in the sense that it's difficult to use it for the various fixed
structure types in DXIL, like `%dx.types.Handle` or `%dx.Types.ResRet.f32`.
Replace the usage of LLVMType in DXIL.td with DXILOpParamType, a simple class
that we can define an enum of types from. Further, use this to replace the
"ParameterKind" enum in DXILABI.h that has nothing to do with DXIL's ABI.
Pull Request: https://github.com/llvm/llvm-project/pull/104247
Commit: 340fb6597116acf026a8ac49edca4d993fb1d7f3
https://github.com/llvm/llvm-project/commit/340fb6597116acf026a8ac49edca4d993fb1d7f3
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/TableGen/TGLexer.cpp
A llvm/test/TableGen/invalid-macro-name-command-line.td
Log Message:
-----------
[TableGen] Detect invalid -D arguments and fail (#102813)
- Detect invalid macro names specified on command line and fail if one
found.
- Specifically, -DXYZ=1 for example, will fail instead is being silently
accepted.
Commit: 2258bc429b6f76ade78059f3c4f6c7c77f93a996
https://github.com/llvm/llvm-project/commit/2258bc429b6f76ade78059f3c4f6c7c77f93a996
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll
Log Message:
-----------
[AMDGPU] Simplify, fix and improve known bits for mbcnt (#104768)
Simplify by using KnownBits::add.
Fix GlobalISel path which was ignoring the known bits of src1.
Improve analysis of mbcnt.hi which adds at most 31 even in wave64.
Commit: 564bd206588d330211914ba2e94bd13caa4e0431
https://github.com/llvm/llvm-project/commit/564bd206588d330211914ba2e94bd13caa4e0431
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-addrspacecast.mir
Log Message:
-----------
[AMDGPU][GlobalISel] Save a copy in one case of addrspacecast (#104789)
Refactor legalization of addrspacecast local/private -> flat to avoid
building a copy in the nonnull case.
Commit: 2575ea6e17889e6d83198fc1c80963f81485bfcc
https://github.com/llvm/llvm-project/commit/2575ea6e17889e6d83198fc1c80963f81485bfcc
Author: Samira Bazuzi <bazuzi at google.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
M clang/unittests/Analysis/FlowSensitive/ASTOpsTest.cpp
Log Message:
-----------
[clang][dataflow] Collect local variables referenced within a functio… (#104459)
…n/statement.
We don't need these for the same in-tree purposes as the other sets,
i.e. for making sure we model these Decls that are declared outside the
function, but we have an out-of-tree use for these sets that would
benefit from this simple addition and would avoid duplicating so much of
this code.
Commit: 7f968e3aea41264a952692a4bf32e5e2b612d44e
https://github.com/llvm/llvm-project/commit/7f968e3aea41264a952692a4bf32e5e2b612d44e
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
Log Message:
-----------
[RISCV] Improve BCLRITwoBitsMaskHigh SDNodeXForm. NFC
Use getZExtValue instead of getSExtValue since we are going to
overwrite the sign extension on RV32. getZExtValue should be cheaper than
getSExtValue.
Use maskLeadingOnes to improve readability.
Commit: 865952bbbb97655410d2c34c21938134059c4076
https://github.com/llvm/llvm-project/commit/865952bbbb97655410d2c34c21938134059c4076
Author: Sergey Kozub <skozub at nvidia.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/include/clang/Basic/BuiltinsNVPTX.def
M clang/test/CodeGen/builtins-nvptx.c
M llvm/include/llvm/IR/IntrinsicsNVVM.td
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
A llvm/test/CodeGen/NVPTX/convert-sm89.ll
Log Message:
-----------
[NVPTX] Add conversion intrinsics from/to fp8 types (e4m3, e5m2) (#102969)
PTX ISA 8.1 supports FP8 conversions:
https://docs.nvidia.com/cuda/parallel-thread-execution/#data-movement-and-conversion-instructions-cvt
This PR adds the support for:
- cvt.rn.satfinite{.relu}.f8x2type.f32 d, a, b;
- cvt.rn.satfinite{.relu}.f8x2type.f16x2 d, a;
- cvt.rn.{.relu}.f16x2.f8x2type d, a;
where .f8x2type = { .e4m3x2, .e5m2x2 };
Commit: 4e332bba2f3a51966817088cb4dc4a9188955b64
https://github.com/llvm/llvm-project/commit/4e332bba2f3a51966817088cb4dc4a9188955b64
Author: Thurston Dang <thurston at google.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M compiler-rt/lib/asan/asan_allocator.h
Log Message:
-----------
[asan] Change Apple back to fixed allocator base address (#104818)
This partially reverts https://github.com/llvm/llvm-project/pull/98511
- specifically, the SANITIZER_APPLE case - because of a suspected
breakage for clang on Mac
(https://g-issues.chromium.org/issues/360160858;
https://github.com/llvm/llvm-project/pull/98511#issuecomment-2296749757).
Commit: e306db0ff0d348da49b44bd0bcae3df5bf8f02a9
https://github.com/llvm/llvm-project/commit/e306db0ff0d348da49b44bd0bcae3df5bf8f02a9
Author: Daniel Chen <cdchen at ca.ibm.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M flang/test/Semantics/kinds04_q16.f90
Log Message:
-----------
[Flang] Fix test case for AIX(big-endian) system for issuing an extra message. (#104792)
The 10-byte FP on big-endian system such as AIX is not represented as a
valid number in FE, so Flang issues an extra WARNING message as
`underflow on REAL(10) to REAL(4) conversion` for `_10` for such a
number.
This PR is to fix the test case.
Commit: d5617ada36705e871f329a7b0efb19ce6e6e2a1f
https://github.com/llvm/llvm-project/commit/d5617ada36705e871f329a7b0efb19ce6e6e2a1f
Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
A compiler-rt/test/nsan/stable_sort.cpp
A compiler-rt/test/nsan/swap.cpp
Log Message:
-----------
[compiler-rt][nsan] Add more tests for shadow memory (#100906)
Add more tests for shadow memory.
Commit: 05d17a1c705e1053f95b90aa37d91ce4f94a9287
https://github.com/llvm/llvm-project/commit/05d17a1c705e1053f95b90aa37d91ce4f94a9287
Author: David Green <david.green at arm.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/Target/ARM/ARMCallLowering.cpp
M llvm/lib/Target/ARM/ARMCallLowering.h
A llvm/test/CodeGen/AArch64/GlobalISel/endian_fallback.ll
M llvm/test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll
M llvm/test/CodeGen/ARM/GlobalISel/arm-param-lowering.ll
Log Message:
-----------
[GlobalISel] Bail out early for big-endian (#103310)
If we continue through the function we can currently hit crashes. We can
bail out early and fall back to SDAG.
Fixes #103032
Commit: dde8280ded53f7167dcd2e8f6c50d7c9b5796a10
https://github.com/llvm/llvm-project/commit/dde8280ded53f7167dcd2e8f6c50d7c9b5796a10
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVNonUniformOps.td
M mlir/lib/Dialect/SPIRV/IR/GroupOps.cpp
M mlir/test/Dialect/SPIRV/IR/non-uniform-ops.mlir
Log Message:
-----------
[mlir][spirv] Add `GroupNonUniformBallotFindLSB` and `GroupNonUniformBallotFindMSB` ops (#104791)
Commit: 51785856ec5fb6c3f17834b212086d9fc7183868
https://github.com/llvm/llvm-project/commit/51785856ec5fb6c3f17834b212086d9fc7183868
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/include/llvm/Transforms/Instrumentation.h
M llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
Log Message:
-----------
[NFC][Instrumentation] Use `Twine` in `createPrivateGlobalForString` (#104726)
Commit: f76b9b7e9480d1bb116075593495db287f4c668c
https://github.com/llvm/llvm-project/commit/f76b9b7e9480d1bb116075593495db287f4c668c
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/test/Instrumentation/AddressSanitizer/global_metadata_array.ll
M llvm/test/Instrumentation/AddressSanitizer/global_with_comdat.ll
Log Message:
-----------
[NFC][asan] Don't `cd` after `split-file` (#104727)
Helps with copy-pasting of command line
with error.
Commit: 5e8f4618ce9502190fac96eb8a856146acce2a3a
https://github.com/llvm/llvm-project/commit/5e8f4618ce9502190fac96eb8a856146acce2a3a
Author: Eduard Zingerman <eddyz87 at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/lib/CodeGen/CGCall.cpp
R clang/test/CodeGen/bpf-attr-bpf-fastcall-1.c
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
R clang/test/Sema/bpf-attr-bpf-fastcall.c
M llvm/lib/Target/BPF/BPFCallingConv.td
M llvm/lib/Target/BPF/BPFISelLowering.cpp
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/lib/Target/BPF/BPFMIPeephole.cpp
M llvm/lib/Target/BPF/BPFRegisterInfo.cpp
M llvm/lib/Target/BPF/BPFRegisterInfo.h
R llvm/test/CodeGen/BPF/bpf-fastcall-1.ll
R llvm/test/CodeGen/BPF/bpf-fastcall-2.ll
R llvm/test/CodeGen/BPF/bpf-fastcall-3.ll
R llvm/test/CodeGen/BPF/bpf-fastcall-regmask-1.ll
Log Message:
-----------
Revert "[BPF] introduce `__attribute__((bpf_fastcall))` (#101228)"
This reverts commit e9b2e16dc98345bb1b91b1a6dacb3cec85f49e31.
Reverting because of the test failure:
https://lab.llvm.org/buildbot/#/builders/187/builds/509
Commit: 92a8ec7abbd853e89556c7b942f30054273af9c6
https://github.com/llvm/llvm-project/commit/92a8ec7abbd853e89556c7b942f30054273af9c6
Author: Ramkumar Ramachandra <ramkumar.ramachandra at codasip.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
Log Message:
-----------
LSV: fix style after cursory reading (NFC) (#104793)
Commit: 22b4496e86c32127e997f3e7385ef64d2d80cc4b
https://github.com/llvm/llvm-project/commit/22b4496e86c32127e997f3e7385ef64d2d80cc4b
Author: Dmitry Yanovsky <kerambyte at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/FunctionExtras.h
M llvm/unittests/ADT/FunctionExtrasTest.cpp
Log Message:
-----------
[ADT] Fix alignment check in unique_function constructor (#99403)
Right now the check fails for any state-capturing lambda since this
expression - `alignof(decltype(StorageUnion.InlineStorage))` - returns 1
for the alignment value and not 4/8 as expected
([MSVC|Clang|GCC](https://godbolt.org/z/eTEdq4xjM)). So this check fails
for pretty much any state-capturing callable we try to store into a
`unique_function` and we take the out-of-line storage path:
\llvm-project\llvm\include\llvm\ADT\FunctionExtras.h,
`UniqueFunctionBase` constructor (line ~266):
```
if (sizeof(CallableT) > InlineStorageSize ||
alignof(CallableT) > alignof(decltype(StorageUnion.InlineStorage))) {
// ...
}
```
The fix is simply to use an explicit const variable to store the
alignment value.
There is no easy way to unit-test the fix since inline storage is
considered to be an implementation detail so we shouldn't assume how the
lambda ends up being stored.
Commit: 3b80a28c8f27536f49e5fa30a7e2b7050bad6cd6
https://github.com/llvm/llvm-project/commit/3b80a28c8f27536f49e5fa30a7e2b7050bad6cd6
Author: Amr Hesham <amr96 at programmer.net>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M mlir/lib/Target/SPIRV/SPIRVBinaryUtils.cpp
Log Message:
-----------
[mlir][spirv] Fix incorrect metadata in SPIR-V Header (#104242)
SRIP-V Generator Magic Number is a 32 bit word: The high order 16 bits
are a tool ID. The low order 16 bits are for verion number, currently
the tool id is not on the high order 16 bit so it must shifed
fixes: #99071
Commit: 7597e0930638e0a20ca9bfc193a3d89575ce4469
https://github.com/llvm/llvm-project/commit/7597e0930638e0a20ca9bfc193a3d89575ce4469
Author: Amr Hesham <amr96 at programmer.net>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Driver/Options.td
M clang/test/Parser/parser_overflow.c
Log Message:
-----------
[clang] Increase the default expression nesting limit (#104717)
Increase the default expression nesting limit from 256 to 1024
Fixes: #94728
Compile time with different Bracket depth
Clang version 20.0.0git
(https://github.com/AmrDeveloper/llvm-project.git
673b9e08de8a661c9deed2ee497889312f059f3d)
Target: arm64-apple-darwin23.5.0
Bracket depth = 256, time = 0.243
Bracket depth = 512, time = 0.329
Bracket depth = 1024, time = 0.489
Bracket depth = 2048, time = 0.851
Commit: 4c967afcc6f3a109e8a325a0327f869c4bfc57c2
https://github.com/llvm/llvm-project/commit/4c967afcc6f3a109e8a325a0327f869c4bfc57c2
Author: Michael Kenzel <michael.kenzel at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M libcxxabi/src/cxa_default_handlers.cpp
Log Message:
-----------
[libc++abi] Remove unnecessary dependency on std::unique_ptr (#73277)
The demangling terminate handler uses a function `demangle()` to perform
the demangling. This function returns an `std::unique_ptr`, relying on
custom deleter and `const_cast` hacks to deal with the facts that only
one branch actually allocates, and that the pointer type needs to be
`const char*`. However, the destructor of the returned `std::unique_ptr`
will never actually run, because the sole place this function is ever
called is right before the terminate handler aborts the program. So all
this is unnecessary, and creates a dependency onto `<memory>`. This
change removes the `demangle()` function and replaces the call with an
immediately invoked lambda expression that simply returns a raw pointer
in both cases, which should be fine because the memory can never be
freed here anyways.
Commit: 87dd31234a3c46ace097af73ecaedcdb6b306ef3
https://github.com/llvm/llvm-project/commit/87dd31234a3c46ace097af73ecaedcdb6b306ef3
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/STLExtras.h
Log Message:
-----------
[ADT] Minor code cleanup in STLExtras.h (#104808)
- Remove unnecessary return from `replace`.
- Add comment for `min_element` and `max_element`.
Commit: e8ca306fbefdb8385c53d6cc029251d1d5be7049
https://github.com/llvm/llvm-project/commit/e8ca306fbefdb8385c53d6cc029251d1d5be7049
Author: Dmitry Yanovsky <kerambyte at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/FunctionExtras.h
M llvm/unittests/ADT/CountCopyAndMove.cpp
M llvm/unittests/ADT/CountCopyAndMove.h
M llvm/unittests/ADT/FunctionExtrasTest.cpp
Log Message:
-----------
[ADT] Add a missing call to a unique_function destructor after move (#98747)
Right now immediately after moving the captured state, we 'disarm' the
moved-from object's destructor by resetting the
`RHS.CallbackAndInlineFlag`. This means that we never properly destroy
the RHS object's captured state.
Commit: 1393aeb91e88381ced7512788761e42bde8fd1cc
https://github.com/llvm/llvm-project/commit/1393aeb91e88381ced7512788761e42bde8fd1cc
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AMDGPU/expamd-masked-load.ll
A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AMDGPU/expand-masked-gather.ll
A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AMDGPU/expand-masked-scatter.ll
A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AMDGPU/expand-masked-store.ll
A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AMDGPU/lit.local.cfg
Log Message:
-----------
Pre-commit AMDGPU tests for masked load/store/scatter/gather (#104645)
I'm planning to fix the masked operation scalarazer to not generate
suboptimal code on AMD GPUs and other SIMT machines, and so am adding
tests now.
Commit: 22825ddd88aa29994a8a260a31c959aed0b35b5b
https://github.com/llvm/llvm-project/commit/22825ddd88aa29994a8a260a31c959aed0b35b5b
Author: Scott Linder <Scott.Linder at amd.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst
M llvm/docs/AMDGPUUsage.rst
Log Message:
-----------
[AMDGPU][Docs] DWARF aspace-aware base types
Propose an extension to base type DIEs such that DW_ATE_address-encoded
base types can include an architecture specific address space. Use this
to implement DW_OP_convert conversions between AMDGPU address space
addresses where meaningful.
Commit: 7022498ac2f236e411e8a0f9a48669e754000a4b
https://github.com/llvm/llvm-project/commit/7022498ac2f236e411e8a0f9a48669e754000a4b
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
Log Message:
-----------
AMDGPU/NewPM: Start implementing addCodeGenPrepare (#102816)
Commit: 435cb0dc5eca08cdd8d9ed0d887fa1693cc2bf33
https://github.com/llvm/llvm-project/commit/435cb0dc5eca08cdd8d9ed0d887fa1693cc2bf33
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/SemaCXX/gh102293.cpp
Log Message:
-----------
[C++23] Fix infinite recursion (Clang 19.x regression) (#104829)
d469794d0cdfd2fea50a6ce0c0e33abb242d744c was fixing an issue with
triggering vtable instantiations, but it accidentally introduced
infinite recursion when the type to be checked is the same as the type
used in a base specifier or field declaration.
Fixes #104802
Commit: ff2e619dfcd77328812a42d2ba2b11c3ff96f410
https://github.com/llvm/llvm-project/commit/ff2e619dfcd77328812a42d2ba2b11c3ff96f410
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/MC/MCAssembler.cpp
Log Message:
-----------
[MC] Remove duplicate getFixupKindInfo calls. NFC
Due to 8728e097dfbec3630a1dd907431c0f14274a1ae8
(`std::unique_ptr<MCAsmBackend> Backend`), the compiler doesn't know
that `Backend` will not be modified across function calls.
Commit: e732d1ce86783b1d7fe30645fcb30434109505b9
https://github.com/llvm/llvm-project/commit/e732d1ce86783b1d7fe30645fcb30434109505b9
Author: Yuxuan Chen <ych at fb.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
A clang/test/SemaOpenMP/gh104810.cpp
Log Message:
-----------
[Clang] Fix ICE in SemaOpenMP with structured binding (#104822)
Fixes https://github.com/llvm/llvm-project/issues/104810.
Clang currently crashes on the following program:
```
struct S {
int i;
};
auto [a] = S{1};
void foo() {
a;
}
```
when `-fopenmp` is enabled.
Because `a` is neither `VarDecl` nor `FieldDecl`. It's a `BindingDecl`
that's not handled in `SemaOpenMP.cpp`'s `getCanonicalDecl`. It appears
to me that this pattern matching is merely just for a refined return
type of the overrides. It can also be achieved with just using the
virtual `Decl::getCanonicalDecl()` instead. Do the final casting should
be safe for `ValueDecl`s.
Commit: 8a677c194072dc19ef680bebba9aa7eafb05b373
https://github.com/llvm/llvm-project/commit/8a677c194072dc19ef680bebba9aa7eafb05b373
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/STLExtras.h
Log Message:
-----------
[NFC][ADT] Add range wrapper for std::mismatch (#104838)
Commit: 6a125c7e77cd0e73abc9e60ad1c8eb06e31b11d7
https://github.com/llvm/llvm-project/commit/6a125c7e77cd0e73abc9e60ad1c8eb06e31b11d7
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/test/Instrumentation/AddressSanitizer/asan-funclet.ll
M llvm/test/Instrumentation/AddressSanitizer/fake-stack.ll
M llvm/test/Instrumentation/AddressSanitizer/global_metadata.ll
M llvm/test/Instrumentation/AddressSanitizer/global_metadata_array.ll
M llvm/test/Instrumentation/AddressSanitizer/global_with_comdat.ll
M llvm/test/Instrumentation/AddressSanitizer/instrument_global.ll
M llvm/test/Instrumentation/AddressSanitizer/instrument_late_initializer.ll
M llvm/test/Instrumentation/AddressSanitizer/local_alias.ll
M llvm/test/Instrumentation/AddressSanitizer/odr-check-ignore.ll
M llvm/test/Instrumentation/AddressSanitizer/win-string-literal.ll
Log Message:
-----------
[asan] Better `___asan_gen_` names (#104728)
Use different suffixes for each of 3 types
of objects using `___asan_gen_`.
Commit: 5af3dfb1d9caee206d080db2afab01006210739f
https://github.com/llvm/llvm-project/commit/5af3dfb1d9caee206d080db2afab01006210739f
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Log Message:
-----------
[NFC][asan] Create `ModuleName` lazily (#104729)
Avoids tracking conditions when it's needed.
Commit: fa87eac3bea5b9704522c6b553d0f4a421e8abc9
https://github.com/llvm/llvm-project/commit/fa87eac3bea5b9704522c6b553d0f4a421e8abc9
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/test/Instrumentation/AddressSanitizer/instrument_initializer_without_global.ll
Log Message:
-----------
Reland "[asan] Catch `initialization-order-fiasco` in modules without…" (#104730)
Re-land https://github.com/llvm/llvm-project/pull/104621
After https://github.com/llvm/llvm-project/pull/104729 this patch will
not create unused module names, failing some test checks.
This reverts commit 34f941a2f96b804dd24c2a25770d899b018339ff.
Commit: 54c6b93bcb4e751ec67ebd69e24c11811b970f1e
https://github.com/llvm/llvm-project/commit/54c6b93bcb4e751ec67ebd69e24c11811b970f1e
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
A libc/utils/mathtools/worst_case.sollya
Log Message:
-----------
[libc][NFC] Add sollya script to compute worst case range reduction. (#104803)
Commit: 24052538a0bb0144e6997e6b61687e3b8716b6ac
https://github.com/llvm/llvm-project/commit/24052538a0bb0144e6997e6b61687e3b8716b6ac
Author: Michael Park <mcypark at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang-tools-extra/clangd/ParsedAST.cpp
Log Message:
-----------
Emit `BeginSourceFile` failure with `elog`. (#104845)
There are 3 ways in which `ParseAST::build` can fail and return
`std::nullopt`. 2 of the ways we emit the error message using `elog`,
but for the 3rd way, `log` is used. We should emit all 3 of these
reasons with `elog`.
Commit: 98f2eb7ddab0cadd1eb6e631458ae8406f7d39a1
https://github.com/llvm/llvm-project/commit/98f2eb7ddab0cadd1eb6e631458ae8406f7d39a1
Author: jeffreytan81 <jeffreytan at meta.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/lldb-dap.cpp
Log Message:
-----------
Fix StartDebuggingRequestHandler/ReplModeRequestHandler in lldb-dap (#104824)
`SBCommand::AddCommand()` requires `SBCommandPluginInterface` to be heap
based because it will be stored inside
`std::shared_ptr<lldb::SBCommandPluginInterface>` later for reference
counting. But lldb-dap passes
`StartDebuggingRequestHandler/ReplModeRequestHandler` static function
pointer to it which will cause corruption later during destruction.
This PR fixes this issue by making these two handler heap based.
Co-authored-by: jeffreytan81 <jeffreytan at fb.com>
Commit: c4781396136849e79fe7b0c9ffe1ccb708bb1b67
https://github.com/llvm/llvm-project/commit/c4781396136849e79fe7b0c9ffe1ccb708bb1b67
Author: Florian Mayer <fmayer at google.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M compiler-rt/lib/hwasan/scripts/hwasan_symbolize
A compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_overflow.cpp
Log Message:
-----------
Reapply "[HWASan] symbolize stack overflows" (#102951) (#104036)
This reverts commit d4f6fcf5aaa0911a91317c0b06779f13077d6b58.
Relanding with fixed obj_offset calculation (precedence of operations
was wrong),
and the suggestion in
https://github.com/llvm/llvm-project/pull/95308#discussion_r1714317539
Commit: f5664f585bdc3187461f1dfd78d8f16ed2d990a0
https://github.com/llvm/llvm-project/commit/f5664f585bdc3187461f1dfd78d8f16ed2d990a0
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Support/FormatVariadic.cpp
Log Message:
-----------
[Support] Do not ignore unterminated open { in formatv (#104688)
- When an unterminated open { is detected in the format string, instead
of asserting and ignoring the error, replace that string with another to
indicate the error, and remove the assert as well.
- This will make the error evident in both assert and release builds and
make observing the error more convenient (as several uses of this
function are in TableGen and it is often built in release mode even in
debug builds)
Commit: 31cc4ccdea92a4fee6a327a07251bb0ed1e6a933
https://github.com/llvm/llvm-project/commit/31cc4ccdea92a4fee6a327a07251bb0ed1e6a933
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
Log Message:
-----------
[compiler-rt][fuzzer] implements SetThreadName for fuchsia. (#99953)
Commit: 5fcd05967aaa0447d8da01b3f19139f2136863b4
https://github.com/llvm/llvm-project/commit/5fcd05967aaa0447d8da01b3f19139f2136863b4
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/test/CodeGen/AMDGPU/vopd-combine.mir
Log Message:
-----------
[AMDGPU] Add VOPD combine dependency tests. NFC. (#104841)
Commit: 42ce62800dd24760ab6e400a3d5f898f11fe818a
https://github.com/llvm/llvm-project/commit/42ce62800dd24760ab6e400a3d5f898f11fe818a
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
Log Message:
-----------
[ValueTracking] Handle incompatible types instead of asserting in `isKnownNonEqual`; NFC
Downstream hit this assert, since it doesn't really make any
difference, just change code to return false.
Commit: ea8bb4d633683f5cbfd82491620be3056f347a02
https://github.com/llvm/llvm-project/commit/ea8bb4d633683f5cbfd82491620be3056f347a02
Author: estewart08 <ethan.stewart at amd.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M offload/plugins-nextgen/common/CMakeLists.txt
Log Message:
-----------
[offload] - Fix issue with standalone debug offload build (#104647)
Error: CommandLine Error: Option 'attributor-manifest-internal'
registered more than once
During the standalone debug build of offload the above error is seen at
app runtime when using a prebuilt llvm with LLVM_LINK_LLVM_DYLIB=ON.
This is caused by linking both libLLVM.so and various archives that are
found via llvm_map_components_to_libnames for jit support.
Commit: 43b508566799751aa180f1eaaafc5be693f2f1ae
https://github.com/llvm/llvm-project/commit/43b508566799751aa180f1eaaafc5be693f2f1ae
Author: Christopher Bate <cbate at nvidia.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M mlir/lib/Conversion/AffineToStandard/CMakeLists.txt
M mlir/lib/Conversion/ControlFlowToSCF/CMakeLists.txt
M mlir/lib/Conversion/ControlFlowToSCF/ControlFlowToSCF.cpp
M mlir/lib/Conversion/SCFToControlFlow/CMakeLists.txt
M mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp
M mlir/lib/Conversion/VectorToSCF/CMakeLists.txt
M mlir/lib/Dialect/Affine/Transforms/CMakeLists.txt
M mlir/lib/Dialect/Complex/IR/CMakeLists.txt
M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
M mlir/lib/Dialect/MemRef/IR/CMakeLists.txt
M mlir/lib/Dialect/MemRef/TransformOps/CMakeLists.txt
M mlir/lib/Dialect/Tensor/IR/CMakeLists.txt
Log Message:
-----------
[mlir] NFC: fix dependence of (Tensor|Linalg|MemRef|Complex) dialects on LLVM Dialect and LLVM Core in CMake build (#104832)
This change removes dependencies declared as either 'LINK_LIBS' or
'LINK_COMPONENTS' across several MLIR libraries. The removed
dependencies appear
to be incorrect and may have been required in older versions of the
project.
These dependencies cause many high level dialects to have transitive
dependence on the LLVM dialect and the LLVM 'Core' library
('llvm/lib/IR').
Note that if using the 'Ninja' CMake generator, one can inspect the
dependencies
(including all transitive libraries) of any given MLIR target but using
the command `ninja -C <build dir> -t browse` and navigating to the
library
of interest in a web browser.
Commit: 27dc247964472aaf92ea55cc37310cda25a002ab
https://github.com/llvm/llvm-project/commit/27dc247964472aaf92ea55cc37310cda25a002ab
Author: Joshua Baehring <98630690+JoshuaMBa at users.noreply.github.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/secondary.h
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
Log Message:
-----------
[scudo] Add partial chunk heuristic to retrieval algorithm. (#104807)
Previously the secondary cache retrieval algorithm would not allow
retrievals of memory chunks where the number of unused bytes would be
greater than than `MaxUnusedCachePages * PageSize` bytes. This meant
that even if a memory chunk satisfied the requirements of the optimal
fit algorithm, it may not be returned. This remains true if memory
tagging is enabled. However, if memory tagging is disabled, a new
heuristic has been put in place. Specifically, If a memory chunk is a
non-optimal fit, the cache retrieval algorithm will attempt to release
the excess memory to force a cache hit while keeping RSS down.
In the event that a memory chunk is a non-optimal fit, the retrieval
algorithm will release excess memory as long as the amount of memory to
be released is less than or equal to 16 KB. If the amount of memory to
be released exceeds 16 KB, the retrieval algorithm will not consider
that cached memory chunk valid for retrieval.
Commit: baa6627a0af6d31ddf57036c6f05a7d0fb31f8f2
https://github.com/llvm/llvm-project/commit/baa6627a0af6d31ddf57036c6f05a7d0fb31f8f2
Author: Billy Zhu <billyzhu at modular.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/test/Transforms/test-legalize-target-materialization-no-uses.mlir
Log Message:
-----------
[MLIR][Transforms] Fix dialect conversion inverse mapping (#104648)
Inverse mapping needs to be updated for the result that was remapped (it
was previously only updated halfway).
Commit: b5f3e28eca9bae94412415e5a77f769cf1e4fc61
https://github.com/llvm/llvm-project/commit/b5f3e28eca9bae94412415e5a77f769cf1e4fc61
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
Log Message:
-----------
[docs] Revise the doc for __builtin_allow_runtime_check
Fix list formatting, improve the wording, and fix the description when
both options (note: prefer "option" to "flag" when arguments are
supported) are specified.
Pull Request: https://github.com/llvm/llvm-project/pull/104886
Commit: d3864d946a178807bb5a87d3d1690e213c89e5be
https://github.com/llvm/llvm-project/commit/d3864d946a178807bb5a87d3d1690e213c89e5be
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CodeGen/RISCV/riscv-sdata-module-flag.c
R clang/test/Driver/riscv-sdata-warning.c
A clang/test/Driver/riscv-sdata.c
M llvm/lib/Target/RISCV/RISCVTargetObjectFile.h
Log Message:
-----------
[Driver] Default -msmall-data-limit= to 0 and clean up code
D57497 added -msmall-data-limit= as an alias for -G and defaulted it to 8 for
-fno-pic/-fpie.
The behavior is already different from GCC in a few ways:
* GCC doesn't accept -G.
* GCC -fpie doesn't seem to use -msmall-data-limit=.
* GCC emits .srodata.cst* that we don't use (#82214). Writable contents
caused confusion (https://bugs.chromium.org/p/llvm/issues/detail?id=61)
In addition,
* claiming `-shared` means we don't get a desired `-Wunused-command-line-argument` for `clang --target=riscv64-linux-gnu -fpic -c -shared a.c`.
* -mcmodel=large doesn't work for RISC-V yet, so the special case is strange.
* It's quite unusual to emit a warning when an option (unrelated to relocation model) is used with -fpic.
* We don't want future configurations (Android) to continue adding customization to `SetRISCVSmallDataLimit`.
I believe the extra code just doesn't pull its weight and should be
cleaned up. This patch also changes the default to 0. GP relaxation
users are encouraged to specify these customization options explicitly.
Pull Request: https://github.com/llvm/llvm-project/pull/83093
Commit: 52bfb2611f8d30fae3306c652af7ba5c7e88c147
https://github.com/llvm/llvm-project/commit/52bfb2611f8d30fae3306c652af7ba5c7e88c147
Author: Dmitry Yanovsky <kerambyte at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/unittests/ADT/FunctionExtrasTest.cpp
Log Message:
-----------
[ADT] Fix a minor build error (#104840)
A quick follow-up fix for
https://github.com/llvm/llvm-project/pull/99403
Buildbot
[reported](https://lab.llvm.org/buildbot/#/builders/168/builds/2330) an
error:
```
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/ADT/FunctionExtrasTest.cpp:320:8: error: variable 'ptr' is uninitialized when used here [-Werror,-Wuninitialized]
320 | [ptr](void *self) {
| ^~~
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/unittests/ADT/FunctionExtrasTest.cpp:318:12: note: initialize the variable 'ptr' to silence this warning
318 | void *ptr;
| ^
| = nullptr
1 error generated.
```
So that PR does exactly what's sugested.
Commit: 06fd808654ff814c2f79c2619a5b2be50c56521b
https://github.com/llvm/llvm-project/commit/06fd808654ff814c2f79c2619a5b2be50c56521b
Author: Christopher Bate <cbate at nvidia.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/lib/Conversion/AffineToStandard/CMakeLists.txt
M mlir/lib/Conversion/ControlFlowToSCF/CMakeLists.txt
M mlir/lib/Conversion/ControlFlowToSCF/ControlFlowToSCF.cpp
M mlir/lib/Conversion/SCFToControlFlow/CMakeLists.txt
M mlir/lib/Conversion/SCFToControlFlow/SCFToControlFlow.cpp
M mlir/lib/Conversion/VectorToSCF/CMakeLists.txt
M mlir/lib/Dialect/Affine/Transforms/CMakeLists.txt
M mlir/lib/Dialect/Complex/IR/CMakeLists.txt
M mlir/lib/Dialect/Linalg/Transforms/CMakeLists.txt
M mlir/lib/Dialect/MemRef/IR/CMakeLists.txt
M mlir/lib/Dialect/MemRef/TransformOps/CMakeLists.txt
M mlir/lib/Dialect/Tensor/IR/CMakeLists.txt
Log Message:
-----------
Revert "[mlir] NFC: fix dependence of (Tensor|Linalg|MemRef|Complex) dialects on LLVM Dialect and LLVM Core in CMake build (#104832)"
This reverts commit 43b508566799751aa180f1eaaafc5be693f2f1ae since it
caused the build to break with BUILD_SHARED_LIBS=ON.
Commit: ca148b21505e97f07787c13ec00ffc086d4658d0
https://github.com/llvm/llvm-project/commit/ca148b21505e97f07787c13ec00ffc086d4658d0
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/lib/AST/ByteCode/ByteCodeEmitter.cpp
M clang/lib/AST/ByteCode/ByteCodeEmitter.h
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Compiler.h
M clang/lib/AST/ByteCode/Context.cpp
M clang/lib/AST/ByteCode/Function.cpp
M clang/lib/AST/ByteCode/Function.h
M clang/lib/AST/ByteCode/FunctionPointer.h
M clang/lib/AST/ByteCode/Interp.h
M clang/test/Sema/block-misc.c
M clang/test/Sema/block-return.c
M clang/test/SemaCXX/consteval-cleanup.cpp
Log Message:
-----------
[clang][bytecode] Support ObjC blocks (#104551)
I started out by adding a new pointer type for blocks, and I was fully
prepared to compile their AST to bytecode and later call them.
... then I found out that the current interpreter doesn't support
calling blocks at all. So we reuse `Function` to support sources other
than `FunctionDecl`s and classify `BlockPointerType` as `PT_FnPtr`.
Commit: 5403123197f8e331d3c2c24d82439ca1fe7e702d
https://github.com/llvm/llvm-project/commit/5403123197f8e331d3c2c24d82439ca1fe7e702d
Author: Sam Clegg <sbc at chromium.org>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
A lld/test/wasm/archive-local-sym.s
M lld/wasm/InputFiles.cpp
Log Message:
-----------
[lld][WebAssembly] Ignore local symbols when parsing lazy object files. (#104876)
This was broken back in #78658 when we transitioned away from archive
indexes to parsing lazy object files.
Fixes: #94077
Fixes: https://github.com/emscripten-core/emscripten/issues/22008
Commit: 2a6136e552d24b6bf665c42a6e32efc0b2d88fbf
https://github.com/llvm/llvm-project/commit/2a6136e552d24b6bf665c42a6e32efc0b2d88fbf
Author: Sam Clegg <sbc at chromium.org>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M lld/wasm/Writer.cpp
M llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp
M llvm/lib/ObjCopy/wasm/WasmObject.cpp
M llvm/lib/ObjCopy/wasm/WasmObject.h
M llvm/lib/ObjCopy/wasm/WasmReader.cpp
M llvm/lib/ObjectYAML/WasmEmitter.cpp
M llvm/test/ObjectYAML/wasm/invalid_section_order.yaml
M llvm/test/tools/llvm-objcopy/wasm/basic-only-section.test
M llvm/test/tools/llvm-objcopy/wasm/only-keep-debug.test
M llvm/test/tools/llvm-objcopy/wasm/strip-all.test
M llvm/test/tools/llvm-objcopy/wasm/strip-debug.test
M llvm/test/tools/llvm-objcopy/wasm/strip-reloc.test
Log Message:
-----------
[llvm-objcopy][WebAssembly] Allow --strip-debug to operate on relocatable files. (#102978)
This change is enough to allow `--strip-debug` to work on object files,
without breaking the relocation information or symbol table.
A more complete version of this change would instead reconstruct the
symbol table and relocation sections, but that is much larger change.
Bug: #102002
Commit: ea1f05e6189fbe2b567e795677e1d64acbadc0a2
https://github.com/llvm/llvm-project/commit/ea1f05e6189fbe2b567e795677e1d64acbadc0a2
Author: David Majnemer <david.majnemer at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/X86/fminimum-fmaximum.ll
Log Message:
-----------
[SelectionDAG] Fix lowering of IEEE 754 2019 minimum/maximum
We used integer comparisons instead of floating point comparisons
resulting in very odd behavior.
Commit: a9ce1818174b3e690545b573cc5804d73491ca1a
https://github.com/llvm/llvm-project/commit/a9ce1818174b3e690545b573cc5804d73491ca1a
Author: David Majnemer <david.majnemer at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/test/CodeGen/NVPTX/bf16-instructions.ll
Log Message:
-----------
[NVPTX] Fix bugs involving maximum/minimum and bf16
We would crash on sufficiently old NV hardware (Volta or so) due to
incorrectly marking certain operations legal.
Commit: f9031f00f2c90bc0af274b45ec3e169b5250a688
https://github.com/llvm/llvm-project/commit/f9031f00f2c90bc0af274b45ec3e169b5250a688
Author: ChiaHungDuan <chiahungduan at google.com>
Date: 2024-08-19 (Mon, 19 Aug 2024)
Changed paths:
M compiler-rt/lib/scudo/standalone/secondary.h
M compiler-rt/lib/scudo/standalone/tests/secondary_test.cpp
Log Message:
-----------
Revert "[scudo] Add partial chunk heuristic to retrieval algorithm." (#104894)
Reverts llvm/llvm-project#104807
Commit: bf68e9047f62c22ca87f9a4a7c59a46b3de06abb
https://github.com/llvm/llvm-project/commit/bf68e9047f62c22ca87f9a4a7c59a46b3de06abb
Author: Christian Ulmann <christianulmann at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/include/mlir/Analysis/SliceWalk.h
M mlir/include/mlir/Dialect/Arith/IR/Arith.h
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td
M mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
M mlir/lib/Analysis/SliceWalk.cpp
M mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
M mlir/test/Dialect/LLVMIR/inlining-alias-scopes.mlir
Log Message:
-----------
[MLIR] Introduce a SelectLikeOpInterface (#104751)
This commit introduces a `SelectLikeOpInterface` that can be used to
handle select-like operations generically. Select operations are similar
to control flow operations, as they forward operands depending on
conditions. This is the reason why it was placed to the already existing
control flow interfaces.
Commit: 08a0dece2b2431db8abe650bb43cba01e781e1ce
https://github.com/llvm/llvm-project/commit/08a0dece2b2431db8abe650bb43cba01e781e1ce
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll
M llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
M llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll
Log Message:
-----------
[Coroutines] [NFCI] Don't search the DILocalVariable for __promise when constructing the debug varaible for __coro_frame
As the title mentioned, do not search for the DILocalVariable for
__promise when constructing the debug variable for __coro_frame.
This should make sense because the debug variable of `__coro_frame`
shouldn't dependent on the debug variable of `__promise`. And actually,
it is not. Currently, we search the debug variable for `__promise` only
because we want to get the debug location and the debug scope for the
`__promise`. However, we can construct the debug location directly from
the debug scope of the being compiled function. Then it is not necessary
any more to search the `__promise` variable.
And this patch makes the codes to construct the debug variable for
`__coro_frame` to be more stable. Now we will always be able to
construct the debug variable for the coroutine frame no matter if we
found the debug variable for the __promise or not.
This patch is not strictly NFC but it is intended to not affect any end
users.
Commit: 472c79ca52806856c0dc7548a6f82d3bd9e7530c
https://github.com/llvm/llvm-project/commit/472c79ca52806856c0dc7548a6f82d3bd9e7530c
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/lib/IR/Verifier.cpp
M llvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll
M llvm/test/Transforms/Attributor/nonnull.ll
M llvm/test/Transforms/CodeExtractor/PartialInlineAttributes.ll
M llvm/test/Transforms/FunctionAttrs/nonnull.ll
A llvm/test/Verifier/naked.ll
Log Message:
-----------
[IR] Check that arguments of naked function are not used (#104757)
Verify that the arguments of a naked function are not used. They can
only be referenced via registers/stack in inline asm, not as IR values.
Doing so will result in assertion failures in the backend.
There's probably more that we should verify, though I'm not completely
sure what the constraints are (would it be correct to require that naked
functions are exactly an inline asm call + unreachable, or is more
allowed?)
Fixes https://github.com/llvm/llvm-project/issues/104718.
Commit: d48b807aa8abd1cbfe8ac5d1ba27b8b3617fc5e6
https://github.com/llvm/llvm-project/commit/d48b807aa8abd1cbfe8ac5d1ba27b8b3617fc5e6
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
Log Message:
-----------
[Coroutines] Fix -Wunused-variable in CoroFrame.cpp (NFC)
/llvm-project/llvm/lib/Transforms/Coroutines/CoroFrame.cpp:1124:15:
error: unused variable 'PromiseAlloca' [-Werror,-Wunused-variable]
AllocaInst *PromiseAlloca = Shape.getPromiseAlloca();
^
1 error generated.
Commit: c29aba7159473c5fc225d4aea75647939497e3ac
https://github.com/llvm/llvm-project/commit/c29aba7159473c5fc225d4aea75647939497e3ac
Author: PeterChou1 <peter.chou at mail.utoronto.ca>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang-tools-extra/clang-doc/HTMLGenerator.cpp
M clang-tools-extra/test/clang-doc/basic-project.test
Log Message:
-----------
[clang-doc] add support for block commands in clang-doc html output (#101108)
Commit: f5f0055a77c14df17809d7c5a977dac88c43f905
https://github.com/llvm/llvm-project/commit/f5f0055a77c14df17809d7c5a977dac88c43f905
Author: Bimo <rui.xu at intel.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
R mlir/python/mlir/extras/__init__.py
Log Message:
-----------
[MLIR][Python] remove unused init python file (#104890)
remove unused `__init__.py` under `mlir/python/mlir/extras`
Commit: 513e0af0a940f3a823f8f0e83189cb33cb81496f
https://github.com/llvm/llvm-project/commit/513e0af0a940f3a823f8f0e83189cb33cb81496f
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M lld/COFF/Symbols.cpp
A lld/test/COFF/weak-external-cycle.test
Log Message:
-----------
[LLD][COFF] Detect weak reference cycles. (#104463)
Instead of entering an infinite loop.
Commit: c91cc459d396dd4625d3dbf9a2af6fac8151eb4b
https://github.com/llvm/llvm-project/commit/c91cc459d396dd4625d3dbf9a2af6fac8151eb4b
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M lld/test/ELF/exclude-libs.s
M llvm/lib/IR/DataLayout.cpp
M llvm/test/Assembler/invalid-datalayout-override.ll
M llvm/test/Bitcode/function-default-address-spaces.ll
R llvm/test/Bitcode/invalid-functionptr-align.ll
R llvm/test/Bitcode/invalid-functionptr-align.ll.bc
A llvm/test/Bitcode/invalid-stack-align.ll
A llvm/test/Bitcode/invalid-stack-align.ll.bc
M llvm/test/CodeGen/PowerPC/pr15359.ll
M llvm/test/CodeGen/PowerPC/pr16556-2.ll
M llvm/test/CodeGen/PowerPC/pr16556.ll
M llvm/unittests/IR/DataLayoutTest.cpp
M mlir/lib/Target/LLVMIR/DataLayoutImporter.cpp
M mlir/test/Target/LLVMIR/Import/data-layout.ll
Log Message:
-----------
[DataLayout] Refactor the rest of `parseSpecification` (#104545)
The aim is to improve test coverage of data layout string parsing.
Pull Request: https://github.com/llvm/llvm-project/pull/104545
Commit: 7452014c95f97d2f25ad3e5cfea29085648428da
https://github.com/llvm/llvm-project/commit/7452014c95f97d2f25ad3e5cfea29085648428da
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV] Simplify !UserVF.isZero() -> UserVF (NFC).
Address post-commit comment for b8dccb7d56c to simplify code.
Commit: a6d81cdf896d901e0f5e672b9a3eccc4ae8759ce
https://github.com/llvm/llvm-project/commit/a6d81cdf896d901e0f5e672b9a3eccc4ae8759ce
Author: Javed Absar <106147771+javedabsar1 at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td
Log Message:
-----------
[MLIR][Bufferize][NFC] Fix documentation typo (#104881)
Commit: b804516dc5cf2bb99ff02aa49f9d4da76d721ea9
https://github.com/llvm/llvm-project/commit/b804516dc5cf2bb99ff02aa49f9d4da76d721ea9
Author: Dhruv Srivastava <dhruv.srivastava at ibm.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M lldb/source/API/SBBreakpoint.cpp
M lldb/source/API/SBBreakpointLocation.cpp
M lldb/source/API/SBBreakpointName.cpp
M lldb/source/Expression/DWARFExpression.cpp
M lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp
M lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
M lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp
M lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
M lldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp
M lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
M lldb/source/Plugins/Process/Utility/ThreadMemory.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
M lldb/source/Symbol/DWARFCallFrameInfo.cpp
Log Message:
-----------
[lldb][AIX] 1. Avoid namespace collision on other platforms (#104679)
This PR is in reference to porting LLDB on AIX.
Link to discussions on llvm discourse and github:
1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640
2. #101657
The complete changes for porting are present in this draft PR:
https://github.com/llvm/llvm-project/pull/102601
The changes on this PR are intended to avoid namespace collision for
certain typedefs between lldb and other platforms:
1. tid_t --> lldb::tid_t
2. offset_t --> lldb::offset_t
Commit: 522c253f47ea27d8eeb759e06f8749092b1de71e
https://github.com/llvm/llvm-project/commit/522c253f47ea27d8eeb759e06f8749092b1de71e
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
A clang/test/CodeGenCoroutines/coro-dwarf-O2.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/Coroutines/CoroInternal.h
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/test/Transforms/Coroutines/coro-debug-O2.ll
Log Message:
-----------
[Coroutines] Salvage the debug information for coroutine frames within optimizations
This patch tries to salvage the debug information for the coroutine
frames within optimizations by creating the help alloca varaibles with
optimizations too. We didn't do this when I implement it initially. I
roughtly remember the reason was, we feel the additional help alloca
variable may pessimize the performance, which is almost the most
important thing under optimizations. But now, it looks like the new
inserted help alloca variables can be optimized out by the following
optimizations. So it looks like the time to make it available within
optimizations.
And also, it looks like the following optimizations will convert the
generated dbg.declare instrinsic into dbg.value intrinsic within
optimizations.
In LLVM's test, there is a slightly regression
that a dbg.declare for the promise object failed to be remained after
this change. But it looks like we won't have a chance to see dbg.declare
for the promise object when we split the coroutine as that dbg.declare
will be converted into a dbg.value in early stage.
So everything looks fine.
Commit: 5adbce072c1d9036eb1b31daafc085e318126f3d
https://github.com/llvm/llvm-project/commit/5adbce072c1d9036eb1b31daafc085e318126f3d
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/utils/git/github-automation.py
Log Message:
-----------
[llvm][GitHub] Fix formatting of new contributor comments
GitHub won't reflow the text unless we put it all on one line.
If we try to make our own paragrpahs it comes out too narrow or
too wide.
Commit: 66953c9582b0ad960ccbb8463158273cdc40cd8f
https://github.com/llvm/llvm-project/commit/66953c9582b0ad960ccbb8463158273cdc40cd8f
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.td
Log Message:
-----------
[mlir][ArmSME][docs] Update example (NFC)
Commit: ba7dadf0e918cbb0e6867d78aebd0cc3fc843bcc
https://github.com/llvm/llvm-project/commit/ba7dadf0e918cbb0e6867d78aebd0cc3fc843bcc
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Interp.h
M clang/test/Modules/merge-using-decls.cpp
Log Message:
-----------
[clang][bytecode] Fix initializing base casts (#104901)
Use delegate() there. To fix a follow-up problem, abort when a cast ends
up on a valid Pointer that isn't a base class.
Commit: f1b642775f11c6defd06eea64df22a465b46a0ce
https://github.com/llvm/llvm-project/commit/f1b642775f11c6defd06eea64df22a465b46a0ce
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/test/AST/ByteCode/builtin-functions.cpp
Log Message:
-----------
[Clang][test] Add bytecode interpreter tests for floating comparison functions (#104703)
See also: #94118, 71801707e33c235656b172fa7dfb8662473a95c2
Commit: 3c5374595bf20bd9665dce5b832d7cc1f09b8415
https://github.com/llvm/llvm-project/commit/3c5374595bf20bd9665dce5b832d7cc1f09b8415
Author: Longsheng Mou <moulongsheng at huawei.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/lib/Conversion/MemRefToEmitC/MemRefToEmitCPass.cpp
M mlir/test/Conversion/MemRefToEmitC/memref-to-emitc-failed.mlir
Log Message:
-----------
[mlir][EmitC] Do not convert illegal types in EmitC (#104571)
This patch adds check for unsupported types in emitc, which fixes a
crash. Fix #103706.
Commit: e47b507562624bf291ab2515699d39c2669b6131
https://github.com/llvm/llvm-project/commit/e47b507562624bf291ab2515699d39c2669b6131
Author: Simon Camphausen <simon.camphausen at iml.fraunhofer.de>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
M mlir/lib/Conversion/MemRefToEmitC/MemRefToEmitC.cpp
M mlir/lib/Conversion/SCFToEmitC/SCFToEmitC.cpp
M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/test/Conversion/MemRefToEmitC/memref-to-emitc.mlir
M mlir/test/Conversion/SCFToEmitC/for.mlir
M mlir/test/Conversion/SCFToEmitC/if.mlir
M mlir/test/Conversion/SCFToEmitC/switch.mlir
M mlir/test/Dialect/EmitC/invalid_ops.mlir
M mlir/test/Dialect/EmitC/invalid_types.mlir
M mlir/test/Dialect/EmitC/ops.mlir
M mlir/test/Dialect/EmitC/transforms.mlir
M mlir/test/Dialect/EmitC/types.mlir
M mlir/test/Target/Cpp/common-cpp.mlir
M mlir/test/Target/Cpp/expressions.mlir
M mlir/test/Target/Cpp/for.mlir
M mlir/test/Target/Cpp/global.mlir
M mlir/test/Target/Cpp/if.mlir
M mlir/test/Target/Cpp/invalid.mlir
M mlir/test/Target/Cpp/invalid_declare_variables_at_top.mlir
A mlir/test/Target/Cpp/lvalue.mlir
M mlir/test/Target/Cpp/member.mlir
M mlir/test/Target/Cpp/subscript.mlir
M mlir/test/Target/Cpp/switch.mlir
M mlir/test/Target/Cpp/variable.mlir
Log Message:
-----------
[mlir][EmitC] Model lvalues as a type in EmitC (#91475)
This adds an `emitc.lvalue` type which models assignable lvlaues in the
type system. Operations modifying memory are restricted to this type
accordingly.
See also the discussion on
[discourse](https://discourse.llvm.org/t/rfc-separate-variables-from-ssa-values-in-emitc/75224/9).
The most notable changes are as follows.
- `emitc.variable` and `emitc.global` ops are restricted to return
`emitc.array` or `emitc.lvalue` types
- Taking the address of a value is restricted to operands with lvalue
type
- Conversion from lvalues into SSA values is done with the new
`emitc.load` op
- The var operand of the `emitc.assign` op is restricted to lvalue type
- The result of the `emitc.subscript` and `emitc.get_global` ops is a
lvalue type
- The operands and results of the `emitc.member` and
`emitc.member_of_ptr` ops are restricted to lvalue types
---------
Co-authored-by: Matthias Gehre <matthias.gehre at amd.com>
Commit: b432afc28406b670a58933c2fe56c73e6f85911e
https://github.com/llvm/llvm-project/commit/b432afc28406b670a58933c2fe56c73e6f85911e
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/GenericCycleImpl.h
M llvm/include/llvm/ADT/GenericCycleInfo.h
M llvm/include/llvm/ADT/GenericSSAContext.h
M llvm/include/llvm/Analysis/CycleAnalysis.h
M llvm/include/llvm/CodeGen/MachineSSAContext.h
M llvm/include/llvm/IR/SSAContext.h
M llvm/lib/Analysis/CycleAnalysis.cpp
M llvm/lib/CodeGen/MachineCycleAnalysis.cpp
M llvm/lib/IR/CycleInfo.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/test/Analysis/CycleInfo/basic.ll
M llvm/test/Analysis/CycleInfo/unreachable-predecessor.ll
Log Message:
-----------
[CycleAnalysis] Methods to verify cycles and their nesting. (#102300)
The original implementation provided a simple method to check whether
the forest of nested cycles is well-formed. This is now augmented with
other methods to check well-formedness of all cycles, either
invdividually, or as the entire forest. These will be used by future
transforms that modify CycleInfo.
Commit: ba84cfbe0ce2c697702c377b32e4dbf50dd1e114
https://github.com/llvm/llvm-project/commit/ba84cfbe0ce2c697702c377b32e4dbf50dd1e114
Author: Hari Limaye <hari.limaye at arm.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
A llvm/test/Analysis/BasicAA/gep-nuw-alias.ll
Log Message:
-----------
[BasicAA] Use nuw attribute of GEPs (#98608)
Use the nuw attribute of GEPs to prove that pointers do not alias, in
cases matching the following:
+ + +
| BaseOffset | +<nuw> Indices |
---------------->|-------------------->|
|-->V2Size | |-------> V1Size
LHS RHS
If the difference between pointers is Offset +<nuw> Indices then we know
that the addition does not wrap the pointer index type (add nuw) and the
constant Offset is a lower bound on the distance between the pointers. We
can then prove NoAlias via Offset u>= V2Size.
Commit: aa875cfe11ddec239934e37ce07c1cf7804bb73b
https://github.com/llvm/llvm-project/commit/aa875cfe11ddec239934e37ce07c1cf7804bb73b
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M flang/lib/Lower/OpenMP/Decomposer.cpp
M flang/lib/Lower/OpenMP/Decomposer.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Lower/OpenMP/Todo/omp-do-simd-linear.f90
M flang/test/Lower/OpenMP/default-clause-byref.f90
M flang/test/Lower/OpenMP/default-clause.f90
R llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h
Log Message:
-----------
[Flang][OpenMP] Prevent re-composition of composite constructs (#102613)
After decomposition of OpenMP compound constructs and assignment of
applicable clauses to each leaf construct, composite constructs are then
combined again into a single element in the construct queue. This helped
later lowering stages easily identify composite constructs.
However, as a result of the re-composition stage, the same list of
clauses is used to produce all MLIR operations corresponding to each
leaf of the original composite construct. This undoes existing logic
introducing implicit clauses and deciding to which leaf construct(s)
each clause applies.
This patch removes construct re-composition logic and updates Flang
lowering to be able to identify composite constructs from a list of leaf
constructs. As a result, the right set of clauses is produced for each
operation representing a leaf of a composite construct.
PR stack:
- #102612
- #102613
Commit: 34a88bbc34870e43fc00a9fc39f9267c844ac207
https://github.com/llvm/llvm-project/commit/34a88bbc34870e43fc00a9fc39f9267c844ac207
Author: Rolf Morel <rolf.morel at intel.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/DLTI/DLTI.h
M mlir/include/mlir/Dialect/DLTI/DLTIAttrs.td
M mlir/include/mlir/Dialect/DLTI/DLTIBase.td
M mlir/include/mlir/Dialect/DLTI/TransformOps/DLTITransformOps.td
M mlir/include/mlir/Interfaces/DataLayoutInterfaces.h
M mlir/include/mlir/Interfaces/DataLayoutInterfaces.td
M mlir/lib/Dialect/DLTI/DLTI.cpp
M mlir/lib/Dialect/DLTI/TransformOps/DLTITransformOps.cpp
M mlir/test/Dialect/DLTI/invalid.mlir
M mlir/test/Dialect/DLTI/query.mlir
M mlir/test/Dialect/DLTI/valid.mlir
M mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp
Log Message:
-----------
[MLIR][DLTI] Introduce DLTIQueryInterface and impl for DLTI attrs (#104595)
This new interface is supposed to capture the core functionality of
DLTI: querying for values at keys. As such this new interface unifies
the ability to query DLTI attributes in a single method: query(). All
existing DLTI interfaces exposing their own query methods now 1) now
extend this new interface and 2) provide a default implementation for
`query()`.
As DLTIQueryInterface::query() returns an attribute, it naturally
enables recursive queries on nested DLTI attrs. A utility function,
`dlti::query()`, implements the logic for nested lookups.
A new `#dlti.map` attribute is introduced to capture the most generic
form of a finite DLTI-mapping. One of the benefits is that it allows for
more easily encoding hierachical information that is suitably queryable,
i.e. by means of nested attributes.
In line with the above, `transform.dlti.query` is modified so as to take
an arbitrary number of keys and to perform a nested lookup using the
above utility function.
Commit: b9864387d9d00e1d4888181460d05dbc92364d75
https://github.com/llvm/llvm-project/commit/b9864387d9d00e1d4888181460d05dbc92364d75
Author: Ian Anderson <iana at apple.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Darwin.cpp
A clang/test/Driver/Inputs/MacOSX15.1.sdk/SDKSettings.json
M clang/test/Driver/darwin-builtin-modules.c
Log Message:
-----------
[clang][modules] Built-in modules are not correctly enabled for Mac Catalyst (#104872)
Mac Catalyst is the iOS platform, but it builds against the macOS SDK
and so it needs to be checking the macOS SDK version instead of the iOS
one. Add tests against a greater-than SDK version just to make sure this
works beyond the initially supporting SDKs.
Commit: 42067f26cd084d29fdd08a75a36b8785ae9f3982
https://github.com/llvm/llvm-project/commit/42067f26cd084d29fdd08a75a36b8785ae9f3982
Author: Robert Barinov <165884206+rbintel at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
A llvm/test/tools/llvm-reduce/Inputs/reduce-distinct-metadata.py
A llvm/test/tools/llvm-reduce/reduce-distinct-metadata.ll
M llvm/test/tools/llvm-reduce/remove-metadata.ll
M llvm/tools/llvm-reduce/CMakeLists.txt
M llvm/tools/llvm-reduce/DeltaManager.cpp
A llvm/tools/llvm-reduce/deltas/ReduceDistinctMetadata.cpp
A llvm/tools/llvm-reduce/deltas/ReduceDistinctMetadata.h
M llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp
Log Message:
-----------
[LLVM-Reduce] - Distinct Metadata Reduction (#104624)
Commit: 4aacc60fe7e1f7b3f788bba8382ea1fa5189ef3b
https://github.com/llvm/llvm-project/commit/4aacc60fe7e1f7b3f788bba8382ea1fa5189ef3b
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/GenericCycleImpl.h
M llvm/include/llvm/ADT/GenericCycleInfo.h
M llvm/include/llvm/ADT/GenericSSAContext.h
M llvm/include/llvm/Analysis/CycleAnalysis.h
M llvm/include/llvm/CodeGen/MachineSSAContext.h
M llvm/include/llvm/IR/SSAContext.h
M llvm/lib/Analysis/CycleAnalysis.cpp
M llvm/lib/CodeGen/MachineCycleAnalysis.cpp
M llvm/lib/IR/CycleInfo.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/test/Analysis/CycleInfo/basic.ll
M llvm/test/Analysis/CycleInfo/unreachable-predecessor.ll
Log Message:
-----------
Revert "[CycleAnalysis] Methods to verify cycles and their nesting. (#102300)"
This reverts commit b432afc28406b670a58933c2fe56c73e6f85911e.
Reverted due to linker failures in expensive-checks.
Commit: c99347a9f5f94eba7dff53dffeb94ab390663f8a
https://github.com/llvm/llvm-project/commit/c99347a9f5f94eba7dff53dffeb94ab390663f8a
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/test/AST/ByteCode/c23.c
Log Message:
-----------
[clang][bytecode] Fix discarding CompoundLiteralExprs (#104909)
Commit: b3fa45b64265d182ba081b2cfdcce454b72280d5
https://github.com/llvm/llvm-project/commit/b3fa45b64265d182ba081b2cfdcce454b72280d5
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Transforms/SimplifyCFG/hoist-common-code.ll
Log Message:
-----------
[SimplifyCFG] Add support for hoisting commutative instructions (#104805)
This extends SimplifyCFG hoisting to also hoist instructions with
commuted operands, for example a+b on one side and b+a on the other
side.
This should address the issue mentioned in:
https://github.com/llvm/llvm-project/pull/91185#issuecomment-2097447927
Commit: 3b49d274e6f16d1c8db5f4557eb7866a4bafffa5
https://github.com/llvm/llvm-project/commit/3b49d274e6f16d1c8db5f4557eb7866a4bafffa5
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
A clang/test/CodeGen/X86/strictfp_patterns.c
Log Message:
-----------
[X86] Add clang codegen test coverage for #104848
Commit: 6dcce422ca06601f2b00e85cc18c745ede245ca6
https://github.com/llvm/llvm-project/commit/6dcce422ca06601f2b00e85cc18c745ede245ca6
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/lib/Headers/emmintrin.h
M clang/lib/Headers/xmmintrin.h
M clang/test/CodeGen/X86/strictfp_patterns.c
Log Message:
-----------
[X86] Use correct fp immediate types in _mm_set_ss/sd
Avoids implicit sint_to_fp which wasn't occurring on strict fp codegen
Fixes #104848
Commit: 21de04918e0b4b6835d331b726861740525d06d9
https://github.com/llvm/llvm-project/commit/21de04918e0b4b6835d331b726861740525d06d9
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn
Log Message:
-----------
[gn build] Port 42067f26cd08
Commit: f321456e1aaff050a44698f1273da9589e74ebb4
https://github.com/llvm/llvm-project/commit/f321456e1aaff050a44698f1273da9589e74ebb4
Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/ScheduleDAG.cpp
M llvm/test/CodeGen/AArch64/abds.ll
Log Message:
-----------
[ScheduleDAG] Dirty height/depth in addPred/removePred even for latency zero (#102915)
A long time ago (back in 2009) there was a commit 52d4d8244b7c39c5cd
that changed the scheduler to not dirty height/depth when adding or
removing SUnit predecessors when the latency on the edge was zero. That
commit message is claiming that the depth or height isn't affected when
the latency is zero.
As a matter of fact, the depth/height can change even with a zero
latency on the edge. If for example adding a new SUnit A, with zero
latency, but as a predecessor to a SUnit B, then both height of A and
depth of B should be marked as dirty. If for example B has a greater
height than A, then the height of A needs to be adjusted even if the
latency is zero.
I think this has been wrong for many years. Downstream we have had
commit 52d4d8244b7c39c5cd reverted since back in 2016. There is no
motivating lit test for 52d4d8244b7c39c5cd (only an incomplete C level
reproducer in https://github.com/llvm/llvm-project/issues/3613).
After commit 13d04fa560e156797c21f1 there finally appeared an upstream
lit test that shows that we get better code if marking height/depth as
dirty (llvm/test/CodeGen/AArch64/abds.ll).
Commit: 3f25f23a2b8aaff300e751d4724a3ddba4d694eb
https://github.com/llvm/llvm-project/commit/3f25f23a2b8aaff300e751d4724a3ddba4d694eb
Author: Phoebe Wang <phoebe.wang at intel.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Headers/avx2intrin.h
M clang/lib/Headers/avxintrin.h
M clang/lib/Headers/emmintrin.h
M clang/lib/Headers/gfniintrin.h
M clang/lib/Headers/mmintrin.h
M clang/lib/Headers/pmmintrin.h
M clang/lib/Headers/smmintrin.h
M clang/lib/Headers/tmmintrin.h
M clang/lib/Headers/xmmintrin.h
M clang/test/CodeGen/X86/avx512vlbw-builtins.c
Log Message:
-----------
[X86][AVX10] Fix unexpected error and warning when using intrinsic (#104781)
E.g.: https://godbolt.org/z/G8zK5svjK
Based on Evgenii's work.
Commit: 39e3085a55880dbbc5aeddc3661342980d5e1467
https://github.com/llvm/llvm-project/commit/39e3085a55880dbbc5aeddc3661342980d5e1467
Author: Sam Elliott <quic_aelliott at quicinc.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
R clang/test/Misc/target-invalid-cpu-note.c
A clang/test/Misc/target-invalid-cpu-note/aarch64.c
A clang/test/Misc/target-invalid-cpu-note/amdgcn.c
A clang/test/Misc/target-invalid-cpu-note/arm.c
A clang/test/Misc/target-invalid-cpu-note/avr.c
A clang/test/Misc/target-invalid-cpu-note/bpf.c
A clang/test/Misc/target-invalid-cpu-note/hexagon.c
A clang/test/Misc/target-invalid-cpu-note/lanai.c
A clang/test/Misc/target-invalid-cpu-note/mips.c
A clang/test/Misc/target-invalid-cpu-note/nvptx.c
A clang/test/Misc/target-invalid-cpu-note/powerpc.c
A clang/test/Misc/target-invalid-cpu-note/r600.c
A clang/test/Misc/target-invalid-cpu-note/riscv.c
A clang/test/Misc/target-invalid-cpu-note/sparc.c
A clang/test/Misc/target-invalid-cpu-note/systemz.c
A clang/test/Misc/target-invalid-cpu-note/wasm.c
A clang/test/Misc/target-invalid-cpu-note/x86.c
Log Message:
-----------
[clang][NFC] Split invalid-cpu-note tests (#104601)
This change does two kinds of splits:
- Splits each target into a different file. Some targets are left in the
same files, such as riscv32/64 and x86/_64 as these tests and lists are
very similar.
- Splits up the very long 'note:' lines which contain a list of CPUs,
using `CHECK-SAME`. There was a note about this not being possible
before, but with `{{^}}`, this is now possible -- I have
verified that this does the right thing if a single CPU anywhere in the
list is left out.
These tests had become quite annoying to change when adding a CPU, and I
believe this change makes these easier to maintain, and should cut down
on conflicts in these files (or at least makes conflicts easier to
resolve).
I apologise in advance for downstream conflicts, but hopefully that's a
small amount of short term pain, in return for fewer conflicts in
future.
Commit: 7cfc9a3a3d87e39611438e4bd178358329573294
https://github.com/llvm/llvm-project/commit/7cfc9a3a3d87e39611438e4bd178358329573294
Author: Bogdan-Alexandru Geană <1569265+abgeana at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/lib/IR/Core.cpp
Log Message:
-----------
[llvm-c] Add getters for LLVMContextRef for various types (#99087)
Small PR to add additional getters for LLVMContextRef in the C API.
Commit: eb7d535199d7fc3de763276093b97141a041d3d6
https://github.com/llvm/llvm-project/commit/eb7d535199d7fc3de763276093b97141a041d3d6
Author: Tim Besard <tim.besard at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/include/llvm/IR/Instructions.h
M llvm/lib/IR/Core.cpp
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/tools/llvm-c-test/attributes.c
M llvm/tools/llvm-c-test/echo.cpp
M llvm/tools/llvm-c-test/llvm-c-test.h
M llvm/tools/llvm-c-test/module.c
M llvm/unittests/IR/InstructionsTest.cpp
Log Message:
-----------
[LLVM] Add a C API for creating instructions with custom syncscopes. (#104775)
Another upstreaming of C API extensions we have in Julia/LLVM.jl.
Although [we went](https://github.com/maleadt/LLVM.jl/pull/431) with a
string-based API there, here I'm proposing something that's similar to
existing metadata/attribute APIs:
- explicit functions to map syncscope names to IDs, and back
- `LLVM*SyncScope` versions of builder APIs that already take a
`SingleThread` argument: atomic rmw, atomic xchg, fence
- `LLVMGetAtomicSyncScopeID` and `LLVMSetAtomicSyncScopeID` for other
atomic instructions
- testing through `llvm-c-test`'s `--echo` functionality
Commit: 2511cdb078b168796080150a23619c806ed350f2
https://github.com/llvm/llvm-project/commit/2511cdb078b168796080150a23619c806ed350f2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
Log Message:
-----------
[InstCombine] Adjust fixpoint error message (NFC)
Add a hint to use the no-verify-fixpoint option.
Commit: 34e15adb5a725a5ecc7c0d5ef5571d307d751a93
https://github.com/llvm/llvm-project/commit/34e15adb5a725a5ecc7c0d5ef5571d307d751a93
Author: Tomas Matheson <Tomas.Matheson at arm.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[AArch64] Remove TargetParser CPU/Arch feature tests (#104587)
These are annoying to update, and are redundant since the tests in
clang/test/Driver/print-enabled-extensions/ were added.
Commit: 5f3c0b23759faa80b0be59531f7e6643f9c95d32
https://github.com/llvm/llvm-project/commit/5f3c0b23759faa80b0be59531f7e6643f9c95d32
Author: SpencerAbson <Spencer.Abson at arm.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/aarch64-neon-faminmax.ll
Log Message:
-----------
[AArch64][NEON] Extend faminmax patterns with fminnm/fmaxnm (#104766)
Patterns were previously added to allow the following reductions
- fminimum(abs(a), abs(b)) -> famin(a, b)
- fmaximum(abs(a), abs(b)) -> famax(a, b)
- https://github.com/llvm/llvm-project/pull/103027
It was suggested by @davemgreen that the following reductions are also
possible
- fminnum[nnan](abs(a), abs(b)) -> famin(a, b)
- fmaxnum[nnan](abs(a), abs(b)) -> famax(a, b)
('nnan' documenatation:
https://llvm.org/docs/LangRef.html#fast-math-flags)
The 'no NaNs' flag allows optimisations to assume that neither argument
is a NaN, and so the differing NaN propagation semantics of
llvm.maxnum/llvm.minnum and FAMAX/FAMIN can be ignored in this
reduction.
(llvm.maxnum/llvm.minnum:
https://llvm.org/docs/LangRef.html#llvm-minnum-intrinsic)
- Changes to LLVM
- lib/target/AArch64/AArch64InstrInfo.td
- add 'fminnm_nnan' and 'fmaxnm_nnan'; patfrags on fminnm/fmaxnm that
are predicated on the instrinsic call having the 'nnan' flag.
- add AArch64famin and AArch64famax patfrags, containing the new and
existing reductions.
- test/CodeGen/AArch64/aarch64-neon-faminmax.ll
- add positive and negative tests for the new reduction, based on the
presence of 'nnan' in the IR intrinsic call.
Commit: cfc76b6498a3c03268b3f319249afa4512d68e1c
https://github.com/llvm/llvm-project/commit/cfc76b6498a3c03268b3f319249afa4512d68e1c
Author: Fabian Mora <fmora.dev at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/include/llvm/Frontend/Offloading/Utility.h
M llvm/lib/Frontend/Offloading/CMakeLists.txt
M llvm/lib/Frontend/Offloading/Utility.cpp
M offload/plugins-nextgen/amdgpu/CMakeLists.txt
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h
Log Message:
-----------
[llvm][offload] Move AMDGPU offload utilities to LLVM (#102487)
This patch moves utilities from
`offload/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h` to
`llvm/Frontend/Offloading/Utility.h` to be reused by
other projects.
Concretely the following changes were made:
- Rename `KernelMetaDataTy` to `AMDGPUKernelMetaData`.
- Remove unused fields `KernelObject`, `KernelSegmentSize`,
`ExplicitArgumentCount` and `ImplicitArgumentCount` from
`AMDGPUKernelMetaData`.
- Return the produced error if `ELFObj.sections()` failed instead of
using `cantFail`.
- Added `AGPRCount` field to `AMDGPUKernelMetaData`.
- Added a default invalid value to all the fields in
`AMDGPUKernelMetaData`.
Commit: 576b7a781aac6b1d60a72248894b50e565e9185a
https://github.com/llvm/llvm-project/commit/576b7a781aac6b1d60a72248894b50e565e9185a
Author: Koakuma <koachan at protonmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
M llvm/test/CodeGen/SPARC/inlineasm.ll
Log Message:
-----------
[SPARC] Remove assertions in printOperand for inline asm operands (#104692)
Inline asm operands could contain any kind of relocation, so remove the
checks.
Fixes https://github.com/llvm/llvm-project/issues/103493
Commit: fc044901a2b8ae277b62bdde9140917913bd1644
https://github.com/llvm/llvm-project/commit/fc044901a2b8ae277b62bdde9140917913bd1644
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M lldb/test/API/functionalities/breakpoint/breakpoint_with_realpath_and_source_map/TestBreakpoint.py
Log Message:
-----------
[lldb][Windows] Fixed the API test breakpoint_with_realpath_and_source_map (#104918)
This test is already disabled for Windows because of symlinks. Disable
it for cross build on Windows host too.
Commit: ee572ed4ac2d9e2ff37217d6bedc20f530a5d3af
https://github.com/llvm/llvm-project/commit/ee572ed4ac2d9e2ff37217d6bedc20f530a5d3af
Author: hanbeom <kese111 at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
M llvm/test/CodeGen/AArch64/movimm-expand-ldst.ll
M llvm/test/CodeGen/AArch64/movimm-expand-ldst.mir
Log Message:
-----------
[AArch64] Optimize when storing symmetry constants (#93717)
This change looks for instructions of storing symmetric constants
instruction 32-bit units. usually consisting of several 'MOV' and
one or less 'ORR'.
If found, load only the lower 32-bit constant and change it to copy
and save to the upper 32-bit using the 'STP' instruction.
For example:
renamable $x8 = MOVZXi 49370, 0
renamable $x8 = MOVKXi $x8, 320, 16
renamable $x8 = ORRXrs $x8, $x8, 32
STRXui killed renamable $x8, killed renamable $x0, 0
becomes
$w8 = MOVZWi 49370, 0
$w8 = MOVKWi $w8, 320, 16
STPWi killed renamable $w8, killed renamable $w8, killed renamable $x0,
0
related issue : https://github.com/llvm/llvm-project/issues/51483
Commit: e6da78a326a7cbf8f3a6422d33f48d13708e0da3
https://github.com/llvm/llvm-project/commit/e6da78a326a7cbf8f3a6422d33f48d13708e0da3
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/GenericCycleImpl.h
M llvm/include/llvm/ADT/GenericCycleInfo.h
M llvm/include/llvm/Analysis/CycleAnalysis.h
M llvm/lib/Analysis/CycleAnalysis.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/test/Analysis/CycleInfo/basic.ll
M llvm/test/Analysis/CycleInfo/unreachable-predecessor.ll
Log Message:
-----------
Reapply "[CycleAnalysis] Methods to verify cycles and their nesting. (#102300)"
This reverts commit 4aacc60fe7e1f7b3f788bba8382ea1fa5189ef3b.
The original implementation provided a simple method to check whether the forest
of nested cycles is well-formed. This is now augmented with other methods to
check well-formedness of every cycle, either individually, or as the entire
forest. These will be used by future transforms that modify CycleInfo.
Commit: fe946bfb728481a249282fb1e14378bf444defd3
https://github.com/llvm/llvm-project/commit/fe946bfb728481a249282fb1e14378bf444defd3
Author: David Green <david.green at arm.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
M llvm/test/CodeGen/AArch64/aarch64-mull-masks.ll
M llvm/test/CodeGen/AArch64/peephole-sxtw.mir
Log Message:
-----------
[AArch64] Extend sxtw peephole to uxtw. (#104516)
This extends the existing sxtw peephole optimization (#96293) to uxtw,
which in llvm is a ORRWrr which clears the top bits.
Fixes #98481
Commit: fd83b86bf6da6486d447d67f2c8204aa1a94dfd6
https://github.com/llvm/llvm-project/commit/fd83b86bf6da6486d447d67f2c8204aa1a94dfd6
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/test/Transforms/InstCombine/bit-checks.ll
Log Message:
-----------
[InstCombine] Thwart complexity-based canonicalization in test (NFC)
Commit: 27e5f505e5eee3da27c1515d6ed95d66fbe543ea
https://github.com/llvm/llvm-project/commit/27e5f505e5eee3da27c1515d6ed95d66fbe543ea
Author: Andy Kaylor <andrew.kaylor at intel.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/UsersManual.rst
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/CodeGen/ffp-model.c
M clang/test/Driver/fp-model.c
Log Message:
-----------
[Driver] Make ffp-model=fast honor non-finite-values, introduce ffp-model=aggressive (#100453)
This change modifies -ffp-model=fast to select options that more closely
match -funsafe-math-optimizations, and introduces a new model,
-ffp-model=aggressive which matches the existing behavior (except for a
minor change in the fp-contract behavior).
The primary motivation for this change is to make -ffp-model=fast more
user friendly, particularly in light of LLVM's aggressive optimizations
when -fno-honor-nans and -fno-honor-infinites are used.
This was previously proposed here:
https://discourse.llvm.org/t/making-ffp-model-fast-more-user-friendly/78402
Commit: 254da5ab8bce846bcbac9862f31c1891d8feea44
https://github.com/llvm/llvm-project/commit/254da5ab8bce846bcbac9862f31c1891d8feea44
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/X86/ctlz-codesize.ll
M llvm/test/Analysis/CostModel/X86/ctlz-latency.ll
M llvm/test/Analysis/CostModel/X86/ctlz-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/ctlz.ll
M llvm/test/Analysis/CostModel/X86/cttz-codesize.ll
M llvm/test/Analysis/CostModel/X86/cttz-latency.ll
M llvm/test/Analysis/CostModel/X86/cttz-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/cttz.ll
M llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
M llvm/test/Transforms/LoopIdiom/X86/ctlz.ll
M llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll
M llvm/test/Transforms/LoopIdiom/X86/left-shift-until-zero.ll
Log Message:
-----------
[CostModel][X86] Add missing costkinds for scalar CTLZ/CTTZ instructions
Baed off worst case llvm-mca numbers for CTLZ/CTTZ(+ZERO_UNDEF) codegen
Prep work for #102885
Commit: 9bb555688caf6ae4ba89fee5baa3dc29fec6a9b1
https://github.com/llvm/llvm-project/commit/9bb555688caf6ae4ba89fee5baa3dc29fec6a9b1
Author: Kyungwoo Lee <kyulee at meta.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
A llvm/include/llvm/CGData/CodeGenData.h
A llvm/include/llvm/CGData/CodeGenData.inc
A llvm/include/llvm/CGData/CodeGenDataReader.h
A llvm/include/llvm/CGData/CodeGenDataWriter.h
A llvm/include/llvm/CGData/OutlinedHashTree.h
A llvm/include/llvm/CGData/OutlinedHashTreeRecord.h
R llvm/include/llvm/CodeGenData/OutlinedHashTree.h
R llvm/include/llvm/CodeGenData/OutlinedHashTreeRecord.h
A llvm/lib/CGData/CMakeLists.txt
A llvm/lib/CGData/CodeGenData.cpp
A llvm/lib/CGData/CodeGenDataReader.cpp
A llvm/lib/CGData/CodeGenDataWriter.cpp
A llvm/lib/CGData/OutlinedHashTree.cpp
A llvm/lib/CGData/OutlinedHashTreeRecord.cpp
M llvm/lib/CMakeLists.txt
R llvm/lib/CodeGenData/CMakeLists.txt
R llvm/lib/CodeGenData/OutlinedHashTree.cpp
R llvm/lib/CodeGenData/OutlinedHashTreeRecord.cpp
M llvm/test/CMakeLists.txt
M llvm/test/lit.cfg.py
A llvm/test/tools/llvm-cgdata/convert.test
A llvm/test/tools/llvm-cgdata/empty.test
A llvm/test/tools/llvm-cgdata/error.test
A llvm/test/tools/llvm-cgdata/merge-archive.test
A llvm/test/tools/llvm-cgdata/merge-concat.test
A llvm/test/tools/llvm-cgdata/merge-double.test
A llvm/test/tools/llvm-cgdata/merge-single.test
A llvm/test/tools/llvm-cgdata/show.test
A llvm/tools/llvm-cgdata/CMakeLists.txt
A llvm/tools/llvm-cgdata/Opts.td
A llvm/tools/llvm-cgdata/llvm-cgdata.cpp
A llvm/unittests/CGData/CMakeLists.txt
A llvm/unittests/CGData/OutlinedHashTreeRecordTest.cpp
A llvm/unittests/CGData/OutlinedHashTreeTest.cpp
M llvm/unittests/CMakeLists.txt
R llvm/unittests/CodeGenData/CMakeLists.txt
R llvm/unittests/CodeGenData/OutlinedHashTreeRecordTest.cpp
R llvm/unittests/CodeGenData/OutlinedHashTreeTest.cpp
Log Message:
-----------
Reland [CGData] llvm-cgdata #89884 (#101461)
Reland [CGData] llvm-cgdata #89884 using `Opt` instead of `cl`
- Action options are required, `--convert`, `--show`, `--merge`. This
was similar to sub-commands previously implemented, but having a prefix
`--`.
- `--format` option is added, which specifies `text` or `binary`.
---------
Co-authored-by: Kyungwoo Lee <kyulee at fb.com>
Commit: 74f5ee4ffe89da4a0e9c762c69f8a68536fbf754
https://github.com/llvm/llvm-project/commit/74f5ee4ffe89da4a0e9c762c69f8a68536fbf754
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/include/llvm/Analysis/DXILMetadataAnalysis.h
M llvm/lib/Analysis/DXILMetadataAnalysis.cpp
M llvm/test/CodeGen/DirectX/Metadata/dxilVer-1.0.ll
M llvm/test/CodeGen/DirectX/Metadata/dxilVer-1.8.ll
A llvm/test/CodeGen/DirectX/Metadata/empty-valver1.8.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-as.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-cs-val-ver-0.0.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-cs.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-gs.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-hs.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-lib.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-ms.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-ps.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-vs.ll
Log Message:
-----------
[DXIL][Analysis] Add validator version to info collected by Module Metadata Analysis (#104828)
Add Validator Version to information collected by Module Metadata
Analysis pass. An earlier change (#104040) added a default hardcoded
value for validator version to be associated with DXIL module created
during HLSL source compilation.
Add tests to verify validator version info collected
- Updated existing tests
- Added a test with validator version specified in DXIL metadata
Commit: 8f4f3df3c0ffc22c09d9201980a88ebb8aecc8f8
https://github.com/llvm/llvm-project/commit/8f4f3df3c0ffc22c09d9201980a88ebb8aecc8f8
Author: Daniel Grumberg <dgrumberg at apple.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/include/clang/ExtractAPI/API.h
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
M clang/lib/ExtractAPI/API.cpp
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
M clang/test/ExtractAPI/anonymous_record_no_typedef.c
Log Message:
-----------
Reenable anon structs (#104922)
Add back missing includes and revert revert "[clang][ExtractAPI] Stop
dropping fields of nested anonymous record types when they aren't
attached to variable declaration (#104600)"
Commit: 723a9b87e212a06ae1183f52aa51fa5e367d5a68
https://github.com/llvm/llvm-project/commit/723a9b87e212a06ae1183f52aa51fa5e367d5a68
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/tools/llvm-cgdata/llvm-cgdata.cpp
Log Message:
-----------
[llvm-cgdata] Fix -Wcovered-switch-default (NFC)
/llvm-project/llvm/tools/llvm-cgdata/llvm-cgdata.cpp:349:3:
error: default label in switch which covers all enumeration values [-Werror,-Wcovered-switch-default]
default:
^
1 error generated.
Commit: b5f7b6961d2bc4d852fc3a5992aecf5e2e48baee
https://github.com/llvm/llvm-project/commit/b5f7b6961d2bc4d852fc3a5992aecf5e2e48baee
Author: Tomas Matheson <tomas.matheson at arm.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[AArch64] fix buildbot by removing dead code
Failure with -Werror buildbot caused by #104587
Commit: 1c3955f9dff9b653be88d5dea5bc3cd007904e90
https://github.com/llvm/llvm-project/commit/1c3955f9dff9b653be88d5dea5bc3cd007904e90
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/include/clang/AST/OpenMPClause.h
Log Message:
-----------
[clang][OpenMP] Fix typo in comment, NFC
Commit: 55d744eea36194809c4d16437db08aaa91c74292
https://github.com/llvm/llvm-project/commit/55d744eea36194809c4d16437db08aaa91c74292
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
A llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
A llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.h
M llvm/lib/Target/AMDGPU/AMDGPUPromoteKernelArguments.cpp
M llvm/lib/Target/AMDGPU/CMakeLists.txt
R llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
R llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.h
M llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
Log Message:
-----------
[AMDGPU] Move AMDGPUMemoryUtils out of Utils. NFC. (#104930)
It is only used by CodeGen so does not need to be shared with the
assembler/disassembler.
Commit: d5e9691509aa774d1acedc4d3fa2d497757a2d6d
https://github.com/llvm/llvm-project/commit/d5e9691509aa774d1acedc4d3fa2d497757a2d6d
Author: Durgadoss R <durgadossr at nvidia.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/docs/NVPTXUsage.rst
M llvm/include/llvm/IR/IntrinsicsNVVM.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
A llvm/test/CodeGen/NVPTX/elect.ll
Log Message:
-----------
[NVPTX] Add elect.sync Intrinsic (#104780)
This patch adds an NVVM intrinsic and NVPTX codegen for the elect.sync
PTX instruction. Lit tests are
added in elect.ll and verified through ptxas.
PTX ISA reference:
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-elect-sync
Signed-off-by: Durgadoss R <durgadossr at nvidia.com>
Commit: 5f777347197da26f9f9b5c561b5ba83f307519bb
https://github.com/llvm/llvm-project/commit/5f777347197da26f9f9b5c561b5ba83f307519bb
Author: Chris Apple <cja-private at pm.me>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/docs/BitCodeFormat.rst
Log Message:
-----------
[NFC] Remove explicit bitcode enumeration from BitCodeFormat.rst (#102618)
This explicit listing of the bitcodes is out of date, and had fallen out of date in the past as well.
Delete the explicit listing and point users to where they can find it.
Commit: 5032fa89ad1ea1b460a0b9ef1375d7c868db1712
https://github.com/llvm/llvm-project/commit/5032fa89ad1ea1b460a0b9ef1375d7c868db1712
Author: Marius Brehler <marius.brehler at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
M mlir/test/Dialect/EmitC/invalid_ops.mlir
M mlir/test/Dialect/EmitC/ops.mlir
Log Message:
-----------
[MLIR][EmitC] Allow ptrdiff_t as result in sub op (#104921)
This explicitly allows the `emitc.ptrdiff_t` type for the result of
substrating two pointers and changes the example accordingly.
Commit: c670cb47d109b68158dd53885aff94542a8312c5
https://github.com/llvm/llvm-project/commit/c670cb47d109b68158dd53885aff94542a8312c5
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
R llvm/test/CodeGen/DirectX/Metadata/empty-valver1.8.ll
Log Message:
-----------
[DXIL][Analysis] Delete unnecessary test (#105025)
Delete an unnecessary test added in an earlier PR.
Commit: 90a8e5a7ac52d05c2331f0f3d1461fcab6b7d520
https://github.com/llvm/llvm-project/commit/90a8e5a7ac52d05c2331f0f3d1461fcab6b7d520
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
Log Message:
-----------
InferAddressSpaces: Factor replacement loop into function [NFC] (#104430)
Commit: f9e2a86b2e852dbed027e6aea5b48f32f2415b13
https://github.com/llvm/llvm-project/commit/f9e2a86b2e852dbed027e6aea5b48f32f2415b13
Author: Nicolas van Kempen <nvankemp at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
Log Message:
-----------
[clang][ASTMatcher] Fix execution order of hasOperands submatchers (#104148)
`hasOperands` does not always execute matchers in the order they are
written. This can cause issue in code using bindings when one operand
matcher is relying on a binding set by the other. With this change, the
first matcher present in the code is always executed first and any
binding it sets are available to the second matcher.
Simple example with current version (1 match) and new version (2
matches):
```bash
> cat tmp.cpp
int a = 13;
int b = ((int) a) - a;
int c = a - ((int) a);
> clang-query tmp.cpp
clang-query> set traversal IgnoreUnlessSpelledInSource
clang-query> m binaryOperator(hasOperands(cStyleCastExpr(has(declRefExpr(hasDeclaration(valueDecl().bind("d"))))), declRefExpr(hasDeclaration(valueDecl(equalsBoundNode("d"))))))
Match #1:
tmp.cpp:1:1: note: "d" binds here
int a = 13;
^~~~~~~~~~
tmp.cpp:2:9: note: "root" binds here
int b = ((int)a) - a;
^~~~~~~~~~~~
1 match.
> ./build/bin/clang-query tmp.cpp
clang-query> set traversal IgnoreUnlessSpelledInSource
clang-query> m binaryOperator(hasOperands(cStyleCastExpr(has(declRefExpr(hasDeclaration(valueDecl().bind("d"))))), declRefExpr(hasDeclaration(valueDecl(equalsBoundNode("d"))))))
Match #1:
tmp.cpp:1:1: note: "d" binds here
1 | int a = 13;
| ^~~~~~~~~~
tmp.cpp:2:9: note: "root" binds here
2 | int b = ((int)a) - a;
| ^~~~~~~~~~~~
Match #2:
tmp.cpp:1:1: note: "d" binds here
1 | int a = 13;
| ^~~~~~~~~~
tmp.cpp:3:9: note: "root" binds here
3 | int c = a - ((int)a);
| ^~~~~~~~~~~~
2 matches.
```
If this should be documented or regression tested anywhere please let me
know where.
Commit: 8f44feedb593cde6826d1b417c4d4d58ca060dde
https://github.com/llvm/llvm-project/commit/8f44feedb593cde6826d1b417c4d4d58ca060dde
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[docs] Fix typo in llvm.experimental.vector.compress code-block snippet
Commit: c106e8d729d121bb70739d9703be8b8cd416916f
https://github.com/llvm/llvm-project/commit/c106e8d729d121bb70739d9703be8b8cd416916f
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/include/llvm/Support/Compiler.h
Log Message:
-----------
[Support] Remove unneeded __has_include fallback
This is a C++17 feature implemented in all supported compilers.
Pull Request: https://github.com/llvm/llvm-project/pull/104898
Commit: 7c06786479311fbf19f54c7980c6e96936fa05a8
https://github.com/llvm/llvm-project/commit/7c06786479311fbf19f54c7980c6e96936fa05a8
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/cmake/config-ix.cmake
M llvm/include/llvm/Config/config.h.cmake
M llvm/lib/Support/Unix/Signals.inc
M llvm/unittests/Support/SignalsTest.cpp
M llvm/utils/gn/secondary/llvm/include/llvm/Config/BUILD.gn
M utils/bazel/llvm-project-overlay/llvm/config.bzl
M utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
M utils/bazel/llvm_configs/config.h.cmake
Log Message:
-----------
[CMake] Remove HAVE_LINK_H
We can remove the variable from https://reviews.llvm.org/D5610 since
link.h is available on Linux (glibc/musl/Bionic), FreeBSD, and NetBSD.
Use `__has_include(<link.h>)` before including it.
Pull Request: https://github.com/llvm/llvm-project/pull/104893
Commit: 61f8ab3a367505ac8fab900f9160ecd629a85859
https://github.com/llvm/llvm-project/commit/61f8ab3a367505ac8fab900f9160ecd629a85859
Author: Alex Rice <alexrice999 at hotmail.co.uk>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/IRDL/IR/IRDL.td
M mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td
Log Message:
-----------
[mlir] [irdl] Improve IRDL documentation (#104928)
Updates some of the irdl documentation to be in line with the current
state of IRDL. Also removes some trailing spaces in this documentation.
Commit: 2641ed7d26198557a63ce447a0584a96494a5ac4
https://github.com/llvm/llvm-project/commit/2641ed7d26198557a63ce447a0584a96494a5ac4
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/test/Transforms/OpenMP/spmdization.ll
Log Message:
-----------
[OpenMP][FIX] Check for requirements early (#104836)
If we can't transform the region to SPMD, we should not wait till the
end to decide that. Other AAs might assume SPMD, and we did set the
constant initializer to indicate SPMD, but we did not change the code
properly.
Commit: dfc3494d48f06be9144b9a1d5cb76e519c194215
https://github.com/llvm/llvm-project/commit/dfc3494d48f06be9144b9a1d5cb76e519c194215
Author: Kyungwoo Lee <kyulee at meta.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
Log Message:
-----------
Fix a warning for -Wcovered-switch-default (#105054)
This fixes a build break from [llvm/llvm-project] Reland [CGData]
llvm-cgdata #89884 (PR #101461)
Commit: 9b25ad818c0b82fe4db8b43e9c9700805a2c7322
https://github.com/llvm/llvm-project/commit/9b25ad818c0b82fe4db8b43e9c9700805a2c7322
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/test/CodeGen/X86/fold-loop-of-urem.ll
M llvm/test/Transforms/CodeGenPrepare/X86/fold-loop-of-urem.ll
Log Message:
-----------
[CodeGenPrepare][X86] Add tests for fixing `urem` transform; NFC
Commit: e4c67ba67ee25e74bbcb719f90dba6e2e9ce41a0
https://github.com/llvm/llvm-project/commit/e4c67ba67ee25e74bbcb719f90dba6e2e9ce41a0
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/test/CodeGen/X86/fold-loop-of-urem.ll
M llvm/test/Transforms/CodeGenPrepare/X86/fold-loop-of-urem.ll
Log Message:
-----------
Recommit "[CodeGenPrepare] Folding `urem` with loop invariant value"
Was missing remainder on `Start` value.
Also changed logic as as nikic suggested (getting loop from `PN`
instead of `Rem`). The prior impl increased the complexity of the code
and made debugging it more difficult.
Closes #104877
Commit: aaba552f51e1a96f829afa8b422ca8d7ace55781
https://github.com/llvm/llvm-project/commit/aaba552f51e1a96f829afa8b422ca8d7ace55781
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vdiv-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vdivu-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vrem-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vremu-vp.ll
Log Message:
-----------
[RISCV] Add coverage for VP div[u]/rem[u] with non-power-of-2 vectors
This already works, just adding coverage to show that before a change
which depends on this functionality.
Commit: 0e24686af49d2f9e50438d3a27db6f1ade594855
https://github.com/llvm/llvm-project/commit/0e24686af49d2f9e50438d3a27db6f1ade594855
Author: Mital Ashok <mital at mitalashok.co.uk>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/FormatString.cpp
M clang/lib/Sema/SemaExpr.cpp
A clang/test/CXX/drs/cwg722.cpp
M clang/test/CXX/drs/cwg7xx.cpp
A clang/test/Sema/format-pointer.c
M clang/test/Sema/format-strings-pedantic.c
M clang/www/cxx_dr_status.html
Log Message:
-----------
[Clang] CWG722: nullptr to ellipses (#104704)
https://cplusplus.github.io/CWG/issues/722.html
nullptr passed to a variadic function now converted to void* in C++.
This does not affect C23 nullptr.
Also fixes -Wformat-pedantic so that it no longer warns for nullptr
passed to %p (because it is converted to void* in C++ and it is allowed
for va_arg(ap, void*) in C23)
Commit: 8ac924744e93258d0c490e2fa2d4518e24cb458d
https://github.com/llvm/llvm-project/commit/8ac924744e93258d0c490e2fa2d4518e24cb458d
Author: Kunwar Grover <groverkss at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Port bf68e9047f62c22ca87f9a4a7c59a46b3de06abb (#104907)
Add dep on ControlFlowInterfaces for arith td files
Commit: abd3a2ded32a4dfad63ed6397f291c64453d744f
https://github.com/llvm/llvm-project/commit/abd3a2ded32a4dfad63ed6397f291c64453d744f
Author: Chenguang Wang <w3cing at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel] Add missing deps in {Arith,DLTI}DialectTdFiles (#105091)
Commit: 514481736cf943464125ef34570a7df0a19290de
https://github.com/llvm/llvm-project/commit/514481736cf943464125ef34570a7df0a19290de
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/test/CodeGen/RISCV/rv64zba.ll
Log Message:
-----------
[RISCV] Add isel optimization for (and (sra y, c2), c1) to recover regression from #101751. (#104114)
If c1 is a shifted mask with c3 leading zeros and c4 trailing zeros. If
c2 is greater than c3, we can use (srli (srai y, c2 - c3), c3 + c4)
followed by a SHXADD with c4 as the X amount.
Without Zba we can use (slli (srli (srai y, c2 - c3), c3 + c4), c4).
Alive2: https://alive2.llvm.org/ce/z/AwhheR
Commit: 6a38e19c92ed09eeecb70d5f61c3b822acb4964d
https://github.com/llvm/llvm-project/commit/6a38e19c92ed09eeecb70d5f61c3b822acb4964d
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGHLSLRuntime.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Sema/SemaHLSL.cpp
A clang/test/CodeGenHLSL/builtins/saturate.hlsl
A clang/test/SemaHLSL/BuiltIns/saturate-errors.hlsl
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
A llvm/test/CodeGen/DirectX/saturate.ll
A llvm/test/CodeGen/DirectX/saturate_errors.ll
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/saturate.ll
Log Message:
-----------
[HLSL] Implement support for HLSL intrinsic - saturate (#104619)
Implement support for HLSL intrinsic saturate.
Implement DXIL codegen for the intrinsic saturate by lowering it to DXIL
Op dx.saturate.
Implement SPIRV codegen by transforming saturate(x) to clamp(x, 0.0f,
1.0f).
Add tests for DXIL and SPIRV CodeGen.
Commit: e6751bfbf77bd9888b7882a46e2453e4ed149c7b
https://github.com/llvm/llvm-project/commit/e6751bfbf77bd9888b7882a46e2453e4ed149c7b
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/TableGen/TGLexer.cpp
Log Message:
-----------
[NFC][TableGen] Elminate use of isalpha/isdigit from TGLexer (#104837)
- Replace use of std::isalpha, std::isdigit, std:isxdigit with LLVM's
StringExtras versions, to avoid possibly locale dependent behavior (e.g.
glibc).
- Create helper function for common checks for valid identifier
characters.
Commit: e0326b668efda1d4ed7969c1a6cca44a487d24b6
https://github.com/llvm/llvm-project/commit/e0326b668efda1d4ed7969c1a6cca44a487d24b6
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/test/OpenMP/nvptx_allocate_codegen.cpp
M offload/test/api/omp_device_alloc.c
Log Message:
-----------
[OpenMP] Map `omp_default_mem_alloc` to global memory (#104790)
Summary:
Currently, we assign this to private memory. This causes failures on
some SOLLVE tests. The standard isn't clear on the semantics of this
allocation type, but there seems to be a consensus that it's supposed to
be shared memory.
Commit: e0441d587b3c5c5d11b08cbcfbbbb66ea8185510
https://github.com/llvm/llvm-project/commit/e0441d587b3c5c5d11b08cbcfbbbb66ea8185510
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/include/__chrono/leap_second.h
Log Message:
-----------
[libc++][chono] Use hidden friends for leap_second comparison. (#104713)
The function
template<class Duration>
requires three_way_comparable_with<sys_seconds, sys_time<Duration>>
constexpr auto operator<=>(const leap_second& x, const
sys_time<Duration>& y) noexcept;
Has a recursive constrained. This caused an infinite loop in GCC and is
now hit by https://github.com/llvm/llvm-project/pull/102857.
A fix would be to make this function a hidden friend, this solution is
propsed in LWG4139.
For consistency all comparisons are made hidden friends. Since the issue
causes compilation failures no additional test are needed.
Fixes: https://github.com/llvm/llvm-project/issues/104700
Commit: 93eda08babe95188ee41400035abaade79cda7d1
https://github.com/llvm/llvm-project/commit/93eda08babe95188ee41400035abaade79cda7d1
Author: Angel Zhang <angel.zhang at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
M mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
A mlir/test/Conversion/ConvertToSPIRV/argmax-kernel.mlir
A mlir/test/Conversion/ConvertToSPIRV/gpu.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][spirv] Support `gpu` in `convert-to-spirv` pass (#105010)
This PR adds conversion patterns for GPU to the `convert-to-spirv` pass,
introduced in #95942. Now the pass is able to convert each `gpu.module`
and its ops within a `builtin.module` into a `spirv.module`.
**Future Plans**
- Use `gpu.launch_func` to invoke kernel from host functions
- Potentially integrate into the `mlir-vulkan-runner` for e2e testing
Commit: 7aa22f013e24d20291aad745368ff907baa9dfa4
https://github.com/llvm/llvm-project/commit/7aa22f013e24d20291aad745368ff907baa9dfa4
Author: Andrea Faulds <andrea.faulds at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
M mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp
M mlir/test/Dialect/GPU/canonicalize.mlir
M mlir/test/Dialect/GPU/invalid.mlir
M mlir/test/Dialect/GPU/subgroup-reduce-lowering.mlir
Log Message:
-----------
[mlir][gpu] Add 'cluster_size' attribute to gpu.subgroup_reduce (#104851)
This enables performing several reductions in parallel, each smaller
than the size of the subgroup.
One potential application is flash attention with subgroup-wide matrix
multiplication and reduction combined in one kernel. The multiplication
operation requires a 2D matrix to be distributed over the lanes of the
subgroup, which then constrains the shape the following reduction can
have if we want to keep data in registers.
Commit: 770cd24140038646539602406fff54497793dae8
https://github.com/llvm/llvm-project/commit/770cd24140038646539602406fff54497793dae8
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
Log Message:
-----------
[lldb][ClangExpressionParser] Don't leak memory when multiplexing ExternalASTSources (#104799)
When we use `SemaSourceWithPriorities` as the `ASTContext`s
ExternalASTSource, we allocate a `ClangASTSourceProxy` (via
`CreateProxy`) and two `ExternalASTSourceWrapper`. Then we push these
sources into a vector in `SemaSourceWithPriorities`. The allocated
`SemaSourceWithPriorities` itself will get properly deallocated because
the `ASTContext` wraps it in an `IntrusiveRefCntPtr`. But the three
sources we allocated earlier will never get released.
This patch fixes this by mimicking what `MultiplexExternalSemaSource`
does (which is what `SemaSourceWithPriorities` is based on anyway).
I.e., when `SemaSourceWithPriorities` gets constructed, it increments
the use count of its sources. And on destruction it decrements them.
Similarly, to make sure we dealloacted the `ClangASTProxy` properly, the
`ExternalASTSourceWrapper` now assumes shared ownership of the
underlying source.
Commit: ddaa8284f5b4a240108eac8db92fa3eaae3299f5
https://github.com/llvm/llvm-project/commit/ddaa8284f5b4a240108eac8db92fa3eaae3299f5
Author: David CARLIER <devnexen at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M compiler-rt/lib/fuzzer/FuzzerUtilFuchsia.cpp
Log Message:
-----------
Revert "[compiler-rt][fuzzer] implements SetThreadName for fuchsia." (#105162)
Reverts llvm/llvm-project#99953
Commit: 8056d92bc201906edbb27f4efa1cc80a18359880
https://github.com/llvm/llvm-project/commit/8056d92bc201906edbb27f4efa1cc80a18359880
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
A lldb/test/Shell/Expr/TestAnonNamespaceParamFunc.cpp
Log Message:
-----------
[lldb][ClangExpressionParser] Implement ExternalSemaSource::ReadUndefinedButUsed (#104817)
While parsing an expression, Clang tries to diagnose usage of decls
(with possibly non-external linkage) for which it hasn't been provided
with a definition. This is the case, e.g., for functions with parameters
that live in an anonymous namespace (those will have `UniqueExternal`
linkage, this is computed [here in
computeTypeLinkageInfo](https://github.com/llvm/llvm-project/blob/ea8bb4d633683f5cbfd82491620be3056f347a02/clang/lib/AST/Type.cpp#L4647-L4653)).
Before diagnosing such situations, Clang calls
`ExternalSemaSource::ReadUndefinedButUsed`. The intended use of this API
is to extend the set of "used but not defined" decls with additional
ones that the external source knows about. However, in LLDB's case, we
never provide `FunctionDecl`s with a definition, and instead rely on the
expression parser to resolve those symbols by linkage name. Thus, to
avoid the Clang parser from erroring out in these situations, this patch
implements `ReadUndefinedButUsed` which just removes the "undefined"
non-external `FunctionDecl`s that Clang found.
We also had to add an `ExternalSemaSource` to the `clang::Sema` instance
LLDB creates. We previously didn't have any source on `Sema`. Because we
add the `ExternalASTSourceWrapper` here, that means we'd also
technically be adding the `ClangExpressionDeclMap` as an
`ExternalASTSource` to `Sema`, which is fine because `Sema` will only be
calling into the `ExternalSemaSource` APIs (though nothing currently
strictly enforces this, which is a bit worrying).
Note, the decision for whether to put a function into `UndefinedButUsed`
is done in
[Sema::MarkFunctionReferenced](https://github.com/llvm/llvm-project/blob/ea8bb4d633683f5cbfd82491620be3056f347a02/clang/lib/Sema/SemaExpr.cpp#L18083-L18087).
The `UniqueExternal` linkage computation is done in
[getLVForNamespaceScopeDecl](https://github.com/llvm/llvm-project/blob/ea8bb4d633683f5cbfd82491620be3056f347a02/clang/lib/AST/Decl.cpp#L821-L833).
Fixes https://github.com/llvm/llvm-project/issues/104712
Commit: 356533246aa33db44c75afb2d3eb6e0e08f0d7a6
https://github.com/llvm/llvm-project/commit/356533246aa33db44c75afb2d3eb6e0e08f0d7a6
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/OperatingSystemPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/OperatingSystemPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/ScriptedThreadPlanPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/ScriptedThreadPlanPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[lldb] Fix windows debug build after 9d07f43 (#104896)
This patch tries to fix an issue with the windows debug builds where the
PDB file for python scripted interfaces cannot be opened since its path
length exceed the windows `MAX_PATH` limit:
https://github.com/llvm/llvm-project/pull/101672#issuecomment-2289481324
This patch addresses the issue by building all the interfaces as a
single library plugin that initiliazes each component as part of its
`Initialize` method, instead of building each interface as its own
library plugin.
This keeps the build artifact path length smaller while respecting the
naming convention and without making any exception in the build system.
Fixes #104895.
Signed-off-by: Med Ismail Bennani <ismail at bennani.ma>
Commit: c8a678b1e4863df2845b1305849534047f10caf1
https://github.com/llvm/llvm-project/commit/c8a678b1e4863df2845b1305849534047f10caf1
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/include/llvm/Analysis/CtxProfAnalysis.h
M llvm/lib/Analysis/CtxProfAnalysis.cpp
M llvm/unittests/Analysis/CMakeLists.txt
A llvm/unittests/Analysis/CtxProfAnalysisTest.cpp
Log Message:
-----------
[ctx_prof] Add analysis utility to fetch ID of a callsite (#104491)
This will be needed when maintaining the contextual profile for ICP or inlining - we'll need to first fetch the ID of a callsite, which is in an instrumentation instruction (intrinsic) preceding the callsite.
Commit: e56ad22b4a41e65984d6997b2c2496a20f906d1d
https://github.com/llvm/llvm-project/commit/e56ad22b4a41e65984d6997b2c2496a20f906d1d
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
M llvm/lib/Target/DirectX/DXILOpBuilder.h
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
Log Message:
-----------
[DirectX] Encapsulate DXILOpLowering's state into a class. NFC
This introduces an anonymous class "OpLowerer" to help with lowering DXIL ops,
and moves the DXILOpBuilder there instead of creating a new one for every
operation. DXILOpBuilder is also changed to own its IRBuilder, since that makes
it simpler to ensure that it isn't misused.
Pull Request: https://github.com/llvm/llvm-project/pull/104248
Commit: 655d62c4b326f2606b1e89a4dff0212c1d9226ab
https://github.com/llvm/llvm-project/commit/655d62c4b326f2606b1e89a4dff0212c1d9226ab
Author: Alex Rice <alexrice999 at hotmail.co.uk>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/include/mlir/IR/CommonTypeConstraints.td
Log Message:
-----------
[mlir][tablegen] Fix tablegen bug with `Complex` class (#104974)
The `Complex` class in tablegen tries to store its element type, but due
to a name collision it actually ends up storing the `type` field of the
`ConfinedType` superclass, and so `elementType` is always set to
`AnyComplex`.
This renames the field so that it gets correctly set.
Commit: 30318401ad64b11dcad891d8ba86b81715caa408
https://github.com/llvm/llvm-project/commit/30318401ad64b11dcad891d8ba86b81715caa408
Author: Mircea Trofin <mtrofin at google.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/unittests/Analysis/CMakeLists.txt
Log Message:
-----------
Fix post-104491 (#105191)
Commit: c44202574ff9a8c0632aba30c2765b134557435f
https://github.com/llvm/llvm-project/commit/c44202574ff9a8c0632aba30c2765b134557435f
Author: Peiming Liu <peiming at google.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/CodegenEnv.h
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.h
M mlir/test/Dialect/SparseTensor/sparse_kernels_to_iterator.mlir
Log Message:
-----------
[mlir][sparse] support sparsification to coiterate operations. (#102546)
Commit: b941ba1e126d44f94ff317c9a996143c3165774b
https://github.com/llvm/llvm-project/commit/b941ba1e126d44f94ff317c9a996143c3165774b
Author: Sumanth Gundapaneni <sumanth.gundapaneni at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/docs/LangRef.rst
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/IR/Verifier.cpp
A llvm/test/Assembler/lround.ll
M llvm/test/MachineVerifier/test_g_llround.mir
M llvm/test/MachineVerifier/test_g_lround.mir
Log Message:
-----------
llvm.lround: Update verifier to validate support of vector types. (#98950)
Both IRVerifier and Machine Verifier are updated
Commit: 31e55d461693df035049e09cbeeb8886ca2cb6d3
https://github.com/llvm/llvm-project/commit/31e55d461693df035049e09cbeeb8886ca2cb6d3
Author: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M lldb/test/API/lang/cpp/bitfields/TestCppBitfields.py
Log Message:
-----------
[lldb] Disable the API test TestCppBitfields on Windows (#105037)
This test causes the assert in clang CodeGen and python crashes with the
error code 0x80000003. See #105019 for more details. Note the similar
test lldb/test/API/lang/c/bitfields/TestBitfields.py is already disabled
on Windows.
Commit: f73050e722dd2e484358d03674eb186f3a2f4799
https://github.com/llvm/llvm-project/commit/f73050e722dd2e484358d03674eb186f3a2f4799
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M libcxx/include/__algorithm/partition.h
M libcxx/include/__pstl/backends/default.h
M libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.ends_with/ranges.ends_with.pass.cpp
M libcxx/test/std/containers/associative/from_range_associative_containers.h
M libcxx/test/std/containers/container.adaptors/from_range_container_adaptors.h
M libcxx/test/std/containers/sequences/from_range_sequence_containers.h
M libcxx/test/std/containers/unord/from_range_unordered_containers.h
M libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/iterator_sentinel.pass.cpp
M libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/range.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.counted/counted.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.elements/iterator/increment.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.split/begin.pass.cpp
A libcxx/test/std/ranges/range.utility/range.subrange/begin_end.pass.cpp
M libcxx/test/std/strings/basic.string/string.cons/from_range.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
M libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp
A libcxx/test/support/double_move_tracker.h
M libcxx/test/support/test_iterators.h
Log Message:
-----------
[libc++] Fix several double-moves in the code base (#104616)
This patch hardens the "test iterators" we use to test algorithms by
ensuring that they don't get double-moved. As a result of this
hardening, the tests started reporting multiple failures where we would
double-move iterators, which are being fixed in this patch.
In particular:
- Fixed a double-move in pstl.partition
- Add coverage for begin()/end() in subrange tests
- Fix tests for ranges::ends_with and ranges::contains, which were
incorrectly calling begin() twice on the same subrange containing
non-copyable input iterators.
Fixes #100709
Commit: fd4f9520a6a08c3dcf15622e3b887d8f3624fc42
https://github.com/llvm/llvm-project/commit/fd4f9520a6a08c3dcf15622e3b887d8f3624fc42
Author: Ahmed Bougacha <ahmed at bougacha.org>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/include/llvm/BinaryFormat/MachO.h
M llvm/lib/BinaryFormat/MachO.cpp
M llvm/lib/MC/MachObjectWriter.cpp
M llvm/lib/Object/MachOObjectFile.cpp
M llvm/test/MC/AArch64/arm64e-subtype.s
A llvm/test/tools/llvm-objdump/AArch64/Inputs/fat.macho-arm64e-kernel-ptrauth-abi
A llvm/test/tools/llvm-objdump/AArch64/Inputs/fat.macho-arm64e-ptrauth-abi
A llvm/test/tools/llvm-objdump/AArch64/macho-universal-arm64e-kernel-ptrauth-abi.test
A llvm/test/tools/llvm-objdump/AArch64/macho-universal-arm64e-ptrauth-abi.test
A llvm/test/tools/llvm-objdump/macho-ptrauth-cpusubtype.test
M llvm/tools/dsymutil/MachOUtils.cpp
M llvm/tools/llvm-objdump/MachODump.cpp
M llvm/unittests/BinaryFormat/MachOTest.cpp
Log Message:
-----------
[AArch64][MachO] Add ptrauth ABI version to arm64e cpusubtype. (#104650)
In a mach_header, the cpusubtype is a 32-bit field, but it's split in 2
subfields:
- the low 24 bits containing the cpu subtype proper, (e.g.,
CPU_SUBTYPE_ARM64E 2)
- the high 8 bits containing a capability field used for additional
feature flags.
Notably, it's only the subtype subfield that participates in fat file
slice discrimination: the caps are ignored.
arm64e uses the caps subfield to encode a ptrauth ABI version:
- 0x80 (CPU_SUBTYPE_PTRAUTH_ABI) denotes a versioned binary
- 0x40 denotes a kernel-ABI binary
- 0x00-0x0F holds the ptrauth ABI version
This teaches the basic obj tools to decode that (or ignore it when
unneeded).
It also teaches the MachO writer to default to emitting versioned
binaries, but with a version of 0 (and without the kernel ABI flag).
Modern arm64e requires versioned binaries: a binary with 0x00 caps in
cpusubtype is now rejected by the linker and everything after. We can
live without the sophistication of specifying the version and kernel ABI
for now.
Co-authored-by: Francis Visoiu Mistrih <francisvm at apple.com>
Commit: 552d26e275b094f7ceb96ede9cc478b23e2c12cc
https://github.com/llvm/llvm-project/commit/552d26e275b094f7ceb96ede9cc478b23e2c12cc
Author: Finlay <finlay.marno at codeplay.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp
M mlir/test/Conversion/GPUToLLVMSPV/gpu-to-llvm-spv.mlir
M mlir/test/Dialect/GPU/invalid.mlir
Log Message:
-----------
[mlir][gpu] Add extra value types for gpu::ShuffleOp (#104605)
Expand the accepted types for gpu.shuffle to any integer, float or 1d vector of integers or floats.
Also updated the gpu-to-llvm-spv pass to support those types.
Commit: 349d76d490fe0e32995f7381c91c17f38541f691
https://github.com/llvm/llvm-project/commit/349d76d490fe0e32995f7381c91c17f38541f691
Author: Connie Zhu <60797237+connieyzhu at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/utils/lit/tests/Inputs/shtest-cat/cat-error-0.txt
M llvm/utils/lit/tests/Inputs/shtest-cat/cat-error-1.txt
M llvm/utils/lit/tests/Inputs/shtest-cat/cat.txt
Log Message:
-----------
[llvm-lit][test] Updated built-in cat command tests (#104473)
This patch makes changes to improve syntax in tests and to add more
strict checks on cat output. This is a prequisite for
https://github.com/llvm/llvm-project/pull/101530.
Commit: 6558e04f02858bff61c01c9ec0900849fc8532f5
https://github.com/llvm/llvm-project/commit/6558e04f02858bff61c01c9ec0900849fc8532f5
Author: Connie Zhu <60797237+connieyzhu at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M lldb/test/Shell/Driver/TestUseColor.test
Log Message:
-----------
[lldb][test] Change unsupported cat -e to cat -v to work with lit internal shell (#104878)
This patch changes the test that uses the `cat -e` option to `cat -v` so
that the test can be run using lit's internal shell. For `cat`, the `-v`
option prints non-printing characters in ^ and M- notation, while the
`-e` option adds `$` to the end of lines in addition to printing
non-printing characters in ^ and M- notation. This is an alternative
patch to https://github.com/llvm/llvm-project/pull/102061, opting to
rewrite the test that uses `cat -e` instead of extending support to the
`-e` option.
Fixes https://github.com/llvm/llvm-project/issues/102377
Commit: ce132a58b8d5fcd21c50204171f5c30d939df516
https://github.com/llvm/llvm-project/commit/ce132a58b8d5fcd21c50204171f5c30d939df516
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx12.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx90a.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx940.cl
Log Message:
-----------
clang/AMDGPU: Emit atomicrmw from {global|flat}_atomic_fadd_v2f16 builtins (#96873)
Commit: 10cc4a5fab3ad8da7a64ba784007b99a039134c1
https://github.com/llvm/llvm-project/commit/10cc4a5fab3ad8da7a64ba784007b99a039134c1
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M flang/lib/Semantics/expression.cpp
A flang/test/Semantics/structconst10.f90
Log Message:
-----------
[flang] More support for anonymous parent components in struct constr… (#102642)
…uctors
A non-conforming extension to Fortran present in a couple other
compilers is allowing a anonymous component in a structure constructor
to initialize a parent (or greater ancestor) component. This was working
in this compiler only for direct parents, and only when the type was not
use-associated.
Fixes https://github.com/llvm/llvm-project/issues/102557.
Commit: 90d753ab75afdaab998cad20620b8197610e6dbd
https://github.com/llvm/llvm-project/commit/90d753ab75afdaab998cad20620b8197610e6dbd
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/implicit15.f90
Log Message:
-----------
[flang] Fix inheritance of IMPLICIT typing rules (#102692)
Interfaces don't inherit the IMPLICIT typing rules of their enclosing
scope, and separate MODULE PROCEDUREs inherit the IMPLICIT typing rules
of submodule in which they are defined, not the rules from their
interface.
Fixes https://github.com/llvm/llvm-project/issues/102558.
Commit: f0590177b28a3940b9afdf2f65eae054eeb49eed
https://github.com/llvm/llvm-project/commit/f0590177b28a3940b9afdf2f65eae054eeb49eed
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M flang/lib/Semantics/definable.cpp
M flang/test/Semantics/undef-result01.f90
Log Message:
-----------
[flang] Silence an inappropriate warning (#104685)
A bare ALLOCATE statement with no SOURCE= rightly earns a warning about
an undefined function result, if that result is an allocatable that
appears in the ALLOCATE. But in the case of a pointer, where the warning
should care more about the pointer's association status than the value
of its target, a bare ALLOCATE should suffice to silence the warning.
Commit: 143be4eafc69ed9a0923f44cdf99710cbaa70132
https://github.com/llvm/llvm-project/commit/143be4eafc69ed9a0923f44cdf99710cbaa70132
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M flang/lib/Semantics/tools.cpp
M flang/test/Semantics/declarations05.f90
Log Message:
-----------
[flang] Silence spurious error (#104821)
Don't complain about a local object with an impure final procedure in a
pure subprogram when the local object is a named constant.
Fixes https://github.com/llvm/llvm-project/issues/104796.
Commit: 1e1cf258c718bdce8c50c2b1923f1a522163fbc9
https://github.com/llvm/llvm-project/commit/1e1cf258c718bdce8c50c2b1923f1a522163fbc9
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M flang/include/flang/Evaluate/real.h
M flang/lib/Evaluate/fold-real.cpp
M flang/test/Evaluate/fold-nearest.f90
Log Message:
-----------
[flang] Fix IEEE_NEAREST_AFTER folding edge cases (#104846)
Conversions of infinities from other kinds to real(10) were incorrect,
and comparisons of real(2) vs real(3) are dicey as conversions in one
direction can overflow and conversions in the other can lose precision.
Use real(16) as the common type for comparisons in IEEE_NEAREST_AFTER.
Commit: 8266d47cd18eaf8755fba2a496c799c931f3bf6c
https://github.com/llvm/llvm-project/commit/8266d47cd18eaf8755fba2a496c799c931f3bf6c
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/Transforms/Attributor/call-simplify-pointer-info.ll
M llvm/test/Transforms/Attributor/multiple-offsets-pointer-info.ll
M llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll
Log Message:
-----------
[Attributor] Improve AAUnderlyingObjects (#104835)
- Allocas and GlobalValues cannot be simplified, so we should not try.
- If we never used any assumed state, the AAUnderlyingObjects doesn't
require an additional update.
- If we have seen an object (or it's underlying object) before, we do
not need to inspect it anymore.
The original logic for "SeenObjects" was flawed and caused us to add
intermediate values to the underlying object list if a PHI or select
instruction referenced the same underlying object twice. The test
changes are all instances of this situation and we now correctly derive
`memory(none)` for the functions that only access stack memory.
---------
Co-authored-by: Shilei Tian <i at tianshilei.me>
Commit: c932a0eb2ee222380a7fe237b7efb872c39e7d6b
https://github.com/llvm/llvm-project/commit/c932a0eb2ee222380a7fe237b7efb872c39e7d6b
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXIL.td
Log Message:
-----------
[Driver,DXIL] Fix build
Commit: 0a22655f31b146da68f1276c072b30be8392d1ef
https://github.com/llvm/llvm-project/commit/0a22655f31b146da68f1276c072b30be8392d1ef
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx90a.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx940.cl
Log Message:
-----------
clang/AMDGPU: Emit atomicrmw from flat_atomic_{f32|f64} builtins (#96874)
Commit: 5822cc271be4cb9dcf454922ea13aac11d88be8a
https://github.com/llvm/llvm-project/commit/5822cc271be4cb9dcf454922ea13aac11d88be8a
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx12.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx940.cl
Log Message:
-----------
clang/AMDGPU: Emit atomicrmw for global/flat fadd v2bf16 builtins (#96875)
Commit: 93e0f312c2a8709e7d4747570ddd40243314ea6b
https://github.com/llvm/llvm-project/commit/93e0f312c2a8709e7d4747570ddd40243314ea6b
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx90a.cl
Log Message:
-----------
clang/AMDGPU: Emit atomicrmw for flat/global atomic min/max f64 builtins (#96876)
Commit: 6e8c97035ca32c6b163f8735a340e15e011ec0c8
https://github.com/llvm/llvm-project/commit/6e8c97035ca32c6b163f8735a340e15e011ec0c8
Author: vporpo <vporpodas at google.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/include/llvm/SandboxIR/Tracker.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/lib/SandboxIR/Tracker.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/unittests/SandboxIR/TrackerTest.cpp
Log Message:
-----------
[SandboxIR] Implement CatchSwitchInst (#104652)
This patch implements sandboxir::CatchSwitchInst mirroring
llvm::CatchSwitchInst.
Commit: afeef4dbc3a9e523c82022ccd30bf9875ded12c8
https://github.com/llvm/llvm-project/commit/afeef4dbc3a9e523c82022ccd30bf9875ded12c8
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
Log Message:
-----------
AMDGPU/NewPM: Fill out passes in addCodeGenPrepare (#102867)
AMDGPUAnnotateKernelFeatures hasn't been ported yet, but it
should be soon removable.
Commit: 33e18b2b433a6e8331e09cc60965e4c943b66c05
https://github.com/llvm/llvm-project/commit/33e18b2b433a6e8331e09cc60965e4c943b66c05
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
Log Message:
-----------
AMDGPU/NewPM: Start filling out addIRPasses (#102884)
This is not complete, but gets AtomicExpand running. I was able
to get further than I expected; we're quite close to having all
the IR codegen passes ported.
Commit: 26ae31662b4ac3fe5569733316ac7de9d19d5fd5
https://github.com/llvm/llvm-project/commit/26ae31662b4ac3fe5569733316ac7de9d19d5fd5
Author: yingopq <115543042+yingopq at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
A clang/test/Driver/mips-msa.c
Log Message:
-----------
[clang] Support -Wa, options -mmsa and -mno-msa (#99615)
Co-authored-by: Fangrui Song <i at maskray.me>
Commit: 66ab4b80a4103a67a3c79b8c3b0974e301903f05
https://github.com/llvm/llvm-project/commit/66ab4b80a4103a67a3c79b8c3b0974e301903f05
Author: Kelvin Li <kkwli at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M flang/unittests/Runtime/Time.cpp
Log Message:
-----------
[flang] Re-enable date_and_time intrinsic test (NFC) (#104967)
Commit: d03dcf6e8c360e2b46bed16b329d186c68fbcc6a
https://github.com/llvm/llvm-project/commit/d03dcf6e8c360e2b46bed16b329d186c68fbcc6a
Author: ZERICO2005 <71151164+ZERICO2005 at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
Log Message:
-----------
[NFC] Fixed two typos: "__builin_" --> "__builtin_" (#98782)
Fixed two typos:
1. `__builin_va_list` --> `__builtin_va_list`
2. `__builin_suspend` --> `__builtin_suspend`
Commit: 660de533a23485eec4c5f8d3d88f9dd53497bcf8
https://github.com/llvm/llvm-project/commit/660de533a23485eec4c5f8d3d88f9dd53497bcf8
Author: Michael Park <mcypark at gmail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/docs/InternalsManual.rst
Log Message:
-----------
[NFC] Fix a typo in InternalsManual: ActOnCXX -> ActOnXXX (#105207)
This part of the manual describes uses of `ActOnXXX` and `BuildXXX`.
Commit: 1233df731761060a655814fb975dc741b2ab5393
https://github.com/llvm/llvm-project/commit/1233df731761060a655814fb975dc741b2ab5393
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M flang/test/Evaluate/fold-nearest.f90
Log Message:
-----------
[flang] Disable failing test (#105327)
flang/test/Evaluate/fold-nearest.f90 is failing oddly on ppc64le;
disable it for now while I sort things out.
Commit: 2599d695128381e6932b43f0e95649c533308d6d
https://github.com/llvm/llvm-project/commit/2599d695128381e6932b43f0e95649c533308d6d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip.ll
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/alu_m-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-div-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-rem-rv64.mir
Log Message:
-----------
[RISCV][GISel] Remove s32 support on RV64 for DIV, and REM. (#102519)
Based on experience with SelectionDAG and experimental-rv64-legal-i32, I
don't believe making s32 a legal type is viable without introducing an
invariant that s32 values are always sign extended like Mips64 does.
Mips64 does this with a separate 32-bit register class.
`experimental-rv64-legal-i32` was removed in ##102509.
This patch is part of a series to remove s32 support so we can remove
the isel patterns that SelectionDAG is no longer using. To restore code
quality, we will need to add custom W nodes like SelectionDAG.
Commit: 295fe0bd438209831071ffbacf003c4941f31b90
https://github.com/llvm/llvm-project/commit/295fe0bd438209831071ffbacf003c4941f31b90
Author: Justin Stitt <justinstitt at google.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/UndefinedBehaviorSanitizer.rst
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/Stmt.h
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/SanitizerArgs.h
M clang/lib/AST/Expr.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
A clang/test/CodeGen/ignore-overflow-pattern-false-pos.c
A clang/test/CodeGen/ignore-overflow-pattern.c
Log Message:
-----------
[Clang] Re-land Overflow Pattern Exclusions (#104889)
Introduce "-fsanitize-undefined-ignore-overflow-pattern=" which can
be used to disable sanitizer instrumentation for common overflow-dependent
code patterns.
For a wide selection of projects, proper overflow sanitization could
help catch bugs and solve security vulnerabilities. Unfortunately, in
some cases the integer overflow sanitizers are too noisy for their users
and are often left disabled. Providing users with a method to disable
sanitizer instrumentation of common patterns could mean more projects
actually utilize the sanitizers in the first place.
One such project that has opted to not use integer overflow (or
truncation) sanitizers is the Linux Kernel. There has been some
discussion[1] recently concerning mitigation strategies for unexpected
arithmetic overflow. This discussion is still ongoing and a succinct
article[2] accurately sums up the discussion. In summary, many Kernel
developers do not want to introduce more arithmetic wrappers when
most developers understand the code patterns as they are.
Patterns like:
if (base + offset < base) { ... }
or
while (i--) { ... }
or
#define SOME -1UL
are extremely common in a code base like the Linux Kernel. It is
perhaps too much to ask of kernel developers to use arithmetic wrappers
in these cases. For example:
while (wrapping_post_dec(i)) { ... }
which wraps some builtin would not fly. This would incur too many
changes to existing code; the code churn would be too much, at least too
much to justify turning on overflow sanitizers.
Currently, this commit tackles three pervasive idioms:
1. "if (a + b < a)" or some logically-equivalent re-ordering like "if (a > b + a)"
2. "while (i--)" (for unsigned) a post-decrement always overflows here
3. "-1UL, -2UL, etc" negation of unsigned constants will always overflow
The patterns that are excluded can be chosen from the following list:
- add-overflow-test
- post-decr-while
- negated-unsigned-const
These can be enabled with a comma-separated list:
-fsanitize-undefined-ignore-overflow-pattern=add-overflow-test,negated-unsigned-const
"all" or "none" may also be used to specify that all patterns should be
excluded or that none should be.
[1] https://lore.kernel.org/all/202404291502.612E0A10@keescook/
[2] https://lwn.net/Articles/979747/
CCs: @efriedma-quic @kees @jyknight @fmayer @vitalybuka
Signed-off-by: Justin Stitt <justinstitt at google.com>
Co-authored-by: Bill Wendling <morbo at google.com>
Commit: e96146cd46b29e0d100a4566358da8fb38bea43e
https://github.com/llvm/llvm-project/commit/e96146cd46b29e0d100a4566358da8fb38bea43e
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M offload/test/api/omp_device_alloc.c
Log Message:
-----------
[OpenMP] Temporarily disable test to keep bots green
Summary:
This test mysteriously fails on the bots but not locally, disable until
I can figure out why.
Commit: dd90c72b05822927bf62724759f73c491166248c
https://github.com/llvm/llvm-project/commit/dd90c72b05822927bf62724759f73c491166248c
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-21 (Wed, 21 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
Log Message:
-----------
AMDGPU: Temporarily stop adding AtomicExpand to new PM passes
This breaks using -passes=atomic-expand (but only sometimes?).
Somehow an AtomicExpand pass ends up running without a TargetMachine,
despite always being constructed with one.
Commit: 0c489863e77575287caa57f1194c78ac3c30035b
https://github.com/llvm/llvm-project/commit/0c489863e77575287caa57f1194c78ac3c30035b
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M flang/test/Evaluate/fold-nearest.f90
Log Message:
-----------
[flang] Disable part of failing test (temporary) (#105350)
A new section of a test is failing on aarch64 and ppc64le; disable it
while I sort things out.
Commit: 8f3050684ef22aa8403c3820e89ebef915136bf7
https://github.com/llvm/llvm-project/commit/8f3050684ef22aa8403c3820e89ebef915136bf7
Author: Maksim Panchenko <maks at fb.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M bolt/lib/Core/BinaryFunction.cpp
Log Message:
-----------
[BOLT] Reduce CFI warning verbosity (#105336)
CFI programs may have more saves than restores and this is completely
benign from BOLT's perspective. Reduce the verbosity and print the
warning only under `-v=1` and above.
Commit: 91b423d955ff1da6cfbe82436ffee280fa25cd02
https://github.com/llvm/llvm-project/commit/91b423d955ff1da6cfbe82436ffee280fa25cd02
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/MatchContext.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
Log Message:
-----------
[DAG][RISCV] Use vp.<binop> when widening illegal types for binops which can trap (#105214)
This allows the use a single wider operation with a restricted EVL
instead of having to split and cover via decreasing powers-of-two sizes.
On RISCV, this avoids the need for a bunch of vslidedown and vslideup
instructions to extract subvectors, and VL toggles to switch between the
various widths.
Note there is a potential downside of using vp nodes; we loose any
generic DAG combines which might have applied to the split form.
Commit: 2353f484a51b9aab992402400010bbb450fea1b2
https://github.com/llvm/llvm-project/commit/2353f484a51b9aab992402400010bbb450fea1b2
Author: Michael Jones <michaelrj at google.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M libc/startup/linux/CMakeLists.txt
Log Message:
-----------
[libc] Include startup code when installing all (#105203)
Previously the libc startup code was marked `EXCLUDE_FROM_ALL` due to
build issues. This patch removes that as no longer necessary.
Commit: aeeb74f94f51b515392f5503054dfd98b0af775b
https://github.com/llvm/llvm-project/commit/aeeb74f94f51b515392f5503054dfd98b0af775b
Author: Martin Storsjö <martin at martin.st>
Date: 2024-08-21 (Wed, 21 Aug 2024)
Changed paths:
M llvm/cmake/platforms/WinMsvc.cmake
Log Message:
-----------
[cmake] Set up llvm-ml as ASM_MASM tool in WinMsvc.cmake (#104903)
Nowadays, an ASM_MASM tool is required for building the BLAKE3 assembly
in llvm/lib/Support - the llvm-ml tool can do this.
Commit: a3c66c8f35df9d231761385e2986c54e824d39fa
https://github.com/llvm/llvm-project/commit/a3c66c8f35df9d231761385e2986c54e824d39fa
Author: Michael Jones <michaelrj at google.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M libc/newhdrgen/yaml_to_classes.py
Log Message:
-----------
[libc] move newheadergen back to safe_load (#105374)
In #100024 we moved from safe_load to load for reading the yaml in
newheadergen due to dependency issues. Those should be resolved by now
so this should be a simple safety improvement.
Commit: 389f339c11179fe047e7f564657c86247933e445
https://github.com/llvm/llvm-project/commit/389f339c11179fe047e7f564657c86247933e445
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/benchmarks/CMakeLists.txt
A llvm/benchmarks/GetIntrinsicForClangBuiltin.cpp
M llvm/include/llvm/IR/Intrinsics.h
M llvm/include/llvm/TableGen/StringToOffsetTable.h
M llvm/unittests/IR/IntrinsicsTest.cpp
M llvm/utils/TableGen/IntrinsicEmitter.cpp
Log Message:
-----------
[TableGen] Rework `EmitIntrinsicToBuiltinMap` (#104681)
Rework `IntrinsicEmitter::EmitIntrinsicToBuiltinMap` for improved
peformance as well as refactor the code.
Performance:
- Current generated code does a linear search on the TargetPrefix,
followed by a binary search on the builtin names for that
target's builtins.
- Improve the performance of this code in 2 ways:
(a) Use binary search on the target prefix to lookup the builtin
table for the target.
(b) Improve the (common) case of when all builtins for a target
share a common prefix. Check this common prefix first, and
then do the binary search in the builtin table using the builtin
name with the common prefix removed. This should help
both data size (by creating a smaller static string table) and
runtime (by reducing the cost of binary search on smaller
strings).
Refactor:
- Use range based for loops for iterating over maps.
- Use formatv() and C++ raw string literals to simplify the emission
code.
- Change the generated `getIntrinsicForClangBuiltin` and
`getIntrinsicForMSBuiltin` to take a `StringRef` instead of
`const char *` for the prefix.
Commit: 5e6a1987a5d4574d3c3811f878ddbbbf7c35fa01
https://github.com/llvm/llvm-project/commit/5e6a1987a5d4574d3c3811f878ddbbbf7c35fa01
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/test/CodeGen/RISCV/GlobalISel/iabs.ll
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
Log Message:
-----------
[RISCV][GISel] Remove s32 support for G_ABS on RV64.
Commit: 019e1a3a4285ae34c215d4b7526df041e0aeb250
https://github.com/llvm/llvm-project/commit/019e1a3a4285ae34c215d4b7526df041e0aeb250
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependencies for c8a678b1e4863df2845b1305849534047f10caf1
Commit: c9a4c51bb0018778bb78871e555b06613530f155
https://github.com/llvm/llvm-project/commit/c9a4c51bb0018778bb78871e555b06613530f155
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M flang/test/Evaluate/fold-nearest.f90
Log Message:
-----------
[flang] Fix test on ppc64le & aarch64 (#105439)
Don't try to fold x87 extended precision operations in a test unless
it's targeting x86-64.
Commit: 1a2a18fdc00dc9fc8955107d16b48a476320e542
https://github.com/llvm/llvm-project/commit/1a2a18fdc00dc9fc8955107d16b48a476320e542
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M llvm/test/Analysis/DXILResource/buffer-frombinding.ll
Log Message:
-----------
[DXIL][Analysis] Update test to match comment. NFC (#105409)
The mismatch between the comment on this test and the test itself was
pointed out in
https://github.com/llvm/llvm-project/pull/100699#discussion_r1715835841,
but apparently I failed to actually commit the fix.
Commit: ba1375153e07dc3877b51d1f9d945fb2f665baa1
https://github.com/llvm/llvm-project/commit/ba1375153e07dc3877b51d1f9d945fb2f665baa1
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-20 (Tue, 20 Aug 2024)
Changed paths:
M bolt/lib/Core/BinaryFunction.cpp
M clang-tools-extra/clang-doc/HTMLGenerator.cpp
M clang-tools-extra/clang-tidy/modernize/UseStdFormatCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseStdPrintCheck.cpp
M clang-tools-extra/clangd/ParsedAST.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-format.rst
M clang-tools-extra/docs/clang-tidy/checks/modernize/use-std-print.rst
M clang-tools-extra/test/clang-doc/basic-project.test
A clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-format-member.cpp
A clang-tools-extra/test/clang-tidy/checkers/modernize/use-std-print-member.cpp
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/InternalsManual.rst
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/docs/UndefinedBehaviorSanitizer.rst
M clang/docs/UsersManual.rst
M clang/include/clang/AST/Attr.h
M clang/include/clang/AST/Expr.h
M clang/include/clang/AST/OpenMPClause.h
M clang/include/clang/AST/Stmt.h
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/BuiltinsNVPTX.def
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/SanitizerArgs.h
M clang/include/clang/ExtractAPI/API.h
M clang/include/clang/ExtractAPI/ExtractAPIVisitor.h
M clang/include/clang/Format/Format.h
R clang/include/clang/Rewrite/Core/DeltaTree.h
M clang/include/clang/Rewrite/Core/HTMLRewrite.h
R clang/include/clang/Rewrite/Core/RewriteBuffer.h
R clang/include/clang/Rewrite/Core/RewriteRope.h
M clang/include/clang/Rewrite/Core/Rewriter.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Sema/SemaAMDGPU.h
M clang/include/clang/Sema/SemaARM.h
M clang/include/clang/Sema/SemaAVR.h
M clang/include/clang/Sema/SemaBPF.h
M clang/include/clang/Sema/SemaCUDA.h
M clang/include/clang/Sema/SemaCodeCompletion.h
M clang/include/clang/Sema/SemaHLSL.h
M clang/include/clang/Sema/SemaHexagon.h
M clang/include/clang/Sema/SemaLoongArch.h
M clang/include/clang/Sema/SemaM68k.h
M clang/include/clang/Sema/SemaMIPS.h
M clang/include/clang/Sema/SemaMSP430.h
M clang/include/clang/Sema/SemaNVPTX.h
M clang/include/clang/Sema/SemaObjC.h
M clang/include/clang/Sema/SemaOpenACC.h
M clang/include/clang/Sema/SemaOpenCL.h
M clang/include/clang/Sema/SemaOpenMP.h
M clang/include/clang/Sema/SemaPPC.h
M clang/include/clang/Sema/SemaPseudoObject.h
M clang/include/clang/Sema/SemaRISCV.h
M clang/include/clang/Sema/SemaSYCL.h
M clang/include/clang/Sema/SemaSwift.h
M clang/include/clang/Sema/SemaSystemZ.h
M clang/include/clang/Sema/SemaWasm.h
M clang/include/clang/Sema/SemaX86.h
M clang/lib/ARCMigrate/ARCMT.cpp
M clang/lib/ARCMigrate/ObjCMT.cpp
M clang/lib/AST/ASTContext.cpp
M clang/lib/AST/ByteCode/Boolean.h
M clang/lib/AST/ByteCode/ByteCodeEmitter.cpp
M clang/lib/AST/ByteCode/ByteCodeEmitter.h
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ByteCode/Compiler.h
M clang/lib/AST/ByteCode/Context.cpp
M clang/lib/AST/ByteCode/Function.cpp
M clang/lib/AST/ByteCode/Function.h
M clang/lib/AST/ByteCode/FunctionPointer.h
M clang/lib/AST/ByteCode/Interp.h
M clang/lib/AST/ByteCode/InterpBuiltin.cpp
M clang/lib/AST/ByteCode/MemberPointer.cpp
M clang/lib/AST/ByteCode/Opcodes.td
M clang/lib/AST/ByteCode/Pointer.cpp
M clang/lib/AST/ByteCode/Pointer.h
M clang/lib/AST/ByteCode/Program.cpp
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/FormatString.cpp
M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/CodeGen/ABIInfoImpl.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/CodeGen/CGHLSLRuntime.h
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/Targets/PPC.cpp
M clang/lib/Driver/SanitizerArgs.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/Arch/RISCV.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/Darwin.cpp
M clang/lib/Driver/ToolChains/HIPUtility.cpp
M clang/lib/ExtractAPI/API.cpp
M clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/Rewrite/FixItRewriter.cpp
M clang/lib/Frontend/Rewrite/HTMLPrint.cpp
M clang/lib/Frontend/Rewrite/RewriteMacros.cpp
M clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
M clang/lib/Frontend/Rewrite/RewriteObjC.cpp
M clang/lib/Headers/avx2intrin.h
M clang/lib/Headers/avxintrin.h
M clang/lib/Headers/emmintrin.h
M clang/lib/Headers/gfniintrin.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/lib/Headers/mmintrin.h
M clang/lib/Headers/pmmintrin.h
M clang/lib/Headers/smmintrin.h
M clang/lib/Headers/tmmintrin.h
M clang/lib/Headers/xmmintrin.h
M clang/lib/Parse/ParseExpr.cpp
M clang/lib/Parse/ParseObjc.cpp
M clang/lib/Rewrite/CMakeLists.txt
R clang/lib/Rewrite/DeltaTree.cpp
M clang/lib/Rewrite/HTMLRewrite.cpp
R clang/lib/Rewrite/RewriteRope.cpp
M clang/lib/Rewrite/Rewriter.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaARM.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaExprObjC.cpp
M clang/lib/Sema/SemaHLSL.cpp
M clang/lib/Sema/SemaLambda.cpp
M clang/lib/Sema/SemaMIPS.cpp
M clang/lib/Sema/SemaObjC.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/SemaPPC.cpp
M clang/lib/Sema/SemaSYCL.cpp
M clang/lib/Sema/SemaStmt.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
M clang/lib/Sema/SemaX86.cpp
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp
M clang/lib/Tooling/Core/Replacement.cpp
M clang/test/AST/ByteCode/builtin-functions.cpp
M clang/test/AST/ByteCode/c.c
M clang/test/AST/ByteCode/c23.c
A clang/test/AST/ByteCode/codegen.c
M clang/test/AST/ByteCode/codegen.cpp
M clang/test/AST/ByteCode/cxx23.cpp
M clang/test/AST/ByteCode/memberpointers.cpp
M clang/test/Analysis/builtin_signbit.cpp
A clang/test/CXX/drs/cwg722.cpp
M clang/test/CXX/drs/cwg7xx.cpp
A clang/test/CodeGen/PowerPC/transparent_union.c
M clang/test/CodeGen/RISCV/riscv-sdata-module-flag.c
M clang/test/CodeGen/X86/avx512vlbw-builtins.c
A clang/test/CodeGen/X86/strictfp_patterns.c
M clang/test/CodeGen/aarch64-elf-pauthabi.c
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/builtins-nvptx.c
M clang/test/CodeGen/ffp-model.c
A clang/test/CodeGen/ignore-overflow-pattern-false-pos.c
A clang/test/CodeGen/ignore-overflow-pattern.c
M clang/test/CodeGen/sanitize-ignorelist-mainfile.c
A clang/test/CodeGenCoroutines/coro-dwarf-O2.cpp
A clang/test/CodeGenHLSL/builtins/saturate.hlsl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx12.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx90a.cl
M clang/test/CodeGenOpenCL/builtins-fp-atomics-gfx940.cl
A clang/test/Driver/Inputs/MacOSX15.1.sdk/SDKSettings.json
A clang/test/Driver/aarch64-negative-modifiers-for-default-features.c
M clang/test/Driver/arm-sb.c
M clang/test/Driver/darwin-builtin-modules.c
M clang/test/Driver/flags.c
M clang/test/Driver/fp-model.c
M clang/test/Driver/hip-toolchain-rdc.hip
A clang/test/Driver/mips-msa.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a12.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a13.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a14.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a15.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a16.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-a17.c
M clang/test/Driver/print-enabled-extensions/aarch64-apple-m4.c
M clang/test/Driver/print-enabled-extensions/aarch64-cortex-r82.c
M clang/test/Driver/print-enabled-extensions/aarch64-cortex-r82ae.c
M clang/test/Driver/print-supported-extensions-riscv.c
R clang/test/Driver/riscv-sdata-warning.c
A clang/test/Driver/riscv-sdata.c
M clang/test/ExtractAPI/anonymous_record_no_typedef.c
R clang/test/Misc/target-invalid-cpu-note.c
A clang/test/Misc/target-invalid-cpu-note/aarch64.c
A clang/test/Misc/target-invalid-cpu-note/amdgcn.c
A clang/test/Misc/target-invalid-cpu-note/arm.c
A clang/test/Misc/target-invalid-cpu-note/avr.c
A clang/test/Misc/target-invalid-cpu-note/bpf.c
A clang/test/Misc/target-invalid-cpu-note/hexagon.c
A clang/test/Misc/target-invalid-cpu-note/lanai.c
A clang/test/Misc/target-invalid-cpu-note/mips.c
A clang/test/Misc/target-invalid-cpu-note/nvptx.c
A clang/test/Misc/target-invalid-cpu-note/powerpc.c
A clang/test/Misc/target-invalid-cpu-note/r600.c
A clang/test/Misc/target-invalid-cpu-note/riscv.c
A clang/test/Misc/target-invalid-cpu-note/sparc.c
A clang/test/Misc/target-invalid-cpu-note/systemz.c
A clang/test/Misc/target-invalid-cpu-note/wasm.c
A clang/test/Misc/target-invalid-cpu-note/x86.c
M clang/test/Modules/merge-using-decls.cpp
A clang/test/OpenMP/loop_collapse_1.c
A clang/test/OpenMP/loop_collapse_2.cpp
M clang/test/OpenMP/nvptx_allocate_codegen.cpp
M clang/test/Parser/parser_overflow.c
M clang/test/Preprocessor/riscv-target-features.c
M clang/test/Sema/block-misc.c
M clang/test/Sema/block-return.c
M clang/test/Sema/c2x-nodiscard.c
M clang/test/Sema/constant-builtins-2.c
A clang/test/Sema/format-pointer.c
M clang/test/Sema/format-strings-pedantic.c
M clang/test/SemaCXX/attr-lifetimebound.cpp
M clang/test/SemaCXX/constant-expression-cxx11.cpp
M clang/test/SemaCXX/consteval-cleanup.cpp
M clang/test/SemaCXX/gh102293.cpp
A clang/test/SemaHLSL/BuiltIns/saturate-errors.hlsl
A clang/test/SemaOpenMP/gh104810.cpp
A clang/test/SemaTemplate/explicit-instantiation-cxx20.cpp
M clang/tools/scan-build/man/scan-build.1
M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
M clang/unittests/Analysis/FlowSensitive/ASTOpsTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/TokenAnnotatorTest.cpp
M clang/unittests/Rewrite/CMakeLists.txt
R clang/unittests/Rewrite/RewriteBufferTest.cpp
M clang/www/cxx_dr_status.html
M compiler-rt/lib/asan/asan_allocator.h
M compiler-rt/lib/hwasan/scripts/hwasan_symbolize
M compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
A compiler-rt/test/hwasan/TestCases/hwasan_symbolize_stack_overflow.cpp
A compiler-rt/test/nsan/stable_sort.cpp
A compiler-rt/test/nsan/swap.cpp
M compiler-rt/test/ubsan/TestCases/Integer/bit-int.c
M flang/include/flang/Evaluate/integer.h
M flang/include/flang/Evaluate/real.h
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/integer.cpp
M flang/lib/Evaluate/tools.cpp
M flang/lib/Lower/OpenMP/Decomposer.cpp
M flang/lib/Lower/OpenMP/Decomposer.h
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Semantics/definable.cpp
M flang/lib/Semantics/expression.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/lib/Semantics/tools.cpp
M flang/test/Evaluate/fold-nearest.f90
M flang/test/Lower/OpenMP/Todo/omp-do-simd-linear.f90
M flang/test/Lower/OpenMP/default-clause-byref.f90
M flang/test/Lower/OpenMP/default-clause.f90
M flang/test/Semantics/data08.f90
M flang/test/Semantics/declarations05.f90
A flang/test/Semantics/implicit15.f90
M flang/test/Semantics/kinds04_q16.f90
A flang/test/Semantics/structconst10.f90
M flang/test/Semantics/undef-result01.f90
M flang/unittests/Runtime/Time.cpp
M libc/benchmarks/gpu/LibcGpuBenchmark.cpp
M libc/benchmarks/gpu/LibcGpuBenchmark.h
M libc/benchmarks/gpu/src/math/CMakeLists.txt
A libc/benchmarks/gpu/src/math/atan2_benchmark.cpp
M libc/benchmarks/gpu/timing/amdgpu/timing.h
M libc/benchmarks/gpu/timing/nvptx/timing.h
M libc/newhdrgen/yaml/string.yaml
M libc/newhdrgen/yaml_to_classes.py
M libc/spec/bsd_ext.td
M libc/startup/gpu/amdgpu/start.cpp
M libc/startup/linux/CMakeLists.txt
A libc/utils/mathtools/worst_case.sollya
M libcxx/docs/Status/Cxx17.rst
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/include/__algorithm/partition.h
M libcxx/include/__chrono/leap_second.h
M libcxx/include/__pstl/backends/default.h
M libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/partition.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains.pass.cpp
M libcxx/test/std/algorithms/alg.nonmodifying/alg.ends_with/ranges.ends_with.pass.cpp
M libcxx/test/std/containers/associative/from_range_associative_containers.h
M libcxx/test/std/containers/container.adaptors/from_range_container_adaptors.h
M libcxx/test/std/containers/sequences/from_range_sequence_containers.h
M libcxx/test/std/containers/unord/from_range_unordered_containers.h
M libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/iterator_sentinel.pass.cpp
M libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.distance/range.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.counted/counted.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.elements/iterator/increment.pass.cpp
M libcxx/test/std/ranges/range.adaptors/range.split/begin.pass.cpp
A libcxx/test/std/ranges/range.utility/range.subrange/begin_end.pass.cpp
M libcxx/test/std/strings/basic.string/string.cons/from_range.pass.cpp
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
M libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/construct_at.pass.cpp
A libcxx/test/support/double_move_tracker.h
M libcxx/test/support/test_iterators.h
M libcxxabi/src/cxa_default_handlers.cpp
M lld/COFF/Symbols.cpp
M lld/ELF/LinkerScript.cpp
M lld/MachO/SyntheticSections.cpp
M lld/MinGW/Driver.cpp
M lld/MinGW/Options.td
A lld/test/COFF/weak-external-cycle.test
M lld/test/ELF/aarch64-mapsyms-implicit.s
M lld/test/ELF/exclude-libs.s
M lld/test/ELF/riscv-section-layout.s
M lld/test/ELF/section-name.s
M lld/test/MinGW/driver.test
A lld/test/wasm/archive-local-sym.s
M lld/wasm/InputFiles.cpp
M lld/wasm/Writer.cpp
M lldb/source/API/SBBreakpoint.cpp
M lldb/source/API/SBBreakpointLocation.cpp
M lldb/source/API/SBBreakpointName.cpp
M lldb/source/Expression/DWARFExpression.cpp
M lldb/source/Plugins/ABI/PowerPC/ABISysV_ppc64.cpp
M lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp
M lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwin.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
M lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp
M lldb/source/Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp
M lldb/source/Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp
M lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.cpp
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
M lldb/source/Plugins/Process/Utility/ThreadMemory.cpp
M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
M lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/OperatingSystemPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/OperatingSystemPythonInterface/OperatingSystemPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptInterpreterPythonInterfaces.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface.h
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/ScriptedThreadPlanPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedThreadPlanPythonInterface/ScriptedThreadPlanPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp
M lldb/source/Plugins/SystemRuntime/MacOSX/AppleGetThreadItemInfoHandler.cpp
M lldb/source/Symbol/DWARFCallFrameInfo.cpp
M lldb/test/API/functionalities/breakpoint/breakpoint_with_realpath_and_source_map/TestBreakpoint.py
M lldb/test/API/lang/cpp/bitfields/TestCppBitfields.py
M lldb/test/Shell/Driver/TestUseColor.test
A lldb/test/Shell/Expr/TestAnonNamespaceParamFunc.cpp
M lldb/tools/lldb-dap/DAP.h
M lldb/tools/lldb-dap/lldb-dap.cpp
M lldb/unittests/Callback/TestBreakpointSetCallback.cpp
M lldb/unittests/Disassembler/x86/TestGetControlFlowKindx86.cpp
M lldb/unittests/Process/elf-core/ThreadElfCoreTest.cpp
M llvm/benchmarks/CMakeLists.txt
A llvm/benchmarks/GetIntrinsicForClangBuiltin.cpp
M llvm/cmake/config-ix.cmake
M llvm/cmake/platforms/WinMsvc.cmake
M llvm/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst
M llvm/docs/AMDGPUUsage.rst
M llvm/docs/BitCodeFormat.rst
M llvm/docs/CodeReview.rst
M llvm/docs/DirectX/DXILOpTableGenDesign.rst
M llvm/docs/ExtendingLLVM.rst
M llvm/docs/LangRef.rst
M llvm/docs/NVPTXUsage.rst
M llvm/docs/RISCVUsage.rst
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm-c/Core.h
M llvm/include/llvm-c/Transforms/PassBuilder.h
M llvm/include/llvm/ADT/APFixedPoint.h
M llvm/include/llvm/ADT/APInt.h
A llvm/include/llvm/ADT/DeltaTree.h
M llvm/include/llvm/ADT/DynamicAPInt.h
M llvm/include/llvm/ADT/FunctionExtras.h
M llvm/include/llvm/ADT/GenericCycleImpl.h
M llvm/include/llvm/ADT/GenericCycleInfo.h
A llvm/include/llvm/ADT/RewriteBuffer.h
A llvm/include/llvm/ADT/RewriteRope.h
M llvm/include/llvm/ADT/STLExtras.h
M llvm/include/llvm/ADT/SlowDynamicAPInt.h
M llvm/include/llvm/ADT/SmallPtrSet.h
M llvm/include/llvm/ADT/SmallVector.h
M llvm/include/llvm/ADT/Statistic.h
M llvm/include/llvm/Analysis/AliasAnalysis.h
M llvm/include/llvm/Analysis/AliasSetTracker.h
M llvm/include/llvm/Analysis/AssumeBundleQueries.h
M llvm/include/llvm/Analysis/BlockFrequencyInfo.h
M llvm/include/llvm/Analysis/BranchProbabilityInfo.h
M llvm/include/llvm/Analysis/CGSCCPassManager.h
M llvm/include/llvm/Analysis/CallGraph.h
M llvm/include/llvm/Analysis/CaptureTracking.h
M llvm/include/llvm/Analysis/CodeMetrics.h
M llvm/include/llvm/Analysis/ConstraintSystem.h
M llvm/include/llvm/Analysis/CtxProfAnalysis.h
M llvm/include/llvm/Analysis/CycleAnalysis.h
M llvm/include/llvm/Analysis/DXILMetadataAnalysis.h
M llvm/include/llvm/Analysis/DXILResource.h
M llvm/include/llvm/Analysis/DomConditionCache.h
M llvm/include/llvm/Analysis/DomPrinter.h
M llvm/include/llvm/Analysis/DomTreeUpdater.h
M llvm/include/llvm/Analysis/DominanceFrontier.h
M llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h
M llvm/include/llvm/Analysis/IRSimilarityIdentifier.h
M llvm/include/llvm/Analysis/IVDescriptors.h
M llvm/include/llvm/Analysis/InlineAdvisor.h
M llvm/include/llvm/Analysis/InlineOrder.h
M llvm/include/llvm/Analysis/InstructionSimplify.h
M llvm/include/llvm/Analysis/InteractiveModelRunner.h
M llvm/include/llvm/Analysis/LazyBlockFrequencyInfo.h
M llvm/include/llvm/Analysis/LazyBranchProbabilityInfo.h
M llvm/include/llvm/Analysis/LazyCallGraph.h
M llvm/include/llvm/Analysis/LazyValueInfo.h
M llvm/include/llvm/Analysis/LoopAccessAnalysis.h
M llvm/include/llvm/Analysis/LoopInfo.h
M llvm/include/llvm/Analysis/MLInlineAdvisor.h
M llvm/include/llvm/Analysis/MemoryBuiltins.h
M llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h
M llvm/include/llvm/Analysis/MemoryLocation.h
M llvm/include/llvm/Analysis/MemoryProfileInfo.h
M llvm/include/llvm/Analysis/MemorySSA.h
M llvm/include/llvm/Analysis/MustExecute.h
M llvm/include/llvm/Analysis/NoInferenceModelRunner.h
M llvm/include/llvm/Analysis/ObjCARCAliasAnalysis.h
M llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h
M llvm/include/llvm/Analysis/ProfileSummaryInfo.h
M llvm/include/llvm/Analysis/PtrUseVisitor.h
M llvm/include/llvm/Analysis/RegionInfo.h
M llvm/include/llvm/Analysis/RegionPrinter.h
M llvm/include/llvm/Analysis/ReplayInlineAdvisor.h
M llvm/include/llvm/Analysis/ScalarEvolution.h
M llvm/include/llvm/Analysis/SyntheticCountsUtils.h
M llvm/include/llvm/Analysis/TargetLibraryInfo.def
M llvm/include/llvm/Analysis/TargetLibraryInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
M llvm/include/llvm/Analysis/UniformityAnalysis.h
M llvm/include/llvm/Analysis/ValueLattice.h
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/include/llvm/BinaryFormat/MachO.h
A llvm/include/llvm/CGData/CodeGenData.h
A llvm/include/llvm/CGData/CodeGenData.inc
A llvm/include/llvm/CGData/CodeGenDataReader.h
A llvm/include/llvm/CGData/CodeGenDataWriter.h
A llvm/include/llvm/CGData/OutlinedHashTree.h
A llvm/include/llvm/CGData/OutlinedHashTreeRecord.h
M llvm/include/llvm/CodeGen/BasicTTIImpl.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/SDPatternMatch.h
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGen/SelectionDAGNodes.h
M llvm/include/llvm/CodeGen/SwitchLoweringUtils.h
M llvm/include/llvm/CodeGen/TargetPassConfig.h
R llvm/include/llvm/CodeGenData/OutlinedHashTree.h
R llvm/include/llvm/CodeGenData/OutlinedHashTreeRecord.h
M llvm/include/llvm/Config/config.h.cmake
M llvm/include/llvm/Frontend/Offloading/Utility.h
R llvm/include/llvm/Frontend/OpenMP/ConstructCompositionT.h
M llvm/include/llvm/IR/DataLayout.h
M llvm/include/llvm/IR/Instructions.h
M llvm/include/llvm/IR/Intrinsics.h
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/include/llvm/IR/IntrinsicsNVVM.td
M llvm/include/llvm/IR/IntrinsicsSPIRV.td
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/LinkAllPasses.h
M llvm/include/llvm/MC/MCELFObjectWriter.h
M llvm/include/llvm/Passes/MachinePassRegistry.def
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/SandboxIRValues.def
M llvm/include/llvm/SandboxIR/Tracker.h
M llvm/include/llvm/Support/Compiler.h
M llvm/include/llvm/Support/DXILABI.h
M llvm/include/llvm/Support/MathExtras.h
M llvm/include/llvm/TableGen/StringToOffsetTable.h
M llvm/include/llvm/Transforms/Instrumentation.h
M llvm/include/llvm/Transforms/Scalar.h
A llvm/include/llvm/Transforms/Scalar/LoopTermFold.h
M llvm/lib/Analysis/BasicAliasAnalysis.cpp
M llvm/lib/Analysis/CtxProfAnalysis.cpp
M llvm/lib/Analysis/CycleAnalysis.cpp
M llvm/lib/Analysis/DXILMetadataAnalysis.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/MemoryProfileInfo.cpp
M llvm/lib/Analysis/TargetTransformInfo.cpp
M llvm/lib/Analysis/ValueLattice.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/BinaryFormat/MachO.cpp
A llvm/lib/CGData/CMakeLists.txt
A llvm/lib/CGData/CodeGenData.cpp
A llvm/lib/CGData/CodeGenDataReader.cpp
A llvm/lib/CGData/CodeGenDataWriter.cpp
A llvm/lib/CGData/OutlinedHashTree.cpp
A llvm/lib/CGData/OutlinedHashTreeRecord.cpp
M llvm/lib/CMakeLists.txt
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/PrologEpilogInserter.cpp
M llvm/lib/CodeGen/ScheduleDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/MatchContext.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
R llvm/lib/CodeGenData/CMakeLists.txt
R llvm/lib/CodeGenData/OutlinedHashTree.cpp
R llvm/lib/CodeGenData/OutlinedHashTreeRecord.cpp
M llvm/lib/Frontend/Offloading/CMakeLists.txt
M llvm/lib/Frontend/Offloading/Utility.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/Core.cpp
M llvm/lib/IR/DataLayout.cpp
M llvm/lib/IR/Verifier.cpp
M llvm/lib/MC/ELFObjectWriter.cpp
M llvm/lib/MC/MCAssembler.cpp
M llvm/lib/MC/MachObjectWriter.cpp
M llvm/lib/ObjCopy/wasm/WasmObjcopy.cpp
M llvm/lib/ObjCopy/wasm/WasmObject.cpp
M llvm/lib/ObjCopy/wasm/WasmObject.h
M llvm/lib/ObjCopy/wasm/WasmReader.cpp
M llvm/lib/Object/MachOObjectFile.cpp
M llvm/lib/ObjectYAML/WasmEmitter.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassBuilderBindings.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/lib/SandboxIR/Tracker.cpp
M llvm/lib/Support/CMakeLists.txt
A llvm/lib/Support/DeltaTree.cpp
M llvm/lib/Support/FormatVariadic.cpp
A llvm/lib/Support/RewriteBuffer.cpp
A llvm/lib/Support/RewriteRope.cpp
M llvm/lib/Support/SmallPtrSet.cpp
M llvm/lib/Support/Unix/Signals.inc
M llvm/lib/TableGen/Error.cpp
M llvm/lib/TableGen/TGLexer.cpp
M llvm/lib/TableGen/TGParser.cpp
M llvm/lib/Target/AArch64/AArch64Features.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/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
M llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
M llvm/lib/Target/AArch64/AArch64Processors.td
M llvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAsanInstrumentation.h
R llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.cpp
R llvm/lib/Target/AMDGPU/AMDGPUCodeGenPassBuilder.h
M llvm/lib/Target/AMDGPU/AMDGPUGISel.td
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
A llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.cpp
A llvm/lib/Target/AMDGPU/AMDGPUMemoryUtils.h
M llvm/lib/Target/AMDGPU/AMDGPUPromoteKernelArguments.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
M llvm/lib/Target/AMDGPU/CMakeLists.txt
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
R llvm/lib/Target/AMDGPU/R600CodeGenPassBuilder.cpp
R llvm/lib/Target/AMDGPU/R600CodeGenPassBuilder.h
M llvm/lib/Target/AMDGPU/R600ISelLowering.cpp
M llvm/lib/Target/AMDGPU/R600TargetMachine.cpp
M llvm/lib/Target/AMDGPU/R600TargetMachine.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.h
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.h
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIInstructions.td
M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
M llvm/lib/Target/AMDGPU/SIModeRegister.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
R llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.cpp
R llvm/lib/Target/AMDGPU/Utils/AMDGPUMemoryUtils.h
M llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt
M llvm/lib/Target/ARM/ARMCallLowering.cpp
M llvm/lib/Target/ARM/ARMCallLowering.h
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/ARM/ARMInstrInfo.td
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILConstants.h
M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
M llvm/lib/Target/DirectX/DXILOpBuilder.h
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
M llvm/lib/Target/LoongArch/LoongArchMergeBaseOffset.cpp
M llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
M llvm/lib/Target/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
M llvm/lib/Target/RISCV/RISCVInstrInfoZvk.td
M llvm/lib/Target/RISCV/RISCVSchedSiFiveP400.td
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCVTargetObjectFile.h
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/Sparc/DelaySlotFiller.cpp
M llvm/lib/Target/Sparc/LeonFeatures.td
M llvm/lib/Target/Sparc/LeonPasses.cpp
M llvm/lib/Target/Sparc/LeonPasses.h
M llvm/lib/Target/Sparc/Sparc.h
M llvm/lib/Target/Sparc/SparcAsmPrinter.cpp
M llvm/lib/Target/Sparc/SparcTargetMachine.cpp
M llvm/lib/Target/VE/VECustomDAG.cpp
M llvm/lib/Target/VE/VEInstrInfo.td
M llvm/lib/Target/X86/X86FrameLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLoweringCall.cpp
M llvm/lib/Target/X86/X86RegisterInfo.cpp
M llvm/lib/Target/X86/X86RegisterInfo.h
M llvm/lib/Target/X86/X86ScheduleZnver1.td
M llvm/lib/Target/X86/X86ScheduleZnver2.td
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/lib/TargetParser/RISCVISAInfo.cpp
M llvm/lib/Transforms/Coroutines/CoroFrame.cpp
M llvm/lib/Transforms/Coroutines/CoroInternal.h
M llvm/lib/Transforms/Coroutines/CoroSplit.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
M llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
M llvm/lib/Transforms/Scalar/CMakeLists.txt
M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
A llvm/lib/Transforms/Scalar/LoopTermFold.cpp
M llvm/lib/Transforms/Scalar/Scalar.cpp
M llvm/lib/Transforms/Utils/BuildLibCalls.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/lib/Transforms/Utils/SizeOpts.cpp
M llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
M llvm/lib/Transforms/Vectorize/VPlan.cpp
A llvm/test/Analysis/BasicAA/gep-nuw-alias.ll
M llvm/test/Analysis/CostModel/AArch64/arith-fp.ll
M llvm/test/Analysis/CostModel/X86/ctlz-codesize.ll
M llvm/test/Analysis/CostModel/X86/ctlz-latency.ll
M llvm/test/Analysis/CostModel/X86/ctlz-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/ctlz.ll
M llvm/test/Analysis/CostModel/X86/cttz-codesize.ll
M llvm/test/Analysis/CostModel/X86/cttz-latency.ll
M llvm/test/Analysis/CostModel/X86/cttz-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/cttz.ll
M llvm/test/Analysis/CostModel/X86/icmp-codesize.ll
M llvm/test/Analysis/CostModel/X86/icmp-latency.ll
M llvm/test/Analysis/CostModel/X86/icmp-sizelatency.ll
M llvm/test/Analysis/CostModel/X86/icmp.ll
M llvm/test/Analysis/CostModel/X86/intrinsic-cost-kinds.ll
M llvm/test/Analysis/CycleInfo/basic.ll
M llvm/test/Analysis/CycleInfo/unreachable-predecessor.ll
M llvm/test/Analysis/DXILResource/buffer-frombinding.ll
M llvm/test/Assembler/invalid-datalayout-override.ll
A llvm/test/Assembler/lround.ll
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/test/Bitcode/function-default-address-spaces.ll
R llvm/test/Bitcode/invalid-functionptr-align.ll
R llvm/test/Bitcode/invalid-functionptr-align.ll.bc
A llvm/test/Bitcode/invalid-stack-align.ll
A llvm/test/Bitcode/invalid-stack-align.ll.bc
M llvm/test/CMakeLists.txt
A llvm/test/CodeGen/AArch64/GlobalISel/endian_fallback.ll
M llvm/test/CodeGen/AArch64/aarch64-mull-masks.ll
M llvm/test/CodeGen/AArch64/aarch64-neon-faminmax.ll
M llvm/test/CodeGen/AArch64/abds.ll
M llvm/test/CodeGen/AArch64/movimm-expand-ldst.ll
M llvm/test/CodeGen/AArch64/movimm-expand-ldst.mir
M llvm/test/CodeGen/AArch64/note-gnu-property-elf-pauthabi.ll
M llvm/test/CodeGen/AArch64/peephole-sxtw.mir
A llvm/test/CodeGen/AArch64/sme-darwin-sve-vg.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-addrspacecast.mir
M llvm/test/CodeGen/AMDGPU/fail.llvm.fptrunc.round.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll
M llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.ll
M llvm/test/CodeGen/AMDGPU/mode-register-fptrunc.mir
M llvm/test/CodeGen/AMDGPU/preload-kernargs.ll
A llvm/test/CodeGen/AMDGPU/pseudo-scalar-transcendental.mir
M llvm/test/CodeGen/AMDGPU/vopd-combine.mir
M llvm/test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll
M llvm/test/CodeGen/ARM/GlobalISel/arm-param-lowering.ll
M llvm/test/CodeGen/DirectX/Metadata/dxilVer-1.0.ll
M llvm/test/CodeGen/DirectX/Metadata/dxilVer-1.8.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-as.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-cs-val-ver-0.0.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-cs.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-gs.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-hs.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-lib.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-ms.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-ps.ll
M llvm/test/CodeGen/DirectX/Metadata/shaderModel-vs.ll
A llvm/test/CodeGen/DirectX/saturate.ll
A llvm/test/CodeGen/DirectX/saturate_errors.ll
M llvm/test/CodeGen/Hexagon/block-addr.ll
M llvm/test/CodeGen/LoongArch/can-not-realign-stack.ll
M llvm/test/CodeGen/LoongArch/ir-instruction/load-store-atomic.ll
M llvm/test/CodeGen/LoongArch/lasx/build-vector.ll
M llvm/test/CodeGen/LoongArch/lasx/ir-instruction/shuffle-as-xvshuf.ll
M llvm/test/CodeGen/LoongArch/lasx/vselect.ll
M llvm/test/CodeGen/LoongArch/lsx/build-vector.ll
M llvm/test/CodeGen/LoongArch/lsx/ir-instruction/shuffle-as-vshuf.ll
M llvm/test/CodeGen/LoongArch/lsx/vselect.ll
M llvm/test/CodeGen/LoongArch/merge-base-offset.ll
M llvm/test/CodeGen/NVPTX/bf16-instructions.ll
A llvm/test/CodeGen/NVPTX/brkpt.ll
A llvm/test/CodeGen/NVPTX/convert-sm89.ll
A llvm/test/CodeGen/NVPTX/elect.ll
A llvm/test/CodeGen/PowerPC/noredzone.ll
M llvm/test/CodeGen/PowerPC/pr15359.ll
M llvm/test/CodeGen/PowerPC/pr16556-2.ll
M llvm/test/CodeGen/PowerPC/pr16556.ll
M llvm/test/CodeGen/RISCV/GlobalISel/alu-roundtrip.ll
M llvm/test/CodeGen/RISCV/GlobalISel/iabs.ll
M llvm/test/CodeGen/RISCV/GlobalISel/instruction-select/alu_m-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-abs-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-div-rv64.mir
M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-rem-rv64.mir
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/CodeGen/RISCV/rv64zba.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vdiv-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vdivu-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vrem-vp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vremu-vp.ll
M llvm/test/CodeGen/SPARC/inlineasm.ll
A llvm/test/CodeGen/SPARC/tn0009.mir
A llvm/test/CodeGen/SPARC/tn0010.mir
A llvm/test/CodeGen/SPARC/tn0011.ll
A llvm/test/CodeGen/SPARC/tn0012.mir
A llvm/test/CodeGen/SPARC/tn0013.mir
A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/saturate.ll
M llvm/test/CodeGen/X86/abds-neg.ll
M llvm/test/CodeGen/X86/abds.ll
M llvm/test/CodeGen/X86/abdu-neg.ll
M llvm/test/CodeGen/X86/abdu.ll
A llvm/test/CodeGen/X86/avx512f-large-stack.ll
M llvm/test/CodeGen/X86/clobber_frame_ptr.ll
M llvm/test/CodeGen/X86/fminimum-fmaximum.ll
A llvm/test/CodeGen/X86/fold-loop-of-urem.ll
M llvm/test/CodeGen/X86/huge-stack.ll
M llvm/test/CodeGen/X86/unpredictable-brcond.ll
M llvm/test/CodeGen/X86/win64-stackprobe-overflow.ll
M llvm/test/DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll
M llvm/test/DebugInfo/COFF/AArch64/arm64-register-variables.ll
M llvm/test/DebugInfo/COFF/ARMNT/arm-register-variables.ll
M llvm/test/Instrumentation/AddressSanitizer/asan-funclet.ll
M llvm/test/Instrumentation/AddressSanitizer/fake-stack.ll
M llvm/test/Instrumentation/AddressSanitizer/global_metadata.ll
M llvm/test/Instrumentation/AddressSanitizer/global_metadata_array.ll
M llvm/test/Instrumentation/AddressSanitizer/global_with_comdat.ll
M llvm/test/Instrumentation/AddressSanitizer/instrument_global.ll
M llvm/test/Instrumentation/AddressSanitizer/instrument_initializer_without_global.ll
M llvm/test/Instrumentation/AddressSanitizer/instrument_late_initializer.ll
M llvm/test/Instrumentation/AddressSanitizer/local_alias.ll
M llvm/test/Instrumentation/AddressSanitizer/odr-check-ignore.ll
M llvm/test/Instrumentation/AddressSanitizer/win-string-literal.ll
M llvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll
M llvm/test/MC/AArch64/arm64-system-encoding.s
M llvm/test/MC/AArch64/arm64e-subtype.s
M llvm/test/MC/AArch64/armv8.5a-ssbs-error.s
M llvm/test/MC/AArch64/armv8.5a-ssbs.s
M llvm/test/MC/Disassembler/AArch64/armv8.5a-ssbs.txt
M llvm/test/MC/Disassembler/AArch64/basic-a64-instructions.txt
A llvm/test/MC/ELF/relax-branch.s
M llvm/test/MC/RISCV/machine-csr-names-invalid.s
M llvm/test/MC/RISCV/rv32-only-csr-names.s
M llvm/test/MC/RISCV/rvv/zvbc.s
A llvm/test/MC/RISCV/rvv/zvkgs.s
M llvm/test/MachineVerifier/test_g_llround.mir
M llvm/test/MachineVerifier/test_g_lround.mir
M llvm/test/ObjectYAML/wasm/invalid_section_order.yaml
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-cxx.td
M llvm/test/TableGen/dump.td
A llvm/test/TableGen/invalid-macro-name-command-line.td
M llvm/test/Transforms/Attributor/call-simplify-pointer-info.ll
M llvm/test/Transforms/Attributor/multiple-offsets-pointer-info.ll
M llvm/test/Transforms/Attributor/nonnull.ll
M llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll
M llvm/test/Transforms/CodeExtractor/PartialInlineAttributes.ll
A llvm/test/Transforms/CodeGenPrepare/X86/fold-loop-of-urem.ll
M llvm/test/Transforms/Coroutines/coro-debug-O2.ll
M llvm/test/Transforms/Coroutines/coro-debug-coro-frame.ll
M llvm/test/Transforms/Coroutines/coro-debug-dbg.values.ll
M llvm/test/Transforms/Coroutines/coro-debug-frame-variable.ll
M llvm/test/Transforms/FunctionAttrs/nonnull.ll
M llvm/test/Transforms/InferFunctionAttrs/annotate.ll
M llvm/test/Transforms/InstCombine/bit-checks.ll
M llvm/test/Transforms/InstCombine/crash.ll
M llvm/test/Transforms/InstCombine/phi.ll
A llvm/test/Transforms/InstCombine/pr96012.ll
M llvm/test/Transforms/InstCombine/scmp.ll
M llvm/test/Transforms/InstCombine/select-select.ll
M llvm/test/Transforms/InstCombine/ucmp.ll
M llvm/test/Transforms/InstSimplify/saturating-add-sub.ll
M llvm/test/Transforms/LoopIdiom/X86/ctlz.ll
M llvm/test/Transforms/LoopIdiom/X86/left-shift-until-bittest.ll
M llvm/test/Transforms/LoopIdiom/X86/left-shift-until-zero.ll
M llvm/test/Transforms/LoopStrengthReduce/RISCV/lsr-cost-compare.ll
M llvm/test/Transforms/LoopStrengthReduce/RISCV/term-fold-crash.ll
M llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold-negative-testcase.ll
M llvm/test/Transforms/LoopStrengthReduce/lsr-term-fold.ll
M llvm/test/Transforms/LoopStrengthReduce/lsr-unreachable-bb-phi-node.ll
A llvm/test/Transforms/LoopVectorize/RISCV/blocks-with-dead-instructions.ll
M llvm/test/Transforms/LoopVectorize/unsafe-vf-hint-remark.ll
M llvm/test/Transforms/OpenMP/spmdization.ll
M llvm/test/Transforms/PhaseOrdering/partialord-ule.ll
A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AMDGPU/expamd-masked-load.ll
A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AMDGPU/expand-masked-gather.ll
A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AMDGPU/expand-masked-scatter.ll
A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AMDGPU/expand-masked-store.ll
A llvm/test/Transforms/ScalarizeMaskedMemIntrin/AMDGPU/lit.local.cfg
M llvm/test/Transforms/SimplifyCFG/X86/sink-common-code.ll
M llvm/test/Transforms/SimplifyCFG/hoist-common-code.ll
M llvm/test/Transforms/SimplifyCFG/sink-and-convert-switch.ll
A llvm/test/Verifier/naked.ll
M llvm/test/lit.cfg.py
A llvm/test/tools/llvm-cgdata/convert.test
A llvm/test/tools/llvm-cgdata/empty.test
A llvm/test/tools/llvm-cgdata/error.test
A llvm/test/tools/llvm-cgdata/merge-archive.test
A llvm/test/tools/llvm-cgdata/merge-concat.test
A llvm/test/tools/llvm-cgdata/merge-double.test
A llvm/test/tools/llvm-cgdata/merge-single.test
A llvm/test/tools/llvm-cgdata/show.test
A llvm/test/tools/llvm-mca/JSON/X86/views-bottleneck.s
M llvm/test/tools/llvm-mca/JSON/X86/views-custom-parameters.s
M llvm/test/tools/llvm-mca/JSON/X86/views-multiple-anonymous-regions.s
M llvm/test/tools/llvm-mca/JSON/X86/views-multiple-region.s
M llvm/test/tools/llvm-mca/JSON/X86/views.s
M llvm/test/tools/llvm-mca/RISCV/SiFiveP400/load.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vislide-vx.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vlseg-vsseg.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vmv.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vreduce.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vrgather.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/vshift-vmul.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvbb.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvbc.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvkg.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvkned.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvknhb.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvksed.s
A llvm/test/tools/llvm-mca/RISCV/SiFiveP400/zvksh.s
M llvm/test/tools/llvm-mca/X86/Znver1/resources-avx1.s
M llvm/test/tools/llvm-mca/X86/Znver1/resources-avx2.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx1.s
M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx2.s
M llvm/test/tools/llvm-objcopy/wasm/basic-only-section.test
M llvm/test/tools/llvm-objcopy/wasm/only-keep-debug.test
M llvm/test/tools/llvm-objcopy/wasm/strip-all.test
M llvm/test/tools/llvm-objcopy/wasm/strip-debug.test
M llvm/test/tools/llvm-objcopy/wasm/strip-reloc.test
A llvm/test/tools/llvm-objdump/AArch64/Inputs/fat.macho-arm64e-kernel-ptrauth-abi
A llvm/test/tools/llvm-objdump/AArch64/Inputs/fat.macho-arm64e-ptrauth-abi
A llvm/test/tools/llvm-objdump/AArch64/macho-universal-arm64e-kernel-ptrauth-abi.test
A llvm/test/tools/llvm-objdump/AArch64/macho-universal-arm64e-ptrauth-abi.test
A llvm/test/tools/llvm-objdump/macho-ptrauth-cpusubtype.test
M llvm/test/tools/llvm-readobj/ELF/AArch64/aarch64-feature-pauth.s
A llvm/test/tools/llvm-reduce/Inputs/reduce-distinct-metadata.py
A llvm/test/tools/llvm-reduce/reduce-distinct-metadata.ll
M llvm/test/tools/llvm-reduce/remove-metadata.ll
M llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
M llvm/tools/dsymutil/MachOUtils.cpp
M llvm/tools/llvm-c-test/attributes.c
M llvm/tools/llvm-c-test/echo.cpp
M llvm/tools/llvm-c-test/llvm-c-test.h
M llvm/tools/llvm-c-test/module.c
A llvm/tools/llvm-cgdata/CMakeLists.txt
A llvm/tools/llvm-cgdata/Opts.td
A llvm/tools/llvm-cgdata/llvm-cgdata.cpp
M llvm/tools/llvm-mca/Views/BottleneckAnalysis.cpp
M llvm/tools/llvm-mca/Views/BottleneckAnalysis.h
M llvm/tools/llvm-objdump/MachODump.cpp
M llvm/tools/llvm-readobj/ELFDumper.cpp
M llvm/tools/llvm-reduce/CMakeLists.txt
M llvm/tools/llvm-reduce/DeltaManager.cpp
A llvm/tools/llvm-reduce/deltas/ReduceDistinctMetadata.cpp
A llvm/tools/llvm-reduce/deltas/ReduceDistinctMetadata.h
M llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp
M llvm/unittests/ADT/CMakeLists.txt
M llvm/unittests/ADT/CountCopyAndMove.cpp
M llvm/unittests/ADT/CountCopyAndMove.h
M llvm/unittests/ADT/FunctionExtrasTest.cpp
A llvm/unittests/ADT/RewriteBufferTest.cpp
M llvm/unittests/Analysis/CMakeLists.txt
A llvm/unittests/Analysis/CtxProfAnalysisTest.cpp
M llvm/unittests/Analysis/MemoryProfileInfoTest.cpp
M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp
M llvm/unittests/BinaryFormat/MachOTest.cpp
A llvm/unittests/CGData/CMakeLists.txt
A llvm/unittests/CGData/OutlinedHashTreeRecordTest.cpp
A llvm/unittests/CGData/OutlinedHashTreeTest.cpp
M llvm/unittests/CMakeLists.txt
M llvm/unittests/CodeGen/SelectionDAGPatternMatchTest.cpp
R llvm/unittests/CodeGenData/CMakeLists.txt
R llvm/unittests/CodeGenData/OutlinedHashTreeRecordTest.cpp
R llvm/unittests/CodeGenData/OutlinedHashTreeTest.cpp
M llvm/unittests/IR/DataLayoutTest.cpp
M llvm/unittests/IR/InstructionsTest.cpp
M llvm/unittests/IR/IntrinsicsTest.cpp
M llvm/unittests/Passes/PassBuilderBindings/PassBuilderBindingsTest.cpp
M llvm/unittests/SandboxIR/SandboxIRTest.cpp
M llvm/unittests/SandboxIR/TrackerTest.cpp
M llvm/unittests/Support/MathExtrasTest.cpp
M llvm/unittests/Support/SignalsTest.cpp
M llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/ARMTargetDefEmitter.cpp
M llvm/utils/TableGen/DXILEmitter.cpp
M llvm/utils/TableGen/IntrinsicEmitter.cpp
M llvm/utils/git/github-automation.py
M llvm/utils/gn/secondary/clang/lib/Rewrite/BUILD.gn
M llvm/utils/gn/secondary/clang/unittests/Rewrite/BUILD.gn
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/lib/Target/AMDGPU/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Transforms/Scalar/BUILD.gn
M llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/ADT/BUILD.gn
M llvm/utils/lit/tests/Inputs/shtest-cat/cat-error-0.txt
M llvm/utils/lit/tests/Inputs/shtest-cat/cat-error-1.txt
M llvm/utils/lit/tests/Inputs/shtest-cat/cat.txt
M mlir/docs/BytecodeFormat.md
M mlir/include/mlir/Analysis/Presburger/Fraction.h
M mlir/include/mlir/Analysis/SliceWalk.h
M mlir/include/mlir/Dialect/Arith/IR/Arith.h
M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
M mlir/include/mlir/Dialect/ArmSME/Transforms/Passes.td
M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td
M mlir/include/mlir/Dialect/DLTI/DLTI.h
M mlir/include/mlir/Dialect/DLTI/DLTIAttrs.td
M mlir/include/mlir/Dialect/DLTI/DLTIBase.td
M mlir/include/mlir/Dialect/DLTI/TransformOps/DLTITransformOps.td
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/include/mlir/Dialect/EmitC/IR/EmitCTypes.td
M mlir/include/mlir/Dialect/GPU/IR/GPUOps.td
M mlir/include/mlir/Dialect/IRDL/IR/IRDL.td
M mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVLogicalOps.td
M mlir/include/mlir/Dialect/SPIRV/IR/SPIRVNonUniformOps.td
M mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
M mlir/include/mlir/Dialect/Vector/TransformOps/VectorTransformOps.td
M mlir/include/mlir/IR/CommonTypeConstraints.td
M mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
M mlir/include/mlir/Interfaces/DataLayoutInterfaces.h
M mlir/include/mlir/Interfaces/DataLayoutInterfaces.td
M mlir/lib/Analysis/SliceWalk.cpp
M mlir/lib/Conversion/ConvertToSPIRV/CMakeLists.txt
M mlir/lib/Conversion/ConvertToSPIRV/ConvertToSPIRVPass.cpp
M mlir/lib/Conversion/GPUToLLVMSPV/GPUToLLVMSPV.cpp
M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
M mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.cpp
M mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
M mlir/lib/Conversion/MemRefToEmitC/MemRefToEmitC.cpp
M mlir/lib/Conversion/MemRefToEmitC/MemRefToEmitCPass.cpp
M mlir/lib/Conversion/SCFToEmitC/SCFToEmitC.cpp
M mlir/lib/Dialect/DLTI/DLTI.cpp
M mlir/lib/Dialect/DLTI/TransformOps/DLTITransformOps.cpp
M mlir/lib/Dialect/EmitC/IR/EmitC.cpp
M mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
M mlir/lib/Dialect/GPU/Transforms/SubgroupReduceLowering.cpp
M mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
M mlir/lib/Dialect/SPIRV/IR/GroupOps.cpp
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/CodegenEnv.h
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/LoopEmitter.h
M mlir/lib/Dialect/Vector/TransformOps/VectorTransformOps.cpp
M mlir/lib/Target/Cpp/TranslateToCpp.cpp
M mlir/lib/Target/LLVMIR/DataLayoutImporter.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/lib/Target/SPIRV/SPIRVBinaryUtils.cpp
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/python/mlir/dialects/tensor.py
R mlir/python/mlir/extras/__init__.py
A mlir/test/Conversion/ConvertToSPIRV/argmax-kernel.mlir
A mlir/test/Conversion/ConvertToSPIRV/gpu.mlir
M mlir/test/Conversion/GPUToLLVMSPV/gpu-to-llvm-spv.mlir
M mlir/test/Conversion/MathToSPIRV/math-to-gl-spirv.mlir
M mlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir
M mlir/test/Conversion/MemRefToEmitC/memref-to-emitc-failed.mlir
M mlir/test/Conversion/MemRefToEmitC/memref-to-emitc.mlir
M mlir/test/Conversion/SCFToEmitC/for.mlir
M mlir/test/Conversion/SCFToEmitC/if.mlir
M mlir/test/Conversion/SCFToEmitC/switch.mlir
M mlir/test/Dialect/DLTI/invalid.mlir
M mlir/test/Dialect/DLTI/query.mlir
M mlir/test/Dialect/DLTI/valid.mlir
M mlir/test/Dialect/EmitC/invalid_ops.mlir
M mlir/test/Dialect/EmitC/invalid_types.mlir
M mlir/test/Dialect/EmitC/ops.mlir
M mlir/test/Dialect/EmitC/transforms.mlir
M mlir/test/Dialect/EmitC/types.mlir
M mlir/test/Dialect/GPU/canonicalize.mlir
M mlir/test/Dialect/GPU/invalid.mlir
M mlir/test/Dialect/GPU/subgroup-reduce-lowering.mlir
M mlir/test/Dialect/LLVMIR/inlining-alias-scopes.mlir
M mlir/test/Dialect/SPIRV/IR/non-uniform-ops.mlir
M mlir/test/Dialect/SparseTensor/sparse_kernels_to_iterator.mlir
M mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/multi-tile-matmul-mixed-types.mlir
M mlir/test/Integration/Dialect/Vector/CPU/ArmSME/outerproduct-i8i8i32.mlir
M mlir/test/Target/Cpp/common-cpp.mlir
M mlir/test/Target/Cpp/expressions.mlir
M mlir/test/Target/Cpp/for.mlir
M mlir/test/Target/Cpp/global.mlir
M mlir/test/Target/Cpp/if.mlir
M mlir/test/Target/Cpp/invalid.mlir
M mlir/test/Target/Cpp/invalid_declare_variables_at_top.mlir
A mlir/test/Target/Cpp/lvalue.mlir
M mlir/test/Target/Cpp/member.mlir
M mlir/test/Target/Cpp/subscript.mlir
M mlir/test/Target/Cpp/switch.mlir
M mlir/test/Target/Cpp/variable.mlir
M mlir/test/Target/LLVMIR/Import/data-layout.ll
M mlir/test/Target/LLVMIR/Import/import-failure.ll
M mlir/test/Target/LLVMIR/Import/intrinsic.ll
M mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir
M mlir/test/Target/LLVMIR/openmp-firstprivate.mlir
M mlir/test/Transforms/test-legalize-target-materialization-no-uses.mlir
M mlir/test/Transforms/test-legalize-type-conversion.mlir
M mlir/test/python/dialects/linalg/opdsl/emit_matmul.py
M mlir/test/python/dialects/linalg/ops.py
M mlir/unittests/Interfaces/DataLayoutInterfacesTest.cpp
M offload/plugins-nextgen/amdgpu/CMakeLists.txt
M offload/plugins-nextgen/amdgpu/src/rtl.cpp
M offload/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h
M offload/plugins-nextgen/common/CMakeLists.txt
M offload/test/api/omp_device_alloc.c
M utils/bazel/llvm-project-overlay/llvm/config.bzl
M utils/bazel/llvm-project-overlay/llvm/include/llvm/Config/config.h
M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm_configs/config.h.cmake
Log Message:
-----------
rebase
Created using spr 1.3.5-bogner
Compare: https://github.com/llvm/llvm-project/compare/268ca0da23b9...ba1375153e07
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