[all-commits] [llvm/llvm-project] 73159a: [NFC] Refactor fast-math handling for clang driver...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Thu Feb 15 15:53:07 PST 2024
Branch: refs/heads/users/alexey-bataev/spr/ttiriscvimprove-costs-for-fixed-vector-whole-reg-extractinsert
Home: https://github.com/llvm/llvm-project
Commit: 73159a994abcbf82881ee15b0df5cf13c9671f31
https://github.com/llvm/llvm-project/commit/73159a994abcbf82881ee15b0df5cf13c9671f31
Author: Andy Kaylor <andrew.kaylor at intel.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Clang.cpp
Log Message:
-----------
[NFC] Refactor fast-math handling for clang driver (#81173)
This refactors the fast-math handling in the clang driver, moving the
settings into a lambda that is shared by the -ffp-model=fast and
-ffast-math code. Previously the -ffp-model=fast handler changed the
local option variable and fell through to the -ffast-math handler.
This refactoring is intended to prepare the way for decoupling the
-ffp-model=fast settings from the -ffast-math settings and possibly
introduce a less aggressive fp-model.
Commit: 8799d7143f8b75ba722f438d0d2388bfaefa793b
https://github.com/llvm/llvm-project/commit/8799d7143f8b75ba722f438d0d2388bfaefa793b
Author: Artem Belevich <tra at google.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/test/CodeGen/NVPTX/i8x4-instructions.ll
Log Message:
-----------
[NVPTX] Fix the error in a pattern match in v4i8 comparisons. (#81308)
The replacement should've had BFE() as the arguments for the comparison,
not the source register.
While at that, tighten the patterns a bit, and expand them to cover
variants with immediate arguments. Also change the default lowering of
bfe() to use unsigned variant, so the value of the upper bits is
predictable.
Commit: fa6850a9981b65972294e13021f82b96d460b3ec
https://github.com/llvm/llvm-project/commit/fa6850a9981b65972294e13021f82b96d460b3ec
Author: Rishi Surendran <142182875+rishisurendran at users.noreply.github.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/include/llvm/IR/Metadata.h
M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
M mlir/include/mlir/Target/LLVMIR/LLVMTranslationInterface.h
M mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
M mlir/lib/Target/LLVMIR/AttrKindDetail.h
M mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Dialect/LLVMIR/nvvm.mlir
M mlir/test/Target/LLVMIR/nvvmir.mlir
Log Message:
-----------
[mlir][nvvm]Add support for grid_constant attribute on LLVM function arguments (#78228)
Add support for attribute nvvm.grid_constant on LLVM function arguments.
The attribute can be attached only to arguments of type llvm.ptr that
have llvm.byval attribute.
Generate LLVM metadata for functions with nvvm.grid_constant arguments.
The metadata node is a list of integers, where each integer n denotes
that the nth parameter has the
grid_constant annotation (numbering from 1). The generated metadata node
will be handled by NVVM compiler. See
https://docs.nvidia.com/cuda/nvvm-ir-spec/index.html#supported-properties
for documentation on grid_constant property.
This patch also adds convertParameterAttr to
LLVMTranslationDialectInterface for supporting the translation of
derived dialect attributes on function parameters
Commit: 61a0fc794789e5bf9f850436926700c3ad56682b
https://github.com/llvm/llvm-project/commit/61a0fc794789e5bf9f850436926700c3ad56682b
Author: Artem Belevich <tra at google.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/test/CodeGen/NVPTX/nanosleep.ll
Log Message:
-----------
[NVPTX] pass correct GPU arch to ptxas test (#81535)
Commit: 537042577252ce84774aa4f7fbafef8c39b4032c
https://github.com/llvm/llvm-project/commit/537042577252ce84774aa4f7fbafef8c39b4032c
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M mlir/lib/Dialect/SCF/IR/SCF.cpp
Log Message:
-----------
Apply clang-tidy fixes for bugprone-argument-comment in SCF.cpp (NFC)
Commit: 8189db978fa73a09c040a1e698d85f8b4a63cd37
https://github.com/llvm/llvm-project/commit/8189db978fa73a09c040a1e698d85f8b4a63cd37
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
Log Message:
-----------
Apply clang-tidy fixes for performance-unnecessary-value-param in BufferizableOpInterfaceImpl.cpp (NFC)
Commit: e546a6e95da62b39ba7903e0371fdaa210417e8d
https://github.com/llvm/llvm-project/commit/e546a6e95da62b39ba7903e0371fdaa210417e8d
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
Log Message:
-----------
Apply clang-tidy fixes for modernize-loop-convert in Utils.cpp (NFC)
Commit: 56c385cd677bcc4f191e8c09044155159bc9bf7b
https://github.com/llvm/llvm-project/commit/56c385cd677bcc4f191e8c09044155159bc9bf7b
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseGPUCodegen.cpp
Log Message:
-----------
Apply clang-tidy fixes for modernize-loop-convert in SparseGPUCodegen.cpp (NFC)
Commit: 61f64d1c237be75bed5d717aec4de0f9df5ab2e7
https://github.com/llvm/llvm-project/commit/61f64d1c237be75bed5d717aec4de0f9df5ab2e7
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
Log Message:
-----------
Apply clang-tidy fixes for llvm-qualified-auto in SparseTensorRewriting.cpp (NFC)
Commit: aef36ebb3b74c81589885c61b4fc066052dd9498
https://github.com/llvm/llvm-project/commit/aef36ebb3b74c81589885c61b4fc066052dd9498
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M clang/tools/driver/cc1_main.cpp
Log Message:
-----------
[clang] Remove old Linux kernel workaround for ensuring stack space (#81533)
PR #71709 broke the Linux PIE build with `undefined symbol: alloca`
errors. With the newly included `clang/Basic/Builtins.h` in that PR, it
surfaces an issue with a combination of two previous patches.
26670dcba1609574cba5942aff78ff97b567c5f3 added `#undef alloca` so clang
builtins handling of alloca would work under MSVC (unsure if this is
still necessary).
194b6a3b1b1a99cc3c12c466a04320f271ebd8aa added code that calls `alloca`
to workaround a Linux kernel < 4.1 bug. Given that Linux 4.1 was EOL in
2018, it should be ok to remove this workaround.
Commit: fcef407aa21ad5a79d66a088e6f2a66a5745725d
https://github.com/llvm/llvm-project/commit/fcef407aa21ad5a79d66a088e6f2a66a5745725d
Author: Konstantin Zhuravlyov <kzhuravl_dev at outlook.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/SIDefines.h
M llvm/lib/Target/AMDGPU/SIInstrFormats.td
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.h
M llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOPInstructions.td
Log Message:
-----------
AMDGPU/NFC: Remove some bits from TSFlags (#81525)
- AMDGPU/NFC: Purge SOPK_ZEXT from TSFlags
- Moved to helper function in SIInstInfo
- AMDGPU/NFC: Purge VOPAsmPrefer32Bit from TSFlags
- This flag did not make sense / remnants of something else I think
Commit: 283feb42ee509cc56fb75316b4fd86b53a714cf4
https://github.com/llvm/llvm-project/commit/283feb42ee509cc56fb75316b4fd86b53a714cf4
Author: Karthika Devi C <quic_kartc at quicinc.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M polly/lib/Analysis/ScopBuilder.cpp
M polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_2.ll
M polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_3.ll
M polly/test/ScopInfo/int2ptr_ptr2int.ll
Log Message:
-----------
[polly] Make reduction detection checks more robust - part 2 (#80721)
Existing reduction detection algorithm does two types of memory checks
before marking a load store pair as reduction.
Second check is to verify there is no other memory access in ScopStmt
overlapping with the memory of load and store that forms the reduction.
Existing check misses cases where there could be probable overlap such
as
A[V] += A[P];
In the above case there is chance of overlap between A[V] and A[P] which
is missed.
This commit addresses this by removing the parameter from space before
checking for compatible space.
Part 1 of this patch :
[75297](https://github.com/llvm/llvm-project/pull/75297)
Commit: a5f3d1a803020167bd9d494a8a3921e7dcc1550a
https://github.com/llvm/llvm-project/commit/a5f3d1a803020167bd9d494a8a3921e7dcc1550a
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M bolt/include/bolt/Passes/ADRRelaxationPass.h
M bolt/include/bolt/Passes/Aligner.h
M bolt/include/bolt/Passes/AllocCombiner.h
M bolt/include/bolt/Passes/AsmDump.h
M bolt/include/bolt/Passes/BinaryPasses.h
M bolt/include/bolt/Passes/CMOVConversion.h
M bolt/include/bolt/Passes/FixRISCVCallsPass.h
M bolt/include/bolt/Passes/FixRelaxationPass.h
M bolt/include/bolt/Passes/FrameOptimizer.h
M bolt/include/bolt/Passes/Hugify.h
M bolt/include/bolt/Passes/IdenticalCodeFolding.h
M bolt/include/bolt/Passes/IndirectCallPromotion.h
M bolt/include/bolt/Passes/Inliner.h
M bolt/include/bolt/Passes/Instrumentation.h
M bolt/include/bolt/Passes/JTFootprintReduction.h
M bolt/include/bolt/Passes/LongJmp.h
M bolt/include/bolt/Passes/LoopInversionPass.h
M bolt/include/bolt/Passes/PLTCall.h
M bolt/include/bolt/Passes/PatchEntries.h
M bolt/include/bolt/Passes/RegReAssign.h
M bolt/include/bolt/Passes/ReorderData.h
M bolt/include/bolt/Passes/ReorderFunctions.h
M bolt/include/bolt/Passes/RetpolineInsertion.h
M bolt/include/bolt/Passes/SplitFunctions.h
M bolt/include/bolt/Passes/StokeInfo.h
M bolt/include/bolt/Passes/TailDuplication.h
M bolt/include/bolt/Passes/ThreeWayBranch.h
M bolt/include/bolt/Passes/ValidateInternalCalls.h
M bolt/include/bolt/Passes/ValidateMemRefs.h
M bolt/include/bolt/Passes/VeneerElimination.h
M bolt/lib/Passes/ADRRelaxationPass.cpp
M bolt/lib/Passes/Aligner.cpp
M bolt/lib/Passes/AllocCombiner.cpp
M bolt/lib/Passes/AsmDump.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/CMOVConversion.cpp
M bolt/lib/Passes/FixRISCVCallsPass.cpp
M bolt/lib/Passes/FixRelaxationPass.cpp
M bolt/lib/Passes/FrameOptimizer.cpp
M bolt/lib/Passes/Hugify.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Passes/IndirectCallPromotion.cpp
M bolt/lib/Passes/Inliner.cpp
M bolt/lib/Passes/Instrumentation.cpp
M bolt/lib/Passes/JTFootprintReduction.cpp
M bolt/lib/Passes/LongJmp.cpp
M bolt/lib/Passes/LoopInversionPass.cpp
M bolt/lib/Passes/PLTCall.cpp
M bolt/lib/Passes/PatchEntries.cpp
M bolt/lib/Passes/RegReAssign.cpp
M bolt/lib/Passes/ReorderData.cpp
M bolt/lib/Passes/ReorderFunctions.cpp
M bolt/lib/Passes/RetpolineInsertion.cpp
M bolt/lib/Passes/SplitFunctions.cpp
M bolt/lib/Passes/StokeInfo.cpp
M bolt/lib/Passes/TailDuplication.cpp
M bolt/lib/Passes/ThreeWayBranch.cpp
M bolt/lib/Passes/ValidateInternalCalls.cpp
M bolt/lib/Passes/ValidateMemRefs.cpp
M bolt/lib/Passes/VeneerElimination.cpp
M bolt/lib/Rewrite/BinaryPassManager.cpp
M bolt/lib/Rewrite/BoltDiff.cpp
Log Message:
-----------
[BOLT][NFC] Return Error from BinaryFunctionPass::runOnFunctions (#81521)
As part of the effort to refactor old error handling code that
would directly call exit(1), in this patch we change the
interface to `BinaryFunctionPass` to return an Error on
`runOnFunctions()`. This gives passes the ability to report a
serious problem to the caller (RewriteInstance class), so the
caller may decide how to best handle the exceptional situation.
Co-authored-by: Rafael Auler <rafaelauler at fb.com>
Test Plan: NFC
Commit: fa7dd4919aa705f18f268fab5b2887d45f89d8dd
https://github.com/llvm/llvm-project/commit/fa7dd4919aa705f18f268fab5b2887d45f89d8dd
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M bolt/include/bolt/Core/BinaryContext.h
M bolt/lib/Core/BinaryContext.cpp
M bolt/lib/Passes/ADRRelaxationPass.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/Instrumentation.cpp
M bolt/lib/Passes/PatchEntries.cpp
M bolt/lib/Passes/ReorderFunctions.cpp
M bolt/lib/Passes/VeneerElimination.cpp
Log Message:
-----------
[BOLT][NFC] Add BOLTError and return it from passes (1/2) (#81522)
As part of the effort to refactor old error handling code that
would directly call exit(1), in this patch we add a new class
BOLTError and auxiliary functions `createFatalBOLTError()` and
`createNonFatalBOLTError()` that allow BOLT code to bubble up the
problem to the caller by using the Error class as a return
type (or Expected). Also changes passes to use these.
Co-authored-by: Rafael Auler <rafaelauler at fb.com>
Test Plan: NFC
Commit: 13d60ce2f262ef9055389908b63824e53b3054a1
https://github.com/llvm/llvm-project/commit/13d60ce2f262ef9055389908b63824e53b3054a1
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/include/bolt/Core/BinarySection.h
M bolt/include/bolt/Passes/FrameOptimizer.h
M bolt/include/bolt/Passes/LongJmp.h
M bolt/include/bolt/Passes/ReorderFunctions.h
M bolt/include/bolt/Passes/ShrinkWrapping.h
M bolt/include/bolt/Rewrite/BinaryPassManager.h
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Core/BinarySection.cpp
M bolt/lib/Core/Exceptions.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/FrameOptimizer.cpp
M bolt/lib/Passes/LongJmp.cpp
M bolt/lib/Passes/ReorderFunctions.cpp
M bolt/lib/Passes/ShrinkWrapping.cpp
M bolt/lib/Rewrite/BinaryPassManager.cpp
M bolt/lib/Rewrite/MachORewriteInstance.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Target/X86/X86MCSymbolizer.cpp
M bolt/lib/Target/X86/X86MCSymbolizer.h
Log Message:
-----------
[BOLT][NFC] Propagate BOLTErrors from Core, RewriteInstance, and passes (2/2) (#81523)
As part of the effort to refactor old error handling code that
would directly call exit(1), in this patch continue the migration
on libCore, libRewrite and libPasses to use the new BOLTError
class whenever a failure occurs.
Test Plan: NFC
Co-authored-by: Rafael Auler <rafaelauler at fb.com>
Commit: 93cdd1b5cfa3735c599949b77e24dbfbe570441a
https://github.com/llvm/llvm-project/commit/93cdd1b5cfa3735c599949b77e24dbfbe570441a
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M clang/lib/CodeGen/BackendUtil.cpp
M llvm/include/llvm/Support/PGOOptions.h
A llvm/include/llvm/Transforms/Instrumentation/PGOForceFunctionAttrs.h
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Support/PGOOptions.cpp
M llvm/lib/Transforms/Instrumentation/CMakeLists.txt
A llvm/lib/Transforms/Instrumentation/PGOForceFunctionAttrs.cpp
A llvm/test/Instrumentation/PGOForceFunctionAttrs/basic.ll
M llvm/tools/opt/NewPMDriver.cpp
M llvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn
Log Message:
-----------
[PGO] Add ability to mark cold functions as optsize/minsize/optnone (#69030)
The performance of cold functions shouldn't matter too much, so if we
care about binary sizes, add an option to mark cold functions as
optsize/minsize for binary size, or optnone for compile times [1]. Clang
patch will be in a future patch.
This is intended to replace `shouldOptimizeForSize(Function&, ...)`.
We've seen multiple cases where calls to this expensive function, if not
careful, can blow up compile times. I will clean up users of that
function in a followup patch.
Initial version: https://reviews.llvm.org/D149800
[1]
https://discourse.llvm.org/t/rfc-new-feature-proposal-de-optimizing-cold-functions-using-pgo-info/56388
Commit: 52cf07116bf0a8cab87b0f55176d198bcaa02575
https://github.com/llvm/llvm-project/commit/52cf07116bf0a8cab87b0f55176d198bcaa02575
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M bolt/include/bolt/Core/BinaryContext.h
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DynoStats.h
M bolt/include/bolt/Core/Exceptions.h
M bolt/include/bolt/Passes/BinaryPasses.h
M bolt/include/bolt/Passes/CMOVConversion.h
M bolt/include/bolt/Passes/CacheMetrics.h
M bolt/include/bolt/Passes/ReorderData.h
M bolt/include/bolt/Passes/ReorderFunctions.h
M bolt/include/bolt/Passes/ShrinkWrapping.h
M bolt/include/bolt/Profile/BoltAddressTranslation.h
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Core/BinaryBasicBlock.cpp
M bolt/lib/Core/BinaryContext.cpp
M bolt/lib/Core/BinaryEmitter.cpp
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Core/DynoStats.cpp
M bolt/lib/Core/Exceptions.cpp
M bolt/lib/Core/ParallelUtilities.cpp
M bolt/lib/Passes/ADRRelaxationPass.cpp
M bolt/lib/Passes/AllocCombiner.cpp
M bolt/lib/Passes/AsmDump.cpp
M bolt/lib/Passes/BinaryFunctionCallGraph.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/CMOVConversion.cpp
M bolt/lib/Passes/CacheMetrics.cpp
M bolt/lib/Passes/FrameAnalysis.cpp
M bolt/lib/Passes/FrameOptimizer.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Passes/IndirectCallPromotion.cpp
M bolt/lib/Passes/Inliner.cpp
M bolt/lib/Passes/Instrumentation.cpp
M bolt/lib/Passes/JTFootprintReduction.cpp
M bolt/lib/Passes/LongJmp.cpp
M bolt/lib/Passes/LoopInversionPass.cpp
M bolt/lib/Passes/PLTCall.cpp
M bolt/lib/Passes/PatchEntries.cpp
M bolt/lib/Passes/RegAnalysis.cpp
M bolt/lib/Passes/RegReAssign.cpp
M bolt/lib/Passes/ReorderData.cpp
M bolt/lib/Passes/ReorderFunctions.cpp
M bolt/lib/Passes/RetpolineInsertion.cpp
M bolt/lib/Passes/ShrinkWrapping.cpp
M bolt/lib/Passes/SplitFunctions.cpp
M bolt/lib/Passes/StokeInfo.cpp
M bolt/lib/Passes/TailDuplication.cpp
M bolt/lib/Passes/ThreeWayBranch.cpp
M bolt/lib/Passes/ValidateInternalCalls.cpp
M bolt/lib/Passes/ValidateMemRefs.cpp
M bolt/lib/Passes/VeneerElimination.cpp
M bolt/lib/Profile/BoltAddressTranslation.cpp
M bolt/lib/Rewrite/BinaryPassManager.cpp
M bolt/lib/Rewrite/BoltDiff.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/MachORewriteInstance.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Target/X86/X86MCSymbolizer.cpp
A bolt/test/X86/fatal-error.s
A bolt/test/X86/log.test
M bolt/tools/bat-dump/bat-dump.cpp
M bolt/tools/driver/llvm-bolt.cpp
M bolt/unittests/Core/BinaryContext.cpp
M bolt/unittests/Core/MCPlusBuilder.cpp
Log Message:
-----------
[BOLT][NFC] Log through JournalingStreams (#81524)
Make core BOLT functionality more friendly to being used as a
library instead of in our standalone driver llvm-bolt. To
accomplish this, we augment BinaryContext with journaling streams
that are to be used by most BOLT code whenever something needs to
be logged to the screen. Users of the library can decide if logs
should be printed to a file, no file or to the screen, as
before. To illustrate this, this patch adds a new option
`--log-file` that allows the user to redirect BOLT logging to a
file on disk or completely hide it by using
`--log-file=/dev/null`. Future BOLT code should now use
`BinaryContext::outs()` for printing important messages instead of
`llvm::outs()`. A new test log.test enforces this by verifying that
no strings are print to screen once the `--log-file` option is
used.
In previous patches we also added a new BOLTError class to report
common and fatal errors, so code shouldn't call exit(1) now. To
easily handle problems as before (by quitting with exit(1)),
callers can now use
`BinaryContext::logBOLTErrorsAndQuitOnFatal(Error)` whenever code
needs to deal with BOLT errors. To test this, we have fatal.s
that checks we are correctly quitting and printing a fatal error
to the screen.
Because this is a significant change by itself, not all code was
yet ported. Code from Profiler libs (DataAggregator and friends)
still print errors directly to screen.
Co-authored-by: Rafael Auler <rafaelauler at fb.com>
Test Plan: NFC
Commit: 85507f17cfc42e29f956de6b3e0924c3cf7b4469
https://github.com/llvm/llvm-project/commit/85507f17cfc42e29f956de6b3e0924c3cf7b4469
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
A clang/test/Analysis/Checkers/WebKit/assignment-to-refptr.cpp
M clang/test/Analysis/Checkers/WebKit/mock-types.h
Log Message:
-----------
[analyzer] Ignore assignment to Ref / RefPtr in alpha.webkit.UncountedCallArgsChecker. (#80810)
Commit: 7ff5dfbaa0c971048da0f37ec6f05f5395562c21
https://github.com/llvm/llvm-project/commit/7ff5dfbaa0c971048da0f37ec6f05f5395562c21
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
A llvm/test/Transforms/LICM/expr-reassociate-int.ll
Log Message:
-----------
[LICM] Support integer mul/add in hoistFPAssociation. (#67736)
The reassociation this is trying to repair can happen for integer types
too.
This patch adds support for integer mul/add to hoistFPAssociation. The
function has been renamed to hoistMulAddAssociation. I've used separate
statistics and limits for integer to allow tuning flexibility.
Commit: 82568046e6761f961002ea6c48b5160ba6c7576f
https://github.com/llvm/llvm-project/commit/82568046e6761f961002ea6c48b5160ba6c7576f
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/test/Analysis/Checkers/WebKit/mock-types.h
A clang/test/Analysis/Checkers/WebKit/ref-ptr-accessor.cpp
Log Message:
-----------
[analyzer] Add the support for calling Ref::ptr accessor. (#80919)
This accessor returns a pointer from Ref type and is therefore safe.
Commit: 9df71899bd5dbbaf0640c74cc82a6330dc7760cf
https://github.com/llvm/llvm-project/commit/9df71899bd5dbbaf0640c74cc82a6330dc7760cf
Author: Fangrui Song <i at maskray.me>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M clang/test/CodeGen/aarch64-ABI-align-packed-assembly.c
M clang/test/CodeGen/aarch64-ABI-align-packed.c
M clang/test/CodeGen/aarch64-fix-cortex-a53-835769.c
M clang/test/CodeGen/aarch64-ls64-inline-asm.c
M clang/test/CodeGen/aarch64-ls64.c
M clang/test/CodeGen/aarch64-matmul.cpp
M clang/test/CodeGen/aarch64-neon-ldst-one-rcpc3.c
M clang/test/CodeGen/aarch64-targetattr-arch.c
M clang/test/CodeGen/aarch64-targetattr-crypto.c
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/aarch64-tme.cpp
M clang/test/CodeGen/arm64-mte.c
M clang/test/CodeGen/fp128_complex.c
M clang/test/CodeGen/fp16-ops-strictfp.c
M clang/test/CodeGen/fp16-ops.c
M clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
M clang/test/Driver/aarch64-fix-cortex-a53-835769.c
M clang/test/Driver/aarch64-mgeneral_regs_only.c
M clang/test/Driver/aarch64-pauth-lr.c
M clang/test/Driver/aarch64-target-as-march.s
M clang/test/Driver/arm-alignment.c
M clang/test/Driver/arm-no-neg-immediates.c
M clang/test/Driver/linux-ld.c
M clang/test/Frontend/embed-bitcode.ll
M clang/test/Frontend/gnu-mcount.c
M clang/test/Headers/arm-acle-header.c
M clang/test/Headers/xmmintrin-unsupported.c
M clang/test/Preprocessor/aarch64-target-features.c
M clang/test/Sema/aarch64-tme-errors.c
M clang/test/Sema/aarch64-tme-tcancel-errors.c
M clang/test/SemaCXX/warn-overaligned-type-thrown.cpp
Log Message:
-----------
[test] Replace aarch64-*-{eabi,gnueabi} with aarch64
Similar to d39b4ce3ce8a3c256e01bdec2b140777a332a633
Using "eabi" or "gnueabi" for aarch64 targets is a common mistake and
warned by Clang Driver. We want to avoid them elsewhere as well. Just
use the common "aarch64" without other triple components.
Commit: f63da479ae2f5e0d747430f268ae7b458c02455c
https://github.com/llvm/llvm-project/commit/f63da479ae2f5e0d747430f268ae7b458c02455c
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
A clang/test/Analysis/Checkers/WebKit/implicit-cast-to-base-class-with-deref-in-superclass.cpp
Log Message:
-----------
[analyzer] Fix an implicit cast to a base ref counted class generates a false positive. (#80934)
The bug was caused by isRefCountable erroneously returning false for a
class with both ref() and deref() functions defined because we were not
resetting the base paths results between looking for "ref()" and
"deref()"
Commit: 2dbfa8407e7d2f4293add33b5ead3f2d5fcd04e9
https://github.com/llvm/llvm-project/commit/2dbfa8407e7d2f4293add33b5ead3f2d5fcd04e9
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
A clang/test/Analysis/Checkers/WebKit/ref-countable-default-arg-nullptr.cpp
Log Message:
-----------
[analyzer] Allow default arguments to be evaluated like other arguments. (#80956)
This PR aligns the evaluation of default arguments with other kinds of
arguments by extracting the expressions within them as argument values
to be evaluated.
Commit: c2b01c87dcc3ab59e7d466cbec795310a3d43fde
https://github.com/llvm/llvm-project/commit/c2b01c87dcc3ab59e7d466cbec795310a3d43fde
Author: jimingham <jingham at apple.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Core/ValueObject.cpp
M lldb/source/DataFormatters/TypeSummary.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
Log Message:
-----------
Make ValueObjectPrinter's handling of its ValueObject pointers more principled (NFC) (#81314)
I get a small but fairly steady stream of crash reports which I can only
explain by ValueObjectPrinter trying to access its m_valobj field, and
finding it NULL. I have never been able to reproduce any of these, and
the reports show a state too long after the fact to know what went
wrong.
I've read through this section of lldb a bunch of times trying to figure
out how this could happen, but haven't ever found anything actually
wrong that could cause this. OTOH, ValueObjectPrinter is somewhat sloppy
about how it handles the ValueObject it is printing.
a) lldb allows you to make a ValueObjectPrinter with a Null incoming
ValueObject. However, there's no affordance to set the ValueObject in
the Printer after the fact, and it doesn't really make sense to do that.
So I change the ValueObjectPrinter API's to take a ValueObject
reference, rather than a pointer. All the places that make
ValueObjectPrinters already check the non-null status of their
ValueObject's before making the ValueObjectPrinter, so sadly, I didn't
find the bug, but this will enforce the intent.
b) The next step in printing the ValueObject is deciding which of the
associated DynamicValue/SyntheticValue we are actually printing (based
on the use_dynamic and use_synthetic settings in the original
ValueObject. This was put in a pointer by GetMostSpecializedValue, but
most of the printer code just accessed the pointer, and it was hard to
reason out whether we were guaranteed to always call this before using
m_valobj. So far as I could see we always do (sigh, didn't find the bug
there either) but this was way too hard to reason about.
In fact, we figure out once which ValueObject we're going to print and
don't change that through the life of the printer. So I changed this to
both set the "most specialized value" in the constructor, and then to
always access it through GetMostSpecializedValue(). That makes it easier
to reason about the use of this ValueObject as well.
This is an NFC change, all it does is make the code easier to reason
about.
Commit: 11e5e22c41f6611591a591f58c1e73cc3721ef5f
https://github.com/llvm/llvm-project/commit/11e5e22c41f6611591a591f58c1e73cc3721ef5f
Author: michaelrj-google <71531609+michaelrj-google at users.noreply.github.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][bazel] mark read and write as weak (#81330)
Downstream there's a user that intercepts these functions and overlays
them. This causes symbol conflicts if neither function is marked weak.
In future the intent is to move to this to being a downstream
configuration
option.
Commit: fac6d3d98ba1bac24acc5b19c84d07af25c1b755
https://github.com/llvm/llvm-project/commit/fac6d3d98ba1bac24acc5b19c84d07af25c1b755
Author: michaelrj-google <71531609+michaelrj-google at users.noreply.github.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc][bazel] mark epoll funcitons as weak (#81327)
Downstream there's a user that intercepts these functions and overlays
them. This causes symbol conflicts if neither function is marked weak.
In future the intent is to move to this to being a downstream
configuration
option.
Commit: 644ac2a018c9bf83c9ba256074e552ad7f1fe941
https://github.com/llvm/llvm-project/commit/644ac2a018c9bf83c9ba256074e552ad7f1fe941
Author: jkorous-apple <32549412+jkorous-apple at users.noreply.github.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Analysis/UnsafeBufferUsage.cpp
M clang/lib/Sema/AnalysisBasedWarnings.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-array.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-debug.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-local-var-array.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage.cpp
Log Message:
-----------
[-Wunsafe-buffer-usage] Introduce std::array fixits (#80084)
Array subscript on a const size array is not bounds-checked. The idiomatic
replacement is std::array which is bounds-safe in hardened mode of libc++.
This commit extends the fixit-producing machine to consider std::array as a
transformation target type and teaches it to handle the array subscript on const
size arrays with a trivial (empty) fixit.
Commit: 3a080a0195ed21b8e12f825cfa00c8fa79f851a6
https://github.com/llvm/llvm-project/commit/3a080a0195ed21b8e12f825cfa00c8fa79f851a6
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
A llvm/include/llvm/TextAPI/FileTypes.h
M llvm/include/llvm/TextAPI/InterfaceFile.h
M llvm/include/llvm/TextAPI/RecordsSlice.h
M llvm/lib/TextAPI/BinaryReader/DylibReader.cpp
M llvm/lib/TextAPI/InterfaceFile.cpp
M llvm/lib/TextAPI/RecordsSlice.cpp
M llvm/lib/TextAPI/TextAPIContext.h
M llvm/lib/TextAPI/TextStubCommon.h
Log Message:
-----------
[TextAPI] Refactor BinaryAttrs to InterfaceFile assignment (#81551)
Create a helper method for this operation, so it can be reused in
multiple places.
Additonally move FileType enum into its own header to avoid include
cycles.
Commit: ecd63afafd635d3f37ec25e3ded1db0410e97de3
https://github.com/llvm/llvm-project/commit/ecd63afafd635d3f37ec25e3ded1db0410e97de3
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
R llvm/test/Transforms/LICM/expr-reassociate-int.ll
Log Message:
-----------
Revert "[LICM] Support integer mul/add in hoistFPAssociation. (#67736)"
This reverts commit 7ff5dfbaa0c971048da0f37ec6f05f5395562c21.
Causing crashes on Mac build bots.
Commit: a38152e2156a467520dae29fa3760802c308d54c
https://github.com/llvm/llvm-project/commit/a38152e2156a467520dae29fa3760802c308d54c
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lld/COFF/Driver.cpp
M llvm/include/llvm/Object/COFFImportFile.h
M llvm/lib/Object/COFFImportFile.cpp
M llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
M llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
M llvm/lib/ToolDrivers/llvm-lib/Options.td
M llvm/test/tools/llvm-lib/arm64ec-implib.test
Log Message:
-----------
[llvm-lib] Add support for -defArm64Native argument. (#81426)
This can be used to create import libraries that contain both ARM64EC
and native exports. The implementation follows observed MSVC lib.exe
behaviour. It's ignored on targets other than ARM64EC.
Commit: 3bdc4c702dfdd1f2fb513943f034d49bb79ded29
https://github.com/llvm/llvm-project/commit/3bdc4c702dfdd1f2fb513943f034d49bb79ded29
Author: Kevin Frei <kevinfrei at users.noreply.github.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h
M llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h
M llvm/include/llvm/DebugInfo/GSYM/ObjectFileTransformer.h
A llvm/include/llvm/DebugInfo/GSYM/OutputAggregator.h
M llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
M llvm/lib/DebugInfo/GSYM/GsymCreator.cpp
M llvm/lib/DebugInfo/GSYM/ObjectFileTransformer.cpp
M llvm/test/tools/llvm-gsymutil/X86/elf-dwo.yaml
M llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
M llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
Log Message:
-----------
Gsymutil aggregation similar to DwarfDump --verify (#81154)
GsymUtil, like DwarfDump --verify, spews a *lot* of data necessary to
understand/diagnose issues with DWARF data. The trouble is that the kind
of information necessary to make the messages useful also makes them
nearly impossible to easily categorize. I put together a similar output
categorizer (https://github.com/llvm/llvm-project/pull/79648) that will
emit a summary of issues identified at the bottom of the (very verbose)
output, enabling easier tracking of issues as they arise or are
addressed.
There's a single output change, where a message "warning: Unable to
retrieve DWO .debug_info section for some object files. (Remove the
--quiet flag for full output)" was being dumped the first time it was
encountered (in what looks like an attempt to make something easily
grep-able), but rather than keep the output in the same order, that
message is now a 'category' so gets emitted at the end of the output.
The test 'tools/llvm-gsymutil/X86/elf-dwo.yaml' was changed to reflect
this difference.
---------
Co-authored-by: Kevin Frei <freik at meta.com>
Commit: bc66e0cf9feb8f3c38fa2e33850b6c6e5477fb21
https://github.com/llvm/llvm-project/commit/bc66e0cf9feb8f3c38fa2e33850b6c6e5477fb21
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/IR/BasicBlock.cpp
Log Message:
-----------
Revert "Reapply "[DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default""
This reverts commit 5c9f7682b090124d9a8b69f92d3f7c269dca25fc.
Causes crashes, see comments on https://github.com/llvm/llvm-project/commit/5c9f7682b090124d9a8b69f92d3f7c269dca25fc.
Commit: 1af073a11cb2ae5a52205e66f33d0ec9bbcbb5e0
https://github.com/llvm/llvm-project/commit/1af073a11cb2ae5a52205e66f33d0ec9bbcbb5e0
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M flang/include/flang/Lower/OpenMP.h
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/OpenMP.cpp
Log Message:
-----------
[flang][OpenMP] Pass semantics context to all generating functions in… (#81269)
… lower
The convention is to pass it after "symTable" if present, otherwise
after "converter":
- converter, symTable, semaCtx
- converter, semaCtx
This makes the interfaces more uniform---some of these functions were
already taking the semantics context, while others were not.
The context will be used in future patches.
Commit: f7c2c32c019275e88fd14e401aaa68b760f32a28
https://github.com/llvm/llvm-project/commit/f7c2c32c019275e88fd14e401aaa68b760f32a28
Author: Fangrui Song <i at maskray.me>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M lld/ELF/Target.cpp
A lld/test/ELF/unsupported-emachine.test
Log Message:
-----------
[ELF] Properly reject unsupported e_machine
Fix an incorrect llvm_unreachable.
Commit: 25cec33521ba1c67f5e939ceea277be18b2d0fb7
https://github.com/llvm/llvm-project/commit/25cec33521ba1c67f5e939ceea277be18b2d0fb7
Author: Fangrui Song <i at maskray.me>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M lld/ELF/Writer.cpp
M lld/test/ELF/x86-64-section-layout.s
Log Message:
-----------
[ELF] Place _edata before .bss in the presence of .ldata
This minor issue is identified while working on #81224.
Commit: 3d18c8cd265c0c0bf1d85226c4770a2dd0f86e8f
https://github.com/llvm/llvm-project/commit/3d18c8cd265c0c0bf1d85226c4770a2dd0f86e8f
Author: Fangrui Song <i at maskray.me>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/test/Analysis/CostModel/AArch64/cast.ll
M llvm/test/Analysis/CostModel/AArch64/fptoi_sat.ll
M llvm/test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll
M llvm/test/Analysis/LoopAccessAnalysis/reverse-memcheck-bounds.ll
M llvm/test/CodeGen/AArch64/Redundantstore.ll
M llvm/test/CodeGen/AArch64/aarch64-a57-fp-load-balancing.ll
M llvm/test/CodeGen/AArch64/aarch64-addv.ll
M llvm/test/CodeGen/AArch64/aarch64-tbz.ll
M llvm/test/CodeGen/AArch64/aarch64-unroll-and-jam.ll
M llvm/test/CodeGen/AArch64/aarch64-vcvtfp2fxs-combine.ll
M llvm/test/CodeGen/AArch64/arm64-build-vector.ll
M llvm/test/CodeGen/AArch64/arm64-movi.ll
M llvm/test/CodeGen/AArch64/arm64-popcnt.ll
M llvm/test/CodeGen/AArch64/arm64-rev.ll
M llvm/test/CodeGen/AArch64/asm-large-immediate.ll
M llvm/test/CodeGen/AArch64/bf16-shuffle.ll
M llvm/test/CodeGen/AArch64/bf16.ll
M llvm/test/CodeGen/AArch64/bitreverse.ll
M llvm/test/CodeGen/AArch64/cmpwithshort.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i16-add-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i16-mul-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i32-add-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i32-mul-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i64-add-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i64-mul-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i8-add-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-splat-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-splat.ll
M llvm/test/CodeGen/AArch64/cond-br-tuning.ll
M llvm/test/CodeGen/AArch64/consthoist-gep.ll
M llvm/test/CodeGen/AArch64/extbinopload.ll
M llvm/test/CodeGen/AArch64/extract-sext-zext.ll
M llvm/test/CodeGen/AArch64/fabs.ll
M llvm/test/CodeGen/AArch64/faddsub.ll
M llvm/test/CodeGen/AArch64/fcmp.ll
M llvm/test/CodeGen/AArch64/fcopysign.ll
M llvm/test/CodeGen/AArch64/fcvt.ll
M llvm/test/CodeGen/AArch64/fdiv.ll
M llvm/test/CodeGen/AArch64/fence-singlethread.ll
M llvm/test/CodeGen/AArch64/fexplog.ll
M llvm/test/CodeGen/AArch64/fminimummaximum.ll
M llvm/test/CodeGen/AArch64/fminmax.ll
M llvm/test/CodeGen/AArch64/fmla.ll
M llvm/test/CodeGen/AArch64/fmul.ll
M llvm/test/CodeGen/AArch64/fneg.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_lane.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_scalar_1op.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_scalar_2op.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_scalar_3op.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_vector_1op.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_vector_2op.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_vector_3op.ll
M llvm/test/CodeGen/AArch64/fpext.ll
M llvm/test/CodeGen/AArch64/fpow.ll
M llvm/test/CodeGen/AArch64/fpowi.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/fptrunc.ll
M llvm/test/CodeGen/AArch64/frem.ll
M llvm/test/CodeGen/AArch64/frintn.ll
M llvm/test/CodeGen/AArch64/fsincos.ll
M llvm/test/CodeGen/AArch64/fsqrt.ll
M llvm/test/CodeGen/AArch64/hints.ll
M llvm/test/CodeGen/AArch64/icmp.ll
M llvm/test/CodeGen/AArch64/insertextract.ll
M llvm/test/CodeGen/AArch64/intrinsics-memory-barrier.ll
M llvm/test/CodeGen/AArch64/itofp.ll
M llvm/test/CodeGen/AArch64/ldp-stp-scaled-unscaled-pairs.ll
M llvm/test/CodeGen/AArch64/legalize-bug-bogus-cpu.ll
M llvm/test/CodeGen/AArch64/merge-scoped-aa-store.ll
M llvm/test/CodeGen/AArch64/merge-store-dependency.ll
M llvm/test/CodeGen/AArch64/merge-store.ll
M llvm/test/CodeGen/AArch64/min-max-combine.ll
M llvm/test/CodeGen/AArch64/min-max.ll
M llvm/test/CodeGen/AArch64/mul_pow2.ll
M llvm/test/CodeGen/AArch64/neon-extadd-extract.ll
M llvm/test/CodeGen/AArch64/neon_rbit.ll
M llvm/test/CodeGen/AArch64/no-quad-ldp-stp.ll
M llvm/test/CodeGen/AArch64/nzcv-save.ll
M llvm/test/CodeGen/AArch64/pacbti-module-attrs.ll
M llvm/test/CodeGen/AArch64/postra-mi-sched.ll
M llvm/test/CodeGen/AArch64/rbit.ll
M llvm/test/CodeGen/AArch64/rcpc3-sve.ll
M llvm/test/CodeGen/AArch64/rcpc3.ll
M llvm/test/CodeGen/AArch64/rem_crash.ll
M llvm/test/CodeGen/AArch64/rotate.ll
M llvm/test/CodeGen/AArch64/setcc_knownbits.ll
M llvm/test/CodeGen/AArch64/sls-stackprotector-outliner.ll
M llvm/test/CodeGen/AArch64/stack-probing-64k.ll
M llvm/test/CodeGen/AArch64/stack-probing-dynamic.ll
M llvm/test/CodeGen/AArch64/stack-probing-sve.ll
M llvm/test/CodeGen/AArch64/stack-probing.ll
M llvm/test/CodeGen/AArch64/sve-fcopysign.ll
M llvm/test/CodeGen/AArch64/sve2-fcopysign.ll
M llvm/test/CodeGen/AArch64/tailmerging_in_mbp.ll
M llvm/test/CodeGen/AArch64/tbz-tbnz.ll
M llvm/test/CodeGen/AArch64/v3f-to-int.ll
M llvm/test/CodeGen/AArch64/v8.5a-neon-frint3264-intrinsic.ll
M llvm/test/CodeGen/AArch64/v8.5a-scalar-frint3264-intrinsic.ll
M llvm/test/CodeGen/AArch64/vecreduce-fadd-strict.ll
M llvm/test/CodeGen/AArch64/vecreduce-fadd.ll
M llvm/test/CodeGen/AArch64/vecreduce-fmul-strict.ll
M llvm/test/CodeGen/AArch64/vecreduce-fmul.ll
M llvm/test/CodeGen/AArch64/xar.ll
M llvm/test/Transforms/LICM/sink-foldable.ll
M llvm/test/Transforms/LoopVectorize/AArch64/arbitrary-induction-step.ll
M llvm/test/Transforms/LoopVectorize/AArch64/backedge-overflow.ll
M llvm/test/Transforms/LoopVectorize/AArch64/interleaved_cost.ll
Log Message:
-----------
[test] Replace aarch64-*-{eabi,gnueabi}{,hf} with aarch64
Similar to d39b4ce3ce8a3c256e01bdec2b140777a332a633
Using "eabi" or "gnueabi" for aarch64 targets is a common mistake and
warned by Clang Driver. We want to avoid them elsewhere as well. Just
use the common "aarch64" without other triple components.
Commit: 78f2eb8d0f9cf5e8a79b64f6d64deeb487502e38
https://github.com/llvm/llvm-project/commit/78f2eb8d0f9cf5e8a79b64f6d64deeb487502e38
Author: Fangrui Song <i at maskray.me>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/aarch64-gep-opt.ll
M llvm/test/CodeGen/AArch64/cond-br-tuning.ll
M llvm/test/Transforms/CallSiteSplitting/callsite-split-or-phi.ll
M llvm/test/Transforms/CallSiteSplitting/callsite-split.ll
M llvm/test/Transforms/CalledValuePropagation/simple-arguments.ll
M llvm/test/Transforms/CalledValuePropagation/simple-memory.ll
M llvm/test/Transforms/CalledValuePropagation/simple-select.ll
M llvm/test/Transforms/ConstantHoisting/AArch64/const-hoist-gep.ll
Log Message:
-----------
[test] Replace aarch64-*-{eabi,gnueabi}{,hf} with aarch64
Commit: 95a204cf34c410c2be5f152daec2d476f1e06d84
https://github.com/llvm/llvm-project/commit/95a204cf34c410c2be5f152daec2d476f1e06d84
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
Log Message:
-----------
[CodeGenPassBuilder] Remove analysis registering interfaces (#81439)
PassBuilder already can do this.
Commit: 542a3cb9cc89c3d6fca68374bf6c35ac6c229300
https://github.com/llvm/llvm-project/commit/542a3cb9cc89c3d6fca68374bf6c35ac6c229300
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Analysis/DomConditionCache.cpp
M llvm/lib/Analysis/ValueTracking.cpp
A llvm/test/Transforms/InstCombine/fpclass-from-dom-cond.ll
Log Message:
-----------
[ValueTracking] Compute known FPClass from dominating condition (#80941)
This patch improves `computeKnownFPClass` by using context-sensitive
information from `DomConditionCache`.
Commit: 4af24d4ab76539706bfbceec4b3923426fb1b9e7
https://github.com/llvm/llvm-project/commit/4af24d4ab76539706bfbceec4b3923426fb1b9e7
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Don't remove parentheses in macro definitions (#81444)
Closes #81399.
Commit: c43ad6c0fddac0bbed5e881801dd2bc2f9eeba2d
https://github.com/llvm/llvm-project/commit/c43ad6c0fddac0bbed5e881801dd2bc2f9eeba2d
Author: yonghong-song <ys114321 at gmail.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/test/MC/BPF/insn-unit.s
Log Message:
-----------
BPF: Change callx insn encoding (#81546)
Currently, the kernel verifier unsupported callx insn used the 32-bit
imm field to store the target register. On the other hand, gcc used the
dst_reg field to store the target register. The gcc encoding is better.
This patch adjusted the coding to be the same as gcc.
Signed-off-by: Yonghong Song <yonghong.song at linux.dev>
Commit: 070fad422834faab1f0ffc90e21e25d2f524b17b
https://github.com/llvm/llvm-project/commit/070fad422834faab1f0ffc90e21e25d2f524b17b
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
A mlir/test/Dialect/OpenMP/roundtrip.mlir
Log Message:
-----------
[MLIR][OpenMP] Add `omp.private` op (#80955)
This PR adds a new op to the OpenMP dialect: `PrivateClauseOp`. This op
will be later used to model `[first]private` clauses for differnt OpenMP
directives.
This is part of productizing the "delayed privatization" PoC which can
be found in #79862.
Commit: 91dcf53abd34fa836a126c706f87b810d299d802
https://github.com/llvm/llvm-project/commit/91dcf53abd34fa836a126c706f87b810d299d802
Author: rmarker <37921131+rmarker at users.noreply.github.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/unittests/Format/ConfigParseTest.cpp
Log Message:
-----------
[clang-format] Rename option AlwaysBreakAfterReturnType. (#80827)
Changes the option to BreakAfterReturnType option, with a more relevant
name, deprecating and replacing AlwaysBreakAfterReturnType.
Following up on #78010.
Commit: 2dd52046816ac706a25d588efac77705793d8778
https://github.com/llvm/llvm-project/commit/2dd52046816ac706a25d588efac77705793d8778
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/LICM.cpp
A llvm/test/Transforms/LICM/expr-reassociate-int.ll
Log Message:
-----------
Recommit "[LICM] Support integer mul/add in hoistFPAssociation. (#67736)"
With a fix for build bot failure. I was accessing the type of a deleted
Instruction.
Original message:
The reassociation this is trying to repair can happen for integer types
too.
This patch adds support for integer mul/add to hoistFPAssociation. The
function has been renamed to hoistMulAddAssociation. I've used separate
statistics and limits for integer to allow tuning flexibility.
Commit: bc8910d272e3f9ed58b21af2e7c7a9125e4b25ea
https://github.com/llvm/llvm-project/commit/bc8910d272e3f9ed58b21af2e7c7a9125e4b25ea
Author: Luke Lau <luke at igalia.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFoldMasks.cpp
Log Message:
-----------
[RISCV] Mark RISCVFoldMasks methods as const. NFC
Commit: b56b3d75b04cda762ac8e15b7ec6fa4f52a6735a
https://github.com/llvm/llvm-project/commit/b56b3d75b04cda762ac8e15b7ec6fa4f52a6735a
Author: Younan Zhang <zyn7109 at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/test/CXX/over/over.match/over.match.best/p1-2a.cpp
Log Message:
-----------
[Clang][Sema] Don't consider top-level cv-qualifiers in template partial orderings (#81449)
This fixes a regression since
https://github.com/llvm/llvm-project/commit/340eac01f7dad6c24cee35dd35f2484098dd6b1a,
from which we compared function parameter types with cv-qualifiers taken
into account. However, as per [dcl.fct]/p5:
> After producing the list of parameter types, any top-level
cv-qualifiers modifying
> a parameter type are deleted when forming the function type.
Thus, I think we should use `hasSameUnqualifiedType` for type
comparison.
This fixes https://github.com/llvm/llvm-project/issues/75404.
Commit: 85e6e71eb09cb9e75bbd475e5f54f876653c3f16
https://github.com/llvm/llvm-project/commit/85e6e71eb09cb9e75bbd475e5f54f876653c3f16
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/c.c
Log Message:
-----------
[clang][Interp] Handle discarded PointerToIntegral casts
Resolve an old TODO comment.
Commit: bb77047a3b93e332be9cb3d85ad658e0ffa25525
https://github.com/llvm/llvm-project/commit/bb77047a3b93e332be9cb3d85ad658e0ffa25525
Author: Luke Lau <luke at igalia.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract-subvector.ll
Log Message:
-----------
[RISCV] Handle fixed length vectors with exact VLEN in loweringEXTRACT_SUBVECTOR (#79949)
This is a revival of #65392. When we lower an extract_subvector, we
extract the
subregister that the subvector is contained in first and then do a
vslidedown
with LMUL=1. We can currently only do this for scalable vectors though
because
the index is scaled by vscale and thus we will know what subregister the
subvector lies in.
For fixed length vectors, the index isn't scaled by vscale and so the
subvector
could lie in any arbitrary subregister, so we have to do a vslidedown
with the
full LMUL.
The exception to this is when we know the exact VLEN: in which case, we
can
still work out the exact subregister and do the LMUL=1 vslidedown on it.
This patch handles this case by scaling the index by 1/vscale before
computing
the subregister, and extending the LMUL=1 path to handle fixed length
vectors.
Commit: 4bcbeaed63af8f1e18c1c74d3ef2a5a6ff7a22ac
https://github.com/llvm/llvm-project/commit/4bcbeaed63af8f1e18c1c74d3ef2a5a6ff7a22ac
Author: Austin Kerbow <Austin.Kerbow at amd.com>
Date: 2024-02-12 (Mon, 12 Feb 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/preload-kernarg-header.ll
M llvm/test/CodeGen/AMDGPU/preload-kernargs.ll
Log Message:
-----------
[AMDGPU] Enable kernel arg preloading with gfx90a (#81180)
Add a trap instruction to the beginning of the kernel prologue to handle
cases where preloading is attempted on HW loaded with incompatible
firmware.
Commit: 785eddd7a786b798427e336b79bc0f2495a49984
https://github.com/llvm/llvm-project/commit/785eddd7a786b798427e336b79bc0f2495a49984
Author: sstipanovic <146831748+sstipanovic at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
A llvm/test/CodeGen/AMDGPU/GlobalISel/bitcast_38_i16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-build-vector.mir
Log Message:
-----------
[AMDGPU][GlobalIsel] Introduce isRegisterClassType to check for legal types, instead of checking bit width. (#68189)
In D151116 it was suggested to have a set of classes to cover every
possible case. This does it for bitcast first.
closes #79578
Commit: d7f59c8fb83cc00c58a826d542b81f98e7bd9526
https://github.com/llvm/llvm-project/commit/d7f59c8fb83cc00c58a826d542b81f98e7bd9526
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/lib/Dialect/GPU/Pipelines/GPUToNVVMPipeline.cpp
A mlir/test/Dialect/GPU/test-nvvm-pipeline.mlir
Log Message:
-----------
[mlir] Lower math dialect later in gpu-lower-to-nvvm-pipeline (#81489)
This PR moves lowering of math dialect later in the pipeline. Because
math dialect is lowered correctly by createConvertGpuOpsToNVVMOps for
GPU target, and it needs to run it first.
Reland #78556
Commit: d033366bd2189e33343ca93d276b40341dc39770
https://github.com/llvm/llvm-project/commit/d033366bd2189e33343ca93d276b40341dc39770
Author: Martin Storsjö <martin at martin.st>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lld/MinGW/Driver.cpp
M lld/MinGW/Options.td
M lld/test/MinGW/driver.test
Log Message:
-----------
[LLD] [MinGW] Implement the --lto-emit-asm and -plugin-opt=emit-llvm options (#81475)
These were implemented in the COFF linker in
3923e61b96cf90123762f0e0381504efaba2d77a and
d12b99a4313816cf99e97cb5f579e2d51ba72b0b.
This matches the corresponding options in the ELF linker.
Commit: 66f73100b8c758248724d53598165d850fdaf364
https://github.com/llvm/llvm-project/commit/66f73100b8c758248724d53598165d850fdaf364
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Pointer.cpp
M clang/test/AST/Interp/literals.cpp
Log Message:
-----------
[clang][Interp] Fix ltor conversion for pointer types
This special case is wrong, we need to handle pointer types here
just like anything else.
Commit: d2ccf3393363f3bbcfd46e58a0ed2a6bd9170099
https://github.com/llvm/llvm-project/commit/d2ccf3393363f3bbcfd46e58a0ed2a6bd9170099
Author: Hristo Hristov <hghristov.rmm at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M libcxx/include/sstream
A libcxx/test/std/input.output/string.streams/istringstream/types.compile.pass.cpp
R libcxx/test/std/input.output/string.streams/istringstream/types.pass.cpp
A libcxx/test/std/input.output/string.streams/ostringstream/types.compile.pass.cpp
R libcxx/test/std/input.output/string.streams/ostringstream/types.pass.cpp
A libcxx/test/std/input.output/string.streams/stringbuf/types.compile.pass.cpp
R libcxx/test/std/input.output/string.streams/stringbuf/types.pass.cpp
A libcxx/test/std/input.output/string.streams/stringstream/types.compile.pass.cpp
R libcxx/test/std/input.output/string.streams/stringstream/types.pass.cpp
Log Message:
-----------
[libc++][sstream] Explicitly delete special member functions (#80254)
The standard declares the copy constructors and copy assign operators as
deleted.
References:
- https://eel.is/c++draft/string.streams
Commit: d30e941a03f7e70fb7875ede7b5d80342982e3a8
https://github.com/llvm/llvm-project/commit/d30e941a03f7e70fb7875ede7b5d80342982e3a8
Author: Simon Pilgrim <RKSimon at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Log Message:
-----------
[DAG] Add SelectionDAG::getShiftAmountConstant APInt variant (#81484)
Asserts that the shift amount is in range and update ExpandShiftByConstant to use getShiftAmountConstant (and legal shift amount types).
Commit: a1efe56ace6099959ac97fcb09b9a7837b6d0255
https://github.com/llvm/llvm-project/commit/a1efe56ace6099959ac97fcb09b9a7837b6d0255
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Analysis/ValueTracking.cpp
Log Message:
-----------
Remove an unused variable in release build.
Commit: 87d771193490e6604f132752438bd8404c83498c
https://github.com/llvm/llvm-project/commit/87d771193490e6604f132752438bd8404c83498c
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_udec_wrap.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_uinc_wrap.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/memory-legalizer-atomic-fence.ll
M llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
M llvm/test/CodeGen/AMDGPU/atomicrmw-expand.ll
M llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
M llvm/test/CodeGen/AMDGPU/global-saddr-atomics-min-max-system.ll
M llvm/test/CodeGen/AMDGPU/global-saddr-atomics.ll
M llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
M llvm/test/CodeGen/AMDGPU/insert-waitcnts-crash.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-fence.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-agent.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-system.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-global-agent.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-global-system.ll
Log Message:
-----------
[AMDGPU][SIMemoryLegalizer] Fix order of GL0/1_INV on GFX10/11 (#81450)
Fixes SWDEV-443292
Commit: e892f323ea234a997888b0fa44356b0678eda5f0
https://github.com/llvm/llvm-project/commit/e892f323ea234a997888b0fa44356b0678eda5f0
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp
Log Message:
-----------
[mlir][nvgpu] Allow TMA's last dim to be non-128B without swizzling (#81499)
Allow TMA's last dimension to be non-128B when swizzling mode is not
set.
Test `tma_load_64x8_8x128_noswizzle.mlir` is failing due to the
verifier. This PR will fix that
Commit: 346e7c7f6881afaade5a71ad97475d70639dadcf
https://github.com/llvm/llvm-project/commit/346e7c7f6881afaade5a71ad97475d70639dadcf
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
A clang/test/CXX/drs/dr201.cpp
A clang/test/CXX/drs/dr210.cpp
A clang/test/CXX/drs/dr292.cpp
M clang/test/CXX/drs/dr2xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[clang] Add some CodeGen tests for CWG 2xx issues (#80823)
This patch covers CWG issues
[201](https://cplusplus.github.io/CWG/issues/201.html),
[210](https://cplusplus.github.io/CWG/issues/210.html),
[292](https://cplusplus.github.io/CWG/issues/292.html).
[CWG208](https://cplusplus.github.io/CWG/issues/208.html) is not
covered, as it actually requires a libcxxabi test.
Resolution of CWG292 has been superseded by
[P0145R3](https://wg21.link/p0145r3) "Refining Expression Evaluation
Order for Idiomatic C++"
(see changes to paragraph 5.3.4/18).
Commit: d57515bd107bc76df5a042ffee2b7dc6125ffef1
https://github.com/llvm/llvm-project/commit/d57515bd107bc76df5a042ffee2b7dc6125ffef1
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
M llvm/include/llvm/CodeGenTypes/LowLevelType.h
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/unittests/CodeGen/LowLevelTypeTest.cpp
Log Message:
-----------
[LLT] Add and use isPointerVector and isPointerOrPointerVector. NFC. (#81283)
Commit: 0e16950e741aee7ffec865c81596e1411471475e
https://github.com/llvm/llvm-project/commit/0e16950e741aee7ffec865c81596e1411471475e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/X86/X86SchedIceLake.td
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512.s
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512dq.s
Log Message:
-----------
[X86] IceLakeServer - ZMM FADD/FMUL can only use Port0
Fix discrepancy from when this was forked from the SkylakeServer model
This also fixes VRANGEPS/VRANGEPD instructions which typically match FADD characteristics
Confirmed with Agner + uops.info
Fixes #81504
Commit: 070848c17c2944afa494d42d3ad42929f3379842
https://github.com/llvm/llvm-project/commit/070848c17c2944afa494d42d3ad42929f3379842
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-xtn.mir
Log Message:
-----------
[AArch64][GISel] Don't pointlessly lower G_TRUNC (#81479)
If we have something like G_TRUNC from v2s32 to v2s16, then lowering
this to a concat of two G_TRUNC s32 to s16 followed by G_TRUNC from
v2s16 to v2s8 does not bring us any closer to legality. In fact, the
first part of that is a G_BUILD_VECTOR whose legalization will produce a
new G_TRUNC from v2s32 to v2s16, and both G_TRUNCs will then get
combined to the original, causing a legalization cycle.
Make the lowering condition more precise, by requiring that the original
vector is >128 bits, which is I believe the only case where this
specific splitting approach is useful.
Note that this doesn't actually produce a legal result (the alwaysLegal
is a lie, as before), but it will cause a proper globalisel abort
instead of an infinite legalization loop.
Fixes https://github.com/llvm/llvm-project/issues/81244.
Commit: 815a84655262ac569db11357fef1651f3571e7ee
https://github.com/llvm/llvm-project/commit/815a84655262ac569db11357fef1651f3571e7ee
Author: David Green <david.green at arm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M flang/include/flang/Optimizer/Support/Utils.h
A flang/include/flang/Optimizer/Transforms/Utils.h
M flang/lib/Optimizer/Dialect/CMakeLists.txt
M flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
Log Message:
-----------
[Flang] Move genMinMaxlocReductionLoop to Transforms/Utils.cpp (#81380)
This is one option for attempting to move genMinMaxlocReductionLoop to a
better location. It moves it into Transforms and makes HLFIRTranforms
depend upon FIRTransforms.
It passes a build locally, both with and without -DBUILD_SHARED_LIBS,
and does OK on the windows CI.
Commit: f0db35b93f31ea5d6ff9bd4791fb6755b5a5bb9b
https://github.com/llvm/llvm-project/commit/f0db35b93f31ea5d6ff9bd4791fb6755b5a5bb9b
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CoverageMappingGen.cpp
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
A llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
Log Message:
-----------
[MC/DC] Refactor: Introduce `MCDCTypes.h` for `coverage::mcdc` (#81459)
They can be also used in `clang`.
Introduce the lightweight header instead of `CoverageMapping.h`.
This includes for now:
* `mcdc::ConditionID`
* `mcdc::Parameters`
Commit: 05ad0d46325732e2f7759cb93c94f3e15b41d110
https://github.com/llvm/llvm-project/commit/05ad0d46325732e2f7759cb93c94f3e15b41d110
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
Log Message:
-----------
CoverageMapping.cpp: Apply std::move to MCDCRecord (#81220)
Commit: 0a600c34c8c1fe87c9661b6020e5044b24da3dc7
https://github.com/llvm/llvm-project/commit/0a600c34c8c1fe87c9661b6020e5044b24da3dc7
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
M mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
M mlir/lib/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp
M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir
M mlir/test/Dialect/NVGPU/tmaload-transform.mlir
M mlir/test/Integration/GPU/CUDA/sm90/gemm_f32_f16_f16_128x128x128.mlir
M mlir/test/Integration/GPU/CUDA/sm90/gemm_pred_f32_f16_f16_128x128x128.mlir
M mlir/test/Integration/GPU/CUDA/sm90/tma_load_128x64_swizzle128b.mlir
M mlir/test/Integration/GPU/CUDA/sm90/tma_load_64x64_swizzle128b.mlir
M mlir/test/Integration/GPU/CUDA/sm90/tma_load_64x8_8x128_noswizzle.mlir
Log Message:
-----------
[mlir][nvgpu] Make `phaseParity` of `mbarrier.try_wait` `i1` (#81460)
Currently, `phaseParity` argument of `nvgpu.mbarrier.try_wait.parity` is
index. This can cause a problem if it's passed any value different than
0 or 1. Because the PTX instruction only accepts even or odd phase. This
PR makes phaseParity argument i1 to avoid misuse.
Here is the information from PTX doc:
```
The .parity variant of the instructions test for the completion of the phase indicated
by the operand phaseParity, which is the integer parity of either the current phase or
the immediately preceding phase of the mbarrier object. An even phase has integer
parity 0 and an odd phase has integer parity of 1. So the valid values of phaseParity
operand are 0 and 1.
```
See for more information:
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#parallel-synchronization-and-communication-instructions-mbarrier-test-wait-mbarrier-try-wait
Commit: 4588525d7edbc0d14c41f5fa8f3e23a3241a502e
https://github.com/llvm/llvm-project/commit/4588525d7edbc0d14c41f5fa8f3e23a3241a502e
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
M llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp
Log Message:
-----------
CoverageMappingReader/Writer: MCDCConditionID shouldn't be zero
Commit: 270f2c5575dc5dd001e91ddc2c71b0f2d23f567c
https://github.com/llvm/llvm-project/commit/270f2c5575dc5dd001e91ddc2c71b0f2d23f567c
Author: martinboehme <mboehme at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
Log Message:
-----------
[clang][dataflow] Add `Environment::initializeFieldsWithValues()`. (#81239)
This function will be useful when we change the behavior of record-type
prvalues
so that they directly initialize the associated result object. See also
the
comment here for more details:
https://github.com/llvm/llvm-project/blob/9e73656af524a2c592978aec91de67316c5ce69f/clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h#L354
As part of this patch, we document and assert that synthetic fields may
not have
reference type.
There is no practical use case for this: A `StorageLocation` may not
have
reference type, and a synthetic field of the corresponding non-reference
type
can serve the same purpose.
Commit: 5b015229b77d6ea7916a503d88661b04d4867e7c
https://github.com/llvm/llvm-project/commit/5b015229b77d6ea7916a503d88661b04d4867e7c
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
Log Message:
-----------
[AMDGPU] Use LLT::isPointerOrPointerVector in legalizer (#81582)
Commit: d860ea96b1d4bcc13bf269e9b108d8f5e0c21d93
https://github.com/llvm/llvm-project/commit/d860ea96b1d4bcc13bf269e9b108d8f5e0c21d93
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
A llvm/test/CodeGen/AArch64/dbg-assign-tag-offset-mix-loc.ll
A llvm/test/CodeGen/AArch64/dbg-assign-tag-offset.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll
A llvm/test/Instrumentation/HWAddressSanitizer/dbg-assign-tag-offset.ll
Log Message:
-----------
[HWASAN] Update dbg.assign intrinsics in HWAsan pass (#79864)
llvm.dbg.assign intrinsics have 2 {value, expression} pairs; fix hwasan to
update the second expression.
Fixes #76545. This is #78606 rebased and with the addition of DPValue handling.
Note the addition of --try-experimental-debuginfo-iterators in the tests and
some shuffling of code in MemoryTaggingSupport.cpp.
Commit: 44706bd4f0e26f86eda24e4888044897fd4f92a8
https://github.com/llvm/llvm-project/commit/44706bd4f0e26f86eda24e4888044897fd4f92a8
Author: ostannard <oliver.stannard at arm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/fpclass-check-idioms.ll
Log Message:
-----------
[InstCombine] Don't add fcmp instructions to strictfp functions (#81498)
The strictfp attribute has the requirement that "LLVM will not introduce
any new floating-point instructions that may trap". The llvm.is.fpclass
intrinsic is documented as "The function never raises floating-point
exceptions", and the fcmp instruction may raise one, so we can't
transform the former into the latter in functions with the strictfp
attribute.
Commit: ca61e6a71dbe622593b27ab6c6f3bfd058069772
https://github.com/llvm/llvm-project/commit/ca61e6a71dbe622593b27ab6c6f3bfd058069772
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
M llvm/test/Transforms/CorrelatedValuePropagation/basic.ll
R llvm/test/Transforms/CorrelatedValuePropagation/switch.ll
Log Message:
-----------
Revert "[CVP] Check whether the default case is reachable (#79993)" (#81585)
This reverts commit a034e65e972175a2465deacb8c78bc7efc99bd23.
Some protobuf users reported that this patch caused a significant
compile-time regression because `TailDuplicator` works poorly with a
specific pattern.
We will reland it once the codegen issue is fixed.
Commit: ebe77cc320a1bcc8e2cec44f4f388fb43b72016d
https://github.com/llvm/llvm-project/commit/ebe77cc320a1bcc8e2cec44f4f388fb43b72016d
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/UnusedLocalNonTrivialVariableCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-local-non-trivial-variable.rst
M clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-local-non-trivial-variable.cpp
Log Message:
-----------
[clang-tidy] ignore local variable with [maybe_unused] attribute in bugprone-unused-local-non-trivial-variable (#81563)
Commit: 8c6e96d9eb35849762fa3ab4d3cc9517c4e14e74
https://github.com/llvm/llvm-project/commit/8c6e96d9eb35849762fa3ab4d3cc9517c4e14e74
Author: Antonio Frighetto <me at antoniofrighetto.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
Log Message:
-----------
[clang][Dataflow] Fix unnecessary copy in `initializeFieldsWithValues` (NFC)
Commit: f506192c016fb6909eb2c17e183f6223db012f8c
https://github.com/llvm/llvm-project/commit/f506192c016fb6909eb2c17e183f6223db012f8c
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M libc/src/__support/FPUtil/BasicOperations.h
M libc/src/math/generic/acoshf.cpp
M libc/src/math/generic/asinhf.cpp
Log Message:
-----------
[libc][NFC] Small `abs` related simplifications (#79858)
Commit: 4c931091a344e3284bd449710defdabe8fab1c22
https://github.com/llvm/llvm-project/commit/4c931091a344e3284bd449710defdabe8fab1c22
Author: Ivan Kosarev <ivan.kosarev at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
Log Message:
-----------
[AMDGPU][NFC] Get rid of some operand decoders defined using macros. (#81482)
Use templates instead.
Part of <https://github.com/llvm/llvm-project/issues/62629>.
Commit: fe3406e349884e4ef61480dd0607f1e237102c74
https://github.com/llvm/llvm-project/commit/fe3406e349884e4ef61480dd0607f1e237102c74
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
A lld/ELF/Arch/SystemZ.cpp
M lld/ELF/CMakeLists.txt
M lld/ELF/Driver.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/Relocations.cpp
M lld/ELF/Relocations.h
M lld/ELF/ScriptParser.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/Target.cpp
M lld/ELF/Target.h
A lld/test/ELF/Inputs/systemz-init.s
A lld/test/ELF/basic-systemz.s
A lld/test/ELF/emulation-systemz.s
A lld/test/ELF/lto/systemz.ll
A lld/test/ELF/systemz-got.s
A lld/test/ELF/systemz-gotent-relax-align.s
A lld/test/ELF/systemz-gotent-relax-und-dso.s
A lld/test/ELF/systemz-gotent-relax.s
A lld/test/ELF/systemz-ifunc-nonpreemptible.s
A lld/test/ELF/systemz-init-padding.s
A lld/test/ELF/systemz-pie.s
A lld/test/ELF/systemz-plt.s
A lld/test/ELF/systemz-reloc-abs.s
A lld/test/ELF/systemz-reloc-disp12.s
A lld/test/ELF/systemz-reloc-disp20.s
A lld/test/ELF/systemz-reloc-got.s
A lld/test/ELF/systemz-reloc-gotrel.s
A lld/test/ELF/systemz-reloc-pc16.s
A lld/test/ELF/systemz-reloc-pc32.s
A lld/test/ELF/systemz-reloc-pcdbl.s
A lld/test/ELF/systemz-tls-gd.s
A lld/test/ELF/systemz-tls-ie.s
A lld/test/ELF/systemz-tls-ld.s
A lld/test/ELF/systemz-tls-le.s
M lld/test/lit.cfg.py
Log Message:
-----------
[lld] Add target support for SystemZ (s390x) (#75643)
This patch adds full support for linking SystemZ (ELF s390x) object
files. Support should be generally complete:
- All relocation types are supported.
- Full shared library support (DYNAMIC, GOT, PLT, ifunc).
- Relaxation of TLS and GOT relocations where appropriate.
- Platform-specific test cases.
In addition to new platform code and the obvious changes, there were a
few additional changes to common code:
- Add three new RelExpr members (R_GOTPLT_OFF, R_GOTPLT_PC, and
R_PLT_GOTREL) needed to support certain s390x relocations. I chose not
to use a platform-specific name since nothing in the definition of these
relocs is actually platform-specific; it is well possible that other
platforms will need the same.
- A couple of tweaks to TLS relocation handling, as the particular
semantics of the s390x versions differ slightly. See comments in the
code.
This was tested by building and testing >1500 Fedora packages, with only
a handful of failures; as these also have issues when building with LLD
on other architectures, they seem unrelated.
Co-authored-by: Tulio Magno Quites Machado Filho <tuliom at redhat.com>
Commit: 9ca1a1575a337931d0e49859f83a0d5b70916abd
https://github.com/llvm/llvm-project/commit/9ca1a1575a337931d0e49859f83a0d5b70916abd
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Driver/ToolChains/Flang.h
A flang/test/Driver/masm.f90
Log Message:
-----------
[flang][Driver] Add -masm option to flang (#81490)
The motivation here was a suggestion over in Compiler Explorer. You can
use `-mllvm` already to do this but since gfortran supports `-masm`, I
figured I'd try to add it.
This is done by flang expanding `-masm` into `-mllvm x86-asm-syntax=`,
then passing that to fc1. Which then collects all the `-mllvm` options
and forwards them on.
The code to expand it comes from clang `Clang::AddX86TargetArgs` (there
are some other places doing the same thing too). However I've removed
the `-inline-asm` that clang adds, as fortran doesn't have inline
assembly.
So `-masm` for flang purely changes the style of assembly output.
```
$ ./bin/flang-new /tmp/test.f90 -o - -S -target x86_64-linux-gnu
<...>
pushq %rbp
$ ./bin/flang-new /tmp/test.f90 -o - -S -target x86_64-linux-gnu -masm=att
<...>
pushq %rbp
$ ./bin/flang-new /tmp/test.f90 -o - -S -target x86_64-linux-gnu -masm=intel
<...>
push rbp
```
The test is adapted from `clang/test/Driver/masm.c` by removing the
clang-cl related lines and changing the 32 bit triples to 64 bit triples
since flang doesn't support 32 bit targets.
Commit: a8fb0dcc41bf355a3bff9ad7165715a8b6012059
https://github.com/llvm/llvm-project/commit/a8fb0dcc41bf355a3bff9ad7165715a8b6012059
Author: Paul Semel <semelpaul at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[dataflow] CXXOperatorCallExpr equal operator might not be a glvalue (#80991)
Although in a normal implementation the assumption is reasonable, it
seems that some esoteric implementation are not returning a T&. This
should be handled correctly and the values be propagated.
---------
Co-authored-by: martinboehme <mboehme at google.com>
Commit: 79ce2c93aeb4686ef687b19867dbfe0e8cf40673
https://github.com/llvm/llvm-project/commit/79ce2c93aeb4686ef687b19867dbfe0e8cf40673
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
Log Message:
-----------
[mlir][VectorOps] Add conversion of 1-D vector.interleave ops to LLVM (#80966)
The 1-D case directly maps to LLVM intrinsics. The n-D case will be
handled by unrolling to 1-D first (in a later patch).
Depends on: #80965
Commit: e678e6edec8d2672eb848b7453bd10e16cc54958
https://github.com/llvm/llvm-project/commit/e678e6edec8d2672eb848b7453bd10e16cc54958
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/utils/gn/secondary/lld/ELF/BUILD.gn
Log Message:
-----------
[gn build] Port fe3406e34988
Commit: 8456e0c290f759807023924481712767a19464c2
https://github.com/llvm/llvm-project/commit/8456e0c290f759807023924481712767a19464c2
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/include/llvm/ADT/BitVector.h
M llvm/unittests/ADT/BitVectorTest.cpp
Log Message:
-----------
[ADT] Allow std::next to work on BitVector's set_bits_iterator (#80830)
Without this I would hit errors with libstdc++-12 like:
/usr/include/c++/12/bits/stl_iterator_base_funcs.h:230:5: note:
candidate template ignored: substitution failure [with _InputIterator =
llvm::const_set_bits_iterator_impl<llvm::BitVector>]: argument may not
have 'void' type
next(_InputIterator __x, typename
^
Commit: 55d6643ccf6f9394d88d3d6359492000c58c2357
https://github.com/llvm/llvm-project/commit/55d6643ccf6f9394d88d3d6359492000c58c2357
Author: Pranav Bhandarkar <153014763+bhandarkar-pranav at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M flang/lib/Lower/OpenMP.cpp
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[mlir][openmp] - Add the depend clause to omp.target and related offloading directives (#81081)
This patch adds support for the depend clause in a number of OpenMP
directives/constructs related to offloading. Specifically, it adds the
handling of the depend clause when it is used with the following
constructs
- target
- target enter data
- target update data
- target exit data
Commit: e79ad7bb94611666a23764459098574bc0394d56
https://github.com/llvm/llvm-project/commit/e79ad7bb94611666a23764459098574bc0394d56
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M flang/docs/FortranLLVMTestSuite.md
M flang/docs/index.md
Log Message:
-----------
[flang][docs] Fix a couple of warnings
Commit: 97088b2ab2184ad4bd64f59fba0b92b70468b10d
https://github.com/llvm/llvm-project/commit/97088b2ab2184ad4bd64f59fba0b92b70468b10d
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Utils/ValueMapper.cpp
A llvm/test/DebugInfo/Generic/ipsccp-remap-assign-id.ll
Log Message:
-----------
[RemoveDIs][ValueMapper] Remap DIAssignIDs in DPValues (#81595)
Fix crash raised in comments for 5c9f7682b090124d9a8b69f92d3f7c269dca25fc
Commit: bfc0b7c6891896ee8e9818f22800472510093864
https://github.com/llvm/llvm-project/commit/bfc0b7c6891896ee8e9818f22800472510093864
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
A mlir/test/Dialect/Linalg/vectorization-unsupported.mlir
Log Message:
-----------
[mlir][linalg] Document ops not supported by the vectoriser (nfc) (#81500)
Adds a test to help document Linalg Ops that are currently not supported
by the vectoriser (i.e. the logic to vectorise these is missing). The
list is not exhaustive.
Commit: 35ef3994bf738318b59ce640910fb1ccd3bb7dcb
https://github.com/llvm/llvm-project/commit/35ef3994bf738318b59ce640910fb1ccd3bb7dcb
Author: Ivan Butygin <ivan.butygin at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
A mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
M mlir/lib/Transforms/Utils/DialectConversion.cpp
A mlir/test/Dialect/Vector/linearize.mlir
M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
Log Message:
-----------
[mlir][vector] ND vectors linearization pass (#81159)
Common backends (LLVM, SPIR-V) only supports 1D vectors, LLVM conversion
handles ND vectors (N >= 2) as `array<array<... vector>>` and SPIR-V
conversion doesn't handle them at all at the moment. Sometimes it's
preferable to treat multidim vectors as linearized 1D. Add pass to do
this. Only constants and simple elementwise ops are supported for now.
@krzysz00 I've extracted yours result type conversion code from
LegalizeToF32 and moved it to common place.
Also, add ConversionPattern class operating on traits.
Commit: 990896a591b0b042cdf552900b92016ed253970d
https://github.com/llvm/llvm-project/commit/990896a591b0b042cdf552900b92016ed253970d
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Program.h
Log Message:
-----------
[clang][Interp][NFC] Fix a prototype argument name
Commit: 208edf7672cd2e84ae5da4df423adccd752ee1f1
https://github.com/llvm/llvm-project/commit/208edf7672cd2e84ae5da4df423adccd752ee1f1
Author: Luke Lau <luke at igalia.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract-subvector.ll
Log Message:
-----------
[RISCV] Fix assertion in lowerEXTRACT_SUBVECTOR
This fixes a crash when lowering an extract_subvector like:
t0:v1i64 = extract_subvector t1:v2i64, 1
Whilst we never need a vslidedown with M1 on scalable vector types, we might
need to do it for v1i64/v1f64, since the smallest container type for it is
nxv1i64/nxv1f64.
The lowering code is still correct for this case, but the assertion was too
strict. The actual invariant we're relying on is that ContainerSubVecVT's LMUL
<= M1, not < M1. Hence why we handled v2i32 fine, because its container type
was nxv1i32 and MF2.
Commit: 9b718c0d5d0f1f146957753b7785f87f58cccfec
https://github.com/llvm/llvm-project/commit/9b718c0d5d0f1f146957753b7785f87f58cccfec
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/Program.cpp
M clang/test/AST/Interp/literals.cpp
M clang/test/SemaCXX/PR40395.cpp
M clang/test/SemaCXX/ms-uuid.cpp
Log Message:
-----------
[clang][Interp] Handle CXXUuidofExprs
Allocate storage and initialize it with the given APValue contents.
Commit: a70077ed8cdf7c7c2879c18c1c67917cd88e64ef
https://github.com/llvm/llvm-project/commit/a70077ed8cdf7c7c2879c18c1c67917cd88e64ef
Author: Abhina Sree <69635948+abhina-sree at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new.size_align.except.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new.size_align_nothrow.except.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.size_align.except.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.size_align_nothrow.except.pass.cpp
Log Message:
-----------
[SystemZ][z/OS][libcxx] mark aligned allocation tests XFAIL on z/OS (#80735)
zOS doesn't support aligned allocation, so mark these testcases as
unsupported.
Continuation of https://reviews.llvm.org/D102798
Commit: a17a3e9d9a6b4baefd96e19ee5e8ce04cead8ab5
https://github.com/llvm/llvm-project/commit/a17a3e9d9a6b4baefd96e19ee5e8ce04cead8ab5
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CoverageMappingGen.cpp
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
M llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
Log Message:
-----------
[MC/DC] Refactor: Make `MCDCParams` as `std::variant` (#81227)
Introduce `mcdc::DecisionParameters` and `mcdc::BranchParameters` and make
sure them not initialized as zero.
FIXME: Could we make `CoverageMappingRegion` as a smart tagged union?
Commit: 880afa1c5d1b099eed5034340a67e56b9dda4c09
https://github.com/llvm/llvm-project/commit/880afa1c5d1b099eed5034340a67e56b9dda4c09
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/CodeGenRegisters.cpp
Log Message:
-----------
[TableGen] Use vectors instead of sets for testing intersection. NFC. (#81602)
In a few places we test whether sets (i.e. sorted ranges) intersect by
computing the set_intersection and then testing whether it is empty. For
this purpose it should be more efficient to use a std:vector instead of
a std::set to hold the result of the set_intersection, since insertion
is simpler.
Commit: bb60c066a24eda6e6276fba9021cad85c4892343
https://github.com/llvm/llvm-project/commit/bb60c066a24eda6e6276fba9021cad85c4892343
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/test/SemaCXX/concept-crash-on-diagnostic.cpp
Log Message:
-----------
[clang][Interp] Handle Requires- and ConceptSpecializationExprs
Just emit their satisfaction state, which is what the current
interpreter does as well.
Commit: f6557783007377a80a4dc0c5e3c8e2513ed36b2f
https://github.com/llvm/llvm-project/commit/f6557783007377a80a4dc0c5e3c8e2513ed36b2f
Author: Erich Keane <ekeane at nvidia.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/include/clang-c/Index.h
M clang/include/clang/AST/RecursiveASTVisitor.h
A clang/include/clang/AST/StmtOpenACC.h
M clang/include/clang/AST/StmtVisitor.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/Basic/OpenACCKinds.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/ASTStructuralEquivalence.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/AST/Stmt.cpp
A clang/lib/AST/StmtOpenACC.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/tools/libclang/CIndex.cpp
M clang/tools/libclang/CXCursor.cpp
Log Message:
-----------
[OpenACC] Implement AST for OpenACC Compute Constructs (#81188)
'serial', 'parallel', and 'kernel' constructs are all considered
'Compute' constructs. This patch creates the AST type, plus the required
infrastructure for such a type, plus some base types that will be useful
in the future for breaking this up.
The only difference between the three is the 'kind'( plus some minor
clause legalization rules, but those can be differentiated easily
enough), so rather than representing them as separate AST nodes, it
seems
to make sense to make them the same.
Additionally, no clause AST functionality is being implemented yet, as
that fits better in a separate patch, and this is enough to get the
'naked' constructs implemented.
This is otherwise an 'NFC' patch, as it doesn't alter execution at all,
so there aren't any tests. I did this to break up the review workload
and to get feedback on the layout.
Commit: af56beac45692bb25b62383b78ee0b50c40e1f60
https://github.com/llvm/llvm-project/commit/af56beac45692bb25b62383b78ee0b50c40e1f60
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
Log Message:
-----------
[gn build] Port f65577830073
Commit: 742ec3abb876cccf122de4cd92dbbc82dd6f52b2
https://github.com/llvm/llvm-project/commit/742ec3abb876cccf122de4cd92dbbc82dd6f52b2
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
Log Message:
-----------
MCDCTypes.h: Add ctors, fixup for #81227
Commit: 46122082a61ef5bb2871d2d9158739133ad0e113
https://github.com/llvm/llvm-project/commit/46122082a61ef5bb2871d2d9158739133ad0e113
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lld/COFF/Driver.cpp
M llvm/include/llvm/Object/COFFImportFile.h
M llvm/lib/Object/COFFImportFile.cpp
M llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
M llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
Log Message:
-----------
[Object][COFF][NFC] Make writeImportLibrary NativeExports argument optional. (#81600)
It's not interesting for majority of downstream users.
Commit: d759618df76361a8e490eeae5c5399e0738cbfd0
https://github.com/llvm/llvm-project/commit/d759618df76361a8e490eeae5c5399e0738cbfd0
Author: OCHyams <orlando.hyams at sony.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/IR/BasicBlock.cpp
Log Message:
-----------
Reapply "[DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default"
This reapplies commit bdde5f9 by undoing the revert bc66e0c.
The previous reapplication 5c9f768 was reverted due to a crash
(reproducer in comments for 5c9f768) which was fixed in #81595.
As noted in the original commit, this commit may break downstream tests.
If this commit is breaking your downstream tests, please see comment 12 in
[0], which documents the kind of variation in tests we'd expect to see from
this change and what to do about it.
[0] https://discourse.llvm.org/t/rfc-instruction-api-changes-needed-to-eliminate-debug-intrinsics-from-ir/68939
Commit: f7cddf80062848fbbb358d7e913650cc550d2547
https://github.com/llvm/llvm-project/commit/f7cddf80062848fbbb358d7e913650cc550d2547
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/CodeGenRegisters.cpp
M llvm/utils/TableGen/CodeGenSchedule.cpp
M llvm/utils/TableGen/GlobalISelMatchTable.cpp
M llvm/utils/TableGen/SubtargetEmitter.cpp
Log Message:
-----------
[TableGen] Use std::move instead of swap. NFC. (#81606)
Historically TableGen has used `A.swap(B)` to move containers without
the expense of copying them. Perhaps this predated rvalue references. In
any case `A = std::move(B)` seems like a more direct way to implement
this when only A is required after the operation.
Commit: d1f510cca8e966bd1742bf17256bfec99dcdf229
https://github.com/llvm/llvm-project/commit/d1f510cca8e966bd1742bf17256bfec99dcdf229
Author: Mats Petersson <mats.petersson at arm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M flang/lib/Semantics/canonicalize-omp.cpp
Log Message:
-----------
Fix warning by removing unused variable (#81604)
Apparently, some compilers [correctly] warn that the variable that was
created prior to this change is unused.
This reemoves the variable.
Commit: 5e5e51e9062895bed9fcf0dbb157d868be0adf8d
https://github.com/llvm/llvm-project/commit/5e5e51e9062895bed9fcf0dbb157d868be0adf8d
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Support/DeltaAlgorithm.cpp
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
Log Message:
-----------
Make use of std::inserter. NFC.
Commit: 38c706e30f5f339bfb0bfb26fd7b5c2d5086064a
https://github.com/llvm/llvm-project/commit/38c706e30f5f339bfb0bfb26fd7b5c2d5086064a
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
A .github/workflows/approved-prs.yml
M llvm/utils/git/github-automation.py
Log Message:
-----------
[GitHub][workflows] Ask reviewers to merge PRs when author cannot (#81142)
This uses
https://pygithub.readthedocs.io/en/stable/github_objects/Repository.html?highlight=get_collaborator_permission#github.Repository.Repository.get_collaborator_permission.
Which does
https://docs.github.com/en/rest/collaborators/collaborators?apiVersion=2022-11-28#get-repository-permissions-for-a-user
and returns the top level "permission" key.
This is less detailed than the user/permissions key but should be fine
for this
use case.
When a review is submitted we check:
* If it's an approval.
* Whether we have already left a merge on behalf comment (by looking for
a hidden HTML comment).
* Whether the author has permissions to merge their own PR.
* Whether the reviewer has permissions to merge.
If needed we leave a comment tagging the reviewer. If the reviewer also
doesn't have merge permission, then it asks them to find someone else
who does.
Commit: 89c1bf1230e011f2f0e43554c278205fa1819de5
https://github.com/llvm/llvm-project/commit/89c1bf1230e011f2f0e43554c278205fa1819de5
Author: James Westwood <james.westwood at arm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/ARM.cpp
M clang/lib/Basic/Targets/ARM.h
M clang/test/Preprocessor/arm-target-features.c
M llvm/include/llvm/TargetParser/ARMTargetParser.h
M llvm/lib/TargetParser/ARMTargetParser.cpp
M llvm/unittests/TargetParser/TargetParserTest.cpp
Log Message:
-----------
[ARM] __ARM_ARCH macro definition fix (#81493)
This patch changes how the macro __ARM_ARCH is defined to match its
defintion in the ACLE. In ACLE 5.4.1, __ARM_ARCH is defined as equal to
the major architecture version for ISAs up to and including v8. From
v8.1 onwards, its definition is changed to include minor versions, such
that for an architecture vX.Y, __ARM_ARCH = X*100 + Y. Before this
patch, LLVM defined __ARM_ARCH using only the major architecture version
for all architecture versions. This patch adds functionality to define
__ARM_ARCH correctly for architectures greater than or equal to v8.1.
Commit: 25b9ed6e4964344e3710359bec4c831e5a8448b9
https://github.com/llvm/llvm-project/commit/25b9ed6e4964344e3710359bec4c831e5a8448b9
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/X86/load-combine.ll
Log Message:
-----------
[DAGCombine] Fix multi-use miscompile in load combine (#81586)
The load combine replaces a number of original loads with one new loads
and also replaces the output chains of the original loads with the
output chain of the new load. This is incorrect if the original load is
retained (due to multi-use), as it may get incorrectly reordered.
Fix this by using makeEquivalentMemoryOrdering() instead, which will
create a TokenFactor with both chains.
Fixes https://github.com/llvm/llvm-project/issues/80911.
Commit: 4ad9f5be8348374ed2bfff32842f395f6e5f41a4
https://github.com/llvm/llvm-project/commit/4ad9f5be8348374ed2bfff32842f395f6e5f41a4
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
Log Message:
-----------
ci: Temporarily disable the buildkite job on Windows (#81538)
The failure rate is too high.
See
https://discourse.llvm.org/t/rfc-future-of-windows-pre-commit-ci/76840
Commit: 192c23b0c7e5d3daefc2ad7d86c095509749eacd
https://github.com/llvm/llvm-project/commit/192c23b0c7e5d3daefc2ad7d86c095509749eacd
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
A llvm/test/Transforms/SLPVectorizer/X86/vec3-base.ll
A llvm/test/Transforms/SLPVectorizer/X86/vec3-calls.ll
A llvm/test/Transforms/SLPVectorizer/X86/vec3-gather-some-loads.ll
A llvm/test/Transforms/SLPVectorizer/X86/vec3-reorder-reshuffle.ll
Log Message:
-----------
[SLP] Add X86 version of non-power-of-2 vectorization tests.
Extra X86 tests for https://github.com/llvm/llvm-project/pull/77790.
Commit: 485ebbff55f41bd12ad768c2974d3280cb581307
https://github.com/llvm/llvm-project/commit/485ebbff55f41bd12ad768c2974d3280cb581307
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/utils/TableGen/CodeGenRegisters.cpp
M llvm/utils/TableGen/CodeGenRegisters.h
M llvm/utils/TableGen/SubtargetEmitter.cpp
Log Message:
-----------
[TableGen] Use emplace_back instead of resize to size() + 1. NFC.
Commit: 4f13f353cc8dc472a3f00932bc42179776f0f684
https://github.com/llvm/llvm-project/commit/4f13f353cc8dc472a3f00932bc42179776f0f684
Author: Paul Walker <paul.walker at arm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/IR/AsmWriter.cpp
Log Message:
-----------
[NFC][LLVM][AsmWriter] Extract logic to write out ConstantFP from WriteConstantInternal.
This makes is easier to extend the code to support vector types.
Commit: 987258f5c7801ebb4f7ce7c6a035634b275a5759
https://github.com/llvm/llvm-project/commit/987258f5c7801ebb4f7ce7c6a035634b275a5759
Author: Daniel Chen <cdchen at ca.ibm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/module/iso_c_binding.f90
A flang/test/Driver/predefined-macros-powerpc.f90
Log Message:
-----------
[Flang] Add __powerpc__ macro to set c_intmax_t to c_int64_t rather than c_int128_t as PowerPC only supports up to c_int64_t. (#81222)
PowerPC only supports up to `c_int64_t`. Add macro `__powerpc__` and
preprocess it for setting `c_intmax_t` in `iso_c_binding` intrinsic
module.
Commit: 381a00de4fdcccd904dac6a0856fb44f12ba0abb
https://github.com/llvm/llvm-project/commit/381a00de4fdcccd904dac6a0856fb44f12ba0abb
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
Log Message:
-----------
[clang][Driver][HLSL] Fix formatting of clang-dxc options group title
Some extra `<>` and a missing full stop.
Commit: 11fcae69dbea4860e20ab799ecca9b0432d7f19d
https://github.com/llvm/llvm-project/commit/11fcae69dbea4860e20ab799ecca9b0432d7f19d
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Builtins.td
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/test/CodeGen/builtins.c
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/IntrinsicLowering.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
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/SMInstructions.td
M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
A llvm/test/CodeGen/AMDGPU/readsteadycounter.ll
M llvm/test/CodeGen/NVPTX/intrinsics.ll
M llvm/test/TableGen/GlobalISelCombinerEmitter/builtins/match-table-replacerreg.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-imms.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-intrinsics.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-patfrag-root.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
M llvm/test/TableGen/GlobalISelEmitter.td
Log Message:
-----------
[LLVM] Add `__builtin_readsteadycounter` intrinsic and builtin for realtime clocks (#81331)
Summary:
This patch adds a new intrinsic and builtin function mirroring the
existing `__builtin_readcyclecounter`. The difference is that this
implementation targets a separate counter that some targets have which
returns a fixed frequency clock that can be used to determine elapsed
time, this is different compared to the cycle counter which often has
variable frequency.
This patch only adds support for the NVPTX and AMDGPU targets.
This is done as a new and separate builtin rather than an argument to
`readcyclecounter` to avoid needing to change existing code and to make
the separation more explicit.
Commit: 1f90af183d7a007584fac041eaca9f126a1a942f
https://github.com/llvm/llvm-project/commit/1f90af183d7a007584fac041eaca9f126a1a942f
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/utils/TableGen/CodeGenRegisters.cpp
Log Message:
-----------
[TableGen] Do not speculatively grow RegUnitSets. NFC.
This seems to be a trick to avoid copying a RegUnitSet, but it can be
done more simply using std::move.
Commit: 8ba4ff392538dac7b803cfdf5bde217ff538a644
https://github.com/llvm/llvm-project/commit/8ba4ff392538dac7b803cfdf5bde217ff538a644
Author: S. Bharadwaj Yadavalli <Bharadwaj.Yadavalli at microsoft.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXIL.td
M llvm/utils/TableGen/DXILEmitter.cpp
Log Message:
-----------
[DirectX][NFC] Change specification of overload types and attribute in DXIL.td (#81184)
- Specify overload types of DXIL Operation as list of types instead of a
string.
- Add supported DXIL type record definitions to `DXIL.td` leveraging
`LLVMType` to avoid duplicate definitions.
- Spell out DXIL Operation Attribute specification string.
- Make corresponding changes to process the records in DXILEmitter.cpp
Commit: 1d8479225a8c1efc8c90511e6c7fe608ff38163c
https://github.com/llvm/llvm-project/commit/1d8479225a8c1efc8c90511e6c7fe608ff38163c
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
Log Message:
-----------
[clang][Driver] Small correction to print-runtime-dir
Commit: d58c128bc42b8a9cc45516ba9fe9e6a3c322d7b3
https://github.com/llvm/llvm-project/commit/d58c128bc42b8a9cc45516ba9fe9e6a3c322d7b3
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
A lldb/tools/lldb-dap/Breakpoint.cpp
A lldb/tools/lldb-dap/Breakpoint.h
M lldb/tools/lldb-dap/BreakpointBase.cpp
M lldb/tools/lldb-dap/BreakpointBase.h
M lldb/tools/lldb-dap/CMakeLists.txt
M lldb/tools/lldb-dap/FunctionBreakpoint.cpp
M lldb/tools/lldb-dap/FunctionBreakpoint.h
M lldb/tools/lldb-dap/JSONUtils.cpp
M lldb/tools/lldb-dap/JSONUtils.h
M lldb/tools/lldb-dap/SourceBreakpoint.cpp
M lldb/tools/lldb-dap/SourceBreakpoint.h
M lldb/tools/lldb-dap/lldb-dap.cpp
M llvm/utils/gn/secondary/lldb/tools/lldb-dap/BUILD.gn
Log Message:
-----------
[lldb-dap][NFC] Add Breakpoint struct to share common logic. (#80753)
This adds a layer between `SounceBreakpoint`/`FunctionBreakpoint` and
`BreakpointBase` to have better separation and encapsulation so we are
not directly operating on `SBBreakpoint`.
I basically moved the `SBBreakpoint` and the methods that requires it
from `BreakpointBase` to `Breakpoint`. This allows adding support for
data watchpoint easier by sharing the logic inside `BreakpointBase`.
Commit: 7a5c1a4abc750fef335c2ee5191d59ebe9e4bf18
https://github.com/llvm/llvm-project/commit/7a5c1a4abc750fef335c2ee5191d59ebe9e4bf18
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
Log Message:
-----------
[clang][docs] Fix warning in LanguageExtensions
build-llvm/tools/clang/docs/LanguageExtensions.rst:2768: WARNING: Title underline too short.
Commit: 7a471133ef56bf6059b3e35125f86420ebbf3a33
https://github.com/llvm/llvm-project/commit/7a471133ef56bf6059b3e35125f86420ebbf3a33
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/test/Dialect/Linalg/invalid.mlir
M mlir/test/Dialect/Linalg/named-ops.mlir
A mlir/test/Dialect/Linalg/transform-op-mmt4d-to-fma.mlir
M mlir/test/Dialect/Linalg/vectorization.mlir
Log Message:
-----------
[mlir][nfc] Add tests for linalg.mmt4d (#81422)
linalg.mmt4d was added a while back (https://reviews.llvm.org/D105244),
but there are virtually no tests in-tree. In the spirit of documenting
through test, this PR adds a few basic examples.
Commit: f879ac0385d4c5f7b2b9f4807cd7bd4a78556c1c
https://github.com/llvm/llvm-project/commit/f879ac0385d4c5f7b2b9f4807cd7bd4a78556c1c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M libc/src/__support/GPU/amdgpu/utils.h
M libc/src/__support/GPU/generic/utils.h
M libc/src/__support/GPU/nvptx/utils.h
M libc/src/__support/RPC/rpc.h
M libc/test/src/__support/RPC/rpc_smoke_test.cpp
M libc/utils/gpu/server/rpc_server.cpp
Log Message:
-----------
[libc] Rework the RPC interface to accept runtime wave sizes (#80914)
Summary:
The RPC interface needs to handle an entire warp or wavefront at once.
This is currently done by using a compile time constant indicating the
size of the buffer, which right now defaults to some value on the client
(GPU) side. However, there are currently attempts to move the `libc`
library to a single IR build. This is problematic as the size of the
wave fronts changes between ISAs on AMDGPU. The builitin
`__builtin_amdgcn_wavefrontsize()` will return the appropriate value,
but it is only known at runtime now.
In order to support this, this patch restructures the packet. Now
instead of having an array of arrays, we simply have a large array of
buffers and slice it according to the runtime value if we don't know it
ahead of time. This also somewhat has the advantage of making the buffer
contiguous within a page now that the header has been moved out of it.
Commit: d79c3c50c45f2bd0acc0269dbedde9ddeed2d50e
https://github.com/llvm/llvm-project/commit/d79c3c50c45f2bd0acc0269dbedde9ddeed2d50e
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Optimizer/Dialect/FIRAttr.cpp
M flang/test/Lower/CUDA/cuda-proc-attribute.cuf
Log Message:
-----------
[flang][cuda] Lower launch_bounds values (#81537)
This PR adds a new attribute to carry over the information from
`launch_bounds`. The new attribute `CUDALaunchBoundsAttr` holds 2 to 3
integer attrinbutes and is added to `func.func` operation.
Commit: 1dacfd119071af50eaef21a97a46076ee6ff20fd
https://github.com/llvm/llvm-project/commit/1dacfd119071af50eaef21a97a46076ee6ff20fd
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M libc/src/time/gpu/nanosleep.cpp
Log Message:
-----------
[libc] Round up time for GPU nanosleep implementation (#81630)
Summary:
The GPU `nanosleep` tests would occasionally fail. This was due to the
fact that we used integer division to determine how many ticks we had to
sleep for. This would then truncate, leaving us with a value just
slightly below the requested value. This would then occasionally leave
us with a return value of `-1`. This patch just changes the code to
round up by 1 so we always sleep for at least the requested value.
Commit: e847abc5b47210de63455f67e58225121617873b
https://github.com/llvm/llvm-project/commit/e847abc5b47210de63455f67e58225121617873b
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/utils/TableGen/CodeGenRegisters.cpp
Log Message:
-----------
[TableGen] Remove trivial helper function hasRegUnit. NFC.
Commit: a7cebadc10948ca1b9df1a740370f8ef7cef7e77
https://github.com/llvm/llvm-project/commit/a7cebadc10948ca1b9df1a740370f8ef7cef7e77
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/utils/TableGen/CodeGenRegisters.cpp
Log Message:
-----------
[TableGen] Trivial simplification in computeRegUnitSets. NFC.
Commit: 9be7b0a539f673081bf8d1d5a5b08135190fd46d
https://github.com/llvm/llvm-project/commit/9be7b0a539f673081bf8d1d5a5b08135190fd46d
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-bitcast.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-call.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-cast.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-codegen.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-globals.c
Log Message:
-----------
[IRGen][AArch64][RISCV] Generalize bitcast between i1 predicate vector and i8 fixed vector. (#76548)
Instead of only handling vscale x 16 x i1 predicate vectors, handle any
scalable i1 vector where the known minimum is divisible by 8.
This is used on RISC-V where we have multiple sizes of predicate
types.
Commit: 742a06f577b4c3b1c1f994e91bb6579ae89fe4b0
https://github.com/llvm/llvm-project/commit/742a06f577b4c3b1c1f994e91bb6579ae89fe4b0
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.h
Log Message:
-----------
[clang] Remove #undef alloca workaround (#81534)
Added in 26670dcba1609574cba5942aff78ff97b567c5f3 to workaround #4885.
Windows CI and a local Windows build are happy with this change, so it
seems like this has been properly fixed at some point. If this does
break somebody, this can be easily reverted. (Also, Linux does the same
`#define alloca` in system headers, so I'm not sure why it'd be
different on Windows)
This is tech debt that caused breakages, see comments on #71709.
Commit: 9838c8512bc29e3a1b8edeb0eb2541160e4c727f
https://github.com/llvm/llvm-project/commit/9838c8512bc29e3a1b8edeb0eb2541160e4c727f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
A llvm/test/CodeGen/RISCV/typepromotion-overflow.ll
Log Message:
-----------
[RISCV] Copy typepromotion-overflow.ll from AArch64. NFC
Commit: 7d40ea85d5ea5cc837536f61e3b4f80ea69f14d0
https://github.com/llvm/llvm-project/commit/7d40ea85d5ea5cc837536f61e3b4f80ea69f14d0
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/TypePromotion.cpp
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
M llvm/test/CodeGen/RISCV/lack-of-signed-truncation-check.ll
M llvm/test/CodeGen/RISCV/signbit-test.ll
M llvm/test/CodeGen/RISCV/signed-truncation-check.ll
M llvm/test/CodeGen/RISCV/typepromotion-overflow.ll
Log Message:
-----------
[RISCV] Enable the TypePromotion pass from AArch64/ARM.
This pass looks for unsigned icmps that have illegal types and tries
to widen the use/def graph to improve the placement of the zero
extends that type legalization would need to insert.
I've explicitly disabled it for i32 by adding a check for
isSExtCheaperThanZExt to the pass.
The generated code isn't perfect, but my data shows a net
dynamic instruction count improvement on spec2017 for both base and
Zba+Zbb+Zbs.
Commit: 5e3c7e3aa48356a62a4b70d5d9d3e4ddd055a390
https://github.com/llvm/llvm-project/commit/5e3c7e3aa48356a62a4b70d5d9d3e4ddd055a390
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Optimizer/Dialect/FIRAttr.cpp
M flang/test/Lower/CUDA/cuda-proc-attribute.cuf
Log Message:
-----------
[flang][cuda] Lower cluster_dims values (#81636)
This PR adds a new attribute to carry over the information from
`cluster_dims`. The new attribute `CUDAClusterDimsAttr` holds 3 integer
attributes and is added to `func.func` operation.
Commit: 502a88bae799694d0ed90e1839cd7a0aacb6bc9d
https://github.com/llvm/llvm-project/commit/502a88bae799694d0ed90e1839cd7a0aacb6bc9d
Author: Alex Langford <alangford at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleXR.h
Log Message:
-----------
[lldb][NFCI] Add header guard to PlatformRemoteAppleXR.h (#81565)
Commit: 63198e0682058c81cd546cb1851e785cec1387ef
https://github.com/llvm/llvm-project/commit/63198e0682058c81cd546cb1851e785cec1387ef
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M libc/src/__support/GPU/amdgpu/utils.h
M libc/src/__support/GPU/nvptx/utils.h
M libc/src/__support/RPC/rpc_util.h
M libc/src/time/gpu/nanosleep.cpp
M libc/src/time/gpu/time_utils.h
Log Message:
-----------
[libc] Remove remaining GPU architecture dependent instructions (#81612)
Summary:
Recent patches have added solutions to the remaining sources of
divergence. This patch simply removes the last occures of things like
`has_builtin`, `ifdef` or builtins with feature requirements. The one
exception here is `nanosleep`, but I made changes in the
`__nvvm_reflect` pass to make usage like this actually work at O0.
Depends on https://github.com/llvm/llvm-project/pull/81331
Commit: 16140ff219b68f61fedf92df13019d89a4990a47
https://github.com/llvm/llvm-project/commit/16140ff219b68f61fedf92df13019d89a4990a47
Author: Giuseppe Rossini <giuseppe.rossini at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
M mlir/test/Dialect/LLVMIR/rocdl.mlir
M mlir/test/Target/LLVMIR/rocdl.mlir
Log Message:
-----------
[mlir][ROCDL] Add synchronization primitives (#80888)
This PR adds two LLVM intrinsics to MLIR:
- llvm.amdgcn.s.setprio which sets the priority of a wave for the GPU
scheduler
- llvm.amdgcn.sched.barrier which sets a software barrier so that the
scheduler cannot move instructions around
Commit: c830c1205dc164b645edb9c40cccbe768d5b337c
https://github.com/llvm/llvm-project/commit/c830c1205dc164b645edb9c40cccbe768d5b337c
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M libc/src/__support/GPU/nvptx/utils.h
Log Message:
-----------
[libc] Remove leftover target dependent intrinsic
Summary:
I forgot to remove these because I thought I did it already. This caused
the build to fail when actually linked.
Commit: 2422e969bf0a05b9b5cb4a6233a5f8dd335c2de5
https://github.com/llvm/llvm-project/commit/2422e969bf0a05b9b5cb4a6233a5f8dd335c2de5
Author: Mingming Liu <mingmingl at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
Log Message:
-----------
[NFC][InstrProf]Factor out getCanonicalName to compute the canonical name given a pgo name. (#81547)
- Also update the `InstrProf::addFuncWithName` to call the newly added
`getCanonicalName`.
Commit: 79ce933114e46c891a5632f7ad4a004b93a5b808
https://github.com/llvm/llvm-project/commit/79ce933114e46c891a5632f7ad4a004b93a5b808
Author: Noah Goldstein <goldstein.w.n at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-eq-to-icmp-ule.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-ne-to-icmp-ugt.ll
M llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-d.ll
M llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-d.ll
M llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-d.ll
M llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-d.ll
Log Message:
-----------
[InstCombine] Extend `(lshr/shl (shl/lshr -1, x), x)` -> `(lshr/shl -1, x)` for multi-use
We previously did this iff the inner `(shl/lshr -1, x)` was
one-use. No instructions are added even if the inner `(shl/lshr -1,
x)` is multi-use and this canonicalization both makes the resulting
instruction easier to analyze and shrinks its dependency chain.
Closes #81576
Commit: f79f58d5f1be370ccc212236e1c10b55835eb3c7
https://github.com/llvm/llvm-project/commit/f79f58d5f1be370ccc212236e1c10b55835eb3c7
Author: Prabhuk <prabhukrllvm at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/include/clang/Basic/Builtins.h
Log Message:
-----------
Revert "[clang] Remove #undef alloca workaround" (#81649)
Reverts llvm/llvm-project#81534
llvm/llvm-project#81534 breaks building (Fuchsia) Clang toolchain on
Windows.
Log:
https://logs.chromium.org/logs/fuchsia/buildbucket/cr-buildbucket/8756186536543250705/+/u/clang/install/stdout
Builder:
https://ci.chromium.org/ui/p/fuchsia/builders/toolchain.ci/clang-windows-x64/b8756186536543250705/overview
```
FAILED: tools/clang/tools/extra/clang-include-fixer/tool/CMakeFiles/clang-include-fixer.dir/ClangIncludeFixer.cpp.obj
C:\b\s\w\ir\x\w\cipd\bin\clang-cl.exe /nologo -TP -DCLANG_REPOSITORY_STRING=\"https://llvm.googlesource.com/llvm-project\" -DGTEST_HAS_RTTI=0 -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\b\s\w\ir\x\w\llvm_build\tools\clang\tools\extra\clang-include-fixer\tool -IC:\b\s\w\ir\x\w\llvm-llvm-project\clang-tools-extra\clang-include-fixer\tool -IC:\b\s\w\ir\x\w\llvm-llvm-project\clang\include -IC:\b\s\w\ir\x\w\llvm_build\tools\clang\include -IC:\b\s\w\ir\x\w\recipe_cleanup\tensorflow-venv\store\python_venv-q9i5kpsp0iun0ktmqgab125ti8\contents\Lib\site-packages\tensorflow\include -IC:\b\s\w\ir\x\w\llvm_build\include -IC:\b\s\w\ir\x\w\llvm-llvm-project\llvm\include -IC:\b\s\w\ir\x\w\llvm-llvm-project\clang-tools-extra\clang-include-fixer\tool\.. -imsvcC:\b\s\w\ir\x\w\zlib_install_target\include -imsvcC:\b\s\w\ir\x\w\zstd_install\include /DWIN32 /D_WINDOWS /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- /W4 -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported /Gw -no-canonical-prefixes /O2 /Ob2 -std:c++17 -MT /EHs-c- /GR- -UNDEBUG /showIncludes /Fotools\clang\tools\extra\clang-include-fixer\tool\CMakeFiles\clang-include-fixer.dir\ClangIncludeFixer.cpp.obj /Fdtools\clang\tools\extra\clang-include-fixer\tool\CMakeFiles\clang-include-fixer.dir\ -c -- C:\b\s\w\ir\x\w\llvm-llvm-project\clang-tools-extra\clang-include-fixer\tool\ClangIncludeFixer.cpp
In file included from C:\b\s\w\ir\x\w\llvm-llvm-project\clang-tools-extra\clang-include-fixer\tool\ClangIncludeFixer.cpp:11:
In file included from C:\b\s\w\ir\x\w\llvm-llvm-project\clang-tools-extra\clang-include-fixer\tool\..\IncludeFixer.h:15:
In file included from C:\b\s\w\ir\x\w\llvm-llvm-project\clang\include\clang/Sema/ExternalSemaSource.h:15:
In file included from C:\b\s\w\ir\x\w\llvm-llvm-project\clang\include\clang/AST/ExternalASTSource.h:18:
In file included from C:\b\s\w\ir\x\w\llvm-llvm-project\clang\include\clang/AST/DeclBase.h:18:
In file included from C:\b\s\w\ir\x\w\llvm-llvm-project\clang\include\clang/AST/DeclarationName.h:18:
In file included from C:\b\s\w\ir\x\w\llvm-llvm-project\clang\include\clang/Basic/IdentifierTable.h:18:
In file included from C:\b\s\w\ir\x\w\llvm-llvm-project\clang\include\clang/Basic/Builtins.h:63:
C:\b\s\w\ir\x\w\llvm_build\tools\clang\include\clang/Basic/Builtins.inc(151,1): error: redefinition of enumerator 'BI_alloca'
151 | LANGBUILTIN(_alloca, "v*z", "n", ALL_MS_LANGUAGES)
| ^
C:\b\s\w\ir\x\w\llvm_build\tools\clang\include\clang/Basic/Builtins.inc(15,54): note: expanded from macro 'LANGBUILTIN'
15 | # define LANGBUILTIN(ID, TYPE, ATTRS, BUILTIN_LANG) BUILTIN(ID, TYPE, ATTRS)
| ^
C:\b\s\w\ir\x\w\llvm-llvm-project\clang\include\clang/Basic/Builtins.h(62,34): note: expanded from macro 'BUILTIN'
62 | #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
| ^
<scratch space>(72,1): note: expanded from here
72 | BI_alloca
| ^
C:\b\s\w\ir\x\w\llvm_build\tools\clang\include\clang/Basic/Builtins.inc(150,1): note: previous definition is here
150 | LIBBUILTIN(alloca, "v*z", "fn", STDLIB_H, ALL_GNU_LANGUAGES)
| ^
C:\b\s\w\ir\x\w\llvm_build\tools\clang\include\clang/Basic/Builtins.inc(11,61): note: expanded from macro 'LIBBUILTIN'
11 | # define LIBBUILTIN(ID, TYPE, ATTRS, HEADER, BUILTIN_LANG) BUILTIN(ID, TYPE, ATTRS)
| ^
C:\b\s\w\ir\x\w\llvm-llvm-project\clang\include\clang/Basic/Builtins.h(62,34): note: expanded from macro 'BUILTIN'
62 | #define BUILTIN(ID, TYPE, ATTRS) BI##ID,
| ^
<scratch space>(71,1): note: expanded from here
71 | BI_alloca
| ^
```
Commit: e20462a069670c24ff512cca32688a29803852f4
https://github.com/llvm/llvm-project/commit/e20462a069670c24ff512cca32688a29803852f4
Author: Danila Malyutin <danilaml at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
A llvm/test/CodeGen/X86/statepoint-relocate-undef.ll
Log Message:
-----------
[StatepointLowering] Use Constant instead of TargetConstant for undef value (#81635)
Prevents isel errors when trying to lower gc relocate of undef value
(which turns into CopyToReg of TargetConstant). Such relocates may occur
after DCE (e.g. after GVN removes some dead blocks) if there are not
passes like instcombine scheduled after to clean them up.
Fixes #80294
---------
Co-authored-by: Matt Arsenault <arsenm2 at gmail.com>
Commit: 9dd2c59312bfae3526cee5e836a6b67b2e9b4989
https://github.com/llvm/llvm-project/commit/9dd2c59312bfae3526cee5e836a6b67b2e9b4989
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/test/Headers/__clang_hip_math.hip
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass.ll
Log Message:
-----------
InstCombine: Enable SimplifyDemandedUseFPClass and remove flag (#81108)
This completes the unrevert of ef388334ee5a3584255b9ef5b3fefdb244fa3fd7.
Commit: fc0e9c8315564288f9079a633892abadace534cf
https://github.com/llvm/llvm-project/commit/fc0e9c8315564288f9079a633892abadace534cf
Author: Mark de Wever <koraq at xs4all.nl>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M libcxx/docs/Modules.rst
M libcxx/modules/CMakeLists.txt
A libcxx/modules/CMakeLists.txt.in
Log Message:
-----------
[libc++][modules] Re-add build dir CMakeLists.txt. (#81370)
This CMakeLists.txt is used to build modules without build system
support. This was removed in d06ae33ec32122bb526fb35025c1f0cf979f1090.
This is used in the documentation how to use modules.
Made some minor changes to make it work with the std.compat module using
the std module.
Note the CMakeLists.txt in the build dir should be removed once build
system support is generally available.
Commit: a04c6366b156f508cdf84a32ef4484b53a6dabee
https://github.com/llvm/llvm-project/commit/a04c6366b156f508cdf84a32ef4484b53a6dabee
Author: jimingham <jingham at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lldb/include/lldb/Target/Thread.h
M lldb/source/Expression/DWARFExpression.cpp
Log Message:
-----------
Don't count all the frames just to skip the current inlined ones. (#80918)
The algorithm to find the DW_OP_entry_value requires you to find the
nearest non-inlined frame. It did that by counting the number of stack
frames so that it could use that as a loop stopper.
That is unnecessary and inefficient. Unnecessary because GetFrameAtIndex
will return a null frame when you step past the oldest frame, so you
already have the "got to the end" signal without counting all the stack
frames.
And counting all the stack frames can be expensive.
Commit: a69ecb2420f644e31f18fcc61a07b3ca627e8939
https://github.com/llvm/llvm-project/commit/a69ecb2420f644e31f18fcc61a07b3ca627e8939
Author: jimingham <jingham at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lldb/bindings/python/CMakeLists.txt
M lldb/bindings/python/python-wrapper.swig
M lldb/examples/python/cmdtemplate.py
A lldb/examples/python/templates/parsed_cmd.py
M lldb/include/lldb/Interpreter/CommandObject.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/source/Commands/CommandObjectCommands.cpp
M lldb/source/Commands/Options.td
M lldb/source/Interpreter/CommandObject.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
M lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
A lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
A lldb/test/API/commands/command/script/add/test_commands.py
M lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
Log Message:
-----------
Add the ability to define a Python based command that uses CommandObjectParsed (#70734)
This allows you to specify options and arguments and their definitions
and then have lldb handle the completions, help, etc. in the same way
that lldb does for its parsed commands internally.
This feature has some design considerations as well as the code, so I've
also set up an RFC, but I did this one first and will put the RFC
address in here once I've pushed it...
Note, the lldb "ParsedCommand interface" doesn't actually do all the
work that it should. For instance, saying the type of an option that has
a completer doesn't automatically hook up the completer, and ditto for
argument values. We also do almost no work to verify that the arguments
match their definition, or do auto-completion for them. This patch
allows you to make a command that's bug-for-bug compatible with built-in
ones, but I didn't want to stall it on getting the auto-command checking
to work all the way correctly.
As an overall design note, my primary goal here was to make an interface
that worked well in the script language. For that I needed, for
instance, to have a property-based way to get all the option values that
were specified. It was much more convenient to do that by making a
fairly bare-bones C interface to define the options and arguments of a
command, and set their values, and then wrap that in a Python class
(installed along with the other bits of the lldb python module) which
you can then derive from to make your new command. This approach will
also make it easier to experiment.
See the file test_commands.py in the test case for examples of how this
works.
Commit: be9f8ffd8141f7cadf04b1bef5dfc65a7b8a7fd7
https://github.com/llvm/llvm-project/commit/be9f8ffd8141f7cadf04b1bef5dfc65a7b8a7fd7
Author: David Truby <david.truby at arm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M flang/lib/Lower/OpenMP.cpp
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-add.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-iand.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-ieor.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-ior.f90
R flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-and.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-eqv.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-neqv.f90
R flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-or.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-max.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-min.f90
R flang/test/Lower/OpenMP/FIR/wsloop-reduction-mul.f90
M flang/test/Lower/OpenMP/default-clause.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add.f90
M flang/test/Lower/OpenMP/wsloop-reduction-iand.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ieor.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ior.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-and.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-or.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-2.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min.f90
M flang/test/Lower/OpenMP/wsloop-reduction-mul.f90
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir
M mlir/test/Conversion/SCFToOpenMP/reductions.mlir
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
M mlir/test/Target/LLVMIR/openmp-reduction.mlir
Log Message:
-----------
[mlir][flang][openmp] Rework wsloop reduction operations (#80019)
This patch reworks the way that wsloop reduction operations function to
better match the expected semantics from the OpenMP specification,
following the rework of parallel reductions.
The new semantics create a private reduction variable as a block
argument which should be used normally for all operations on that
variable in the region; this private variable is then combined with the
others into the shared variable. This way no special omp.reduction
operations are needed inside the region. These block arguments follow
the loop control block arguments.
---------
Co-authored-by: Kiran Chandramohan <kiran.chandramohan at arm.com>
Commit: 3985eda8ee729b9fc36aa1b1ef6afa716df5bbe9
https://github.com/llvm/llvm-project/commit/3985eda8ee729b9fc36aa1b1ef6afa716df5bbe9
Author: Richard Dzenis <richard at dzenis.dev>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/docs/CodingStandards.rst
Log Message:
-----------
[docs] Update links for C++ compiler supported features in CodingStandards (#81587)
Commit: 1b65742f8c71f576381fe85d5e34579b24f2d874
https://github.com/llvm/llvm-project/commit/1b65742f8c71f576381fe85d5e34579b24f2d874
Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/test/CodeGen/AMDGPU/machine-sink-temporal-divergence-swdev407790.ll
M llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
M llvm/test/CodeGen/PowerPC/licm-remat.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/reorder-gep-inbounds.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/reorder-gep.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lower-gep-reorder.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/reorder-gep.ll
Log Message:
-----------
[SeparateConstOffsetFromGEP] Reorder trivial GEP chains to separate constants (#73056)
In this case, a trivial GEP chain has the form:
```
%ptr = getelementptr sameType, %base, constant
%val = getelementptr sameType, %ptr, %variable
```
That is, a one-index GEP consumes another (of the same basis and result
type) one-index GEP, where the inner GEP uses a constant index and the
outer GEP uses a variable index. For chains of this type, it is trivial
to reorder them (by simply swapping the indexes). The result of doing so
is better AddrMode matching for users of the ultimate ptr produced by
GEP chain.
Future patches can extend this to support non-trivial GEP chains (e.g.
those with different basis types and/or multiple indices).
Commit: 3a48630a4b25d50abefd945742c247f17bd61156
https://github.com/llvm/llvm-project/commit/3a48630a4b25d50abefd945742c247f17bd61156
Author: Krystian Stasiowski <sdkrystian at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/DeclSpec.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/ParseTentative.cpp
M clang/lib/Sema/DeclSpec.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p3.cpp
A clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p4.cpp
M clang/test/CXX/drs/dr16xx.cpp
M clang/test/CXX/drs/dr23xx.cpp
M clang/test/CXX/temp/temp.decls/temp.class/temp.mem.enum/p1.cpp
M clang/test/FixIt/fixit-c++11.cpp
M clang/test/Parser/cxx-decl.cpp
M clang/test/Parser/cxx0x-decl.cpp
M clang/test/SemaCXX/cxx98-compat.cpp
M clang/test/SemaCXX/enum-scoped.cpp
Log Message:
-----------
[Clang][Sema] Diagnose friend declarations with enum elaborated-type-specifier in all language modes (#80171)
According to [dcl.type.elab] p4:
> If an _elaborated-type-specifier_ appears with the `friend` specifier
as an entire _member-declaration_, the _member-declaration_ shall have
one of the following forms:
> `friend` _class-key_ _nested-name-specifier_(opt) _identifier_ `;`
> `friend` _class-key_ _simple-template-id_ `;`
> `friend` _class-key_ _nested-name-specifier_ `template`(opt)
_simple-template-id_ `;`
Notably absent from this list is the `enum` form of an
_elaborated-type-specifier_ "`enum` _nested-name-specifier_(opt)
_identifier_", which appears to be intentional per the resolution of
CWG2363.
Most major implementations accept these declarations, so the diagnostic
is a pedantic warning across all C++ versions.
In addition to the trivial cases previously diagnosed in C++98, we now
diagnose cases where the _elaborated-type-specifier_ has a dependent
_nested-name-specifier_:
```
template<typename T>
struct A
{
enum class E;
};
struct B
{
template<typename T>
friend enum A<T>::E; // pedantic warning: elaborated enumeration type cannot be a friend
};
template<typename T>
struct C
{
friend enum T::E; // pedantic warning: elaborated enumeration type cannot be a friend
};
```
Commit: 27726920e0366c99f5c940d304ea442515738974
https://github.com/llvm/llvm-project/commit/27726920e0366c99f5c940d304ea442515738974
Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M flang/lib/Lower/OpenMP.cpp
Log Message:
-----------
[Flang][OpenMP] NFC: Code-format changes
Commit: f5cc961240b327cac83041f04ea339859e7d5c9c
https://github.com/llvm/llvm-project/commit/f5cc961240b327cac83041f04ea339859e7d5c9c
Author: Kazu Hirata <kazu at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/lib/Target/LLVMIR/AttrKindDetail.h
Log Message:
-----------
[mlir] Fix a warning
This patch fixes:
mlir/lib/Target/LLVMIR/AttrKindDetail.h:65:1: error: unused function
'getAttrNameToKindMapping' [-Werror,-Wunused-function]
Commit: ec0aa1646e9953d1a8d0d15dc381d3250c854572
https://github.com/llvm/llvm-project/commit/ec0aa1646e9953d1a8d0d15dc381d3250c854572
Author: Jeffrey Byrnes <Jeffrey.Byrnes at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lower-gep-reorder.ll
Log Message:
-----------
[SeparateConstOffsetFromGEP] Fix test after 1b65742f8c71f576381fe85d5e34579b24f2d874
Change-Id: I7ced7774c80997d21969ab7886fc30c0c1e1cc81
Commit: ac97562c99c3ae97f063048ccaf08ebdae60ac30
https://github.com/llvm/llvm-project/commit/ac97562c99c3ae97f063048ccaf08ebdae60ac30
Author: Xing Xue <xingxue at outlook.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M openmp/runtime/src/kmp_csupport.cpp
M openmp/runtime/src/kmp_gsupport.cpp
M openmp/runtime/src/kmp_lock.cpp
M openmp/runtime/src/kmp_lock.h
Log Message:
-----------
[OpenMP][AIX]Define struct kmp_base_tas_lock with the order of two members swapped for big-endian (#79188)
The direct lock data structure has bit `0` (the least significant bit)
of the first 32-bit word set to `1` to indicate it is a direct lock. On
the other hand, the first word (in 32-bit mode) or first two words (in
64-bit mode) of an indirect lock are the address of the entry allocated
from the indirect lock table. The runtime checks bit `0` of the first
32-bit word to tell if this is a direct or an indirect lock. This works
fine for 32-bit and 64-bit little-endian because its memory layout of a
64-bit address is (`low word`, `high word`). However, this causes
problems for big-endian where the memory layout of a 64-bit address is
(`high word`, `low word`). If an address of the indirect lock table
entry is something like `0x110035300`, i.e., (`0x1`, `0x10035300`), it
is treated as a direct lock. This patch defines `struct
kmp_base_tas_lock` with the ordering of the two 32-bit members flipped
for big-endian PPC64 so that when checking/setting tags in member
`poll`, the second word (the low word) is used. This patch also changes
places where `poll` is not already explicitly specified for
checking/setting tags.
Commit: c1a99b2c77499176362f24f09a39850867122ea4
https://github.com/llvm/llvm-project/commit/c1a99b2c77499176362f24f09a39850867122ea4
Author: James Y Knight <jyknight at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/Sparc/SparcISelLowering.cpp
M llvm/test/CodeGen/SPARC/64atomics.ll
M llvm/test/CodeGen/SPARC/atomicrmw-uinc-udec-wrap.ll
Log Message:
-----------
[Sparc] limit MaxAtomicSizeInBitsSupported to 32 for 32-bit Sparc. (#81655)
When in 32-bit mode, the backend doesn't currently implement 64-bit
atomics, even though the hardware is capable if you have specified a V9
CPU. Thus, limit the width to 32-bit, for now, leaving behind a TODO.
This fixes a regression triggered by PR #73176.
Commit: d0a1bf8b306afa565951c65b662713882a0d2481
https://github.com/llvm/llvm-project/commit/d0a1bf8b306afa565951c65b662713882a0d2481
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/TypePromotion.cpp
Log Message:
-----------
[TypePromotion] Remove an unreachable 'return false'. NFC
The if and the else above this both return so this is unreachable.
Delete it and remove the else after return.
Commit: 4e005515ec5ecedf2cd986097e45cab59f9914da
https://github.com/llvm/llvm-project/commit/4e005515ec5ecedf2cd986097e45cab59f9914da
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/UInt.h
M libc/src/__support/float_to_string.h
M libc/src/__support/integer_utils.h
M libc/test/src/__support/uint_test.cpp
Log Message:
-----------
[libc] Allow BigInt class to use base word types other than uint64_t. (#81634)
This will allow DyadicFloat class to replace NormalFloat class.
Commit: f0b271e4ebd2180f497694838ec9db0b2fd8ab4b
https://github.com/llvm/llvm-project/commit/f0b271e4ebd2180f497694838ec9db0b2fd8ab4b
Author: Jim Ingham <jingham at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
Log Message:
-----------
Temporarily disable the TestAddParsedCommand.py while I figure out
why it's crashing on the x86_64 Debian Linux worker.
Commit: 2400f704af18fd4b58ded158c3debe3b295accc6
https://github.com/llvm/llvm-project/commit/2400f704af18fd4b58ded158c3debe3b295accc6
Author: Aart Bik <39774503+aartbik at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
Log Message:
-----------
[mlir][sparse] add assemble test for Batched-CSR and CSR-Dense (#81660)
These are formats supported by PyTorch sparse, so good to make sure that
our assemble instructions work on these.
Commit: 52961491ca347e7c8766dc7c45841bacac6a4470
https://github.com/llvm/llvm-project/commit/52961491ca347e7c8766dc7c45841bacac6a4470
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/test/DebugInfo/X86/dwarfdump-str-offsets.s
M llvm/test/DebugInfo/X86/skeleton-unit-verify.s
M llvm/test/tools/llvm-dwarfdump/X86/verify_file_encoding.yaml
M llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf5-macro.test
M llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
Log Message:
-----------
[DWARFDump] Make --verify handle all sections by default (#81559)
The current behavior of --verify is that it only verifies debug_info,
debug_abbrev and debug_names. This seems fairly arbitrary and might have
been unintentional, as originally the absence of any section flags
implied "all".
This patch changes the behavior so that the verifier now verifies
everything by default. It revealed two tests that had potentially
invalid DWARF:
1. dwarfdump-str-offsets.s is adding padding between two
debug_str_offset contributions. The standard does not explicitly allow
this behavior. See issue
https://github.com/llvm/llvm-project/issues/81558
2. dwarf5-macro.test uses a checked-in binary that has invalid
debug_str_offsets. One of its entries points to the _middle_ of the
string section:
error: .debug_str_offsets: contribution 0x0: index 0x4: invalid string
offset *0x18 == 0x455D, is neither zero nor immediately following a null
character
If we look at the closest offset to 0x455D in debug_str:
```
0x0000454e: "__SLONG32_TYPE int"
```
0x455D points to "int".
Commit: 91f4a84a1504e718e4f4d4eef5db7713dc30a030
https://github.com/llvm/llvm-project/commit/91f4a84a1504e718e4f4d4eef5db7713dc30a030
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/unittests/SymbolFile/DWARF/CMakeLists.txt
A lldb/unittests/SymbolFile/DWARF/DWARFDebugNamesIndexTest.cpp
Log Message:
-----------
[lldb][DWARFIndex] Use IDX_parent to implement GetFullyQualifiedType query (#79932)
This commit changes DebugNamesDWARFIndex so that it now overrides
`GetFullyQualifiedType` and attempts to use DW_IDX_parent, when
available, to speed up such queries. When this type of information is
not available, the base-class implementation is used.
With this commit, we now achieve the 4x speedups reported in [1].
[1]:
https://discourse.llvm.org/t/rfc-improve-dwarf-5-debug-names-type-lookup-parsing-speed/74151/38
Commit: fa77e1f5468bc6be99da89860f42059df13d3b82
https://github.com/llvm/llvm-project/commit/fa77e1f5468bc6be99da89860f42059df13d3b82
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
Log Message:
-----------
[DebugInfo][RemoveDIs] Convert back to intrinsic form for ThinLTO
As explained on discourse [0] (comment 12), to get the non-intrinsic form
of debug-info records enabled and testing, we're only using it inside of
the pass manager in LLVM right now. Things like the textual IR writer and
bitcode writing _passes_ are instrumented to convert back to
intrinsic-form when writing a module out, but it turns out we missed the
ThinLTO bitcode writing pass. That causes uh, all variable location
debug-info to be dropped in ThinLTO mode (oops).
This patch adds that conversion; it should be low risk as it's identical to
what happens in all the other passes. However should this commit turn out
to cause trouble, please instead revert d759618df76 or whichever is the
most recent commit to set UseNewDbgInfoFormat to default to true. That'll
revert LLVM back to the definitely-correct behaviour.
[0] https://discourse.llvm.org/t/rfc-instruction-api-changes-needed-to-eliminate-debug-intrinsics-from-ir/68939
Commit: 99c5a66c62ae6b818fcc62a4d9c936ba9d82bdce
https://github.com/llvm/llvm-project/commit/99c5a66c62ae6b818fcc62a4d9c936ba9d82bdce
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/test/CodeGen/AMDGPU/machine-sink-temporal-divergence-swdev407790.ll
M llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
M llvm/test/CodeGen/PowerPC/licm-remat.ll
R llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/reorder-gep-inbounds.ll
R llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/reorder-gep.ll
R llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lower-gep-reorder.ll
R llvm/test/Transforms/SeparateConstOffsetFromGEP/reorder-gep.ll
Log Message:
-----------
Revert "[SeparateConstOffsetFromGEP] Reorder trivial GEP chains to separate constants (#73056)" and follow ups
"ninja check-llvm" is failing on tip of tree.
This reverts commit ec0aa1646e9953d1a8d0d15dc381d3250c854572.
This reverts commit 1b65742f8c71f576381fe85d5e34579b24f2d874.
Commit: 8c56e78ec531f0e2460213c20fff869b6b7add99
https://github.com/llvm/llvm-project/commit/8c56e78ec531f0e2460213c20fff869b6b7add99
Author: Zequan Wu <zequanwu at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
A lldb/test/API/tools/lldb-dap/databreakpoint/Makefile
A lldb/test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py
A lldb/test/API/tools/lldb-dap/databreakpoint/main.cpp
M lldb/tools/lldb-dap/CMakeLists.txt
M lldb/tools/lldb-dap/DAPForward.h
A lldb/tools/lldb-dap/Watchpoint.cpp
A lldb/tools/lldb-dap/Watchpoint.h
M lldb/tools/lldb-dap/lldb-dap.cpp
M llvm/utils/gn/secondary/lldb/tools/lldb-dap/BUILD.gn
Log Message:
-----------
[lldb-dap] Add support for data breakpoint. (#81541)
This implements functionality to handle `DataBreakpointInfo` request and
`SetDataBreakpoints` request.
If variablesReference is 0 or not provided, interpret name as ${number
of bytes}@${expression} to set data breakpoint at the given expression
because the spec
https://microsoft.github.io/debug-adapter-protocol/specification#Requests_DataBreakpointInfo
doesn't say how the client could specify the number of bytes to watch.
This is based on top of https://github.com/llvm/llvm-project/pull/80753.
Commit: 473ef10b0fc93eeb2cbb3b2cf2f1b748eac6ddd9
https://github.com/llvm/llvm-project/commit/473ef10b0fc93eeb2cbb3b2cf2f1b748eac6ddd9
Author: Heejin Ahn <aheejin at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/test/CodeGen/WebAssembly/wasm-eh-prepare.ll
Log Message:
-----------
[WebAssembly] Demote PHIs in catchswitch BB only (#81570)
`DemoteCatchSwitchPHIOnly` option in `WinEHPrepare` pass was added in
https://github.com/llvm/llvm-project/commit/99d60e0dabcf20f4db683da83cde905b7a1373de,
because Wasm EH uses `WinEHPrepare`, but it doesn't need to demote all
PHIs. PHIs in `catchswitch` BBs have to be removed (= demoted) because
`catchswitch`s are removed in ISel and `catchswitch` BBs are removed as
well, so they can't have other instructions.
But because Wasm EH doesn't use funclets, so PHIs in `catchpad` or
`cleanuppad` BBs don't need to be demoted. That was the reason
`DemoteCatchSwitchPHIOnly` option was added, in order not to demote more
instructions unnecessarily.
The problem is it should have been set to `true` for Wasm EH. (Its
default value is `false` for WinEH) And I mistakenly set it to `false`
and wasn't aware about this for more than 5 years. This was not the end
of the world; it just means we've been demoting more instructions than
we should, possibly huting code size. In practice I think it would've
had hardly any effect in real performance given that the occurrence of
PHIs in `catchpad` or `cleanuppad` BBs are not very frequent and many
people run other optimizers like Binaryen anyway.
Commit: fd3a0c185f177351207783fc2a604dac086cdaf7
https://github.com/llvm/llvm-project/commit/fd3a0c185f177351207783fc2a604dac086cdaf7
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/IR/BasicBlock.cpp
Log Message:
-----------
Revert "Reapply "[DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default""
This reverts commit d759618df76361a8e490eeae5c5399e0738cbfd0.
Causes crashes, see comments in https://github.com/llvm/llvm-project/commit/d759618df76361a8e490eeae5c5399e0738cbfd0.
Commit: 84277fe90f98edfa8fb7b7f06ab430610ef85248
https://github.com/llvm/llvm-project/commit/84277fe90f98edfa8fb7b7f06ab430610ef85248
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M libc/cmake/modules/CheckCompilerFeatures.cmake
A libc/cmake/modules/compiler_features/check_fixed_point.cpp
M libc/config/linux/api.td
M libc/config/linux/x86_64/headers.txt
M libc/docs/math/index.rst
A libc/docs/math/stdfix.rst
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
A libc/include/llvm-libc-macros/stdfix-macros.h
A libc/include/stdfix.h.def
A libc/spec/stdc_ext.td
Log Message:
-----------
[libc][stdfix] Generate stdfix.h header with fixed point precision macros according to ISO/IEC TR 18037:2008 standard, and add fixed point type support detection. (#81255)
Fixed point extension standard:
https://standards.iso.org/ittf/PubliclyAvailableStandards/c051126_ISO_IEC_TR_18037_2008.zip
Commit: 9f87bfe8bf2a3bd9b761e61c3cea3ccfec0553ec
https://github.com/llvm/llvm-project/commit/9f87bfe8bf2a3bd9b761e61c3cea3ccfec0553ec
Author: Jessica Clarke <jrtc27 at jrtc27.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/SPIRV/Analysis/CMakeLists.txt
Log Message:
-----------
[SPIRV] Add to LINK_COMPONENTS to fix BUILD_SHARED_LIBS build
Fixes: 7b08b4360b488b35428c97132b3f9d2a777bd770
Commit: c92bf6b689a1b6c662f3fb30318c67257dbca864
https://github.com/llvm/llvm-project/commit/c92bf6b689a1b6c662f3fb30318c67257dbca864
Author: Jessica Clarke <jrtc27 at jrtc27.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/unittests/Target/SPIRV/CMakeLists.txt
Log Message:
-----------
[SPIRV] Add to LINK_COMPONENTS to fix BUILD_SHARED_LIBS check
Fixes: 7b08b4360b488b35428c97132b3f9d2a777bd770
Commit: 5b386158aacac4b41126983a5379d36ed413d0ea
https://github.com/llvm/llvm-project/commit/5b386158aacac4b41126983a5379d36ed413d0ea
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/configuration.py
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/packages/Python/lldbsuite/test/test_result.py
M lldb/test/API/commands/expression/test/TestExprs.py
M lldb/test/API/functionalities/breakpoint/thread_plan_user_breakpoint/TestThreadPlanUserBreakpoint.py
M lldb/test/API/functionalities/jitloader_gdb/TestJITLoaderGDB.py
M lldb/test/API/functionalities/thread/state/TestThreadStates.py
M lldb/test/API/functionalities/tty/TestTerminal.py
M lldb/test/API/lang/c/shared_lib/TestSharedLib.py
M lldb/test/API/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py
M lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
M lldb/test/API/lang/cpp/reference-to-outer-type/TestCppReferenceToOuterClass.py
M lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py
M lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py
M lldb/test/API/lldbtest.py
M lldb/test/API/macosx/universal/TestUniversal.py
M lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
M lldb/test/API/tools/lldb-server/test/test_lldbgdbserverutils.py
Log Message:
-----------
[lldb][test] Switch LLDB API tests from vendored unittest2 to unittest (#79945)
This removes the dependency LLDB API tests have on
lldb/third_party/Python/module/unittest2, and instead uses the standard
one provided by Python.
This does not actually remove the vendored dep yet, nor update the docs.
I'll do both those once this sticks.
Non-trivial changes to call out:
- expected failures (i.e. "bugnumber") don't have a reason anymore, so
those params were removed
- `assertItemsEqual` is now called `assertCountEqual`
- When a test is marked xfail, our copy of unittest2 considers failures
during teardown to be OK, but modern unittest does not. See
TestThreadLocal.py. (Very likely could be a real bug/leak).
- Our copy of unittest2 was patched to print all test results, even ones
that don't happen, e.g. `(5 passes, 0 failures, 1 errors, 0 skipped,
...)`, but standard unittest prints a terser message that omits test
result types that didn't happen, e.g. `OK (skipped=1)`. Our lit
integration parses this stderr and needs to be updated w/ that
expectation.
I tested this w/ `ninja check-lldb-api` on Linux. There's a good chance
non-Linux tests have similar quirks, but I'm not able to uncover those.
Commit: 137bd782959523e8168c346bc8801d0b14f684c5
https://github.com/llvm/llvm-project/commit/137bd782959523e8168c346bc8801d0b14f684c5
Author: Slava Zakharin <szakharin at nvidia.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M flang/include/flang/Optimizer/Dialect/FIRDialect.h
M flang/include/flang/Optimizer/Support/InitFIR.h
M flang/lib/Optimizer/Dialect/FIRDialect.cpp
Log Message:
-----------
[flang] Register LLVMTranslationDialectInterface for FIR. (#81668)
Register the LLVM IR translation interface for FIR to avoid
warnings about "Unhandled parameter attribute" after #78228.
Commit: e06f3522cc55cec60084a1278109ab236ef7a3ee
https://github.com/llvm/llvm-project/commit/e06f3522cc55cec60084a1278109ab236ef7a3ee
Author: jkorous-apple <32549412+jkorous-apple at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/Analysis/UnsafeBufferUsage.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-pointer-access.cpp
Log Message:
-----------
[-Wunsafe-buffer-usage] Emit fixits for array decayed to pointer (#80347)
Covers cases where DeclRefExpr referring to a const-size array decays to a
pointer and is used "as a pointer" (e. g. passed to a pointer type
parameter).
Since std::array<T, N> doesn't implicitly convert to pointer to its element
type T* the cast needs to be done explicitly as part of the fixit
when we retrofit std::array to code that previously worked with constant
size array. std::array::data() method is used for the explicit
cast.
In terms of the fixit machine this covers the UPC(DRE) case for Array fixit strategy.
The emitted fixit inserts call to std::array::data() method similarly to
analogous fixit for Span strategy.
Commit: 017675fff116c26bef7f0a389c983c909a3141fd
https://github.com/llvm/llvm-project/commit/017675fff116c26bef7f0a389c983c909a3141fd
Author: Artem Dergachev <adergachev at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp
M clang/lib/StaticAnalyzer/Core/BugSuppression.cpp
M clang/test/Analysis/Checkers/WebKit/ref-cntbl-base-virtual-dtor.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-members.cpp
M clang/test/Analysis/ObjCRetSigs.m
M clang/test/Analysis/objc_invalidation.m
M clang/test/Analysis/suppression-attr-doc.cpp
A clang/test/Analysis/suppression-attr.cpp
M clang/test/Analysis/suppression-attr.m
M clang/test/Analysis/unused-ivars.m
M clang/test/SemaCXX/attr-suppress.cpp
M clang/test/SemaObjC/attr-suppress.m
Log Message:
-----------
[attributes][analyzer] Generalize [[clang::suppress]] to declarations. (#80371)
The attribute is now allowed on an assortment of declarations, to
suppress warnings related to declarations themselves, or all warnings in
the lexical scope of the declaration.
I don't necessarily see a reason to have a list at all, but it does look
as if some of those more niche items aren't properly supported by the
compiler itself so let's maintain a short safe list for now.
The initial implementation raised a question whether the attribute
should apply to lexical declaration context vs. "actual" declaration
context. I'm using "lexical" here because it results in less warnings
suppressed, which is the conservative behavior: we can always expand it
later if we think this is wrong, without breaking any existing code. I
also think that this is the correct behavior that we will probably never
want to change, given that the user typically desires to keep the
suppressions as localized as possible.
Commit: 0de2b26942f890a6ec84cd75ac7abe3f6f2b2e37
https://github.com/llvm/llvm-project/commit/0de2b26942f890a6ec84cd75ac7abe3f6f2b2e37
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
M llvm/lib/Target/RISCV/RISCVFrameLowering.h
M llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
M llvm/lib/Target/RISCV/RISCVRegisterInfo.h
M llvm/test/CodeGen/RISCV/calling-conv-ilp32e.ll
Log Message:
-----------
[RISCV] Register fixed stack slots for callee saved registers for -msave-restore/Zcmp (#81392)
PEI previously used fake frame indices for these callee saved registers.
These fake frame indices are not register with MachineFrameInfo. This
required them to be deleted form CalleeSavedInfo after PEI to avoid
breaking later passes. See #79535
Unfortunately, removing the registers from CalleeSavedInfo pessimizes
Interprocedural Register Allocation. The RegUsageInfoCollector pass runs
after PEI and uses CalleeSavedInfo.
This patch replaces #79535 by properly creating fixed stack objects
through MachineFrameInfo. This changes the stack size and offsets
returned by MachineFrameInfo which requires changes to how
RISCVFrameLowering uses that information.
In addition to the individual object for each register, I've also create
a single large fixed object that covers the entire stack area covered by
cm.push or the libcalls. cm.push must always push a multiple of 16 bytes
and the save restore libcall pushes a multiple of stack align. I think
this leaves holes in the stack where we could spill other registers, but
it matches what we did previously. Maybe we can optimize this in the
future.
The only test changes are due to stack alignment handling after the
callee save registers. Since we now have the fixed objects, on the stack
the offset is non-zero when an aligned object is processed so the offset
gets rounded up, increasing the stack size.
I suspect we might need some more updates for RVV related code. There is
very little or maybe even no testing of RVV mixed with Zcmp and
save-restore.
Commit: cb1a9f70ecb22d48df1919bd54daf64bfaa08864
https://github.com/llvm/llvm-project/commit/cb1a9f70ecb22d48df1919bd54daf64bfaa08864
Author: Danila Malyutin <danilaml at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/gc_relocate.ll
Log Message:
-----------
[InstSimplify] Add trivial simplifications for gc.relocate intrinsic (#81639)
Fold gc.relocate of undef and null to undef and null respectively.
Similar transform is currently done by instcombine, but there is no
reason to not include it here as well.
Commit: 4bc2a4f64ff71dae42c80faf34fa8aa7885f6b3d
https://github.com/llvm/llvm-project/commit/4bc2a4f64ff71dae42c80faf34fa8aa7885f6b3d
Author: Nico Weber <thakis at chromium.org>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/utils/gn/secondary/lldb/tools/lldb-dap/BUILD.gn
Log Message:
-----------
[gn] fix typo in 8c56e78ec531
The missing trailing comma confuses the sync script.
Commit: bf3d5dbe2fc7e558b4627637de53ea2bcf6bb8eb
https://github.com/llvm/llvm-project/commit/bf3d5dbe2fc7e558b4627637de53ea2bcf6bb8eb
Author: Nico Weber <thakis at chromium.org>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lld/ELF/Arch/LoongArch.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/Thunks.cpp
M lld/test/ELF/arm-thumb-thunk-v6m-xo.s
Log Message:
-----------
[lld/ELF] fix typos to cycle bots
Commit: a6b846ae1e58e11160185e427e20a995f6656859
https://github.com/llvm/llvm-project/commit/a6b846ae1e58e11160185e427e20a995f6656859
Author: ZijunZhaoCCK <88353225+ZijunZhaoCCK at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M libcxx/docs/Status/RangesAlgorithms.csv
M libcxx/include/CMakeLists.txt
A libcxx/include/__algorithm/ranges_contains_subrange.h
M libcxx/include/algorithm
M libcxx/include/libcxx.imp
M libcxx/include/module.modulemap.in
M libcxx/modules/std/algorithm.inc
M libcxx/test/libcxx/algorithms/ranges_robust_against_copying_projections.pass.cpp
M libcxx/test/libcxx/diagnostics/ranges.nodiscard_extensions.compile.pass.cpp
M libcxx/test/libcxx/diagnostics/ranges.nodiscard_extensions.verify.cpp
A libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains_subrange.pass.cpp
M libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp
Log Message:
-----------
[libc++][ranges] Implement ranges::contains_subrange (#66963)
Commit: 9168a2119cf6b5cc7105d201683bb0d1a84b441b
https://github.com/llvm/llvm-project/commit/9168a2119cf6b5cc7105d201683bb0d1a84b441b
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
Log Message:
-----------
[gn build] Port a6b846ae1e58
Commit: 3122969e8e2404c1eb0b9c660bd979e1001c42fd
https://github.com/llvm/llvm-project/commit/3122969e8e2404c1eb0b9c660bd979e1001c42fd
Author: Aart Bik <39774503+aartbik at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
M mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
Log Message:
-----------
[mlir][sparse] add doubly compressed test case to assembly op (#81687)
Removes audit TODO
Commit: 3647ff159a2f2445c45d9cbb4f8791b5f30da16b
https://github.com/llvm/llvm-project/commit/3647ff159a2f2445c45d9cbb4f8791b5f30da16b
Author: Jim Ingham <jingham at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lldb/source/Commands/CommandObjectCommands.cpp
M lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
Log Message:
-----------
Used std::vector::reserve when I meant std::vector::resize.
The Linux std has more asserts enabled by default, so it
complained, even though this worked on Darwin...
Commit: f45b9d987dfc5904d4129aa006ab20614b3174e3
https://github.com/llvm/llvm-project/commit/f45b9d987dfc5904d4129aa006ab20614b3174e3
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/test/CodeGen/RISCV/ntlh-intrinsics/riscv32-zihintntl.c
A clang/test/CodeGen/RISCV/riscv-metadata-arch.c
Log Message:
-----------
[RISCV] Add canonical ISA string as Module metadata in IR. (#80760)
In an LTO build, we don't set the ELF attributes to indicate what
extensions were compiled with. The target CPU/Attrs in
RISCVTargetMachine do not get set for an LTO build. Each function gets a
target-cpu/feature attribute, but this isn't usable to set ELF attributs
since we wouldn't know what function to use. We can't just once since it
might have been compiler with an attribute likes target_verson.
This patch adds the ISA as Module metadata so we can retrieve it in the
backend. Individual translation units can still be compiled with
different strings so we need to collect the unique set when Modules are
merged.
The backend will need to combine the unique ISA strings to produce a
single value for the ELF attributes. This will be done in a separate
patch.
Commit: 21630efb5a8f411cdf39b15f21a104888145b03f
https://github.com/llvm/llvm-project/commit/21630efb5a8f411cdf39b15f21a104888145b03f
Author: Pranav Kant <prka at google.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/test/CodeGen/X86/fp128-libcalls-strict.ll
M llvm/test/CodeGen/X86/fp128-libcalls.ll
Log Message:
-----------
[X86][CodeGen] Restrict F128 lowering to GNU environment (#81664)
Otherwise it breaks some environment like X64 Android that doesn't have
f128 functions available in its libc.
Followup to #79611.
Commit: 429919e32823ad735a19ab385f37e313512cedde
https://github.com/llvm/llvm-project/commit/429919e32823ad735a19ab385f37e313512cedde
Author: Peiming Liu <36770114+PeimingLiu at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/include/mlir-c/Dialect/SparseTensor.h
M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
M mlir/lib/Bindings/Python/DialectSparseTensor.cpp
M mlir/lib/CAPI/Dialect/SparseTensor.cpp
M mlir/test/Integration/Dialect/SparseTensor/python/test_SDDMM.py
M mlir/test/Integration/Dialect/SparseTensor/python/test_SpMM.py
M mlir/test/Integration/Dialect/SparseTensor/python/test_output.py
M mlir/test/Integration/Dialect/SparseTensor/python/test_stress.py
M mlir/test/python/dialects/sparse_tensor/dialect.py
Log Message:
-----------
[mlir][sparse][pybind][CAPI] remove LevelType enum from CAPI, constru… (#81682)
…ct LevelType from LevelFormat and properties instead.
**Rationale**
We used to explicitly declare every possible combination between
`LevelFormat` and `LevelProperties`, and it now becomes difficult to
scale as more properties/level formats are going to be introduced.
Commit: 1ec81976e4937ea9a09cefd41f25b3c5d1394f2c
https://github.com/llvm/llvm-project/commit/1ec81976e4937ea9a09cefd41f25b3c5d1394f2c
Author: Jim Ingham <jingham at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
Log Message:
-----------
Temporarily skip this test for Python 3.9.
When the parsed command python code is run on 3.9, I get:
File ".../lib/python3.9/site-packages/lldb/plugins/parsed_cmd.py", line 124, in translate_value
return cls.translators[value_type](value)
TypeError: 'staticmethod' object is not callable
But this works correctly in Python 3.10 on macOS and Linux. I'm guessing something
changed between those versions, and I'll have to do something to work around the difference.
But I'm going to skip the test on 3.9 while I figure that out.
Commit: 7180c23cf695dcfaa62fad4141afc7d7bdc707c1
https://github.com/llvm/llvm-project/commit/7180c23cf695dcfaa62fad4141afc7d7bdc707c1
Author: Jeffrey Byrnes <jeffrey.byrnes at amd.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/test/CodeGen/AMDGPU/machine-sink-temporal-divergence-swdev407790.ll
M llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
M llvm/test/CodeGen/PowerPC/licm-remat.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/reorder-gep-inbounds.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/reorder-gep.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lower-gep-reorder.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/reorder-gep.ll
Log Message:
-----------
[SeparateConstOffsetFromGEP] Reland: Reorder trivial GEP chains to separate constants (#81671)
Actually update tests w.r.t
https://github.com/llvm/llvm-project/commit/9e5a77f252badfc932d1e28ee998746072ddc33f
and reland https://github.com/llvm/llvm-project/pull/73056
Commit: 29d1aca05caa06e30d7a76ee15fd166fa32e1043
https://github.com/llvm/llvm-project/commit/29d1aca05caa06e30d7a76ee15fd166fa32e1043
Author: erman-gurses <99776114+erman-gurses at users.noreply.github.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/AMDGPU/CMakeLists.txt
A mlir/include/mlir/Dialect/AMDGPU/TransformOps/AMDGPUTransformOps.h
A mlir/include/mlir/Dialect/AMDGPU/TransformOps/AMDGPUTransformOps.td
A mlir/include/mlir/Dialect/AMDGPU/TransformOps/CMakeLists.txt
M mlir/include/mlir/Dialect/AMDGPU/Transforms/Transforms.h
M mlir/include/mlir/InitAllExtensions.h
M mlir/lib/Dialect/AMDGPU/CMakeLists.txt
A mlir/lib/Dialect/AMDGPU/TransformOps/AMDGPUTransformOps.cpp
A mlir/lib/Dialect/AMDGPU/TransformOps/CMakeLists.txt
M mlir/lib/Dialect/AMDGPU/Transforms/OptimizeSharedMemory.cpp
A mlir/test/Dialect/AMDGPU/transform_optimize_shmem_reads_writes.mlir
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[AMDGPU][MLIR]Add shmem-optimization as an op using transform dialect (#81550)
This PR adds functionality to use shared memory optimization as an op
using transform dialect.
Commit: 22d2f3aa3097feb9a91c6d7b8ef611a1cde6d0d5
https://github.com/llvm/llvm-project/commit/22d2f3aa3097feb9a91c6d7b8ef611a1cde6d0d5
Author: Jim Ingham <jingham at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M lldb/examples/python/templates/parsed_cmd.py
M lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
Log Message:
-----------
Move the parsed_cmd conversion def's to module level functions.
Python3.9 does not allow you to put a reference to a class staticmethod
in a table and call it from there. Python3.10 and following do allow
this, but we still support 3.9. staticmethod was slightly cleaner,
but this will do.
Commit: edff3ff4d37a9e051e33146393b064ce987af252
https://github.com/llvm/llvm-project/commit/edff3ff4d37a9e051e33146393b064ce987af252
Author: Michael Spencer <bigcheesegs at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
A llvm/include/llvm/Support/ExponentialBackoff.h
M llvm/lib/Support/CMakeLists.txt
A llvm/lib/Support/ExponentialBackoff.cpp
M llvm/lib/Support/LockFileManager.cpp
M llvm/unittests/Support/CMakeLists.txt
A llvm/unittests/Support/ExponentialBackoffTest.cpp
Log Message:
-----------
[llvm][Support] Add ExponentialBackoff helper (#81206)
This provides a simple way to implement exponential backoff using a do
while loop.
Usage example (also see the change to LockFileManager.cpp):
```
ExponentialBackoff Backoff(10s);
do {
if (tryToDoSomething())
return ItWorked;
} while (Backoff.waitForNextAttempt());
return Timeout;
```
Abstracting this out of `LockFileManager` as the module build daemon
will need it.
Commit: 14b0d0de1fb3e55d16fac70a69980a003106d0aa
https://github.com/llvm/llvm-project/commit/14b0d0de1fb3e55d16fac70a69980a003106d0aa
Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
Log Message:
-----------
[gn build] Port edff3ff4d37a
Commit: 09e98950bfcff7ad376922932efb2b56e4db9898
https://github.com/llvm/llvm-project/commit/09e98950bfcff7ad376922932efb2b56e4db9898
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Driver/Action.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/Types.def
M clang/include/clang/Frontend/CompilerInstance.h
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/include/clang/Frontend/FrontendActions.h
M clang/include/clang/Frontend/FrontendOptions.h
A clang/include/clang/Frontend/InstallAPIOptions.h
A clang/include/clang/InstallAPI/Context.h
M clang/lib/CMakeLists.txt
M clang/lib/Driver/Action.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CMakeLists.txt
M clang/lib/Frontend/CompilerInvocation.cpp
A clang/lib/Frontend/InstallAPIConsumer.cpp
M clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
A clang/lib/InstallAPI/CMakeLists.txt
A clang/lib/InstallAPI/Context.cpp
M clang/test/CMakeLists.txt
A clang/test/Driver/installapi.h
A clang/test/InstallAPI/installapi-basic.test
M clang/test/lit.cfg.py
Log Message:
-----------
[clang][InstallAPI] Introduce basic driver to write out tbd files (#81571)
This introduces a basic outline of installapi as a clang driver option.
It captures relevant information as cc1 args, which are common arguments
already passed to the linker to encode into TBD file outputs. This is
effectively an upstream for what already exists as `tapi installapi` in
Xcode toolchains, but directly in Clang. This patch does not handle any
AST traversing on input yet.
InstallAPI is broadly an operation that takes a series of header files
that represent a single dynamic library and generates a TBD file out of
it which represents all the linkable symbols and necessary attributes
for statically linking in clients. It is the linkable object in all
Apple SDKs and when building dylibs in Xcode. `clang -installapi` also
will support verification where it compares all the information recorded
for the TBD files against the already built binary, to catch possible
mismatches like when a declaration is missing a definition for an
exported symbol.
Commit: a3f61c8bfd277e0e6d65695f739f4432fb1fd721
https://github.com/llvm/llvm-project/commit/a3f61c8bfd277e0e6d65695f739f4432fb1fd721
Author: Micah Weston <micahsweston at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
A llvm/test/tools/obj2yaml/ELF/bb-addr-map-pgo-analysis-map.yaml
A llvm/test/tools/yaml2obj/ELF/bb-addr-map-pgo-analysis-map.yaml
M llvm/tools/obj2yaml/elf2yaml.cpp
Log Message:
-----------
[SHT_LLVM_BB_ADDR_MAP][obj2yaml] Implements PGOAnalysisMap for elf2yaml and tests. (#80924)
Adds support to obj2yaml for PGO Analysis Map. Adds a test to both
obj2yaml and yaml2obj.
Commit: ec5f4a4bc6f27b044bc73668414ecefe9690d283
https://github.com/llvm/llvm-project/commit/ec5f4a4bc6f27b044bc73668414ecefe9690d283
Author: Cyndy Ishida <cyndy_ishida at apple.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/InstallAPI/CMakeLists.txt
Log Message:
-----------
[InstallAPI] Add missing link to clangBasic
Fixes CI.
Commit: 3f738a4c55dfb6476c47cab30e878cf5f0643351
https://github.com/llvm/llvm-project/commit/3f738a4c55dfb6476c47cab30e878cf5f0643351
Author: Mariusz Borsa <wrotki at msn.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M compiler-rt/lib/asan_abi/asan_abi_shim.cpp
Log Message:
-----------
[Sanitizers][ABI] Remove too strong assert in asan_abi_shim (#81696)
Recently we enabled building the shim for arm64_32 arch. On this arch,
sizeof(uptr) == sizeof(unsigned long) == 4 - so this assert will fail in
runtime.
Need to just remove this assert
rdar://122927166
Co-authored-by: Mariusz Borsa <m_borsa at apple.com>
Commit: bc08cc2ac8b0fc0898d191e36db08d136d659f7d
https://github.com/llvm/llvm-project/commit/bc08cc2ac8b0fc0898d191e36db08d136d659f7d
Author: Han-Chung Wang <hanhan0912 at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/test/Dialect/Tensor/canonicalize.mlir
Log Message:
-----------
[mlir][tensor] Add support for tensor.pack static shapes inference. (#80848)
Fixes https://github.com/openxla/iree/issues/16317
Commit: b9567bc78f42a6850ddf3b3cf3f9a0d2cc08ffff
https://github.com/llvm/llvm-project/commit/b9567bc78f42a6850ddf3b3cf3f9a0d2cc08ffff
Author: Luke Lau <luke at igalia.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Use SelectionDAG::getVScale in lowerVPReverseExperimental. NFCI (#81694)
Use a slightly more idiomatic way of getting vscale. getVScale
performs additional constant folding, but I presume computeKnownBits
also catches these cases too.
Commit: 69bcb69bbac05c52129ffcae4f8995c2914ff3fc
https://github.com/llvm/llvm-project/commit/69bcb69bbac05c52129ffcae4f8995c2914ff3fc
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
Log Message:
-----------
Apply clang-tidy fixes for llvm-qualified-auto in TensorOps.cpp (NFC)
Commit: a854982aa10725571409c367ab59da7c809b59f4
https://github.com/llvm/llvm-project/commit/a854982aa10725571409c367ab59da7c809b59f4
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
Log Message:
-----------
Apply clang-tidy fixes for readability-simplify-boolean-expr in TensorOps.cpp (NFC)
Commit: d2f067693becb25e4479712c8290d321bf83d4bd
https://github.com/llvm/llvm-project/commit/d2f067693becb25e4479712c8290d321bf83d4bd
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
Log Message:
-----------
Apply clang-tidy fixes for readability-identifier-naming in TosaOps.cpp (NFC)
Commit: 153661db5c7b2b49c4bde1d91410952933e6c584
https://github.com/llvm/llvm-project/commit/153661db5c7b2b49c4bde1d91410952933e6c584
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
Log Message:
-----------
Apply clang-tidy fixes for llvm-qualified-auto in TransformOps.cpp (NFC)
Commit: 70ebc78efb5df33395603329f4622b51f2c259ce
https://github.com/llvm/llvm-project/commit/70ebc78efb5df33395603329f4622b51f2c259ce
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
Log Message:
-----------
Apply clang-tidy fixes for performance-unnecessary-value-param in TransformOps.cpp (NFC)
Commit: 61c83e9491b2be71a54b255cdb11f65365245953
https://github.com/llvm/llvm-project/commit/61c83e9491b2be71a54b255cdb11f65365245953
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/FormatTokenLexer.h
M clang/lib/Format/IntegerLiteralSeparatorFixer.cpp
M clang/lib/Format/TokenAnalyzer.cpp
M clang/lib/Format/TokenAnalyzer.h
Log Message:
-----------
Revert "[clang-format][NFC] Make LangOpts global in namespace Format"
This reverts commit 32e65b0b8a743678974c7ca7913c1d6c41bb0772.
It seems to break some PowerPC bots.
See https://github.com/llvm/llvm-project/pull/81390#issuecomment-1941964803.
Commit: eafe98f937c790632452d1ab741477e4fb7e5531
https://github.com/llvm/llvm-project/commit/eafe98f937c790632452d1ab741477e4fb7e5531
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M clang/lib/Format/TokenAnnotator.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Always add a space after #if and #elif (#81578)
Fixes #81569.
Commit: 3537ccccfe4e01ce79b3e9b6bb6ed378d8752fd1
https://github.com/llvm/llvm-project/commit/3537ccccfe4e01ce79b3e9b6bb6ed378d8752fd1
Author: Adrian Kuegel <akuegel at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][Bazel] Add missing dependency after 29d1aca05caa06e30d7a76ee15fd166fa32e1043
Commit: e6253102a7c63d73594699d93b1b412f0795ec11
https://github.com/llvm/llvm-project/commit/e6253102a7c63d73594699d93b1b412f0795ec11
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Log Message:
-----------
[DAGCombiner] Remove unnecessary commonAlignment from CombineExtLoad. (#81705)
The getAlign function for a load returns the commonAlignment of the
"base align" and the offset stored in the MachinePointerInfo.
We're splitting a load here, so we should take the base alignment from
the original load without any offset that may already exist in the
original load. The new load can then maintain its own alignment using
just the base alignment and its own offset.
Noticed by inspection.
Commit: 86ce491f308768137df627be9f32f6c191d809b2
https://github.com/llvm/llvm-project/commit/86ce491f308768137df627be9f32f6c191d809b2
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-13 (Tue, 13 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/X86/fold-sext-trunc.ll
M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_isel.ll.expected
Log Message:
-----------
[DAGCombiner] Remove unneeded commonAlignment from reduceLoadWidth. (#81707)
We already have the PtrOff factored into MachinePointerInfo. Any calls
to getAlign on the new load with do commonAlignment with the
MachinePointerInfo offset and the base alignment.
Commit: b5d694ba14524e0161421b13c875747d5fa917de
https://github.com/llvm/llvm-project/commit/b5d694ba14524e0161421b13c875747d5fa917de
Author: Guray Ozen <guray.ozen at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
M mlir/test/Dialect/LLVMIR/nvvm.mlir
M mlir/test/Target/LLVMIR/nvvmir.mlir
Log Message:
-----------
[mlir][nvvm] Introduce `nvvm.barrier` OP (#81487)
This PR that introduces the `nvvm.barrier` OP to the NVVM dialect.
Currently, NVVM only supports the `nvvm.barrier0`, which synchronizes
all threads using barrier resource 0.
The new `nvvm.barrier` has two essential arguments: the barrier resource
and the number of threads. This added flexibility allows for selective
synchronization of threads within a CTA, aligning with the capabilities
provided by LLVM intrinsics or the PTX model.
I think we can deprecate `nvvm.barrier0` in favor of the more generic
`nvvm.barrier`.
```
// Equivalent to nvvm.barrier0 (or __syncthreads() in CUDA)
nvvm.barrier
// Synchronize all threads using the 3rd barrier resource.
nvvm.barrier id = 3
// Synchronize %numberOfThreads threads using the 3rd barrier resource.
nvvm.barrier id = 3 number_of_threads = %numberOfThreads
```
Commit: dc866ae49e9d461c836a113472ea3ff314bb4a80
https://github.com/llvm/llvm-project/commit/dc866ae49e9d461c836a113472ea3ff314bb4a80
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
Log Message:
-----------
[ValueTracking] Move the `isSignBitCheck` helper into ValueTracking. NFC. (#81704)
This patch moves the `isSignBitCheck` helper into ValueTracking to reuse
the logic in ValueTracking/InstSimplify.
Addresses the comment
https://github.com/llvm/llvm-project/pull/80740#discussion_r1488440050.
Commit: a2eb2340963c905b21ad3a2eda2688e3cd80192d
https://github.com/llvm/llvm-project/commit/a2eb2340963c905b21ad3a2eda2688e3cd80192d
Author: Balázs Kéri <balazs.keri at ericsson.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp
Log Message:
-----------
[clang][analyzer] Reformat code of BoolAssignmentChecker (NFC). (#81461)
This is only a code reformatting and rename of variables to the newer
format.
Commit: 0fee2115bb78a8168fd752ca01f6646cfbf74d07
https://github.com/llvm/llvm-project/commit/0fee2115bb78a8168fd752ca01f6646cfbf74d07
Author: Luke Lau <luke at igalia.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-abs.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bswap.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-calling-conv-fastcc.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-calling-conv.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extload-truncstore.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-conv.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-splat.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-vrgather.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp2i.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-i2fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-exttrunc.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-splat.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-vrgather.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-buildvec.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-load-store.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-splat.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vreductions-mask.ll
Log Message:
-----------
[RISCV] Remove -riscv-v-fixed-length-vector-lmul-max from tests. NFC (#78299)
Some fixed vector tests in test/CodeGen/RISCV/rvv have multiple run
lines that
check various configurations of -riscv-v-fixed-length-vector-lmul-max.
From
what I understand this flag was introduced in the early days of fixed
length
vector support, but now that fixed vector codegen has matured I'm not
sure if
it's as relevant today.
This patch proposes to remove the various lmul-max run lines from the
tests to
make them more readable, and any changes to fixed vector codegen easier
to
review.
We have removed them before for the same reason, so this would take care
of the
remaining test cases: https://reviews.llvm.org/D157973#4593268
(I don't have any strong motivation to remove the actual flag itself, my
own
personal motivation is just to clean up the tests)
Commit: bd2f7bbdb46df5a0d1bd58c66e3e4cdbf7c96e2e
https://github.com/llvm/llvm-project/commit/bd2f7bbdb46df5a0d1bd58c66e3e4cdbf7c96e2e
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
Log Message:
-----------
[bazel] Port for 09e98950bfcff7ad376922932efb2b56e4db9898
Commit: 5c8985e7703b013c5df0612c3cbc1d333f4c5fa1
https://github.com/llvm/llvm-project/commit/5c8985e7703b013c5df0612c3cbc1d333f4c5fa1
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CodeGenPGO.h
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/CoverageMappingGen.h
A clang/lib/CodeGen/MCDCState.h
Log Message:
-----------
clangCodeGen: Introduce `MCDC::State` with `MCDCState.h` (#81497)
This packs;
* `BitmapBytes`
* `BitmapMap`
* `CondIDMap`
into `MCDC::State`.
Commit: 243f14d23643e28e98d8c8d2993bd17947c101b2
https://github.com/llvm/llvm-project/commit/243f14d23643e28e98d8c8d2993bd17947c101b2
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
Log Message:
-----------
[bazel] Add missing dependencies for the newly-added install_api lib
Commit: 470c5b8011b94ecb0ee8dbdb34ab8d680f652f70
https://github.com/llvm/llvm-project/commit/470c5b8011b94ecb0ee8dbdb34ab8d680f652f70
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Analysis/IVDescriptors.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/IR/IntrinsicInst.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
M llvm/test/Transforms/InstSimplify/compare.ll
Log Message:
-----------
[InstSimplify][InstCombine] Remove unnecessary `m_c_*` matchers. (#81712)
This patch removes unnecessary `m_c_*` matchers since we always
canonicalize `commutive_op Cst, X` into `commutive_op X, Cst`.
Compile-time impact:
https://llvm-compile-time-tracker.com/compare.php?from=bfc0b7c6891896ee8e9818f22800472510093864&to=d27b058bb9acaa43d3cadbf3cd889e8f79e5c634&stat=instructions:u
Commit: 5932f3f861f84305bd01050d0af8e0dcb232a8b3
https://github.com/llvm/llvm-project/commit/5932f3f861f84305bd01050d0af8e0dcb232a8b3
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/CodeGen/MCDCState.h
Log Message:
-----------
[clangCodeGen] Fix the build failure for 5c8985e7703b013c5df0612c3cbc1d333f4c5fa1
Commit: 855bac2f134b268e3749d113d33a95d16ac89398
https://github.com/llvm/llvm-project/commit/855bac2f134b268e3749d113d33a95d16ac89398
Author: Enna1 <xumingjie.enna1 at bytedance.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/test/lit.cfg.py
Log Message:
-----------
[llvm-dwp] Add missing llvm-dwp tool in lit config tool substitution (#81217)
Commit: 8f0435febc256f77d53e7001d81d86bc66ad593b
https://github.com/llvm/llvm-project/commit/8f0435febc256f77d53e7001d81d86bc66ad593b
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel][mlir] Fix deps of //mlir:AMDGPUTransformOps
Commit: 17ac5b15d10d6cf7726e9018f858abf8a0f6bfa2
https://github.com/llvm/llvm-project/commit/17ac5b15d10d6cf7726e9018f858abf8a0f6bfa2
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/DSDIRInstructions.td
Log Message:
-----------
[AMDGPU] Make use of defvar in DSDIR definitions. NFC.
Commit: cb8f910035e45bf6c30a61f74015c0dba5842747
https://github.com/llvm/llvm-project/commit/cb8f910035e45bf6c30a61f74015c0dba5842747
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_ldsdir.txt
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vdsdir.txt
Log Message:
-----------
[AMDGPU] Do not test both wave sizes for DSDIR disassembly (#81719)
There is nothing in these instruction definitions that depends on wave
size so testing both seems like overkill. The corresponding assembler
tests do not do it.
Commit: 65b5647e167f8be8010cbfaefd1591946c533d72
https://github.com/llvm/llvm-project/commit/65b5647e167f8be8010cbfaefd1591946c533d72
Author: Shreyansh Chouhan <chouhan.shreyansh2702 at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/test/Transforms/DeadStoreElimination/noop-stores.ll
Log Message:
-----------
[DeadStoreElimination] Optimize tautological assignments (#75744)
If a store is dominated by a condition that ensures that the value being
stored in a memory location is already present at that memory location,
consider the store a noop.
Fixes #63419
Commit: 55a7ff8c1ac23a78f9701d357d292e6a0bdfdb4f
https://github.com/llvm/llvm-project/commit/55a7ff8c1ac23a78f9701d357d292e6a0bdfdb4f
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/test/Dialect/Linalg/transform-op-mmt4d-to-fma.mlir
Log Message:
-----------
[mlir][nfc] Move Op signature to one line
This was accidentally split with a comment
Commit: 124cd11d7f9d875b7d6dd441dc758ed9341ccec2
https://github.com/llvm/llvm-project/commit/124cd11d7f9d875b7d6dd441dc758ed9341ccec2
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
R .github/workflows/approved-prs.yml
M llvm/utils/git/github-automation.py
Log Message:
-----------
Revert "[GitHub][workflows] Ask reviewers to merge PRs when author cannot (#81142)"
This reverts commit 38c706e30f5f339bfb0bfb26fd7b5c2d5086064a.
This workflow always fails in cases where it needs to create a
comment, due to a permissions issue, see the discussion at:
https://discourse.llvm.org/t/rfc-fyi-pull-request-greetings-for-new-contributors/75458/20
Commit: 786537e66e295002d15a8c3d48b8a463de5adbf4
https://github.com/llvm/llvm-project/commit/786537e66e295002d15a8c3d48b8a463de5adbf4
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] Use explicit const SDValue& to avoid implicit copy in for-range across op_values(). NFC.
Fixes static analysis warning.
Commit: f82e0809ba12170e2f648f8a1ac01e78ef06c958
https://github.com/llvm/llvm-project/commit/f82e0809ba12170e2f648f8a1ac01e78ef06c958
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/test/CodeGen/X86/vector-reduce-ctpop.ll
Log Message:
-----------
[X86] Add v8i64/v16i32/v16i64 ctpop reduction test coverage
Add test coverage for types wider than legal
Commit: ca5696668477750b4ddc31ea4cff25054dc8cf2a
https://github.com/llvm/llvm-project/commit/ca5696668477750b4ddc31ea4cff25054dc8cf2a
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlan.h
Log Message:
-----------
[VPlan] Properly retain flags when cloning VPReplicateRecipe.
This makes sure the correct flags are used for the clone (i.e. the ones
present on the recipe), instead of the ones on the original IR
instruction.
At the moment, this should not change anything, as flags of replicate
recipe should not be dropped before they are cloned at the moment. But
that will change in a follow-up patch.
Commit: f1b2865b6a61e570d3c7d88c5a84bbd1a046a203
https://github.com/llvm/llvm-project/commit/f1b2865b6a61e570d3c7d88c5a84bbd1a046a203
Author: Ronan Keryell <ronan.keryell at amd.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/docs/TargetLLVMIR.md
Log Message:
-----------
[mlir][docs] Fix typos in TargetLLVMIR.md (#81549)
Commit: 0c8b5942c7cfa53d9e2a57fb860a21b7bce3fb26
https://github.com/llvm/llvm-project/commit/0c8b5942c7cfa53d9e2a57fb860a21b7bce3fb26
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
Log Message:
-----------
[llvm-dlltool][NFC] Factor out parseModuleDefinition helper. (#81620)
In preparation for ARM64EC support.
Commit: 82f3cbc860bfd9f1e10e3605ae1b162b1f423cc7
https://github.com/llvm/llvm-project/commit/82f3cbc860bfd9f1e10e3605ae1b162b1f423cc7
Author: Sergei Lebedev <185856+superbobry at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/include/mlir-c/BuiltinTypes.h
M mlir/lib/Bindings/Python/IRTypes.cpp
M mlir/lib/CAPI/IR/BuiltinTypes.cpp
M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
M mlir/test/python/ir/builtin_types.py
Log Message:
-----------
[MLIR][Python] Added a base class to all builtin floating point types (#81720)
This allows to
* check if a given ir.Type is a floating point type via isinstance() or
issubclass()
* get the bitwidth of a floating point type
See motivation and discussion in
https://discourse.llvm.org/t/add-floattype-to-mlir-python-bindings/76959.
Commit: 6cab375b4b3d33c18c5f8686105ea20458451a71
https://github.com/llvm/llvm-project/commit/6cab375b4b3d33c18c5f8686105ea20458451a71
Author: Philipp Tomsich <philipp.tomsich at vrull.eu>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/test/CodeGen/AArch64/misched-fusion-addadrp.ll
M llvm/test/CodeGen/AArch64/misched-fusion-addr.ll
M llvm/test/CodeGen/AArch64/misched-fusion-aes.ll
Log Message:
-----------
[AArch64] Add tests for fusion on Ampere1/1A/1B (#81725)
As commented on the PR #81293, the Ampere1-family does not have test
cases for the common fusion cases it implements. This adds the Ampere1
targets to the relevant misched-fusion testcases:
* addadrp
* addr
* aes
Commit: debca7ee43522e1702ade36f4954517e35f82886
https://github.com/llvm/llvm-project/commit/debca7ee43522e1702ade36f4954517e35f82886
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
Log Message:
-----------
[VPlan] Move dropping of poison flags to VPlanTransforms. (NFC)
Move collectPoisonGeneratingFlags from InnerLoopVectorizer to
VPlanTransforms and also update its name. collectPoisonGeneratingFlags
already directly drops poison-generating flags, not only collecting it.
This means it is more appropriate to integerate it directly into the
VPlan transform pipeline.
The current implementation still calls back to legal to check if a block
needs predication, which should be improved in the future.
Commit: 502756905c7de5f6217a071b73adda72c46ffd1c
https://github.com/llvm/llvm-project/commit/502756905c7de5f6217a071b73adda72c46ffd1c
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/include/clang/Basic/IdentifierTable.h
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Basic/TokenKinds.h
M clang/lib/Basic/IdentifierTable.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTWriter.cpp
Log Message:
-----------
[clang][NFC] Use "notable" for "interesting" identifiers in `IdentifierInfo` (#81542)
This patch expands notion of "interesting" in `IdentifierInto` it to
also cover ObjC keywords and builtins, which matches notion of
"interesting" in serialization layer. What was previously "interesting"
in `IdentifierInto` is now called "notable".
Beyond clearing confusion between serialization and the rest of the
compiler, it also resolved a naming problem: ObjC keywords, notable
identifiers, and builtin IDs are all stored in the same bit-field. Now
we can use "interesting" to name it and its corresponding type, instead
of `ObjCKeywordOrInterestingOrBuiltin` abomination.
Commit: c5e13840fdc20adce51673a63d5703bf1ed02aba
https://github.com/llvm/llvm-project/commit/c5e13840fdc20adce51673a63d5703bf1ed02aba
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
Log Message:
-----------
[clang][docs] Remove trailing whitespace
Which is causing CI checks to fail.
clang/docs/LanguageExtensions.rst:2794:takes no arguments and produces an unsigned long long result. The builtin does
clang/docs/LanguageExtensions.rst:2795:not guarantee any particular frequency, only that it is stable. Knowledge of the
+ echo '*** Trailing whitespace has been found in Clang source files as described above ***'
Commit: 16a0629e7c16cc1ec1a5066c57be3044a1e00395
https://github.com/llvm/llvm-project/commit/16a0629e7c16cc1ec1a5066c57be3044a1e00395
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Analysis/DomConditionCache.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/test/Transforms/InstCombine/fpclass-from-dom-cond.ll
Log Message:
-----------
[ValueTracking] Compute known FPClass from signbit idiom (#80740)
This patch improves `computeKnownFPClass` by using context-sensitive
information from `DomConditionCache`.
The motivation of this patch is to optimize the following case found in
[fmt/format.h](https://github.com/fmtlib/fmt/blob/e17bc67547a66cdd378ca6a90c56b865d30d6168/include/fmt/format.h#L3555-L3566):
```
define float @test(float %x, i1 %cond) {
%i32 = bitcast float %x to i32
%cmp = icmp slt i32 %i32, 0
br i1 %cmp, label %if.then1, label %if.else
if.then1:
%fneg = fneg float %x
br label %if.end
if.else:
br i1 %cond, label %if.then2, label %if.end
if.then2:
br label %if.end
if.end:
%value = phi float [ %fneg, %if.then1 ], [ %x, %if.then2 ], [ %x, %if.else ]
%ret = call float @llvm.fabs.f32(float %value)
ret float %ret
}
```
We can prove the sign bit of %value is always zero. Then the fabs can be
eliminated.
This pattern also exists in cpython/duckdb/oiio/openexr.
Compile-time impact:
https://llvm-compile-time-tracker.com/compare.php?from=f82e0809ba12170e2f648f8a1ac01e78ef06c958&to=041218bf5491996edd828cc15b3aec5a59ddc636&stat=instructions:u
|stage1-O3|stage1-ReleaseThinLTO|stage1-ReleaseLTO-g|stage1-O0-g|stage2-O3|stage2-O0-g|stage2-clang|
|--|--|--|--|--|--|--|
|-0.00%|+0.01%|+0.00%|-0.03%|+0.00%|+0.00%|+0.02%|
Commit: 03232350536655234a30eca17ea56c8cb636831c
https://github.com/llvm/llvm-project/commit/03232350536655234a30eca17ea56c8cb636831c
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/src/__support/CMakeLists.txt
A libc/src/__support/integer_literals.h
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/FPUtil/CMakeLists.txt
M libc/test/src/__support/FPUtil/fpbits_test.cpp
A libc/test/src/__support/integer_literals_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel
Log Message:
-----------
[libc] Add user defined literals to initialize `BigInt` and `__uint128_t` constants (#81267)
Adds user defined literal to construct unsigned integer constants. This
is useful when constructing constants for non native C++ types like
`__uint128_t` or our custom `BigInt` type.
Commit: f723260a80baee08394093fa06777dcc55b3ee4a
https://github.com/llvm/llvm-project/commit/f723260a80baee08394093fa06777dcc55b3ee4a
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/AsmWriterEmitter.cpp
M llvm/utils/TableGen/CTagsEmitter.cpp
M llvm/utils/TableGen/CodeEmitterGen.cpp
M llvm/utils/TableGen/CodeGenDAGPatterns.cpp
M llvm/utils/TableGen/CodeGenHwModes.cpp
M llvm/utils/TableGen/CodeGenInstAlias.cpp
M llvm/utils/TableGen/CodeGenInstruction.cpp
M llvm/utils/TableGen/CodeGenInstruction.h
M llvm/utils/TableGen/CodeGenRegisters.cpp
M llvm/utils/TableGen/CodeGenRegisters.h
M llvm/utils/TableGen/CodeGenSchedule.cpp
M llvm/utils/TableGen/CodeGenTarget.cpp
M llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
M llvm/utils/TableGen/DAGISelMatcherGen.cpp
M llvm/utils/TableGen/DAGISelMatcherOpt.cpp
M llvm/utils/TableGen/DFAEmitter.cpp
M llvm/utils/TableGen/DXILEmitter.cpp
M llvm/utils/TableGen/DecoderEmitter.cpp
M llvm/utils/TableGen/FastISelEmitter.cpp
M llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
M llvm/utils/TableGen/GlobalISelEmitter.cpp
M llvm/utils/TableGen/GlobalISelMatchTable.cpp
M llvm/utils/TableGen/GlobalISelMatchTable.h
M llvm/utils/TableGen/InfoByHwMode.cpp
M llvm/utils/TableGen/InfoByHwMode.h
M llvm/utils/TableGen/IntrinsicEmitter.cpp
M llvm/utils/TableGen/OptParserEmitter.cpp
M llvm/utils/TableGen/SearchableTableEmitter.cpp
M llvm/utils/TableGen/SequenceToOffsetTable.h
M llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
M llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
M llvm/utils/TableGen/X86DisassemblerTables.cpp
M llvm/utils/TableGen/X86FoldTablesEmitter.cpp
Log Message:
-----------
[TableGen] Stop using make_pair and make_tuple. NFC. (#81730)
These are unnecessary since C++17.
Commit: 6c84709eff20460a75fb58d2face54432c133967
https://github.com/llvm/llvm-project/commit/6c84709eff20460a75fb58d2face54432c133967
Author: David Green <david.green at arm.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/test/CodeGen/AArch64/arm64-build-vector.ll
M llvm/test/CodeGen/AArch64/fabs-combine.ll
M llvm/test/CodeGen/AArch64/fcvt_combine.ll
M llvm/test/CodeGen/AArch64/neon-mov.ll
M llvm/test/CodeGen/AArch64/srem-seteq-vec-nonsplat.ll
M llvm/test/CodeGen/AArch64/urem-seteq-vec-nonzero.ll
M llvm/test/CodeGen/AArch64/urem-vector-lkk.ll
Log Message:
-----------
[AArch64] Materialize constants via fneg. (#80641)
This is something that is already done as a special case for copysign,
this patch extends it to be more generally applied. If we are trying to
matrialize a negative constant (notably -0.0, 0x80000000), then there
may be no movi encoding that creates the immediate, but a fneg(movi)
might.
Some of the existing patterns for RADDHN needed to be adjusted to keep
them in line with the new immediates.
Commit: bd8fcf75df11406527de423daa63e21c3ec8609b
https://github.com/llvm/llvm-project/commit/bd8fcf75df11406527de423daa63e21c3ec8609b
Author: Oleksandr "Alex" Zinenko <zinenko at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/include/mlir-c/Dialect/LLVM.h
A mlir/lib/Bindings/Python/DialectLLVM.cpp
M mlir/lib/CAPI/Dialect/LLVM.cpp
M mlir/python/CMakeLists.txt
M mlir/python/mlir/dialects/llvm.py
M mlir/test/CAPI/llvm.c
M mlir/test/python/dialects/llvm.py
Log Message:
-----------
[mlir][python] expose LLVMStructType API (#81672)
Expose the API for constructing and inspecting StructTypes from the LLVM
dialect. Separate constructor methods are used instead of overloads for
better readability, similarly to IntegerType.
Commit: 8e24bc096dcd0013d802e59a45803c51796dec0a
https://github.com/llvm/llvm-project/commit/8e24bc096dcd0013d802e59a45803c51796dec0a
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/lib/Lex/LiteralSupport.cpp
A clang/test/C/C2x/n2549.c
M clang/test/Lexer/gnu-flags.c
Log Message:
-----------
[C23] Do not diagnose binary literals as an extension (#81658)
We previously would diagnose them as a GNU extension in C mode, but they
are now a feature of C23. The -Wgnu-binary-literal warning group no
longer controls any diagnostics as this is no longer a GNU extension.
The warning group is retained as a noop to help avoid "unknown warning"
diagnostics.
This also adds the companion compatibility warning which existed for C++
but not for C.
Fixes https://github.com/llvm/llvm-project/issues/72017
Commit: 1a1fcacbce805e3c409d9d41de61413e3fd8aa36
https://github.com/llvm/llvm-project/commit/1a1fcacbce805e3c409d9d41de61413e3fd8aa36
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CoverageMappingGen.cpp
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
M llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
Log Message:
-----------
[MC/DC] Refactor: Introduce `ConditionIDs` as `std::array<2>` (#81221)
Its 0th element corresponds to `FalseID` and 1st to `TrueID`.
CoverageMappingGen.cpp: `DecisionIDPair` is replaced with `ConditionIDs`
Commit: 43c7eb5d7b237bc18385f0a5529f1e4b8bf4d6a3
https://github.com/llvm/llvm-project/commit/43c7eb5d7b237bc18385f0a5529f1e4b8bf4d6a3
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/Basic/Targets/AMDGPU.cpp
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-mcpu.cl
M clang/test/Misc/target-invalid-cpu-note.c
M llvm/docs/AMDGPUUsage.rst
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/Target/AMDGPU/GCNProcessors.td
M llvm/lib/TargetParser/TargetParser.cpp
M llvm/test/CodeGen/AMDGPU/directive-amdgcn-target.ll
M llvm/test/CodeGen/AMDGPU/elf-header-flags-mach.ll
M llvm/test/CodeGen/AMDGPU/generic-targets-require-v6.ll
M llvm/test/CodeGen/AMDGPU/hsa-generic-target-features.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.d16.dim.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.dim.ll
M llvm/test/tools/llvm-objdump/ELF/AMDGPU/subtarget.ll
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[AMDGPU] Replace '.' with '-' in generic target names (#81718)
The dot is too confusing for tools. Output temporaries would have
'10.3-generic' so tools could parse it as an extension, device libs &
the associated clang driver logic are also confused by the dot.
After discussions, we decided it's better to just remove the '.' from
the target name than fix each issue one by one.
Commit: dd1897c6cb028bda7d4d541d1bb33965eccf0a68
https://github.com/llvm/llvm-project/commit/dd1897c6cb028bda7d4d541d1bb33965eccf0a68
Author: Philipp Tomsich <philipp.tomsich at vrull.eu>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64.td
M llvm/lib/Target/AArch64/AArch64SchedA53.td
M llvm/lib/Target/AArch64/AArch64SchedA57.td
M llvm/lib/Target/AArch64/AArch64SchedA64FX.td
A llvm/lib/Target/AArch64/AArch64SchedAmpere1B.td
M llvm/lib/Target/AArch64/AArch64SchedCyclone.td
M llvm/lib/Target/AArch64/AArch64SchedExynosM3.td
M llvm/lib/Target/AArch64/AArch64SchedExynosM4.td
M llvm/lib/Target/AArch64/AArch64SchedExynosM5.td
M llvm/lib/Target/AArch64/AArch64SchedFalkor.td
M llvm/lib/Target/AArch64/AArch64SchedKryo.td
M llvm/lib/Target/AArch64/AArch64SchedNeoverseN1.td
M llvm/lib/Target/AArch64/AArch64SchedNeoverseN2.td
M llvm/lib/Target/AArch64/AArch64SchedNeoverseV1.td
M llvm/lib/Target/AArch64/AArch64SchedNeoverseV2.td
M llvm/lib/Target/AArch64/AArch64SchedTSV110.td
M llvm/lib/Target/AArch64/AArch64SchedThunderX.td
M llvm/lib/Target/AArch64/AArch64SchedThunderX2T99.td
M llvm/lib/Target/AArch64/AArch64SchedThunderX3T110.td
A llvm/test/tools/llvm-mca/AArch64/Ampere/Ampere1B/basic-instructions.s
A llvm/test/tools/llvm-mca/AArch64/Ampere/Ampere1B/cssc-instructions.s
A llvm/test/tools/llvm-mca/AArch64/Ampere/Ampere1B/mte-instructions.s
A llvm/test/tools/llvm-mca/AArch64/Ampere/Ampere1B/neon-instructions.s
A llvm/test/tools/llvm-mca/AArch64/Ampere/Ampere1B/shifted-register.s
Log Message:
-----------
[AArch64] Initial Ampere1B scheduling model (#81341)
The Ampere1B core is enabled with a new scheduling/pipeline model, as it
provides significant updates over the Ampere1 core; it reduces latencies
on many instructions, has some micro-ops reassigned between the XY and X
units, and provides modelling for the instructions added since Ampere1
and Ampere1A.
As this is the first model implementing the CSSC instructions, we update
the UnsupportedFeatures on all other models (that have CompleteModel
set).
Testcases are added under llvm-mca: these showed the FullFP16 feature
missing, so we are adding it in as part of this commit.
This *adds tests and additional fixes* compared to the reverted #81338.
Commit: 2d7fdfa61f8b037ce65e9c5482f422b37d6c0b99
https://github.com/llvm/llvm-project/commit/2d7fdfa61f8b037ce65e9c5482f422b37d6c0b99
Author: Nico Weber <thakis at chromium.org>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/utils/gn/secondary/clang/lib/Frontend/BUILD.gn
A llvm/utils/gn/secondary/clang/lib/InstallAPI/BUILD.gn
M llvm/utils/gn/secondary/clang/test/BUILD.gn
Log Message:
-----------
[gn] port 09e98950bfcf (InstallAPI)
Commit: a50bd0d799e3f3fbb759ab842691a0bb570f8614
https://github.com/llvm/llvm-project/commit/a50bd0d799e3f3fbb759ab842691a0bb570f8614
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/SelectOptimize.cpp
A llvm/test/DebugInfo/AArch64/select-optimize-trailing-dbg-records.ll
Log Message:
-----------
[RemoveDIs] Replicate dbg intrinsic movement pattern in SelectOptimize (#81737)
Fix crash mentioned in comments on
d759618df76361a8e490eeae5c5399e0738cbfd0.
The assertion being hit was complaining that we had dangling DPValues;
the DPValues attached to the terminator of StartBlock become dangling
after the terminator is erased, and they're never "flushed" back onto
the new terminator once it's added. Doing that makes the crash go away,
but doesn't replicate existing dbg.* behaviour. See the comment in the
patch.
This change both fixes the crash (because there are now no DPValues left
on the terminator to dangle) and replicates existing behaviour (moves
those DPValues down to the new block).
Commit: b37bd78e411ce642a4ca9e0c2394cef8c2f389c1
https://github.com/llvm/llvm-project/commit/b37bd78e411ce642a4ca9e0c2394cef8c2f389c1
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/InterpFrame.cpp
Log Message:
-----------
[clang][Interp][NFC] Add missing special cases for implicit functions
We have this special case in getSource() and getRange(), but we
were missing it in getExpr() and getLocation().
Commit: 232cf9498f15626029bad1c2a7cdaebc4bb11d95
https://github.com/llvm/llvm-project/commit/232cf9498f15626029bad1c2a7cdaebc4bb11d95
Author: Alex Zinenko <zinenko at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir] update bazel for bd8fcf75df11406527de423daa63e21c3ec8609b
Commit: 9c06b079cb09639f1dc5ecd1a7a193c4267b0b63
https://github.com/llvm/llvm-project/commit/9c06b079cb09639f1dc5ecd1a7a193c4267b0b63
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/EXPInstructions.td
Log Message:
-----------
[AMDGPU] Refactor export instruction definitions. NFC. (#81738)
Using multiclasses for the Real instruction definitions has a couple of
benefits:
- It avoids repeating information that was already specified when
defining the corresponding pseudo, like the row and done bits.
- It allows commoning up the Real definitions for architectures which
are mostly the same, like GFX11 and GFX12.
Commit: 457c17944c6eb3d89ae6a765e4795c1cc3148506
https://github.com/llvm/llvm-project/commit/457c17944c6eb3d89ae6a765e4795c1cc3148506
Author: Chris B <chris.bieneman at me.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/Headers/hlsl/hlsl_basic_types.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
Log Message:
-----------
[NFC] Add API documentation and annotations (#78635)
This change adds SM 6.2 availability annotation to 16-bit APIs (16-bit
types require SM 6.2), and adds Doxygen API documentation.
Commit: 995c9061ed13c5e494ef5883cfd8c813eb5c32c3
https://github.com/llvm/llvm-project/commit/995c9061ed13c5e494ef5883cfd8c813eb5c32c3
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel][mlir] Fix after 232cf9498f15626029bad1c2a7cdaebc4bb11d95
Commit: ea2d9383a23ca17b9240ad64c2adc5f2b5a73dc0
https://github.com/llvm/llvm-project/commit/ea2d9383a23ca17b9240ad64c2adc5f2b5a73dc0
Author: Matthias Springer <me at m-sp.org>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms][NFC] Improve listener layering in dialect conversion (#81236)
Context: Conversion patterns provide a `ConversionPatternRewriter` to
modify the IR. `ConversionPatternRewriter` provides the public API. Most
function calls are forwarded/handled by `ConversionPatternRewriterImpl`.
The dialect conversion uses the listener infrastructure to get notified
about op/block insertions.
In the current design, `ConversionPatternRewriter` inherits from both
`PatternRewriter` and `Listener`. The conversion rewriter registers
itself as a listener. This is problematic because listener functions
such as `notifyOperationInserted` are now part of the public API and can
be called from conversion patterns; that would bring the dialect
conversion into an inconsistent state.
With this commit, `ConversionPatternRewriter` no longer inherits from
`Listener`. Instead `ConversionPatternRewriterImpl` inherits from
`Listener`. This removes the problematic public API and also simplifies
the code a bit: block/op insertion notifications were previously
forwarded to the `ConversionPatternRewriterImpl`. This is no longer
needed.
Commit: 1c10821022f1799452065fb57474e894e2562b7f
https://github.com/llvm/llvm-project/commit/1c10821022f1799452065fb57474e894e2562b7f
Author: David Sherwood <57997763+david-arm at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/low_trip_memcheck_cost.ll
Log Message:
-----------
[LoopVectorize] Fix divide-by-zero bug (#80836) (#81721)
When attempting to use the estimated trip count to refine the costs of
the runtime memory checks we should also check for sane trip counts to
prevent divide-by-zero faults on some platforms.
Fixes #80836
Commit: 8faefe36ed57c2dab2b50e76fd27045b908f8c1d
https://github.com/llvm/llvm-project/commit/8faefe36ed57c2dab2b50e76fd27045b908f8c1d
Author: Matthias Springer <me at m-sp.org>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/lib/Transforms/Utils/DialectConversion.cpp
Log Message:
-----------
[mlir][Transforms][NFC] Modularize block actions (#81237)
Throughout the rewrite process, the dialect conversion maintains a list
of "block actions" that can be rolled back upon failure. This commit
encapsulates the existing block actions into separate classes, making it
easier to add additional actions in the future.
This commit also renames "block actions" to "IR rewrites". In a
subsequent commit, an "operation rewrite" class that allows rolling back
movements of single operations is added. This is to support
`moveOpBefore` in the dialect conversion.
Rewrites have two methods: `commit()` commits an action. It can no
longer be rolled back afterwards. `rollback()` undoes a rewrite. It can
no longer be committed afterwards.
Commit: a93a4ec7dd205b965ee5597314bb376520cd736c
https://github.com/llvm/llvm-project/commit/a93a4ec7dd205b965ee5597314bb376520cd736c
Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/IR/BasicBlock.cpp
Log Message:
-----------
Reapply "[DebugInfo][RemoveDIs] Turn on non-instrinsic debug-info by default"
This reapplies commit bdde5f9 by undoing the revert fd3a0c185f17.
The previous reapplication d759618df763 was reverted due to a crash
(reproducer in comments for d759618df763) which was fixed in #81737.
As noted in the original commit, this commit may break downstream tests.
If this commit is breaking your downstream tests, please see comment 12 in
[0], which documents the kind of variation in tests we'd expect to see from
this change and what to do about it.
[0] https://discourse.llvm.org/t/rfc-instruction-api-changes-needed-to-eliminate-debug-intrinsics-from-ir/68939
Commit: 2347a47622718259c95993c1cab604ad82854b6c
https://github.com/llvm/llvm-project/commit/2347a47622718259c95993c1cab604ad82854b6c
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Source.cpp
Log Message:
-----------
[clang][Interp][NFC] Make a local variable const
Commit: 8f4cd2c7e3c35f23004c1448705be8f673c2d271
https://github.com/llvm/llvm-project/commit/8f4cd2c7e3c35f23004c1448705be8f673c2d271
Author: Matthias Springer <me at m-sp.org>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/include/mlir/IR/PatternMatch.h
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/test/Transforms/test-legalizer.mlir
M mlir/test/lib/Dialect/Test/TestPatterns.cpp
Log Message:
-----------
[mlir][Transforms] Support `moveOpBefore`/`After` in dialect conversion (#81240)
Add a new rewrite class for "operation movements". This rewrite class
can roll back `moveOpBefore` and `moveOpAfter`.
`RewriterBase::moveOpBefore` and `RewriterBase::moveOpAfter` is no
longer virtual. (The dialect conversion can gather all required
information for rollbacks from listener notifications.)
Commit: 4efbf524ad2726f6ff4cb095bebef3e871d4984e
https://github.com/llvm/llvm-project/commit/4efbf524ad2726f6ff4cb095bebef3e871d4984e
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/src/__support/CPP/bit.h
Log Message:
-----------
[libc][__support][bit] remove compiler has builtin checks (#81679)
We only support building llvmlibc with modern compilers.
https://libc.llvm.org/compiler_support.html#minimum-supported-versions
All versions of the these compilers support these builtins; GCC does not
support the short variants.
Commit: 0f6f5bfe5322f08a96fda149ff70888dc45a2e35
https://github.com/llvm/llvm-project/commit/0f6f5bfe5322f08a96fda149ff70888dc45a2e35
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/src/__support/CPP/bit.h
Log Message:
-----------
[libc][__support][bit] simplify FLZ (#81678)
`countl_zero(~x)` *is* `countl_one(x)`
Commit: 7c4c274643cedcf9671e1db65361231a7d9bee70
https://github.com/llvm/llvm-project/commit/7c4c274643cedcf9671e1db65361231a7d9bee70
Author: Javed Absar <106147771+javedabsar1 at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/Padding.cpp
Log Message:
-----------
[MLIR][NFC] Fix some comments in padding transform. (#81741)
Commit: 60596716c2327575fc8ea16eab3321dabc4a706f
https://github.com/llvm/llvm-project/commit/60596716c2327575fc8ea16eab3321dabc4a706f
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/stdbit.rst
M libc/include/llvm-libc-macros/stdbit-macros.h
M libc/spec/stdc.td
M libc/src/__support/CPP/bit.h
M libc/src/stdbit/CMakeLists.txt
A libc/src/stdbit/stdc_first_leading_one_uc.cpp
A libc/src/stdbit/stdc_first_leading_one_uc.h
A libc/src/stdbit/stdc_first_leading_one_ui.cpp
A libc/src/stdbit/stdc_first_leading_one_ui.h
A libc/src/stdbit/stdc_first_leading_one_ul.cpp
A libc/src/stdbit/stdc_first_leading_one_ul.h
A libc/src/stdbit/stdc_first_leading_one_ull.cpp
A libc/src/stdbit/stdc_first_leading_one_ull.h
A libc/src/stdbit/stdc_first_leading_one_us.cpp
A libc/src/stdbit/stdc_first_leading_one_us.h
M libc/test/include/stdbit_test.cpp
M libc/test/src/__support/CPP/bit_test.cpp
M libc/test/src/stdbit/CMakeLists.txt
A libc/test/src/stdbit/stdc_first_leading_one_uc_test.cpp
A libc/test/src/stdbit/stdc_first_leading_one_ui_test.cpp
A libc/test/src/stdbit/stdc_first_leading_one_ul_test.cpp
A libc/test/src/stdbit/stdc_first_leading_one_ull_test.cpp
A libc/test/src/stdbit/stdc_first_leading_one_us_test.cpp
Log Message:
-----------
[libc][stdbit] implement stdc_first_leading_one (C23) (#81502)
Commit: 6f907733e65d24edad65f763fb14402464bd578b
https://github.com/llvm/llvm-project/commit/6f907733e65d24edad65f763fb14402464bd578b
Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M lld/ELF/Relocations.cpp
M lld/test/ELF/systemz-tls-ie.s
Log Message:
-----------
[lld/ELF] Avoid unnecessary TPOFF relocations in GOT for -pie (#81739)
With the new SystemZ port we noticed that -pie executables generated
from files containing R_390_TLS_IEENT relocations will have unnecessary
relocations in their GOT:
9e8d8: R_390_TLS_TPOFF *ABS*+0x18
This is caused by the config->isPic conditon in addTpOffsetGotEntry:
static void addTpOffsetGotEntry(Symbol &sym) {
in.got->addEntry(sym);
uint64_t off = sym.getGotOffset();
if (!sym.isPreemptible && !config->isPic) {
in.got->addConstant({R_TPREL, target->symbolicRel, off, 0, &sym});
return;
}
It is correct that we need to retain a TPOFF relocation if the target
symbol is preemptible or if we're building a shared library. But when
building a -pie executable, those values are fixed at link time and
there's no need for any remaining dynamic relocation.
Note that the equivalent MIPS-specific code in MipsGotSection::build
checks for config->shared instead of config->isPic; we should use the
same check here. (Note also that on many other platforms we're not even
using addTpOffsetGotEntry in this case as an IE->LE relaxation is
applied before; we don't have this type of relaxation on SystemZ.)
Commit: 411554a3535e55a1436ccda80064d7a91814dc27
https://github.com/llvm/llvm-project/commit/411554a3535e55a1436ccda80064d7a91814dc27
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/src/__support/integer_literals.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/exp.cpp
M libc/src/math/generic/exp10.cpp
M libc/src/math/generic/exp2.cpp
M libc/src/math/generic/expm1.cpp
M libc/src/math/generic/log.cpp
M libc/src/math/generic/log10.cpp
M libc/src/math/generic/log1p.cpp
M libc/src/math/generic/log2.cpp
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/FPUtil/fpbits_test.cpp
M libc/test/src/__support/integer_to_string_test.cpp
M libc/test/src/__support/str_to_long_double_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
Log Message:
-----------
[libc][NFC] Use user defined literals to build 128 and 256 bit constants. (#81746)
Commit: 0f33c54854c4c7ef73ec56a881f63089c504a7bf
https://github.com/llvm/llvm-project/commit/0f33c54854c4c7ef73ec56a881f63089c504a7bf
Author: Karthika Devi C <quic_kartc at quicinc.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M polly/lib/Transform/ScheduleOptimizer.cpp
M polly/test/ScheduleOptimizer/schedule_computeout.ll
Log Message:
-----------
[polly][ScheduleOptimizer] Use IslMaxOperationsGuard helper instead of explicit restoration (#79303)
To fix long compile time issue of Schedule optimizer, patch #77280 sets
the upper cap on max ISL operations. In case of bailing out when ISL
quota is hit, error handling behavior was restored manually. This commit
replaces the restoration code with IslMaxOperationsGuard helper and also
removes redundant early return.
Commit: 78d401b02a2dc1ed5446546a149030184f24bee0
https://github.com/llvm/llvm-project/commit/78d401b02a2dc1ed5446546a149030184f24bee0
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/src/__support/integer_literals.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/exp.cpp
M libc/src/math/generic/exp10.cpp
M libc/src/math/generic/exp2.cpp
M libc/src/math/generic/expm1.cpp
M libc/src/math/generic/log.cpp
M libc/src/math/generic/log10.cpp
M libc/src/math/generic/log1p.cpp
M libc/src/math/generic/log2.cpp
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/FPUtil/fpbits_test.cpp
M libc/test/src/__support/integer_to_string_test.cpp
M libc/test/src/__support/str_to_long_double_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
Log Message:
-----------
Revert "[libc][NFC] Use user defined literals to build 128 and 256 bit constants." (#81771)
Reverts llvm/llvm-project#81746
Commit: 630f82ec0c61b772711355fad08ed0d0adce922d
https://github.com/llvm/llvm-project/commit/630f82ec0c61b772711355fad08ed0d0adce922d
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
Log Message:
-----------
[Clang][CodeGen] Loose the cast check when emitting builtins (#81669)
This patch looses the cast check (`canLosslesslyBitCastTo`) and leaves
it to the
one inside `CreateBitCast`. It seems too conservative for the use case
here.
Commit: dbc40b34617b5ee5d2f82272c8863c602265063c
https://github.com/llvm/llvm-project/commit/dbc40b34617b5ee5d2f82272c8863c602265063c
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/concurrent_base.py
Log Message:
-----------
[lldb] Fix the flakey Concurrent tests on macOS (#81710)
The concurrent tests all do a pthread_join at the end, and
concurrent_base.py stops after that pthread_join and sanity checks that
only 1 thread is running. On macOS, after pthread_join() has completed,
there can be an extra thread still running which is completing the
details of that task asynchronously; this causes testsuite failures.
When this happens, we see the second thread is in
```
frame #0: 0x0000000180ce7700 libsystem_kernel.dylib`__ulock_wake + 8
frame #1: 0x0000000180d25ad4 libsystem_pthread.dylib`_pthread_joiner_wake + 52
frame #2: 0x0000000180d23c18 libsystem_pthread.dylib`_pthread_terminate + 384
frame #3: 0x0000000180d23a98 libsystem_pthread.dylib`_pthread_terminate_invoke + 92
frame #4: 0x0000000180d26740 libsystem_pthread.dylib`_pthread_exit + 112
frame #5: 0x0000000180d26040 libsystem_pthread.dylib`_pthread_start + 148
```
there are none of the functions from the test file present on this
thread.
In this patch, instead of counting the number of threads, I iterate over
the threads looking for functions from our test file (by name) and only
count threads that have at least one of them.
It's a lower frequency failure than the darwin kernel bug causing an
extra step instruction mach exception when hardware
breakpoint/watchpoints are used, but once I fixed that, this came up as
the next most common failure for these tests.
rdar://110555062
Commit: 1ddc5413b12c80170477240cd54513358e6f8fe4
https://github.com/llvm/llvm-project/commit/1ddc5413b12c80170477240cd54513358e6f8fe4
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
Log Message:
-----------
Apply clang-tidy fixes for readability-simplify-boolean-expr in TransformOps.cpp (NFC)
Commit: 8383bf23074e4a7910441aa7ab54707242eac405
https://github.com/llvm/llvm-project/commit/8383bf23074e4a7910441aa7ab54707242eac405
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Utils/IndexingUtils.cpp
Log Message:
-----------
Apply clang-tidy fixes for llvm-else-after-return in IndexingUtils.cpp (NFC)
Commit: 89dc313af9fbabbf7b064df8ab09d4e49f36c0cd
https://github.com/llvm/llvm-project/commit/89dc313af9fbabbf7b064df8ab09d4e49f36c0cd
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp
Log Message:
-----------
Apply clang-tidy fixes for llvm-qualified-auto in VectorUnroll.cpp (NFC)
Commit: bf4480d923c7ead1193006d20caffdbf8468aac0
https://github.com/llvm/llvm-project/commit/bf4480d923c7ead1193006d20caffdbf8468aac0
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp
Log Message:
-----------
Apply clang-tidy fixes for readability-identifier-naming in SparseTensorRuntime.cpp (NFC)
Commit: d99d258e3e41b8afd1d33676bb3d2e7d83ce8ffc
https://github.com/llvm/llvm-project/commit/d99d258e3e41b8afd1d33676bb3d2e7d83ce8ffc
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/lib/Interfaces/InferIntRangeInterface.cpp
Log Message:
-----------
Apply clang-tidy fixes for llvm-include-order in InferIntRangeInterface.cpp (NFC)
Commit: 275eeda32f4f32d2385043f8d1d8af3d4f65bb2c
https://github.com/llvm/llvm-project/commit/275eeda32f4f32d2385043f8d1d8af3d4f65bb2c
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp2i-sat.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-buildvec.ll
Log Message:
-----------
[RISCV] Split long build_vector sequences to reduce critical path (#81312)
If we have a long chain of vslide1down instructions to build e.g. a <16
x i8> from scalar, we end up with a critical path going through the
entire chain. We can instead build two halves, and then combine them
with a vselect. This costs one additional temporary register, but
reduces the critical path by roughly half.
To avoid needing to change VL, we fill each half with undefs for the
elements which will come from the other half. The vselect will at worst
become a vmerge, but is often folded back into the final instruction of
the sequence building the lower half.
A couple notes on the heuristic here:
* This is restricted to LMUL1 to avoid quadratic costing reasoning.
* This only splits once. In future work, we can explore recursive
splitting here, but I'm a bit worried about register pressure and thus
decided to be conservative. It also happens to be "enough" at the
default zvl of 128.
* "8" is picked somewhat arbitrarily as being "long". In practice, our
build_vector codegen for 2 defined elements in a VL=4 vector appears to
need some work. 4 defined elements in a VL=8 vector seems to generally
produce reasonable results.
* Halves may not be an optimal split point. I went down the rabit hole
of trying to find the optimal one, and decided it wasn't worth the
effort to start with.
---------
Co-authored-by: Luke Lau <luke_lau at icloud.com>
Commit: 307cd883546348cd658d74699915fd48ae01e9a0
https://github.com/llvm/llvm-project/commit/307cd883546348cd658d74699915fd48ae01e9a0
Author: Alex Langford <alangford at apple.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M lldb/source/Commands/CommandObjectProcess.cpp
Log Message:
-----------
[lldb][NFCI] Remove CommandObjectProcessHandle::VerifyCommandOptionValue (#79901)
I was refactoring something else but ran into this function. It was
somewhat confusing to read through and understand, but it boils down to
two steps:
- First we try `OptionArgParser::ToBoolean`. If that works, then we're
good to go.
- Second, we try `llvm::to_integer` to see if it's an integer. If it
parses to 0 or 1, we're good.
- Failing either of the steps above means we cannot parse it into a
bool.
Instead of having an integer out param and a bool return value, the
interface is better served with an optional<bool> -- Either it parses
into true or false, or you get back nothing (nullopt).
Commit: 16e7d6842ef6a5c904422c6dba034e0888ea8b7b
https://github.com/llvm/llvm-project/commit/16e7d6842ef6a5c904422c6dba034e0888ea8b7b
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/stdbit.rst
M libc/include/llvm-libc-macros/stdbit-macros.h
M libc/spec/stdc.td
M libc/src/__support/CPP/bit.h
M libc/src/stdbit/CMakeLists.txt
A libc/src/stdbit/stdc_first_trailing_zero_uc.cpp
A libc/src/stdbit/stdc_first_trailing_zero_uc.h
A libc/src/stdbit/stdc_first_trailing_zero_ui.cpp
A libc/src/stdbit/stdc_first_trailing_zero_ui.h
A libc/src/stdbit/stdc_first_trailing_zero_ul.cpp
A libc/src/stdbit/stdc_first_trailing_zero_ul.h
A libc/src/stdbit/stdc_first_trailing_zero_ull.cpp
A libc/src/stdbit/stdc_first_trailing_zero_ull.h
A libc/src/stdbit/stdc_first_trailing_zero_us.cpp
A libc/src/stdbit/stdc_first_trailing_zero_us.h
M libc/test/include/stdbit_test.cpp
M libc/test/src/__support/CPP/bit_test.cpp
M libc/test/src/stdbit/CMakeLists.txt
A libc/test/src/stdbit/stdc_first_trailing_zero_uc_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_zero_ui_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_zero_ul_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_zero_ull_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_zero_us_test.cpp
Log Message:
-----------
[libc][stdbit] implement stdc_first_trailing_zero (C23) (#81526)
Commit: 6d4ffbdfa8ff90e4ee6081ad8dbb8ec24e982a02
https://github.com/llvm/llvm-project/commit/6d4ffbdfa8ff90e4ee6081ad8dbb8ec24e982a02
Author: Jacob Lambert <jacob.lambert at amd.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/include/clang/Basic/FileManager.h
M clang/lib/Basic/FileManager.cpp
M clang/lib/CodeGen/BackendConsumer.h
M clang/lib/CodeGen/CodeGenAction.cpp
M clang/lib/CodeGen/LinkInModulesPass.cpp
Log Message:
-----------
[clang][CodeGen] Shift relink option implementation away from module cloning (#81693)
We recently implemented a new option allowing relinking of bitcode
modules via the "-mllvm -relink-builtin-bitcode-postop"
option.
This implementation relied on llvm::CloneModule() in order to pass
copies to modules and preserve the original modules for later relinking.
However, cloning modules has been found to be prohibitively expensive,
significantly increasing compilation time for large bitcode libraries.
In this patch, we shift the relink option implementation to instead link
the original modules initially, and reload modules from the file system
if relinking is requested. This approach results in significantly
reduced overhead.
We accomplish this by creating a new ReloadModules() routine that can be
called from a BackendConsumer class, to mimic the behavior of
ASTConsumer's loadLinkModules(), but without access to the
CompilerInstance.
Because loading the bitcodes from the filesystem requires access to the
FileManager class, we also forward a reference to the CompilerInstance
class to the BackendConsumer. This mirrors what is already done for
several CompilerInstance members, such as TargetOptions and
CodeGenOptions.
Finally, we needed to add a const specifier to the
FileManager::getBufferForFile() routine to allow it to be called using
the const reference returned from CompilerInstance::getFileManager()
Commit: 2d5fb27db71b57f299793160181ef28fea5573e7
https://github.com/llvm/llvm-project/commit/2d5fb27db71b57f299793160181ef28fea5573e7
Author: Fangrui Song <i at maskray.me>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M compiler-rt/lib/ubsan/ubsan_signals_standalone.cpp
M compiler-rt/test/ubsan/TestCases/Misc/Linux/static-link.cpp
Log Message:
-----------
[ubsan] Support static linking with standalone runtime (#80943)
The standalone runtime (not
-fsanitize-minimal-runtime/-fsanitize-trap=undefined) installs some
signal handlers using `real_sigaction`. With static linking
(-static/-static-pie), the called `REAL(sigaction)` is null, leading to
an immediate segfault, which is confusing (#51538).
Fix #51538 by bailing out.
`// REQUIRES: librt_has_multf3` from https://reviews.llvm.org/D109709
actually disabled the test because `librt_has_*` features are only for
`compiler-rt/test/builtins`. The test does not reproduce for me:
libclang_rt.builtins.a or libgcc. Revert the REQUIRES.
Commit: ea06384bf667c635f78660f0bcfaa01372735b99
https://github.com/llvm/llvm-project/commit/ea06384bf667c635f78660f0bcfaa01372735b99
Author: Daniel Hoekwater <hoekwater at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/BasicBlockSections.cpp
A llvm/test/CodeGen/AArch64/basic-block-sections-cold.ll
A llvm/test/CodeGen/AArch64/basic-block-sections-unsafe.ll
Log Message:
-----------
[CodeGen][AArch64] Only split safe blocks in BBSections (#81553)
Some types of machine function and machine basic block are unsafe to
split on AArch64: basic blocks that contain jump table dispatch or
targets (D157124), and blocks that contain inline ASM GOTO blocks
or their targets (D158647) all cause issues and have been excluded
from Machine Function Splitting on AArch64.
These issues are caused by any transformation pass that places
same-function basic blocks in different text sections
(MachineFunctionSplitter and BasicBlockSections) and must be
special-cased in both passes.
Commit: de16a05af025da99009f314018ac4f361ac6faa4
https://github.com/llvm/llvm-project/commit/de16a05af025da99009f314018ac4f361ac6faa4
Author: sgundapa <sgundapa at quicinc.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Target/Hexagon/HexagonPatterns.td
A llvm/test/CodeGen/Hexagon/vector-zext-v4i8.ll
Log Message:
-----------
[Hexagon] Fix zero extension of bit predicates with vtrunehb (#81772)
vector extension from v4i1 to v4i8 generates an incorrect word. This
patch uses a vtrunehb for truncation to fix the bug.
Commit: 6297479ff0808e7c5335ec9ec837513e1cff610f
https://github.com/llvm/llvm-project/commit/6297479ff0808e7c5335ec9ec837513e1cff610f
Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/stdbit.rst
M libc/include/llvm-libc-macros/stdbit-macros.h
M libc/spec/stdc.td
M libc/src/__support/CPP/bit.h
M libc/src/stdbit/CMakeLists.txt
A libc/src/stdbit/stdc_first_trailing_one_uc.cpp
A libc/src/stdbit/stdc_first_trailing_one_uc.h
A libc/src/stdbit/stdc_first_trailing_one_ui.cpp
A libc/src/stdbit/stdc_first_trailing_one_ui.h
A libc/src/stdbit/stdc_first_trailing_one_ul.cpp
A libc/src/stdbit/stdc_first_trailing_one_ul.h
A libc/src/stdbit/stdc_first_trailing_one_ull.cpp
A libc/src/stdbit/stdc_first_trailing_one_ull.h
A libc/src/stdbit/stdc_first_trailing_one_us.cpp
A libc/src/stdbit/stdc_first_trailing_one_us.h
M libc/test/include/stdbit_test.cpp
M libc/test/src/__support/CPP/bit_test.cpp
M libc/test/src/stdbit/CMakeLists.txt
A libc/test/src/stdbit/stdc_first_trailing_one_uc_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_one_ui_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_one_ul_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_one_ull_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_one_us_test.cpp
Log Message:
-----------
[libc][stdbit] implement stdc_first_trailing_one (C23) (#81768)
Commit: c9e8e91acae73c84a30311c6c745361251cf5146
https://github.com/llvm/llvm-project/commit/c9e8e91acae73c84a30311c6c745361251cf5146
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M bolt/lib/Core/DebugData.cpp
A bolt/test/X86/dwarf5-loclist-out-of-order.s
Log Message:
-----------
[BOLT][DWARF] Fix out of order rangelists/loclists (#81645)
GCC can generate rangelists/loclists that are out of order. Fixed so
that we don't assert, and instead generate partially optimized list.
Through most code paths we do sort rnglists/loclists, but not for
loclist for a path where BOLT does not modify a function. Although it's
nice to have lists sorted, this implementation shouldn't rely on it.
This also fixes an issue if we partially capture a list we would write
out *end_of_list in helper function. So tools won't see the rest of the
addresses being written out.
Commit: 7d28f19f68c82b65cf1180b170f33d6f82422d64
https://github.com/llvm/llvm-project/commit/7d28f19f68c82b65cf1180b170f33d6f82422d64
Author: Jacob Lambert <jacob.lambert at amd.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenAction.cpp
Log Message:
-----------
[clang][CodeGen] Add missing error check (#81777)
Add missing error check. This resolves "error: variable 'Err' set but
not used" warnings
Commit: 0eedc85baad495fa916d1da7b20db93a29b443e1
https://github.com/llvm/llvm-project/commit/0eedc85baad495fa916d1da7b20db93a29b443e1
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/src/__support/CMakeLists.txt
A libc/src/__support/fixed_point/CMakeLists.txt
A libc/src/__support/fixed_point/fx_rep.h
Log Message:
-----------
[libc][stdfix] Add FXRep helper class for fixed point types. (#81272)
Commit: 9b80ab4332bbe336ab8b9f2082eadf6b8d223150
https://github.com/llvm/llvm-project/commit/9b80ab4332bbe336ab8b9f2082eadf6b8d223150
Author: Félix-Antoine Constantin <60141446+felix642 at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang-tools-extra/clang-tidy/readability/RedundantInlineSpecifierCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/redundant-inline-specifier.cpp
Log Message:
-----------
[clang-tidy] Removed redundant-inline-specifier warning on static data members (#81423)
Updated the check to ignore point static data members with in class
initializer since removing the inline specifier would generate a
compilation error
Fixes #80684
Commit: d592c8ec8f7138dcbde6f0890d048e59cba95041
https://github.com/llvm/llvm-project/commit/d592c8ec8f7138dcbde6f0890d048e59cba95041
Author: Diego Caballero <diegocaballero at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
Log Message:
-----------
Reapply "[mlir][vector] Drop inner unit dims for transfer ops on dynamic shapes." (#80712) (#81778)
This reverts commit b4c7152eb4f7971c111e3e2f60b55892def58d5d.
Downstream regression due to another issue that this PR exposes. We have identified the work-items to fix the new issue here: https://github.com/openxla/iree/issues/16406
Co-authored-by: Han-Chung Wang <hanchung at google.com>
Commit: 1301bc46aea14297478bd13bcacff429e2a18c04
https://github.com/llvm/llvm-project/commit/1301bc46aea14297478bd13bcacff429e2a18c04
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/include/llvm-libc-macros/stdfix-macros.h
M libc/src/__support/CPP/CMakeLists.txt
M libc/src/__support/CPP/type_traits.h
A libc/src/__support/CPP/type_traits/is_fixed_point.h
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[libc] Add is_fixed_point type trait. (#81263)
Commit: 5992b3272b29e071f6f5a4807a4e0c23e88c310d
https://github.com/llvm/llvm-project/commit/5992b3272b29e071f6f5a4807a4e0c23e88c310d
Author: Kevin Joseph <kevinjoseph1995 at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-override.cpp
Log Message:
-----------
[clangd] Clean formatting modernize-use-override (#81435)
When applying the recommended fix for the
"modernize-use-override" clang-tidy diagnostic
there was a stray whitespace. This PR fixes that.
Resolves https://github.com/clangd/clangd/issues/1704
Commit: a78d13d0786bc81058ee9aaa7d1c854ee19cee48
https://github.com/llvm/llvm-project/commit/a78d13d0786bc81058ee9aaa7d1c854ee19cee48
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
M llvm/test/DebugInfo/X86/debug-names-dwarf64.ll
M llvm/test/DebugInfo/X86/debug-names-types.ll
M llvm/test/tools/dsymutil/ARM/dwarf5-dwarf4-combination-macho.test
Log Message:
-----------
[LLVM][DWARF] Change .debug_names abbrev to be an index (#81200)
Based on the discussion in
https://github.com/llvm/llvm-project/pull/80229
changed implementation to align with how .debug_abbrev is handled. So
that
.debug_names abbrev tag is a monotonically increasing index. This allows
for
tools like LLDB to access it in constant time using array like data
structure.
clang-19 debug build
before change
[41] .debug_names PROGBITS 0000000000000000 8f9e0350 137fdbe0 00 0 0 4
after change
[41] .debug_names PROGBITS 0000000000000000 8f9e0350 125bfdec 00 0 0 4
Reduction ~19.1MB
Commit: c007fbb19879f9b597b47ae772c53e53cdc65f29
https://github.com/llvm/llvm-project/commit/c007fbb19879f9b597b47ae772c53e53cdc65f29
Author: YunQiang Su <syq at debian.org>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
M llvm/test/CodeGen/Mips/hf1_body.ll
M llvm/test/MC/Mips/macro-la-pic.s
Log Message:
-----------
MipsAsmParser/O32: Don't add redundant $ to $-prefixed symbol in the la macro (#80644)
When parsing the `la` macro, we add a duplicate `$` prefix in
`getOrCreateSymbol`,
leading to `error: Undefined temporary symbol $$yy` for code like:
```
xx:
la $2,$yy
$yy:
nop
```
Remove the duplicate prefix.
In addition, recognize `.L`-prefixed symbols as local for O32.
See: #65020.
---------
Co-authored-by: Fangrui Song <i at maskray.me>
Commit: f3b92fae138f47fb78a55254d73913f1e7935852
https://github.com/llvm/llvm-project/commit/f3b92fae138f47fb78a55254d73913f1e7935852
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel] Port for 1301bc46aea14297478bd13bcacff429e2a18c04
Commit: aab48c99c2234e348aa37657accfb6110c84c9b7
https://github.com/llvm/llvm-project/commit/aab48c99c2234e348aa37657accfb6110c84c9b7
Author: Jason Molenda <jmolenda at apple.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M lldb/include/lldb/Target/StopInfo.h
M lldb/include/lldb/Target/Thread.h
M lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
M lldb/source/Plugins/Process/Utility/StopInfoMachException.h
M lldb/source/Target/Thread.cpp
Log Message:
-----------
[lldb] Detect a Darwin kernel issue and work around it (#81573)
On arm64 machines, when there is a hardware breakpoint or watchpoint
set, and lldb has instruction-stepped a thread, and then done a
Process::Resume, we will sometimes receive an extra "instruction step
completed" mach exception and the pc has not advanced. From a user's
perspective, they hit Continue and lldb stops again at the same spot.
>From the testsuite's perspective, this has been a constant source of
testsuite failures for any test using hardware watchpoints and
breakpoints, the arm64 CI bots seem especially good at hitting this
issue.
Jim and I have been slowly looking at this for a few months now, and
finally I decided to try to detect this situation in lldb and silently
resume the process again when it happens.
We were already detecting this "got an insn-step finished mach exception
but this thread was not instruction stepping" combination in
StopInfoMachException where we take the mach exception and create a
StopInfo object for it. We had a lot of logging we used to understand
the failure as it was hit on the bots in assert builds.
This patch adds a new case to `Thread::GetPrivateStopInfo()` to call the
StopInfo's (new) `IsContinueInterrupted()` method. In
StopInfoMachException, where we previously had logging for assert
builds, I now note it in an ivar, and when
`Thread::GetPrivateStopInfo()` asks if this has happened, we check all
of the combination of events that this comes up: We have a hardware
breakpoint or watchpoint, we were not instruction stepping this thread
but got an insn-step mach exception, the pc is the same as the previous
stop's pc. And in that case, `Thread::GetPrivateStopInfo()` returns no
StopInfo -- indicating that this thread would like to resume execution.
The `Thread` object has two StackFrameLists, `m_curr_frames_sp` and
`m_prev_frames_sp`. When a thread resumes execution, we move
`m_curr_frames_sp` in to `m_prev_frames_sp` and when it stops executing,
w euse `m_prev_frames_sp` to seed the new `m_curr_frames_sp` if most of
the stack is the same as before.
In this same location, I now save the Thread's RegisterContext::GetPC
into an ivar, `m_prev_framezero_pc`. StopInfoMachException needs this
information to check all of the conditions I outlined above for
`IsContinueInterrupted`.
This has passed exhaustive testing and we do not have any testsuite
failures for hardware watchpoints and breakpoints due to this kernel bug
with the patch in place. In focusing on these tests for thousands of
runs, I have found two other uncommon race conditions for the
TestConcurrent* tests on arm64. TestConcurrentManyBreakpoints.py (which
uses no hardware watchpoint/breakpoints) will sometimes only have 99
breakpoints when it expects 100, and any of the concurrent tests using
the shared harness (I've seen it in
TestConcurrentWatchBreakDelay.py,
TestConcurrentTwoBreakpointsOneSignal.py,
TestConcurrentSignalDelayWatch.py) can fail when the test harness checks
that there is only one thread still running at the end, and it finds two
-- one of them under pthread_exit / pthread_terminate. Both of these
failures happen on github main without my changes, and with my changes -
they are unrelated race conditions in these tests, and I'm sure I'll be
looking into them at some point if they hit the CI bots with frequency.
On my computer, these are in the 0.3-0.5% of the time class. But the CI
bots do have different timing.
Commit: 1da4494184566d68f32206e3ac5a8b90bc05889d
https://github.com/llvm/llvm-project/commit/1da4494184566d68f32206e3ac5a8b90bc05889d
Author: Dave Lee <davelee.com at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M lldb/source/Core/ValueObject.cpp
Log Message:
-----------
[lldb] Add comment on cross printing of summary/value (#81681)
Adds a comment to indicate intention of a piece of value printing code.
I was initially surprised to see this code (distilled for emphasis):
```cpp
if (str.empty()) {
if (style == eValueObjectRepresentationStyleValue)
str = GetSummaryAsCString();
else if (style == eValueObjectRepresentationStyleSummary)
str = GetValueAsCString();
}
```
My first thought was "is this a bug?", but I realized it was likely intentional. This
change adds a comment to indicate yes, this is intentional.
Commit: 8d326542926d4fba89cfb0ec01a0c1a1bd0789d6
https://github.com/llvm/llvm-project/commit/8d326542926d4fba89cfb0ec01a0c1a1bd0789d6
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-abs.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwadd.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwaddu.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwsubu.ll
Log Message:
-----------
[RISCV] Add coverage for an upcoming set of vector narrowing changes
Commit: 0fc578664809d9f808d24a91e50a68d6bfa22118
https://github.com/llvm/llvm-project/commit/0fc578664809d9f808d24a91e50a68d6bfa22118
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/test/API/commands/platform/sdk/TestPlatformSDK.py
M lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py
M lldb/test/API/functionalities/launch_stop_at_entry/TestStopAtEntry.py
Log Message:
-----------
[lldb][test] Remove expectedFailureIfFn (#81703)
Switching to modern `unittest` in
5b386158aacac4b41126983a5379d36ed413d0ea needs xfail annotations to be
known prior to test running. In contrast, skipping can happen at any
time, even during test execution.
Thus, `expectedFailureIfFn` inherently doesn't work. Either we eagerly
evaluate the function and use `expectedFailureIf` instead, or we use a
skip annotation to lazily evaluate the function and potentially skip the
test right before it starts.
- For `expectedFailureAndroid`, the intent seems to be that certain
tests _should_ work on android, but don't. Thus, xfail is appropriate,
to ensure the test is re-enabled once those bugs are ever fixed.
- For the other uses in individual tests, those generally seem to be
cases where the test environment doesn't support the setup required by
the test, and so it isn't meaningful to run the test at all. For those,
a drop-in replacement to `skipTestIfFn` works.
Commit: ad49657a424db5e5979236ef5a474e93d827ab2c
https://github.com/llvm/llvm-project/commit/ad49657a424db5e5979236ef5a474e93d827ab2c
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Frontend/InitPreprocessor.cpp
A clang/test/Preprocessor/fixed-point.c
A clang/test/Preprocessor/no-fixed-point.c
M llvm/include/llvm/ADT/APFixedPoint.h
M llvm/lib/Support/APFixedPoint.cpp
Log Message:
-----------
[clang] Add fixed point precision macros (#81207)
This defines the builtin macros specified in `7.18a.3 Precision macros`
of ISO/IEC TR 18037:2008. These are the `__*__` versions of them and the
formal definitions in stdfix.h can use them.
Commit: 271e07321bd0673f5472055012b4cfd1671be9ec
https://github.com/llvm/llvm-project/commit/271e07321bd0673f5472055012b4cfd1671be9ec
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/cmake/modules/LLVMLibCObjectRules.cmake
M libc/cmake/modules/compiler_features/check_fixed_point.cpp
M libc/test/UnitTest/CMakeLists.txt
Log Message:
-----------
[libc] Fix fixed point detection and add compile option. (#81788)
Commit: 3a49dfb28fed8f784484ce2ce6d687550f27ad59
https://github.com/llvm/llvm-project/commit/3a49dfb28fed8f784484ce2ce6d687550f27ad59
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
A clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
Log Message:
-----------
[analyzer] Check the safety of the object argument in a member function call. (#81400)
This PR makes alpha.webkit.UncountedCallArgsChecker eplicitly check the
safety of the object argument in a member function call. It also removes
the exemption of local variables from this checker so that each local
variable's safety is checked if it's used in a function call instead of
relying on the local variable checker to find those since local variable
checker currently has exemption for "for" and "if" statements.
Commit: cbdc7605edca26ff75a28f080089a835ed9dba92
https://github.com/llvm/llvm-project/commit/cbdc7605edca26ff75a28f080089a835ed9dba92
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
R clang/test/Analysis/Checkers/WebKit/call-args-dynamic-downcast.cpp
A clang/test/Analysis/Checkers/WebKit/call-args-safe-functions.cpp
Log Message:
-----------
[analyzer] Add a few more safe functions to call. (#81532)
Added checkedDowncast, uncheckedDowncast, & toString as safe functions
to call in alpha.webkit.UncountedCallArgsChecker.
Commit: 7249692bd24afc81fbbaa24240e3c9bba046f854
https://github.com/llvm/llvm-project/commit/7249692bd24afc81fbbaa24240e3c9bba046f854
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
A clang/test/Analysis/Checkers/WebKit/call-args-protected-return-value.cpp
Log Message:
-----------
[analyzer] Detect a return value of Ref<T> & RefPtr<T> (#81580)
This PR makes the checker not emit warning when a function is called
with a return value of another function when the return value is of type
Ref<T> or RefPtr<T>.
Commit: 82ca75239340c6e2b92125fe39bf872faa044f11
https://github.com/llvm/llvm-project/commit/82ca75239340c6e2b92125fe39bf872faa044f11
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/test/X86/dwarf4-subprogram-single-gc-ranges.test
A bolt/test/X86/dwarf5-empty-function-ranges.s
M bolt/test/X86/dwarf5-subprogram-single-gc-ranges.test
Log Message:
-----------
[BOLT][DWARF] Add test for DW_AT_ranges input without function output (#81794)
Added a test that relies on -fbasic-block-sections=all and --gc-sections
that exercises a code path that previously printed a warning.
Commit: 4eb092d9f8999338fd4c7ef65268649636b7f86a
https://github.com/llvm/llvm-project/commit/4eb092d9f8999338fd4c7ef65268649636b7f86a
Author: Daniel Rodríguez Troitiño <drodriguez at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M compiler-rt/test/CMakeLists.txt
M llvm/CMakeLists.txt
Log Message:
-----------
[llvm][compiler-rt] Connect lit dependencies to test-depends targets. (#81783)
compiler-rt was creating the test-depends targets and trying to fill its
dependencies with a variable, but the variable was empty because it was
supposed to take its value from a property. The changes in this commit
grab the value of the property and add them as dependencies.
The changes in llvm are to remove the usage of `DEPENDS` arguments from
`add_custom_target`, which according to the documentation is reserved
for files/outputs created by `add_custom_command`. Use
`add_dependencies` instead.
This is similar to the changes introduced in
4eb84582344f97167b6a2b4cb1fb1d75ae07897e for runtimes.
Commit: acdb4cdc04ed4d9a130f0fa706ed1b0f42cc1aa0
https://github.com/llvm/llvm-project/commit/acdb4cdc04ed4d9a130f0fa706ed1b0f42cc1aa0
Author: Fangrui Song <i at maskray.me>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M compiler-rt/test/ubsan/TestCases/Misc/Linux/static-link.cpp
Log Message:
-----------
[ubsan,test] Disable static-link.cpp for i386 and internal_symbolizer
i386 has a `__tls_get_addr` link error.
For internal_symbolizer, the x86_64 test would fail as well.
Commit: fe20a759fcd20e1755ea1b34c5e6447a787925dc
https://github.com/llvm/llvm-project/commit/fe20a759fcd20e1755ea1b34c5e6447a787925dc
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M .github/workflows/llvm-project-tests.yml
Log Message:
-----------
Use container on Linux to run llvm-project-tests workflow (#81349)
Commit: 3369e341288b3d9bb59827f9a2911ebf3d36408d
https://github.com/llvm/llvm-project/commit/3369e341288b3d9bb59827f9a2911ebf3d36408d
Author: Philipp Tomsich <philipp.tomsich at vrull.eu>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64SchedNeoverseV1.td
Log Message:
-----------
[NFC][AArch64] fix whitespace in AArch64SchedNeoverseV1 (#81744)
One of the whitespace fixes didn't get added to the commit introducing
the Ampere1B model.
Clean it up.
Commit: 4cd7616f6b13513bb13f2b6dd14d140a4c62c937
https://github.com/llvm/llvm-project/commit/4cd7616f6b13513bb13f2b6dd14d140a4c62c937
Author: jkorous-apple <32549412+jkorous-apple at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/Analysis/UnsafeBufferUsage.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-pointer-arg-to-func-ptr-call.cpp
Log Message:
-----------
[-Wunsafe-buffer-usage] Fixits for array args of func-ptr calls (#80358)
Currently we ignore calls on function pointers (unlike direct calls of
functions and class methods). This patch adds support for function pointers as
well.
The change is to simply replace use of forEachArgumentWithParam matcher in UPC
gadget with forEachArgumentWithParamType.
from the documentation of forEachArgumentWithParamType:
/// Matches all arguments and their respective types for a \c CallExpr or
/// \c CXXConstructExpr. It is very similar to \c forEachArgumentWithParam but
/// it works on calls through function pointers as well.
Currently the matcher also uses hasPointerType() which checks that the
canonical type of an argument is pointer and won't match on arrays decayed to
pointer. Replacing hasPointerType() with isAnyPointerType() which allows
implicit casts allows for the arrays to be matched as well and this way we get
fixits for array arguments to function pointer calls too.
Commit: 9a1e6373ab3edc38486af504154db2d804e72d3d
https://github.com/llvm/llvm-project/commit/9a1e6373ab3edc38486af504154db2d804e72d3d
Author: jkorous-apple <32549412+jkorous-apple at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/Analysis/UnsafeBufferUsage.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-array.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-pointer-access.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-pointer-arg-to-func-ptr-call.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage.cpp
Log Message:
-----------
[-Wunsafe-buffer-usage] Ignore constant safe indices in array subscripts (#80504)
[-Wunsafe-buffer-usage] Ignore safe array subscripts
Don't emit warnings for array subscripts on constant size arrays where the index is constant and within bounds.
Example:
int arr[10];
arr[5] = 0; //safe, no warning
This patch recognizes only array indices that are integer literals - it doesn't understand more complex expressions (arithmetic on constants, etc.).
-Warray-bounds implemented in Sema::CheckArrayAccess() already solves a similar
(opposite) problem, handles complex expressions and is battle-tested.
Adding -Wunsafe-buffer-usage diagnostics to Sema is a non-starter as we need to emit
both the warnings and fixits and the performance impact of the fixit machine is
unacceptable for Sema.
CheckArrayAccess() as is doesn't distinguish between "safe" and "unknown" array
accesses. It also mixes the analysis that decides if an index is out of bounds
with crafting the diagnostics.
A refactor of CheckArrayAccess() might serve both the original purpose
and help us avoid false-positive with -Wunsafe-buffer-usage on constant
size arrrays.
Commit: 8ce144800a7ed7c1e42343b3a9ac5e0ffdbfddbf
https://github.com/llvm/llvm-project/commit/8ce144800a7ed7c1e42343b3a9ac5e0ffdbfddbf
Author: Jie Fu <jiefu at tencent.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
Log Message:
-----------
[clangd][test] Fix -Wmissing-field-initializers in DiagnosticsTests.cpp (NFC)
llvm-project/clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp:921:45:
error: missing field 'Annotations' initializer [-Werror,-Wmissing-field-initializers]
TextEdit{Main.range("virtual1"), ""}}};
^
llvm-project/clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp:926:45:
error: missing field 'Annotations' initializer [-Werror,-Wmissing-field-initializers]
TextEdit{Main.range("virtual2"), ""}}};
^
2 errors generated.
Commit: ff409d39ce4673c70f474c3fdb7120bab8f94eef
https://github.com/llvm/llvm-project/commit/ff409d39ce4673c70f474c3fdb7120bab8f94eef
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/docs/math/index.rst
M libc/spec/stdc.td
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
A libc/src/math/generic/ldexpf128.cpp
A libc/src/math/ldexpf128.h
M libc/test/src/__support/FPUtil/dyadic_float_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/LdExpTest.h
M libc/test/src/math/smoke/ldexp_test.cpp
A libc/test/src/math/smoke/ldexpf128_test.cpp
M libc/test/src/math/smoke/ldexpf_test.cpp
M libc/test/src/math/smoke/ldexpl_test.cpp
Log Message:
-----------
[libc][math] Add C23 ldexpf128 math function and fix DyadicFloat conversions for subnormal ranges and 80-bit floating points. (#81780)
Commit: a7982d5e7a16f681e80891a819bdf14dde928755
https://github.com/llvm/llvm-project/commit/a7982d5e7a16f681e80891a819bdf14dde928755
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
M clang/test/Analysis/Checkers/WebKit/call-args.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
Log Message:
-----------
[analyzer] UncountedCallArgsChecker: Detect & ignore trivial function calls. (#81808)
This PR introduces the concept of a "trivial function" which applies to
a function that only calls other trivial functions and contain literals
and expressions that don't result in heap mutations (specifically it
does not call deref). This is implemented using ConstStmtVisitor and
checking each statement and expression's trivialness.
This PR also introduces the concept of a "ingleton function", which is a
static member function or a free standing function which ends with the
suffix "singleton". Such a function's return value is understood to be
safe to call any function with.
Commit: 6fce42f89a2c3f12b019bd3d7fef3e8db2d4671f
https://github.com/llvm/llvm-project/commit/6fce42f89a2c3f12b019bd3d7fef3e8db2d4671f
Author: jkorous-apple <32549412+jkorous-apple at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
M clang/lib/Analysis/UnsafeBufferUsage.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-debug.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-array-assign-to-ptr.cpp
Log Message:
-----------
[-Wunsafe-buffer-usage] Add fixits for array to pointer assignment (#81343)
Introducing CArrayToPtrAssignment gadget and implementing fixits for some cases
of array being assigned to pointer.
Key observations:
- const size array can be assigned to std::span and bounds are propagated
- const size array can't be on LHS of assignment
This means array to pointer assignment has no strategy implications.
Fixits are implemented for cases where one of the variables in the assignment is
safe. For assignment of a safe array to unsafe pointer we know that the RHS will
never be transformed since it's safe and can immediately emit the optimal fixit.
Similarly for assignment of unsafe array to safe pointer.
(Obviously this is not and can't be future-proof in regards to what
variables we consider unsafe and that is fine.)
Fixits for assignment from unsafe array to unsafe pointer (from Array to Span
strategy) are not implemented in this patch as that needs to be properly designed
first - we might possibly implement optimal fixits for partially transformed
cases, put both variables in a single fixit group or do something else.
Commit: dcbb574cfc3445251ff1c751f27b52ed6503bead
https://github.com/llvm/llvm-project/commit/dcbb574cfc3445251ff1c751f27b52ed6503bead
Author: Brianna Fan <bfan2 at apple.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/test/Analysis/scan-build/html_output.test
M clang/tools/scan-build/bin/scan-build
M clang/tools/scan-build/share/scan-build/sorttable.js
Log Message:
-----------
[analyzer] Teach scan-build to filter reports by file.
That's a new GUI bell-and-whistle in the index.html page.
Commit: de6fad51462bd0784beafef6fd171ad7725205b5
https://github.com/llvm/llvm-project/commit/de6fad51462bd0784beafef6fd171ad7725205b5
Author: Jessica Clarke <jrtc27 at jrtc27.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/utils/TableGen/CodeGenDAGPatterns.cpp
Log Message:
-----------
[TableGen][NFCI] Simplify TypeSetByHwMode::intersect and make extensible (#81688)
The current implementation considers both iPTR+iN and everything else
all in one go, which leads to more special casing when iPTR is present
in only one set than is described in the comment block. Moreover this
makes it very difficult to add any new iPTR-like wildcards due to the
exponential combinatorial explosion that occurs.
Logically, iPTR+iN handling is entirely independent from everything
else, so rewrite the code to do them separately. This removes special
cases, making the core of the implementation more succinct, whilst more
clearly implementing exactly what is described in the comment block, and
allows for any number of (non-overlapping) wildcards to be added to the
list, as needed by CHERI LLVM downstream (due to having a new capability
type which, much like a normal integer pointer in LLVM, varies in size
between targets and modes).
In testing, this change results in identical TableGen output for all
in-tree backends (including those in LLVM_ALL_EXPERIMENTAL_TARGETS), and
it is intended that this implementation is entirely equivalent to the
old one.
Commit: d821650e13145a1acccd337c9853354ad6531507
https://github.com/llvm/llvm-project/commit/d821650e13145a1acccd337c9853354ad6531507
Author: rmarker <37921131+rmarker at users.noreply.github.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
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/ConfigParseTest.cpp
M clang/unittests/Format/DefinitionBlockSeparatorTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestCSharp.cpp
Log Message:
-----------
[clang-format][NFC] Drop "Always" in "AlwaysBreakAfterReturnType". (#81591)
Complete the switch from "AlwaysBreakAfterReturnType" to
"BreakAfterReturnType".
Commit: fa9e297b8b63dacb962d99814e698658ad71f946
https://github.com/llvm/llvm-project/commit/fa9e297b8b63dacb962d99814e698658ad71f946
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/tools/clang-offload-packager/ClangOffloadPackager.cpp
Log Message:
-----------
[ClangPackager] Fix passing in multiple instances of `file`
Summary:
This is necessary because CMake build tools might need to generate
several files but are unable to put them in separate images. This patch
sipmly moves the file handling out into a separate split iterator.
Commit: fc0b67e1d79d1f199687f8f06d619984d9520230
https://github.com/llvm/llvm-project/commit/fc0b67e1d79d1f199687f8f06d619984d9520230
Author: Luke Lau <luke at igalia.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
A llvm/test/Analysis/CostModel/RISCV/rvv-vectorextract.ll
A llvm/test/Analysis/CostModel/RISCV/rvv-vectorinsert.ll
Log Message:
-----------
[RISCV] Add cost model tests for llvm.vector.{insert,extract}. NFC
For llvm.vector.extract, this tests combinations of inserting at a zero and
non-zero index, and extracting from a fixed or scalable vector.
For llvm.vector.insert, this tests the same combinations as extracts but with
an additional configuration for an undef vector. This is because we can use a
subregister insert if the index is 0 and the vector is undef, which should be
free.
Commit: 4b5c21aa07fc6ba477109ec8b83395071ae49e23
https://github.com/llvm/llvm-project/commit/4b5c21aa07fc6ba477109ec8b83395071ae49e23
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M libc/test/src/__support/CMakeLists.txt
Log Message:
-----------
[libc][fix] Fix new test that crashes the NVPTX backend
Commit: bfe302c58321abd79a5db7e805ef4b4db24df820
https://github.com/llvm/llvm-project/commit/bfe302c58321abd79a5db7e805ef4b4db24df820
Author: Qfrost <root at qfrost.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrSystem.td
Log Message:
-----------
[clang][X86] X86::LAR X86::LSL add_implicate eflags (#80993)
[@xia0ji233](https://github.com/xia0ji233) and I found that X86::LAR and
X86::lSR implicit use eflags register. However, it was not been defined
in LLVM, which means we will get wrong alive-result if we use these two
instructions.
![T~
_81W6A}J}{AP{DF%E}KY](https://github.com/llvm/llvm-project/assets/58380176/b84e758b-2978-49e7-a11c-726fd66e1976)
Commit: d53515afef57a3abf84daff169fbc7626a306817
https://github.com/llvm/llvm-project/commit/d53515afef57a3abf84daff169fbc7626a306817
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/Function.h
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpFrame.h
M clang/lib/AST/Interp/Opcodes.td
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp] Fix variadic member functions
For variadic member functions, the way we calculated the instance
pointer and RVO pointer offsts on the stack was incorrect, due
to Func->getArgSize() not returning the full size of all the
passed arguments. When calling variadic functions, we need
to pass the size of the passed (variadic) arguments to the Call*
ops, so they can use that information to properly check the
instance pointer, etc.
This patch adds a bit of code duplication in Interp.h, which I
will get rid of in later cleanup NFC patches.
Commit: 562790f371f230d8f67a1a8fb4b54e02e8d1e31f
https://github.com/llvm/llvm-project/commit/562790f371f230d8f67a1a8fb4b54e02e8d1e31f
Author: Abhinav271828 <71174780+Abhinav271828 at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/include/mlir/Analysis/Presburger/Barvinok.h
M mlir/include/mlir/Analysis/Presburger/GeneratingFunction.h
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/Matrix.h
M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/lib/Analysis/Presburger/Barvinok.cpp
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/Matrix.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/unittests/Analysis/Presburger/BarvinokTest.cpp
Log Message:
-----------
[MLIR][Presburger] Implement vertex enumeration and chamber decomposition for polytope generating function computation. (#78987)
We implement a function to compute the generating function corresponding
to a full-dimensional parametric polytope whose tangent cones are all
unimodular.
We fix a bug in unimodGenFunc to check the absolute value of the index.
We also implement Matrix<T>::negateMatrix() and Matrix<T>::scaleRow for
convenience.
Commit: 6087d7bc0a9d7d4ad2c94a131c2bc427b767c9d7
https://github.com/llvm/llvm-project/commit/6087d7bc0a9d7d4ad2c94a131c2bc427b767c9d7
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/Format/Format.cpp
Log Message:
-----------
[clang-format][NFC] Sort options in Format.cpp
Commit: 94f51649c4a574f88fd9b8a2d0a05b334c0bd490
https://github.com/llvm/llvm-project/commit/94f51649c4a574f88fd9b8a2d0a05b334c0bd490
Author: riChar <wxsychi at 163.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/X86/X86InstrSystem.td
Log Message:
-----------
[LLVM][X86] Add EFLAGS Defs for VERR/VERW instructions (#81824)
VERR/VERW instructions will define ZF flag.
Commit: 6c74a6f6f4f01500f9deabadc7673b4935643928
https://github.com/llvm/llvm-project/commit/6c74a6f6f4f01500f9deabadc7673b4935643928
Author: Prabhuk <prabhukr at google.com>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py
R lldb/test/API/tools/lldb-dap/databreakpoint/Makefile
R lldb/test/API/tools/lldb-dap/databreakpoint/TestDAP_setDataBreakpoints.py
R lldb/test/API/tools/lldb-dap/databreakpoint/main.cpp
M lldb/tools/lldb-dap/CMakeLists.txt
M lldb/tools/lldb-dap/DAPForward.h
R lldb/tools/lldb-dap/Watchpoint.cpp
R lldb/tools/lldb-dap/Watchpoint.h
M lldb/tools/lldb-dap/lldb-dap.cpp
M llvm/utils/gn/secondary/lldb/tools/lldb-dap/BUILD.gn
Log Message:
-----------
Revert "[lldb-dap] Add support for data breakpoint. (#81541)" (#81812)
This reverts commit 8c56e78ec531f0e2460213c20fff869b6b7add99.
Reverting to address the LLDB test failure in ARM64.
Commit: b200dfc15904f0f7f19443fd5a399242c80213dc
https://github.com/llvm/llvm-project/commit/b200dfc15904f0f7f19443fd5a399242c80213dc
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.h
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp] Fix calling invalid function pointers
Checking for isConstexpr() is wrong; we need to (try to) call
the function and let later code diagnose the failure accordingly.
Commit: b93916c9798ea09488e30b9b0aae9e54ef0b1956
https://github.com/llvm/llvm-project/commit/b93916c9798ea09488e30b9b0aae9e54ef0b1956
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp][NFC] Convert test to verify=expected,both style
Commit: 36adfec155de366d722f2bac8ff9162289dcf06c
https://github.com/llvm/llvm-project/commit/36adfec155de366d722f2bac8ff9162289dcf06c
Author: Rohit Aggarwal <44664450+rohitaggarwal007 at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/test/Driver/autocomplete.c
M llvm/include/llvm/Analysis/TargetLibraryInfo.h
M llvm/include/llvm/Analysis/VecFuncs.def
M llvm/include/llvm/Frontend/Driver/CodeGenOptions.h
M llvm/lib/Analysis/TargetLibraryInfo.cpp
M llvm/lib/Frontend/Driver/CodeGenOptions.cpp
M llvm/test/CodeGen/Generic/replace-intrinsics-with-veclib.ll
A llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls-finite.ll
A llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls.ll
M llvm/test/Transforms/SLPVectorizer/X86/sin-sqrt.ll
M llvm/test/Transforms/Util/add-TLI-mappings.ll
Log Message:
-----------
Adding support of AMDLIBM vector library (#78560)
Hi,
AMD has it's own implementation of vector calls. This patch include the
changes to enable the use of AMD's math library using -fveclib=AMDLIBM.
Please refer https://github.com/amd/aocl-libm-ose
---------
Co-authored-by: Rohit Aggarwal <Rohit.Aggarwal at amd.com>
Commit: ab76e48ac2c2dbfc7d6a600b9b0dd0672e6d9439
https://github.com/llvm/llvm-project/commit/ab76e48ac2c2dbfc7d6a600b9b0dd0672e6d9439
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CodeGenPGO.h
M clang/lib/CodeGen/CoverageMappingGen.cpp
M llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
M llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
Log Message:
-----------
[MC/DC] Refactor: Let MCDCConditionID int16_t with zero-origin (#81257)
Also, Let `NumConditions` `uint16_t`.
It is smarter to handle the ID as signed.
Narrowing to `int16_t` will reduce costs of handling byvalue. (See also
#81221 and #81227)
External behavior doesn't change. They below handle values as internal
values plus 1.
* `-dump-coverage-mapping`
* `CoverageMappingReader.cpp`
* `CoverageMappingWriter.cpp`
Commit: 28d4385020920ec5f54ef3de4e69f3649d417d81
https://github.com/llvm/llvm-project/commit/28d4385020920ec5f54ef3de4e69f3649d417d81
Author: Christian Sigg <csigg at google.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Log Message:
-----------
[bazel][libc] Fix BUILD after ff409d39ce4673c70f474c3fdb7120bab8f94eef.
Commit: 5f6e0f35f936495563b5758a7ff9d4417a9f651b
https://github.com/llvm/llvm-project/commit/5f6e0f35f936495563b5758a7ff9d4417a9f651b
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M flang/runtime/assign.cpp
M flang/runtime/derived.cpp
Log Message:
-----------
[flang][runtime] Destroy nested allocatable components (#81117)
The runtime was currently only deallocating the direct allocatable
components, which caused leaks when there are allocatable components
nested in the direct components.
Update Destroy to recursively destroy components.
Also call Destroy from Assign to deallocate nested allocatable
components before doing the assignment as required by F2018 9.7.3.2
point 7.
This lack of deallocation was visible if the nested components had user
defined assignment "observing" the allocation state.
Commit: 0d0bd3ef55a2317c4254e97a3657e702bcf22214
https://github.com/llvm/llvm-project/commit/0d0bd3ef55a2317c4254e97a3657e702bcf22214
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M flang/runtime/copy.cpp
M flang/runtime/derived.cpp
Log Message:
-----------
[flang] Deep copy nested allocatable components in transformational (#81736)
Spread, reshape, pack, and other transformational intrinsic runtimes are
using `CopyElement` utility to copy elements. This utility was dealing
with deep copies, but only when the allocatable components where
"immediate" components of the type being copied. If the allocatable
components were nested inside a nonpointer/nonallocatable component,
they were not deep copied, leading to bugs later when manipulating the
value (or double free when applying #81117).
Visit data components with allocatable components (using the
noDestructionNeeded flag to avoid expensive and useless type visit when
there are no such components).
Commit: e769fb8699e3fa8e40623764f7713bfc783b0330
https://github.com/llvm/llvm-project/commit/e769fb8699e3fa8e40623764f7713bfc783b0330
Author: jeanPerier <jperier at nvidia.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M flang/lib/Lower/Bridge.cpp
A flang/test/Lower/HLFIR/issue80884.f90
Log Message:
-----------
[flang] prevent legacy lowering from being called in pointer assignment (#81750)
When doing a pointer assignment with an RHS that is an array section,
the code fell in the legacy lowering code even with HLFIR enabled.
Escape this old code when HLFIR is on.
Should fix #80884.
Commit: cd55e230e629f57db742e831c79488d04f68f4e7
https://github.com/llvm/llvm-project/commit/cd55e230e629f57db742e831c79488d04f68f4e7
Author: Luke Lau <luke at igalia.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir
Log Message:
-----------
[RISCV] Use $noreg in vsetvli-insert.mir test. NFC
This reflects what actually comes out of SelectionDAG after the noreg passthru
peephole added in a63bd7e99b00c.
Commit: 4a32a414ee07bf15c47ba7fb7286d968e73a04fe
https://github.com/llvm/llvm-project/commit/4a32a414ee07bf15c47ba7fb7286d968e73a04fe
Author: Mikael Holmen <mikael.holmen at ericsson.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/lib/Sema/SemaDecl.cpp
Log Message:
-----------
[clang] Fix two gcc warnings about unused variables [NFC]
Without the fix gcc warns like
../../clang/lib/Sema/SemaDecl.cpp:2963:24: warning: unused variable 'SupA' [-Wunused-variable]
2963 | else if (const auto *SupA = dyn_cast<SuppressAttr>(Attr))
| ^~~~
and
../../clang/lib/Driver/Driver.cpp:4192:17: warning: unused variable 'IAA' [-Wunused-variable]
4192 | if (auto *IAA = dyn_cast<InstallAPIJobAction>(Current)) {
| ^~~
Remove the unused variables and change the "dyn_cast"s into "isa"s.
Commit: ba279934c6ab09d5394a89d8318651aefd8d565b
https://github.com/llvm/llvm-project/commit/ba279934c6ab09d5394a89d8318651aefd8d565b
Author: Paul Semel <semelpaul at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[dataflow] Fix crash when InitListExpr is not a prvalue (#80970)
Commit: c6a7c4d70a7c25f73e46b7d2e7e4867c3b78223e
https://github.com/llvm/llvm-project/commit/c6a7c4d70a7c25f73e46b7d2e7e4867c3b78223e
Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
Log Message:
-----------
[AMDGPU] Add 256-bit vdst and 96-bit src to profile switches. NFC. (#81801)
I need these operands for a future patch. Also simplify conditions
there. If nothing using !cond instead of nesting !if's does not need to
realign code every time a new type is added.
Commit: f6f8e202f59f54429878f41bcc9aea614613a4af
https://github.com/llvm/llvm-project/commit/f6f8e202f59f54429878f41bcc9aea614613a4af
Author: chuongg3 <chuong.goh at arm.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/Target/AArch64/AArch64Combine.td
M llvm/lib/Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
M llvm/test/CodeGen/AArch64/itofp.ll
M llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
M llvm/test/CodeGen/AArch64/vecreduce-add.ll
Log Message:
-----------
[AArch64][GlobalISel] Refactor Combine G_CONCAT_VECTOR (#80866)
The combine now works using tablegen and checks if new instruction is
legal before creating it.
Commit: 09b80e6145a2e619fa8ff486a04cdc7d1534a81a
https://github.com/llvm/llvm-project/commit/09b80e6145a2e619fa8ff486a04cdc7d1534a81a
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/include/clang/Driver/ClangOptionDocs.td
M clang/include/clang/Driver/Options.td
M clang/utils/TableGen/ClangOptionDocEmitter.cpp
M flang/docs/FlangOptionsDocs.td
Log Message:
-----------
[clang][flang][driver] Correct program names in option group descriptions (#81726)
Currently https://flang.llvm.org/docs/FlangCommandLineReference.html
refers to "Clang" in several of the group descriptions for example:
```
Compilation options
Flags controlling the behavior of Clang during compilation...
```
This is pretty confusing. I'm fixing this by making use of `Program`
from the existing GlobalDocumentation object to substitute in the
program name to these descriptions.
This `Program` has been changed to a proper noun given that it's easier
to lower case a string than capitalise one character (syntax wise). The
tablegen backend has been changed to lower it so that links in the
RST/HTML remain the same as they were before.
To make sure the file is valid when not generating docs, I'm checking a
#define and providing a default GlobalDocumentation if it's not defined.
(I looked for a way to check if a def exists, but tablegen doesn't seem
to have one)
This means that if the DocBrief are used outside of documentation,
they'll say "Clang", which is the same as it always was.
This change does not aim fix option descriptions that refer to clang.
Though we can use parts of this for that, there is only one driver
library so it needs a different approach.
This change also fixes the warning:
```
/home/buildbot/as-worker-4/publish-sphinx-docs/build/tools/flang/docs/Source/FlangCommandLineReference.rst:194: WARNING: unknown document: 'DiagnosticsReference'
```
Which is due to flang docs trying to link to clang docs. Now it will
just tell the reader to go to Clang's page, which is not ideal but it is
easy to find with Google at least.
Commit: dfb9bf35c42a04a8f152dabf0a9d1a52e451f942
https://github.com/llvm/llvm-project/commit/dfb9bf35c42a04a8f152dabf0a9d1a52e451f942
Author: Vyacheslav Levytskyy <89994100+VyacheslavLevytskyy at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.h
M llvm/test/CodeGen/SPIRV/transcoding/spec_const.ll
Log Message:
-----------
let a user select preferred/unpreferred capabilities in a list of enabling capabilities (#81476)
By SPIR-V specification: "If an instruction, enumerant, or other feature
specifies multiple enabling capabilities, only one such
capability needs to be declared to use the feature."
However, one capability may be preferred over another. One important
case is Shader capability that may not be supported by a backend, but
always is inserted if "OpDecorate SpecId" is found, because Enabling
Capabilities for the latter is the list of Shader and Kernel, where
Shader is coming first and thus always selected as the first available
option.
In this PR we address the problem by keeping current behaviour of
selecting the first option among enabling capabilities as is, but giving
a user a way to filter capabilities during the selection process via a
newly introduced "--avoid-spirv-capabilities" command line option. This
option is to avoid selection of certain capabilities if there are other
available enabling capabilities.
This PR is changing also existing pruneCapabilities() function. It
doesn't remove capability from module requirement anymore, but only adds
implicitly required capabilities recursively, so its name is changed
accordingly. This change fixes the present bug in collecting required by
a module capabilities. Before the change, introduced by this PR,
pruneCapabilities() function has been removing, for example, Kernel
capability from required by a module, because Kernel is initially
required and the second time it was needed pruneCapabilities() removed
it by mistake.
Commit: 9552a396ed649e499bc4a370ab72ca6972e5b982
https://github.com/llvm/llvm-project/commit/9552a396ed649e499bc4a370ab72ca6972e5b982
Author: Vyacheslav Levytskyy <89994100+VyacheslavLevytskyy at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
M llvm/test/CodeGen/SPIRV/LinkOnceODR.ll
A llvm/test/CodeGen/SPIRV/LinkOnceODRFun.ll
Log Message:
-----------
add support for the SPV_KHR_linkonce_odr extension (#81512)
This PR adds support for the SPV_KHR_linkonce_odr extension and modifies
existing negative test with a positive check for the extension and
proper linkage type in case when the extension is enabled.
SPV_KHR_linkonce_odr adds a "LinkOnceODR" linkage type, allowing proper
translation of, for example, C++ templates classes merging during
linking from different modules and supporting any other cases when a
global variable/function must be merged with equivalent global
variable(s)/function(s) from other modules during the linking process.
Commit: 97c19a46cd177b19667a65db8720e92ff91c7b2e
https://github.com/llvm/llvm-project/commit/97c19a46cd177b19667a65db8720e92ff91c7b2e
Author: Cullen Rhodes <cullen.rhodes at arm.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
A mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/multi-tile-matmul-mixed-types.mlir
Log Message:
-----------
[mlir][ArmSME][nfc] Add integration test for i8 to i32 matmul (#81607)
Currently marked as XFAIL due to bug in QEMU. See test for details.
Commit: 2df652a69159b76c97cfd94e32ad6bb71dde716c
https://github.com/llvm/llvm-project/commit/2df652a69159b76c97cfd94e32ad6bb71dde716c
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/test/CodeGen/AMDGPU/av_spill_cross_bb_usage.mir
M llvm/test/CodeGen/AMDGPU/branch-folding-implicit-def-subreg.ll
M llvm/test/CodeGen/AMDGPU/postra-machine-sink.mir
Log Message:
-----------
[CodeGen] Simplify updateLiveIn in MachineSink (#79831)
When a whole register is added a basic block's liveins, use
LaneBitmask::getAll for the live lanes instead of trying to calculate an
accurate mask of the lanes that comprise the register.
This simplifies the code and matches other places where a whole register
is marked as livein.
This also avoids problems when regunits that are synthesized by TableGen
to represent ad hoc aliasing have a lane mask of 0.
Fixes #78942
Commit: b279ca278370dabd27b8d380d59bdb5018366053
https://github.com/llvm/llvm-project/commit/b279ca278370dabd27b8d380d59bdb5018366053
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/X86/ctpop-mask.ll
Log Message:
-----------
[DAG] visitCTPOP - CTPOP(SHIFT(X)) -> CTPOP(X) iff the shift doesn't affect any non-zero bits
If the source is being (logically) shifted, but doesn't affect any active bits, then we can call CTPOP on the shift source directly.
Commit: 0636309051f3b1a2b87047770bb3f7df1f3e27c3
https://github.com/llvm/llvm-project/commit/0636309051f3b1a2b87047770bb3f7df1f3e27c3
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/Function.h
Log Message:
-----------
Fix MSVC "signed/unsigned mismatch" warning. NFC.
Commit: 7c422dde8de7382e494615aa2553aa4e27e8b204
https://github.com/llvm/llvm-project/commit/7c422dde8de7382e494615aa2553aa4e27e8b204
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
Log Message:
-----------
[X86] shuffle combines - share the same SDLoc argument instead of recreating it over and over again.
Commit: fd191378dce6b20c100da716f94130af2593df37
https://github.com/llvm/llvm-project/commit/fd191378dce6b20c100da716f94130af2593df37
Author: Jacek Caban <jacek at codeweavers.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Object/COFFImportFile.cpp
M llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
M llvm/lib/ToolDrivers/llvm-dlltool/Options.td
A llvm/test/tools/llvm-dlltool/arm64ec.test
Log Message:
-----------
[llvm-dlltool] Add ARM64EC target support. (#81624)
Add new target and a new -n option allowing to specify native module
definition file, similar to how -defArm64Native works in llvm-lib. This
also changes archive format to use K_COFF like non-mingw targets. It's
required on ARM64EC, but it should be fine for other targets too.
Commit: 3fe5a0cfa5391db18fcc226f3f783642d3f44503
https://github.com/llvm/llvm-project/commit/3fe5a0cfa5391db18fcc226f3f783642d3f44503
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CoverageMappingGen.cpp
Log Message:
-----------
MCDCCoverageBuilder: Use `pop_back_val()`
Commit: 75f0d40507ea3f7c99dd3250ff0fbe6dab341910
https://github.com/llvm/llvm-project/commit/75f0d40507ea3f7c99dd3250ff0fbe6dab341910
Author: NAKAMURA Takumi <geek4civic at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CoverageMappingGen.cpp
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
M llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
Log Message:
-----------
CoverageMapping: Move `getParams<InnerParamTy>(MCDCParams)` into `mcdc::`
Fixup for #81227
Commit: e71369fcb039b7a5f555862f49867ee45ec1ccf5
https://github.com/llvm/llvm-project/commit/e71369fcb039b7a5f555862f49867ee45ec1ccf5
Author: Leandro Lupori <leandro.lupori at linaro.org>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M flang/lib/Lower/OpenMP.cpp
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
Log Message:
-----------
[mlir][OpenMP] Add copyprivate support to omp.single (#80477)
This adds a new custom CopyPrivateVarList to the single operation.
Each list item is formed by a reference to the variable to be
updated, its type and the function to be used to perform the copy.
It will be translated to LLVM IR using OpenMP builder, that will
use the information in the copyprivate list to call
__kmpc_copyprivate.
This is patch 2 of 4, to add support for COPYPRIVATE in Flang.
Original PR: https://github.com/llvm/llvm-project/pull/73128
Commit: 594d57e07a92e3a2cefb262114db2608989f874d
https://github.com/llvm/llvm-project/commit/594d57e07a92e3a2cefb262114db2608989f874d
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/utils/TableGen/CodeGenRegisters.cpp
M llvm/utils/TableGen/CodeGenRegisters.h
Log Message:
-----------
[TableGen] New RegUnitSet(Name) constructor. NFC.
Commit: 9f2d8cdf4209638973a0611fa2efd4e2fe38bfa5
https://github.com/llvm/llvm-project/commit/9f2d8cdf4209638973a0611fa2efd4e2fe38bfa5
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
Log Message:
-----------
[flang][clang][docs] Split out Clang specific doc text for -mrvv-vector-bits
Flang does not set the preprocessor define.
Commit: 32fcfcdc4cc1d68116438f761897953894d65fb1
https://github.com/llvm/llvm-project/commit/32fcfcdc4cc1d68116438f761897953894d65fb1
Author: Christian Sigg <chsigg at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[bazel][mlir] Remove unused BUILD dependencies. (#81836)
Commit: 9cc98e336980f00cbafcbed8841344e6ac472bdc
https://github.com/llvm/llvm-project/commit/9cc98e336980f00cbafcbed8841344e6ac472bdc
Author: ostannard <oliver.stannard at arm.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/TargetInfo.h
M clang/lib/Basic/TargetInfo.cpp
M clang/lib/Basic/Targets.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/TargetInfo.h
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/Sema/Sema.cpp
A clang/test/CodeGen/aarch64-soft-float-abi.c
M clang/test/CodeGen/attr-target-clones-aarch64.c
A clang/test/Driver/aarch64-soft-float-abi.c
M clang/test/Preprocessor/aarch64-target-features.c
A clang/test/Sema/aarch64-soft-float-abi.c
A llvm/test/CodeGen/AArch64/soft-float-abi.ll
Log Message:
-----------
[AArch64] Add soft-float ABI (#74460)
This adds support for the AArch64 soft-float ABI. The specification for
this ABI was added by https://github.com/ARM-software/abi-aa/pull/232.
Because all existing AArch64 hardware has floating-point hardware, we
expect this to be a niche option, only used for embedded systems on
R-profile systems. We are going to document that SysV-like systems
should only ever use the base (hard-float) PCS variant:
https://github.com/ARM-software/abi-aa/pull/233. For that reason, I've
not added an option to select the ABI independently of the FPU hardware,
instead the new ABI is enabled iff the target architecture does not have
an FPU.
For testing, I have run this through an ABI fuzzer, but since this is
the first implementation it can only test for internal consistency
(callers and callees agree on the PCS), not for conformance to the ABI
spec.
Commit: 43b291cbecca155a905f52f37b2b1bea7e9aba76
https://github.com/llvm/llvm-project/commit/43b291cbecca155a905f52f37b2b1bea7e9aba76
Author: Christian Sigg <csigg at google.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch2/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch3/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch4/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch5/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch6/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch7/BUILD.bazel
Log Message:
-----------
[bazel][mlir] Add missing dependencies to toy BUILD targets.
Commit: c448bd8b043f57ac51145664d2edde6dae98e5ea
https://github.com/llvm/llvm-project/commit/c448bd8b043f57ac51145664d2edde6dae98e5ea
Author: Christian Sigg <csigg at google.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel
Log Message:
-----------
[bazel][mlir] Add missing dependencies to //mlir/unittests/... targets.
Commit: b9cf7f1066cc7ec11c6074d10b0f2ec9a3ae72d9
https://github.com/llvm/llvm-project/commit/b9cf7f1066cc7ec11c6074d10b0f2ec9a3ae72d9
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseTentative.cpp
M clang/test/C/C2x/n2934.c
M clang/test/Parser/c2x-alignas.c
Log Message:
-----------
[C23] Fix handling of alignas (#81637)
In C++, alignas is an attribute specifier, while in C23, it's an alias
of _Alignas, which is a type specifier/qualifier. This means that they
parse differently in some circumstances.
Fixes https://github.com/llvm/llvm-project/issues/81472
Commit: 5b8e7ed787f6e537876c4fdafd070eba9681f343
https://github.com/llvm/llvm-project/commit/5b8e7ed787f6e537876c4fdafd070eba9681f343
Author: Oliver Stannard <oliver.stannard at arm.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/test/Driver/aarch64-soft-float-abi.c
Log Message:
-----------
[AArch64][Driver] Mark test as requiring AArch64 backend
Commit: fcb5a98eb803f53069554fdc755d648bbdf24dae
https://github.com/llvm/llvm-project/commit/fcb5a98eb803f53069554fdc755d648bbdf24dae
Author: Christian Sigg <csigg at google.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
Revert "[bazel][mlir] Remove unused BUILD dependencies. (#81836)"
This reverts commit 32fcfcdc4cc1d68116438f761897953894d65fb1.
Commit: 95e8a7c863d17b929232d3e57007d342ffb3001d
https://github.com/llvm/llvm-project/commit/95e8a7c863d17b929232d3e57007d342ffb3001d
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libc/include/llvm-libc-macros/stdfix-macros.h
Log Message:
-----------
[libc][stdfix] Use __FRACT_FBIT__ for fixed point support detection instead of compiler version. (#81820)
Now that `__FRACT_FBIT__` and related macros are added in
https://github.com/llvm/llvm-project/pull/81207, it is safer to use them
for fixed point support detection, so that codes that do not use fixed
point types will not fail to build when `-ffixed-point` is missing.
Commit: 513e4dc1af5e0a57dab5cd8df6fb1fc9e82b1e33
https://github.com/llvm/llvm-project/commit/513e4dc1af5e0a57dab5cd8df6fb1fc9e82b1e33
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libc/src/__support/integer_literals.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/exp.cpp
M libc/src/math/generic/exp10.cpp
M libc/src/math/generic/exp2.cpp
M libc/src/math/generic/expm1.cpp
M libc/src/math/generic/log.cpp
M libc/src/math/generic/log10.cpp
M libc/src/math/generic/log1p.cpp
M libc/src/math/generic/log2.cpp
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/FPUtil/fpbits_test.cpp
M libc/test/src/__support/integer_to_string_test.cpp
M libc/test/src/__support/str_to_long_double_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
Log Message:
-----------
[reland][libc][NFC] Use user defined literals to build 128 and 256 bit constants (#81835)
This is a reland of #81746
Commit: c609211d912dfa9849c5ca873d40d10e32e0a975
https://github.com/llvm/llvm-project/commit/c609211d912dfa9849c5ca873d40d10e32e0a975
Author: Fred Tingaud <95592999+frederic-tingaud-sonarsource at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/DeclBase.cpp
M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
Log Message:
-----------
[clang] Fix isInStdNamespace for Decl flagged extern c++ (#81776)
The MSVC STL implementation declares multiple classes using:
```cpp
namespace std {
extern "C++" class locale {
...
};
}
```
`isInStdNamespace` uses the first DeclContext to check whether a Decl is
inside the `std` namespace. Here, the first DeclContext of the `locale`
Decl is a LinkageSpecDecl so the method will return false.
We need to skip this LinkageSpecDecl to find the first DeclContext of
type Namespace and actually check whether we're in the `std` namespace.
Commit: d68aa303fe779a29a981d1d4166c45a128aa65d6
https://github.com/llvm/llvm-project/commit/d68aa303fe779a29a981d1d4166c45a128aa65d6
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/EvaluationResult.h
M clang/test/AST/Interp/c.c
M clang/test/Sema/warn-char-subscripts.c
Log Message:
-----------
[clang][Interp] Do r-to-l conversion immediately when returning (#80662)
First, we need to register local constant variables in C, so we get the
same diagnostic behavior as the current interpeter.
Second, when returning an LValue (as a Pointer), which we eventually
convert to an RValue, we need to do the conversion immediately when
saving the Pointer in the EvaluationResult. Otherwise, we will possibly
deallocate the data before doing the conversion (which will look at the
Block*).
Commit: 97ab3c345d5c7de80dde3f8bd350841050244db9
https://github.com/llvm/llvm-project/commit/97ab3c345d5c7de80dde3f8bd350841050244db9
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libc/src/__support/CPP/array.h
Log Message:
-----------
[libc][NFC] Fix missing `constexpr` qualifier in `cpp::array` (#81862)
Commit: 84165864d458edce750f3a10d5dbd348970893b6
https://github.com/llvm/llvm-project/commit/84165864d458edce750f3a10d5dbd348970893b6
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libc/src/__support/UInt.h
Log Message:
-----------
[libc][NFC] Fix missing replacement in BigInt (#81864)
Commit: 7677453886a665b37f22c77434b36a680aba6ebb
https://github.com/llvm/llvm-project/commit/7677453886a665b37f22c77434b36a680aba6ebb
Author: Björn Pettersson <bjorn.a.pettersson at ericsson.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/include/llvm/Analysis/ConstantFolding.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/lib/Transforms/IPO/GlobalOpt.cpp
M llvm/test/Transforms/InstSimplify/ConstProp/loads.ll
Log Message:
-----------
[ConstantFolding] Do not consider padded-in-memory types as uniform (#81854)
Teaching ConstantFoldLoadFromUniformValue that types that are padded in
memory can't be considered as uniform.
Using the big hammer to prevent optimizations when loading from a
constant for which DataLayout::typeSizeEqualsStoreSize would return
false.
Main problem solved would be something like this:
store i17 -1, ptr %p, align 4
%v = load i8, ptr %p, align 1
If for example the i17 occupies 32 bits in memory, then LLVM IR doesn't
really tell where the padding goes. And even if we assume that the 15
most significant bits are padding, then they should be considered as
undefined (even if LLVM backend typically would pad with zeroes).
Anyway, for a big-endian target the load would read those most
significant bits, which aren't guaranteed to be one's. So it would be
wrong to constant fold the load as returning -1.
If LLVM IR had been more explicit about the placement of padding, then
we could allow the constant fold of the load in the example, but only
for little-endian.
Fixes: https://github.com/llvm/llvm-project/issues/81793
Commit: d3b825f80a979faf780605c8168c32bcbab756e1
https://github.com/llvm/llvm-project/commit/d3b825f80a979faf780605c8168c32bcbab756e1
Author: Jay Foad <jay.foad at amd.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
Log Message:
-----------
[AMDGPU] Use consistent DecoderNamespace for wave64 instructions. NFC. (#81863)
For wave64 WMMA instructions, putting W64 in the DecoderNamespace is
more descriptive than WMMA, and matches other uses for GFX12
GLOBAL_LOAD_TR instructions.
Commit: 6e11ed240ba1769528d3eae47c7b8bbf9e4df19b
https://github.com/llvm/llvm-project/commit/6e11ed240ba1769528d3eae47c7b8bbf9e4df19b
Author: FruitClover <m.kashkarov at samsung.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/include/clang/Parse/RAIIObjectsForParser.h
Log Message:
-----------
[clang][OpenACC] Fix copy-paste name in ParsingOpenACCDirectiveRAII (#81796)
Commit: f20935266958ccb43ee6abe24e69c46f1d825365
https://github.com/llvm/llvm-project/commit/f20935266958ccb43ee6abe24e69c46f1d825365
Author: Bryce Wilson <bryce at brycemw.ca>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Builtins.td
M clang/lib/AST/ExprConstant.cpp
M clang/test/SemaCXX/builtins-overflow.cpp
Log Message:
-----------
[clang] Allow builtin addc/subc to be constant evaluated (#81656)
[clang] Allow builtin addc/subc to be constant evaluated
Commit: 630548a11423a40c5496cec78001374bfb8ff741
https://github.com/llvm/llvm-project/commit/630548a11423a40c5496cec78001374bfb8ff741
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/test/CXX/drs/dr23xx.cpp
Log Message:
-----------
[clang][NFC] Keep the order of DRs in dr23xx.cpp
Commit: 3a626937b1b652e3c87cd0050df9c24cc5127d3b
https://github.com/llvm/llvm-project/commit/3a626937b1b652e3c87cd0050df9c24cc5127d3b
Author: Philip Reames <preames at rivosinc.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/RISCV/rvv-shuffle.ll
M llvm/test/Analysis/CostModel/RISCV/shuffle-extract_subvector.ll
Log Message:
-----------
[RISCV][TTI] Extract subvector at index zero is free (#81751)
Extracing a subvector at index zero corresponds to a type conversion and
possibly a subregister operation. We will not emit a vslidedown. As
such, they are free.
As an aside, it looks like we're not passing an index in for cases where
the subvec type is scalable. For at least index zero, we probably should
be.
Commit: 2d616ec4f040141e103965f98456ba523762735d
https://github.com/llvm/llvm-project/commit/2d616ec4f040141e103965f98456ba523762735d
Author: Anton Lydike <me at AntonLydike.de>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/CMakeLists.txt
A mlir/include/mlir/Dialect/MPI/CMakeLists.txt
A mlir/include/mlir/Dialect/MPI/IR/CMakeLists.txt
A mlir/include/mlir/Dialect/MPI/IR/MPI.h
A mlir/include/mlir/Dialect/MPI/IR/MPI.td
A mlir/include/mlir/Dialect/MPI/IR/MPIOps.td
A mlir/include/mlir/Dialect/MPI/IR/MPITypes.td
M mlir/include/mlir/InitAllDialects.h
M mlir/lib/Dialect/CMakeLists.txt
A mlir/lib/Dialect/MPI/CMakeLists.txt
A mlir/lib/Dialect/MPI/IR/CMakeLists.txt
A mlir/lib/Dialect/MPI/IR/MPI.cpp
A mlir/lib/Dialect/MPI/IR/MPIOps.cpp
A mlir/test/Dialect/MPI/ops.mlir
Log Message:
-----------
[mlir] Initial patch to add an MPI dialect (#68892)
This patch introduces the new MPI dialect into MLIR. The Message Passing
Interface (MPI) is a widely-used standard for distributed programs to
exchange data. This PR goes together with a talk later at today's LLVM
Dev Meeting.
This is just a first, small patch to get going and add the necessary
base files, so that we can add more operations in further patches.
Here's the documentation as generated by `ninja mlir-doc`:
# 'mpi' Dialect
This dialect models the Message Passing Interface (MPI), version
4.0. It is meant to serve as an interfacing dialect that is targeted
by higher-level dialects. The MPI dialect itself can be lowered to
multiple MPI implementations and hide differences in ABI. The dialect
models the functions of the MPI specification as close to 1:1 as
possible
while preserving SSA value semantics where it makes sense, and uses
`memref` types instead of bare pointers.
This dialect is under active development, and while stability is an
eventual goal, it is not guaranteed at this juncture. Given the early
state, it is recommended to inquire further prior to using this dialect.
For an in-depth documentation of the MPI library interface, please refer
to official documentation such as the
[OpenMPI online documentation](https://www.open-mpi.org/doc/current/).
[TOC]
## Operation definition
### `mpi.comm_rank` (mpi::CommRankOp)
_Get the current rank, equivalent to `MPI_Comm_rank(MPI_COMM_WORLD,
&rank)`_
Syntax:
```
operation ::= `mpi.comm_rank` attr-dict `:` type(results)
```
Communicators other than `MPI_COMM_WORLD` are not supported for now.
This operation can optionally return an `!mpi.retval` value that can be
used
to check for errors.
#### Results:
| Result | Description |
| :----: | ----------- |
| `retval` | MPI function call return value
| `rank` | 32-bit signless integer
### `mpi.error_class` (mpi::ErrorClassOp)
_Get the error class from an error code, equivalent to the
`MPI_Error_class` function_
Syntax:
```
operation ::= `mpi.error_class` $val attr-dict `:` type($val)
```
`MPI_Error_class` maps return values from MPI calls to a set of
well-known
MPI error classes.
#### Operands:
| Operand | Description |
| :-----: | ----------- |
| `val` | MPI function call return value
#### Results:
| Result | Description |
| :----: | ----------- |
| `errclass` | MPI function call return value
### `mpi.finalize` (mpi::FinalizeOp)
_Finalize the MPI library, equivalent to `MPI_Finalize()`_
Syntax:
```
operation ::= `mpi.finalize` attr-dict (`:` type($retval)^)?
```
This function cleans up the MPI state. Afterwards, no MPI methods may
be invoked (excpet for MPI_Get_version, MPI_Initialized, and
MPI_Finalized).
Notably, MPI_Init cannot be called again in the same program.
This operation can optionally return an `!mpi.retval` value that can be
used
to check for errors.
#### Results:
| Result | Description |
| :----: | ----------- |
| `retval` | MPI function call return value
### `mpi.init` (mpi::InitOp)
_Initialize the MPI library, equivalent to `MPI_Init(NULL, NULL)`_
Syntax:
```
operation ::= `mpi.init` attr-dict (`:` type($retval)^)?
```
This operation must preceed most MPI calls (except for very few
exceptions,
please consult with the MPI specification on these).
Passing &argc, &argv is not supported currently.
This operation can optionally return an `!mpi.retval` value that can be
used
to check for errors.
#### Results:
| Result | Description |
| :----: | ----------- |
| `retval` | MPI function call return value
### `mpi.recv` (mpi::RecvOp)
_Equivalent to `MPI_Recv(ptr, size, dtype, dest, tag, MPI_COMM_WORLD,
MPI_STATUS_IGNORE)`_
Syntax:
```
operation ::= `mpi.recv` `(` $ref `,` $tag `,` $rank `)` attr-dict `:` type($ref) `,` type($tag) `,` type($rank)(`->` type($retval)^)?
```
MPI_Recv performs a blocking receive of `size` elements of type `dtype`
from rank `dest`. The `tag` value and communicator enables the library
to
determine the matching of multiple sends and receives between the same
ranks.
Communicators other than `MPI_COMM_WORLD` are not supprted for now.
The MPI_Status is set to `MPI_STATUS_IGNORE`, as the status object
is not yet ported to MLIR.
This operation can optionally return an `!mpi.retval` value that can be
used
to check for errors.
#### Operands:
| Operand | Description |
| :-----: | ----------- |
| `ref` | memref of any type values
| `tag` | 32-bit signless integer
| `rank` | 32-bit signless integer
#### Results:
| Result | Description |
| :----: | ----------- |
| `retval` | MPI function call return value
### `mpi.retval_check` (mpi::RetvalCheckOp)
_Check an MPI return value against an error class_
Syntax:
```
operation ::= `mpi.retval_check` $val `=` $errclass attr-dict `:` type($res)
```
This operation compares MPI status codes to known error class
constants such as `MPI_SUCCESS`, or `MPI_ERR_COMM`.
#### Attributes:
<table>
<tr><th>Attribute</th><th>MLIR Type</th><th>Description</th></tr>
<tr><td><code>errclass</code></td><td>::mlir::mpi::MPI_ErrorClassEnumAttr</td><td><details><summary>MPI
error class name</summary>{{% markdown %}}Enum cases:
* MPI_SUCCESS (`MPI_SUCCESS`)
* MPI_ERR_ACCESS (`MPI_ERR_ACCESS`)
* MPI_ERR_AMODE (`MPI_ERR_AMODE`)
* MPI_ERR_ARG (`MPI_ERR_ARG`)
* MPI_ERR_ASSERT (`MPI_ERR_ASSERT`)
* MPI_ERR_BAD_FILE (`MPI_ERR_BAD_FILE`)
* MPI_ERR_BASE (`MPI_ERR_BASE`)
* MPI_ERR_BUFFER (`MPI_ERR_BUFFER`)
* MPI_ERR_COMM (`MPI_ERR_COMM`)
* MPI_ERR_CONVERSION (`MPI_ERR_CONVERSION`)
* MPI_ERR_COUNT (`MPI_ERR_COUNT`)
* MPI_ERR_DIMS (`MPI_ERR_DIMS`)
* MPI_ERR_DISP (`MPI_ERR_DISP`)
* MPI_ERR_DUP_DATAREP (`MPI_ERR_DUP_DATAREP`)
* MPI_ERR_ERRHANDLER (`MPI_ERR_ERRHANDLER`)
* MPI_ERR_FILE (`MPI_ERR_FILE`)
* MPI_ERR_FILE_EXISTS (`MPI_ERR_FILE_EXISTS`)
* MPI_ERR_FILE_IN_USE (`MPI_ERR_FILE_IN_USE`)
* MPI_ERR_GROUP (`MPI_ERR_GROUP`)
* MPI_ERR_INFO (`MPI_ERR_INFO`)
* MPI_ERR_INFO_KEY (`MPI_ERR_INFO_KEY`)
* MPI_ERR_INFO_NOKEY (`MPI_ERR_INFO_NOKEY`)
* MPI_ERR_INFO_VALUE (`MPI_ERR_INFO_VALUE`)
* MPI_ERR_IN_STATUS (`MPI_ERR_IN_STATUS`)
* MPI_ERR_INTERN (`MPI_ERR_INTERN`)
* MPI_ERR_IO (`MPI_ERR_IO`)
* MPI_ERR_KEYVAL (`MPI_ERR_KEYVAL`)
* MPI_ERR_LOCKTYPE (`MPI_ERR_LOCKTYPE`)
* MPI_ERR_NAME (`MPI_ERR_NAME`)
* MPI_ERR_NO_MEM (`MPI_ERR_NO_MEM`)
* MPI_ERR_NO_SPACE (`MPI_ERR_NO_SPACE`)
* MPI_ERR_NO_SUCH_FILE (`MPI_ERR_NO_SUCH_FILE`)
* MPI_ERR_NOT_SAME (`MPI_ERR_NOT_SAME`)
* MPI_ERR_OP (`MPI_ERR_OP`)
* MPI_ERR_OTHER (`MPI_ERR_OTHER`)
* MPI_ERR_PENDING (`MPI_ERR_PENDING`)
* MPI_ERR_PORT (`MPI_ERR_PORT`)
* MPI_ERR_PROC_ABORTED (`MPI_ERR_PROC_ABORTED`)
* MPI_ERR_QUOTA (`MPI_ERR_QUOTA`)
* MPI_ERR_RANK (`MPI_ERR_RANK`)
* MPI_ERR_READ_ONLY (`MPI_ERR_READ_ONLY`)
* MPI_ERR_REQUEST (`MPI_ERR_REQUEST`)
* MPI_ERR_RMA_ATTACH (`MPI_ERR_RMA_ATTACH`)
* MPI_ERR_RMA_CONFLICT (`MPI_ERR_RMA_CONFLICT`)
* MPI_ERR_RMA_FLAVOR (`MPI_ERR_RMA_FLAVOR`)
* MPI_ERR_RMA_RANGE (`MPI_ERR_RMA_RANGE`)
* MPI_ERR_RMA_SHARED (`MPI_ERR_RMA_SHARED`)
* MPI_ERR_RMA_SYNC (`MPI_ERR_RMA_SYNC`)
* MPI_ERR_ROOT (`MPI_ERR_ROOT`)
* MPI_ERR_SERVICE (`MPI_ERR_SERVICE`)
* MPI_ERR_SESSION (`MPI_ERR_SESSION`)
* MPI_ERR_SIZE (`MPI_ERR_SIZE`)
* MPI_ERR_SPAWN (`MPI_ERR_SPAWN`)
* MPI_ERR_TAG (`MPI_ERR_TAG`)
* MPI_ERR_TOPOLOGY (`MPI_ERR_TOPOLOGY`)
* MPI_ERR_TRUNCATE (`MPI_ERR_TRUNCATE`)
* MPI_ERR_TYPE (`MPI_ERR_TYPE`)
* MPI_ERR_UNKNOWN (`MPI_ERR_UNKNOWN`)
* MPI_ERR_UNSUPPORTED_DATAREP (`MPI_ERR_UNSUPPORTED_DATAREP`)
* MPI_ERR_UNSUPPORTED_OPERATION (`MPI_ERR_UNSUPPORTED_OPERATION`)
* MPI_ERR_VALUE_TOO_LARGE (`MPI_ERR_VALUE_TOO_LARGE`)
* MPI_ERR_WIN (`MPI_ERR_WIN`)
* MPI_ERR_LASTCODE (`MPI_ERR_LASTCODE`){{% /markdown
%}}</details></td></tr>
</table>
#### Operands:
| Operand | Description |
| :-----: | ----------- |
| `val` | MPI function call return value
#### Results:
| Result | Description |
| :----: | ----------- |
| `res` | 1-bit signless integer
### `mpi.send` (mpi::SendOp)
_Equivalent to `MPI_Send(ptr, size, dtype, dest, tag, MPI_COMM_WORLD)`_
Syntax:
```
operation ::= `mpi.send` `(` $ref `,` $tag `,` $rank `)` attr-dict `:` type($ref) `,` type($tag) `,` type($rank)(`->` type($retval)^)?
```
MPI_Send performs a blocking send of `size` elements of type `dtype` to
rank
`dest`. The `tag` value and communicator enables the library to
determine
the matching of multiple sends and receives between the same ranks.
Communicators other than `MPI_COMM_WORLD` are not supprted for now.
This operation can optionally return an `!mpi.retval` value that can be
used
to check for errors.
#### Operands:
| Operand | Description |
| :-----: | ----------- |
| `ref` | memref of any type values
| `tag` | 32-bit signless integer
| `rank` | 32-bit signless integer
#### Results:
| Result | Description |
| :----: | ----------- |
| `retval` | MPI function call return value
## Attribute definition
### MPI_ErrorClassEnumAttr
MPI error class name
Syntax:
```
#mpi.errclass<
::mlir::mpi::MPI_ErrorClassEnum # value
>
```
Enum cases:
* MPI_SUCCESS (`MPI_SUCCESS`)
* MPI_ERR_ACCESS (`MPI_ERR_ACCESS`)
* MPI_ERR_AMODE (`MPI_ERR_AMODE`)
* ... *all other MPI error codes*
#### Parameters:
| Parameter | C++ type | Description |
| :-------: | :-------: | ----------- |
| value | `::mlir::mpi::MPI_ErrorClassEnum` | an enum of type
MPI_ErrorClassEnum |
## Type definition
### RetvalType
MPI function call return value
Syntax: `!mpi.retval`
This type represents a return value from an MPI function vall.
This value can be MPI_SUCCESS, MPI_ERR_IN_STATUS, or any error code.
This return value can be compared agains the known MPI error classes
represented by `#mpi.errclass` using the `mpi.retval_check` operation.
Commit: 356400049064e1de5579a755a0feb174c0e561ef
https://github.com/llvm/llvm-project/commit/356400049064e1de5579a755a0feb174c0e561ef
Author: David Green <david.green at arm.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/test/CodeGen/AArch64/neon-mov.ll
Log Message:
-----------
[AArch64][GlobalISel] FNeg constant materialization (#80643)
This is a Global ISel equivalent of #80641, creating fneg(movi) instead
of the alternative constant pool load or gpr dup.
Commit: e6b52a2fe61d6cbc1ea3496cb826da25de0529ad
https://github.com/llvm/llvm-project/commit/e6b52a2fe61d6cbc1ea3496cb826da25de0529ad
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libc/src/__support/UInt.h
Log Message:
-----------
[libc][NFC] Cleanup unnecessary template parameters in BigInt (#81871)
Commit: c81929e9a843447fa52d21f7ce2e6788d740f2f4
https://github.com/llvm/llvm-project/commit/c81929e9a843447fa52d21f7ce2e6788d740f2f4
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
Log Message:
-----------
[clang][Interp][NFC] Return std::nullopt explicitly.
Commit: 9c6a2de24b6a9f01efd68546f7ab8c36f71a2352
https://github.com/llvm/llvm-project/commit/9c6a2de24b6a9f01efd68546f7ab8c36f71a2352
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
Log Message:
-----------
[AMDGPU] Clean up functions for checking inline literals (#81282)
This patch cleans up functions for checking inline literals.
Commit: 54826d4980db5782dac2d7326c29ad60cd017e56
https://github.com/llvm/llvm-project/commit/54826d4980db5782dac2d7326c29ad60cd017e56
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp] Emit dummy pointers for unknown static locals
We used to emit dummy pointers for unknown declarations in certain
cases in C, but this is also necessary in C++.
I'm limiting this to static local variables for now.
Commit: 6cfbf8ccce8295b5d130c48a76a134da5f6194ae
https://github.com/llvm/llvm-project/commit/6cfbf8ccce8295b5d130c48a76a134da5f6194ae
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libc/spec/spec.td
M libc/spec/stdc.td
M libc/utils/HdrGen/PublicAPICommand.cpp
M libc/utils/HdrGen/PublicAPICommand.h
Log Message:
-----------
[libc] add support for function level attributes (#79891)
See discussion at
https://discourse.llvm.org/t/rfc-support-function-attributes-in-user-interface/76624
Demo macro:
```c++
#if !defined(__LIBC_CONST_ATTR) && defined(__cplusplus) && defined(__GNUC__)
#if __has_attribute(const)
#define __LIBC_CONST_ATTR [[gnu::const]]
#endif
#endif
#if !defined(__LIBC_CONST_ATTR) && defined(__GNUC__)
#if __has_attribute(const)
#define __LIBC_CONST_ATTR __attribute__((const))
#endif
#endif
#if !defined(__LIBC_CONST_ATTR)
#define __LIBC_CONST_ATTR
#endif
```
Commit: d485317357376ba6335fe7116efec8edcebd689c
https://github.com/llvm/llvm-project/commit/d485317357376ba6335fe7116efec8edcebd689c
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
Log Message:
-----------
[TargetLowering] Emit SIGN_EXTEND_INREG instead of shift pair from optimizeSetCCOfSignedTruncationCheck. (#81785)
sext_inreg is our canonical form of shift pair before op legalization so
DAG combiner will probably create it anyway. If it isn't legal
LegalizeDAG will expand to shifts later.
Commit: 537500995a1396a65c37d575216d81a33bd99656
https://github.com/llvm/llvm-project/commit/537500995a1396a65c37d575216d81a33bd99656
Author: Jacob Lambert <jacob.lambert at amd.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/include/llvm/Support/CommandLine.h
Log Message:
-----------
[llvm][Support] Add quotes around option name (#81784)
Commit: a1d4c69344f5a2c55043fdc0e43ebf76459eda95
https://github.com/llvm/llvm-project/commit/a1d4c69344f5a2c55043fdc0e43ebf76459eda95
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libc/src/__support/integer_literals.h
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/exp.cpp
M libc/src/math/generic/exp10.cpp
M libc/src/math/generic/exp2.cpp
M libc/src/math/generic/expm1.cpp
M libc/src/math/generic/log.cpp
M libc/src/math/generic/log10.cpp
M libc/src/math/generic/log1p.cpp
M libc/src/math/generic/log2.cpp
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/FPUtil/fpbits_test.cpp
M libc/test/src/__support/integer_to_string_test.cpp
M libc/test/src/__support/str_to_long_double_test.cpp
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
Log Message:
-----------
Revert "[reland][libc][NFC] Use user defined literals to build 128 and 256 bit constants" (#81882)
Reverts llvm/llvm-project#81835
This is breaking arm32 which does not support 64 bit types.
Commit: 2eaeae7e9a298b8a4c9a313f914c42f1e0b82c39
https://github.com/llvm/llvm-project/commit/2eaeae7e9a298b8a4c9a313f914c42f1e0b82c39
Author: Derek Schuff <dschuff at chromium.org>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/include/llvm/BinaryFormat/Wasm.h
M llvm/include/llvm/Object/Wasm.h
M llvm/lib/Object/WasmObjectFile.cpp
M llvm/test/tools/llvm-nm/wasm/exports.yaml
M llvm/test/tools/llvm-nm/wasm/weak-symbols.yaml
M llvm/test/tools/llvm-objdump/wasm/linked-symbol-table-namesec.yaml
Log Message:
-----------
[Object][Wasm] Use offset instead of index for Global address and store size (#81781)
Currently the address reported by binutils for a global is its index;
but its offset (in the file or section) is more useful for binary size
attribution.
This PR treats globals similarly to functions, and tracks their offset
and size. It also centralizes the logic differentiating linked from object
and dylib files (where section addresses are 0).
Commit: f905877f2039e97479425e4d78cbfde72f360b4d
https://github.com/llvm/llvm-project/commit/f905877f2039e97479425e4d78cbfde72f360b4d
Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
Log Message:
-----------
[LLVM][DWARF] Fix for memory leak (#81828)
This is followup to https://github.com/llvm/llvm-project/pull/8120.
Missed a destuctor.
Commit: 8bda8cfae6aa3c32cca7997ab64771e6a78f3e61
https://github.com/llvm/llvm-project/commit/8bda8cfae6aa3c32cca7997ab64771e6a78f3e61
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/test/CXX/drs/dr23xx.cpp
Log Message:
-----------
[clang][NFC] Fix buildbot failure in drs/23xx.cpp
This is a follow-up to 630548a11423a40c5496cec78001374bfb8ff741, which fixed builtbot failure https://lab.llvm.org/buildbot/#/builders/188/builds/41930
Commit: 1fe8e2b6dbf16f60b3c6cc5f81c62be8a0e91e5b
https://github.com/llvm/llvm-project/commit/1fe8e2b6dbf16f60b3c6cc5f81c62be8a0e91e5b
Author: Kunwar Grover <groverkss at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/CMakeLists.txt
R mlir/include/mlir/Dialect/MPI/CMakeLists.txt
R mlir/include/mlir/Dialect/MPI/IR/CMakeLists.txt
R mlir/include/mlir/Dialect/MPI/IR/MPI.h
R mlir/include/mlir/Dialect/MPI/IR/MPI.td
R mlir/include/mlir/Dialect/MPI/IR/MPIOps.td
R mlir/include/mlir/Dialect/MPI/IR/MPITypes.td
M mlir/include/mlir/InitAllDialects.h
M mlir/lib/Dialect/CMakeLists.txt
R mlir/lib/Dialect/MPI/CMakeLists.txt
R mlir/lib/Dialect/MPI/IR/CMakeLists.txt
R mlir/lib/Dialect/MPI/IR/MPI.cpp
R mlir/lib/Dialect/MPI/IR/MPIOps.cpp
R mlir/test/Dialect/MPI/ops.mlir
Log Message:
-----------
Revert "[mlir] Initial patch to add an MPI dialect (#68892)" (#81884)
This reverts commit 2d616ec4f040141e103965f98456ba523762735d.
Buildbot failures:
https://lab.llvm.org/buildbot/#/builders/177/builds/29364
Commit: f872706615cb928ec35ea35280536b59a22a2bf2
https://github.com/llvm/llvm-project/commit/f872706615cb928ec35ea35280536b59a22a2bf2
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M compiler-rt/test/profile/instrprof-block-coverage.c
M compiler-rt/test/profile/instrprof-entry-coverage.c
Log Message:
-----------
[InstrProf] Test that entry coverage counts accumulate (#81806)
Commit: 24144d726fefefb0245eb1c2700606002355f4fe
https://github.com/llvm/llvm-project/commit/24144d726fefefb0245eb1c2700606002355f4fe
Author: Erich Keane <ekeane at nvidia.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Sema/Sema.h
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/CMakeLists.txt
A clang/lib/Sema/SemaOpenACC.cpp
Log Message:
-----------
[OpenACC][NFC] Implement basic OpenACC Sema infrastructure (#81874)
This patch is split off from #81659, and contains just the Sema
infrastructure that we can later use to implement semantic analysis of
OpenACC constructs.
Commit: 9b514235fc383e1b76b8044da273cc04bf5160a8
https://github.com/llvm/llvm-project/commit/9b514235fc383e1b76b8044da273cc04bf5160a8
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
Log Message:
-----------
Apply clang-tidy fixes for bugprone-argument-comment in ValueBoundsOpInterface.cpp (NFC)
Commit: de2f5bcd797a22bfa38791ac4e769ec194850560
https://github.com/llvm/llvm-project/commit/de2f5bcd797a22bfa38791ac4e769ec194850560
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/lib/IR/AsmPrinter.cpp
Log Message:
-----------
Apply clang-tidy fixes for llvm-qualified-auto in AsmPrinter.cpp (NFC)
Commit: b39958c2e8b9b4e357facabdc303cda4cbf2bc0d
https://github.com/llvm/llvm-project/commit/b39958c2e8b9b4e357facabdc303cda4cbf2bc0d
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/lib/IR/BuiltinDialectBytecode.cpp
Log Message:
-----------
Apply clang-tidy fixes for llvm-else-after-return in BuiltinDialectBytecode.cpp (NFC)
Commit: e8d09a5b44de95f8cc675fce21b06dd45955e05a
https://github.com/llvm/llvm-project/commit/e8d09a5b44de95f8cc675fce21b06dd45955e05a
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/lib/IR/Operation.cpp
Log Message:
-----------
Apply clang-tidy fixes for readability-identifier-naming in Operation.cpp (NFC)
Commit: 6f2414261beddd111a460a6f48666ec6032db6f5
https://github.com/llvm/llvm-project/commit/6f2414261beddd111a460a6f48666ec6032db6f5
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/lib/Support/Timing.cpp
Log Message:
-----------
Apply clang-tidy fixes for llvm-include-order in Timing.cpp (NFC)
Commit: e82659fff2f07b5ea1d94e0d8bcb9c540d6bede1
https://github.com/llvm/llvm-project/commit/e82659fff2f07b5ea1d94e0d8bcb9c540d6bede1
Author: Chris B <chris.bieneman at me.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/Headers/hlsl/hlsl_basic_types.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
M clang/test/CodeGenHLSL/builtins/abs.hlsl
M clang/test/CodeGenHLSL/builtins/ceil.hlsl
M clang/test/CodeGenHLSL/builtins/cos.hlsl
M clang/test/CodeGenHLSL/builtins/floor.hlsl
M clang/test/CodeGenHLSL/builtins/log.hlsl
M clang/test/CodeGenHLSL/builtins/log10.hlsl
M clang/test/CodeGenHLSL/builtins/log2.hlsl
M clang/test/CodeGenHLSL/builtins/max.hlsl
M clang/test/CodeGenHLSL/builtins/min.hlsl
M clang/test/CodeGenHLSL/builtins/pow.hlsl
M clang/test/CodeGenHLSL/builtins/reversebits.hlsl
M clang/test/CodeGenHLSL/builtins/sin.hlsl
M clang/test/CodeGenHLSL/builtins/trunc.hlsl
Log Message:
-----------
[HLSL] Expose `half` types and intrinsics always (#81782)
We previously made an implmenetation error when adding `half` overloads
for HLSL library functionalitly. The `half` type is always defined in
HLSL and `half` intrinsics should not be conditionally included.
When native 16-bit types are disabled `half` is a unique 32-bit float
type with lesser promotion rank than `float`.
Fixes #81049
Commit: 267d6b5ed2f0a4b1fcf7ac0138427905e431a3e1
https://github.com/llvm/llvm-project/commit/267d6b5ed2f0a4b1fcf7ac0138427905e431a3e1
Author: Usman Nadeem <mnadeem at quicinc.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
A llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-uzp1.ll
Log Message:
-----------
[AArch64][SVE] Instcombine uzp1/reinterpret svbool to use vector.insert (#81069)
Concatenating two predictes using uzp1 after converting to double length
using sve.convert.to/from.svbool is optimized poorly in the backend,
resulting in additional `and` instructions to zero the lanes. See
https://github.com/llvm/llvm-project/pull/78623/
Combine this pattern to use `llvm.vector.insert` to concatenate and get
rid of convert to/from svbools.
Commit: 08fe7df600aeff45917eb865d103d6c431f42285
https://github.com/llvm/llvm-project/commit/08fe7df600aeff45917eb865d103d6c431f42285
Author: Po-yao Chang <poyaoc97 at gmail.com>
Date: 2024-02-16 (Fri, 16 Feb 2024)
Changed paths:
M libcxx/include/__format/parser_std_format_spec.h
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.tests.h
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.tests.h
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
M libcxx/test/std/utilities/format/format.tuple/format.functions.tests.h
Log Message:
-----------
[libc++][format] Don't treat a closing '}' as part of format-spec (#81305)
This allows:
```
std::println("{}>42", std::thread::id{});
std::println("{}>42", std::span<int>{});
std::println("{}>42", std::pair{42, "Hello"sv});
std::println("{:}>42", std::thread::id{});
std::println("{:}>42", std::span<int>{});
std::println("{:}>42", std::pair{42, "Hello"sv});
```
to compile and run.
Commit: 0f1847cb2c5462a09d65a9b5ac24904ac3c15a0f
https://github.com/llvm/llvm-project/commit/0f1847cb2c5462a09d65a9b5ac24904ac3c15a0f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFeatures.td
Log Message:
-----------
[RISCV] Use RISCVSubtarget::hasStdExtCOrZcd() in HasStdExtCOrZcd tablgen Predicate. NFC
Commit: fc027e10ba3d343b583264776c8f4f8e82ad4560
https://github.com/llvm/llvm-project/commit/fc027e10ba3d343b583264776c8f4f8e82ad4560
Author: LRFLEW <LRFLEW at aol.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libcxx/include/__random/linear_congruential_engine.h
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/alg.pass.cpp
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/default.pass.cpp
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/values.pass.cpp
Log Message:
-----------
linear_congruential_engine: Fixes for __lce_alg_picker (#81080)
This fixes two major mistakes in the implementation of
`linear_congruential_engine` that allowed it to produce incorrect
output. Specifically, these mistakes are in `__lce_alg_picker`, which is
used to determine whether Schrage's algorithm is valid and needed.
The first mistake is in the definition of `_OverflowOK`. The code
comment and the description of [D65041](https://reviews.llvm.org/D65041)
both indicate that it's supposed to be true iff `m` is a power of two.
However, the definition used does not work out to that, and instead is
true whenever `m` is even. This could result in
`linear_congruential_engine` using an invalid implementation, as it
would incorrectly assume that any integer overflow can't change the
result. I changed the implementation to one that accurately checks if
`m` is a power of two. Technically, this implementation has an edge case
where it considers `0` to be a power of two, but in this case this is
actually accurate behavior, as `m = 0` indicates a modulus of 2^w where
w is the size of `result_type` in bits, which *is* a power of two.
The second mistake is in the static assert. The original static assert
erroneously included an unnecessary `a != 0 || m != 0`. Combined with
the `|| !_MightOverflow`, this actually resulted in the static assert
being impossible to fail. Applying De Morgan's law and expanding
`_MightOverflow` gives that the only way this static assert can be
triggered is if `a == 0 && m == 0 && a != 0 && m != 0 && ...`, which
clearly cannot be true. I simply removed the explicit checks against `a`
and `m`, as the intended checks are already included in `_MightOverflow`
and `_SchrageOK`, and their inclusion doesn't provide any obvious
semantic benefit.
This should fix all the current instances where
`linear_congruential_engine` uses an invalid implementation. This
technically isn't a complete implementation, though, since the static
assert will cause some instantiations of `linear_congruential_engine`
not disallowed by the standard from compiling. However, this should
still be an improvement, as all compiling instantiations of
`linear_congruential_engine` should use a valid implementation. Fixing
the cases where the static assert triggers will require adding
additional implementations, some of which will be fairly non-trivial, so
I'd rather leave those for another PR so they don't hold up these more
important fixes.
Fixes #33554
Commit: b57ba8ec514190b38eced26d541e8e25af66c485
https://github.com/llvm/llvm-project/commit/b57ba8ec514190b38eced26d541e8e25af66c485
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/condops.ll
Log Message:
-----------
[RISCV] Use APInt in useInversedSetcc to prevent crashes when mask is larger than UINT64_MAX. (#81888)
There are no checks that the type is legal so we need to handle any
type.
Commit: 04381c106f1cb0d3219ddabe231fe900113a9474
https://github.com/llvm/llvm-project/commit/04381c106f1cb0d3219ddabe231fe900113a9474
Author: erman-gurses <99776114+erman-gurses at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/AMDGPU/Transforms/Transforms.h
M mlir/lib/Dialect/AMDGPU/CMakeLists.txt
M mlir/lib/Dialect/AMDGPU/Transforms/OptimizeSharedMemory.cpp
M mlir/test/Dialect/AMDGPU/transform_optimize_shmem_reads_writes.mlir
Log Message:
-----------
[MLIR][AMDGPU]Add refactoring for shared-mem optimization (#81791)
Addressing the issues in this PR:
https://github.com/llvm/llvm-project/pull/81550
Commit: 495c57ffedfedc98751f07295b7b6ce95bf3eb9c
https://github.com/llvm/llvm-project/commit/495c57ffedfedc98751f07295b7b6ce95bf3eb9c
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libc/src/__support/math_extras.h
Log Message:
-----------
[libc] Make add_with_carry and sub_with_borrow constexpr. (#81898)
Commit: f086d80d9a14cd9cd8908347bf34a8dfbcfecde9
https://github.com/llvm/llvm-project/commit/f086d80d9a14cd9cd8908347bf34a8dfbcfecde9
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M .github/workflows/docs.yml
Log Message:
-----------
[Github] Run documentation test build on change to the workflow
This makes it so that the documentation test build workflow will run
when the workflow itself is changed. This makes it much easier to test
inside of PRs that modify the workflow.
Commit: efad1885bfbda7f456e0e6e1db660fe55515a4b9
https://github.com/llvm/llvm-project/commit/efad1885bfbda7f456e0e6e1db660fe55515a4b9
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
Log Message:
-----------
Fix uncounted-obj-arg.cpp for Windows. (#81903)
Commit: a1155f68f5d5c7013ca1deb312a2e1e4f71ef544
https://github.com/llvm/llvm-project/commit/a1155f68f5d5c7013ca1deb312a2e1e4f71ef544
Author: Chris Bieneman <chris.bieneman at me.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/Sema/SemaOverload.cpp
Log Message:
-----------
[NFC] Clang-format const array declarations
This just updates indentation of constant array declarations to be
style conformant.
Commit: 6a8ab129300bfdf7cc58e023b06e0aada4458205
https://github.com/llvm/llvm-project/commit/6a8ab129300bfdf7cc58e023b06e0aada4458205
Author: Timm Bäder <tbaeder at redhat.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/Interp.cpp
M clang/test/AST/Interp/cxx20.cpp
M clang/test/AST/Interp/records.cpp
Log Message:
-----------
[clang][Interp] Properly emit call ops to invalid functions
Just like everywhere else, we can't just abort compilation because
a function is invalid. We need to emit the Call op and let later
interpretation handle the failure.
This fixes a long standing FIXME comment.
Commit: 3e004d1e8bcf07e66ecccd17ac56882fbe9a5c41
https://github.com/llvm/llvm-project/commit/3e004d1e8bcf07e66ecccd17ac56882fbe9a5c41
Author: Aiden Grossman <agrossman154 at yahoo.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M .github/workflows/docs.yml
Log Message:
-----------
[Github] Enable warnings as errors on flang sphinx build (#72723)
Now that the number of warnings in the flang sphinx build has come down
significantly, we can turn on warnings as errors in the sphinx build,
which is the default configuration in CMake.
Commit: 4d273b948ef064230091e41cf81f4c1b91d5beb4
https://github.com/llvm/llvm-project/commit/4d273b948ef064230091e41cf81f4c1b91d5beb4
Author: Aart Bik <39774503+aartbik at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/lib/Dialect/SparseTensor/Transforms/SparseAssembler.cpp
M mlir/test/Dialect/SparseTensor/torch_linalg.mlir
Log Message:
-----------
[mlir][sparse] ensure [dis]assembler wrapper methods properly inline (#81907)
Commit: df81055955d564dccfd43a9faeb2f54c8c998f68
https://github.com/llvm/llvm-project/commit/df81055955d564dccfd43a9faeb2f54c8c998f68
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/test/CXX/drs/dr12xx.cpp
M clang/test/CXX/drs/dr18xx.cpp
M clang/test/CXX/drs/dr20xx.cpp
M clang/test/CXX/drs/dr2335.cpp
M clang/test/CXX/drs/dr24xx.cpp
M clang/test/CXX/drs/dr25xx.cpp
M clang/test/CXX/drs/dr4xx.cpp
M clang/www/cxx_dr_status.html
M clang/www/make_cxx_dr_status
Log Message:
-----------
[clang] Do less advertising for unresolved issues in `cxx_dr_status.html` (#78836)
This patch places additional requirement on tests for open issues to
specify what do they test, and reduce their advertising on
`cxx_dr_status.html`.
Tests for open issues have to either provide date of the proposed
resolution they test, or a paper number that attempts to resolve the
issue. Examples from this patch: `// dr1223: 17 drafting 2023-05-12`,
`// dr2049: 18 drafting P2308R1`, `// dr2335: no drafting 2018-06`.
Tests for open issues are no longer advertised in `cxx_dr_status.html`
as tests for resolved issues. Instead, they are specified as `Not
Resolved*` (note the asterisk). Such statuses have a tooltip with the
following kind of text:
`Clang 17 implements 2023-05-12 resolution`
`Clang does not implement 2018-06-04 resolution`
`Clang 18 implements P2308R1 resolution`
I admit that the wording is a bit crude, but I tried to minimize amount
of boilerplate in the `make_cxx_dr_status`. Hopefully, this whole setup
matches [C++ compiler
support](https://en.cppreference.com/w/cpp/compiler_support) page on
cppreference enough for people to catch up.
This patch also implement a quality-of-life feature for users of
`make_cxx_dr_status`: now script is able to report multiple bad `// dr`
comments in a single run.
This has also been discussed in a PR for CWG472 test:
https://github.com/llvm/llvm-project/pull/67948
Commit: 65c25a4c40865a0e460c0fecb1b33f7cf7455573
https://github.com/llvm/llvm-project/commit/65c25a4c40865a0e460c0fecb1b33f7cf7455573
Author: Jordan Rupprecht <rupprecht at google.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
Log Message:
-----------
[lldb][test] Skip TestDAP_commands.py test due to flakiness
Commit: 82a4a41614f4943e6b2e85bbc8cb8507d2236524
https://github.com/llvm/llvm-project/commit/82a4a41614f4943e6b2e85bbc8cb8507d2236524
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libc/src/__support/fixed_point/CMakeLists.txt
M libc/src/__support/fixed_point/fx_rep.h
M libc/test/UnitTest/CMakeLists.txt
M libc/test/UnitTest/LibcTest.cpp
M libc/test/UnitTest/LibcTest.h
Log Message:
-----------
[libc][stdfix] Add support for fixed point types in the testing infrastructure. (#81819)
Commit: b4972341462b4e892b4f24abe3f6970054f28b16
https://github.com/llvm/llvm-project/commit/b4972341462b4e892b4f24abe3f6970054f28b16
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp
M llvm/test/CodeGen/AMDGPU/bf16.ll
M llvm/test/CodeGen/AMDGPU/function-args.ll
M llvm/test/CodeGen/AMDGPU/hard-clauses.mir
A llvm/test/CodeGen/AMDGPU/max-hard-clause-length.ll
M llvm/test/CodeGen/AMDGPU/select.f16.ll
Log Message:
-----------
[AMDGPU] Make maximum hard clause size a subtarget feature (#81287)
gfx11 chips may, in some conditions, behave incorrectly with S_CLAUSE
instructions (hard clauses) containing more than 32 operations (that is,
whose arguments exceed 0x1f). However, gfx10 targets will work
successfully with clauses of up to length 63.
Therefore, define the MaxHardClauseLength property on GCNSubtarget and
make it a subtarget feature via tablegen, thus allowing us to specify,
both now and in the future, the maximum viable size of clauses on
various hardware from the tablegen definition. If MaxHardClauseLength is
0, which is the default, the hardware does not support hard clauses.
Commit: db4ea21dfde307f4fc873a6fe56791cd7ae3f0a1
https://github.com/llvm/llvm-project/commit/db4ea21dfde307f4fc873a6fe56791cd7ae3f0a1
Author: erichkeane <ekeane at nvidia.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Sema/SemaOpenACC.cpp
M clang/test/ParserOpenACC/parse-cache-construct.c
M clang/test/ParserOpenACC/parse-cache-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/ParserOpenACC/parse-clauses.cpp
M clang/test/ParserOpenACC/parse-constructs.c
M clang/test/ParserOpenACC/parse-constructs.cpp
M clang/test/ParserOpenACC/parse-wait-clause.c
M clang/test/ParserOpenACC/parse-wait-construct.c
M clang/test/ParserOpenACC/unimplemented.c
M clang/test/ParserOpenACC/unimplemented.cpp
Log Message:
-----------
[OpenACC] Change 'not implemented' diagnostic to be more specific
Currently we just emit a generic 'not implemented' diagnostic for all
OpenACC pragmas. This patch moves the diagnostic to 'Sema' and diagnoses
for a specific clause or construct, in preperation of implementing Sema
for constructs.
Commit: 235ec0f791749d94ac1ca1441b8b06d4ba09792c
https://github.com/llvm/llvm-project/commit/235ec0f791749d94ac1ca1441b8b06d4ba09792c
Author: Peiming Liu <36770114+PeimingLiu at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
M mlir/lib/CAPI/Dialect/SparseTensor.cpp
M mlir/lib/Dialect/SparseTensor/IR/Detail/LvlTypeParser.cpp
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorLevel.cpp
M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
M mlir/unittests/Dialect/SparseTensor/MergerTest.cpp
Log Message:
-----------
[mlir][sparse] remove LevelType enum, construct LevelType from LevelF… (#81799)
…ormat and properties instead.
Commit: 55e6c1901576716658b3c1b6ceaf018958331f24
https://github.com/llvm/llvm-project/commit/55e6c1901576716658b3c1b6ceaf018958331f24
Author: lntue <35648136+lntue at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/UInt.h
M libc/src/__support/integer_utils.h
M libc/src/__support/number_pair.h
Log Message:
-----------
[libc][NFC] Annotate LIBC_INLINE and constexpr to BigInt and DyadicFloat methods. (#81912)
Commit: d2c9a19dd8048801ef1d8238948c39ad4fcdcf95
https://github.com/llvm/llvm-project/commit/d2c9a19dd8048801ef1d8238948c39ad4fcdcf95
Author: Amir Ayupov <aaupov at fb.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M bolt/include/bolt/Profile/BoltAddressTranslation.h
M bolt/lib/Profile/BoltAddressTranslation.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
Log Message:
-----------
[BOLT][NFC] Pass BF/BB hashes to BAT
Test Plan: NFC
Reviewers: dcci, rafaelauler, maksfb, ayermolo
Reviewed By: rafaelauler
Pull Request: https://github.com/llvm/llvm-project/pull/76906
Commit: 5b51d45f496f10a74dea5a100cf18b33b45493dc
https://github.com/llvm/llvm-project/commit/5b51d45f496f10a74dea5a100cf18b33b45493dc
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
A llvm/test/CodeGen/X86/code-model-elf-merge-sections.ll
Log Message:
-----------
[X86] Use ".lrodata" prefix for large mergeable constants (#81900)
Otherwise with a small enough large-data-threshold, we can get .rodata.*
sections marked large, making .rodata large in the final binary.
Commit: 834d11c21541c8bf92ef598c1171e8163b69e8c7
https://github.com/llvm/llvm-project/commit/834d11c21541c8bf92ef598c1171e8163b69e8c7
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/test/Analysis/CostModel/RISCV/rvv-shuffle.ll
M llvm/test/Analysis/CostModel/RISCV/shuffle-extract_subvector.ll
Log Message:
-----------
Revert "[RISCV][TTI] Extract subvector at index zero is free (#81751)"
This reverts commit 3a626937b1b652e3c87cd0050df9c24cc5127d3b.
Causes tests added by fc0b67e1d79d1f199687f8f06d619984d9520230 to fail.
Commit: edfc859af89e44207bf499b5d702aa26a7357da4
https://github.com/llvm/llvm-project/commit/edfc859af89e44207bf499b5d702aa26a7357da4
Author: David Goldman <dallasftball at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang-tools-extra/clangd/ClangdLSPServer.cpp
M clang-tools-extra/clangd/ClangdLSPServer.h
M clang-tools-extra/clangd/Protocol.cpp
M clang-tools-extra/clangd/Protocol.h
M clang-tools-extra/clangd/index/SymbolCollector.cpp
M clang-tools-extra/clangd/refactor/Rename.cpp
M clang-tools-extra/clangd/refactor/Rename.h
M clang-tools-extra/clangd/test/rename.test
M clang-tools-extra/clangd/unittests/RenameTests.cpp
M clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
Log Message:
-----------
Add support for renaming objc methods, even those with multiple selector pieces (#76466)
This adds support for renaming Objective-C methods, which are unique since their method names can be split across multiple tokens.
Commit: 5c57fd717d5d6a285efeb8402c6fe0c8f70592f3
https://github.com/llvm/llvm-project/commit/5c57fd717d5d6a285efeb8402c6fe0c8f70592f3
Author: Chris B <chris.bieneman at me.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/include/clang/AST/OperationKinds.def
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Overload.h
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/Edit/RewriteObjCFoundationAPI.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
A clang/test/CodeGenHLSL/BasicFeatures/standard_conversion_sequences.hlsl
M clang/test/CodeGenHLSL/builtins/ScalarSwizzles.hlsl
M clang/test/CodeGenHLSL/builtins/sqrt.hlsl
M clang/test/SemaHLSL/BuiltIns/vector-constructors-erros.hlsl
A clang/test/SemaHLSL/OverloadResolutionBugs.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzles.hlsl
A clang/test/SemaHLSL/VectorOverloadResolution.hlsl
A clang/test/SemaHLSL/standard_conversion_sequences.hlsl
Log Message:
-----------
[HLSL] Vector standard conversions (#71098)
HLSL supports vector truncation and element conversions as part of
standard conversion sequences. The vector truncation conversion is a C++
second conversion in the conversion sequence. If a vector truncation is
in a conversion sequence an element conversion may occur after it before
the standard C++ third conversion.
Vector element conversions can be boolean conversions, floating point or
integral conversions or promotions.
[HLSL Draft
Specification](https://microsoft.github.io/hlsl-specs/specs/hlsl.pdf)
---------
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Commit: e3f88a9e587a6924054def5e26b3c976dcb31453
https://github.com/llvm/llvm-project/commit/e3f88a9e587a6924054def5e26b3c976dcb31453
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.td
Log Message:
-----------
[AMDGPU] Rewrite `getVOP3DPPSrcForVT` with `!cond` (#81889)
`!cond` is much more clear than nested `!if`.
Commit: dc3258c617420e83caff63c93d548e0923b10791
https://github.com/llvm/llvm-project/commit/dc3258c617420e83caff63c93d548e0923b10791
Author: Boian Petkantchin <boian.petkantchin at amd.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/Affine/Utils.h
M mlir/include/mlir/Dialect/Arith/Utils/Utils.h
M mlir/include/mlir/Dialect/Mesh/IR/MeshOps.h
M mlir/include/mlir/Dialect/Mesh/IR/MeshOps.td
M mlir/include/mlir/Dialect/Mesh/Transforms/Transforms.h
M mlir/include/mlir/IR/Builders.h
M mlir/lib/Dialect/Affine/Utils/Utils.cpp
M mlir/lib/Dialect/Arith/Utils/Utils.cpp
M mlir/lib/Dialect/Mesh/IR/MeshOps.cpp
M mlir/lib/Dialect/Mesh/Transforms/CMakeLists.txt
M mlir/lib/Dialect/Mesh/Transforms/Simplifications.cpp
M mlir/lib/Dialect/Mesh/Transforms/Spmdization.cpp
M mlir/lib/Dialect/Mesh/Transforms/Transforms.cpp
A mlir/lib/Dialect/Mesh/Transforms/TransformsDetail.h
M mlir/lib/IR/Builders.cpp
A mlir/test/Dialect/Mesh/all-scatter-op-lowering.mlir
M mlir/test/Dialect/Mesh/canonicalization.mlir
M mlir/test/Dialect/Mesh/invalid.mlir
M mlir/test/Dialect/Mesh/ops.mlir
M mlir/test/Dialect/Mesh/resharding-spmdization.mlir
M mlir/test/Dialect/Mesh/spmdization.mlir
M mlir/test/lib/Dialect/Mesh/CMakeLists.txt
A mlir/test/lib/Dialect/Mesh/TestOpLowering.cpp
R mlir/test/lib/Dialect/Mesh/TestProcessMultiIndexOpLowering.cpp
M mlir/tools/mlir-opt/mlir-opt.cpp
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Log Message:
-----------
[mlir][mesh] Add all-slice operation (#81218)
This op is the inverse of all-gather. It is useful to have an explicit
concise representation instead of having a blob of slicing logic.
Add lowering for the op that slices from the tensor based on the
in-group process index.
Make resharding generate an all-slice instead of inserting the slicing
logic directly.
Commit: 60cb09ba4f0ad6602483b40625a272eeebdcdc45
https://github.com/llvm/llvm-project/commit/60cb09ba4f0ad6602483b40625a272eeebdcdc45
Author: Yitzhak Mandelbaum <ymand at users.noreply.github.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
Log Message:
-----------
[clang][dataflow] Fix crash on unions introduced in ba279934c6ab09d5394a89d8318651aefd8d565b (#81918)
The commit was itself a crash fix, but inadvertently changed the
behavior for unions, which results in crashes.
Commit: 2a9b86cc10c3883cca51a5166aad6e2b755fa958
https://github.com/llvm/llvm-project/commit/2a9b86cc10c3883cca51a5166aad6e2b755fa958
Author: Florian Hahn <flo at fhahn.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M llvm/test/Transforms/SROA/tbaa-struct3.ll
Log Message:
-----------
[SROA] Extend !tbaa.struct test coverage with multiple missing cases.
Add tests to cover missing cases for
https://github.com/llvm/llvm-project/pull/81289 and
https://github.com/llvm/llvm-project/pull/81313.
Commit: 513448d28e57535d71ea7eeda209db98ad3a1ee1
https://github.com/llvm/llvm-project/commit/513448d28e57535d71ea7eeda209db98ad3a1ee1
Author: Mehdi Amini <joker.eph at gmail.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
M mlir/lib/CAPI/Dialect/SparseTensor.cpp
M mlir/lib/Dialect/SparseTensor/IR/Detail/LvlTypeParser.cpp
M mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/Utils/SparseTensorLevel.cpp
M mlir/lib/Dialect/SparseTensor/Utils/Merger.cpp
M mlir/unittests/Dialect/SparseTensor/MergerTest.cpp
Log Message:
-----------
Revert "[mlir][sparse] remove LevelType enum, construct LevelType from LevelF…" (#81923)
Reverts llvm/llvm-project#81799 ; this broke the mlir gcc7 bot.
Commit: 51da92fb3d51e611f6e910b5040d4b6b2ad92489
https://github.com/llvm/llvm-project/commit/51da92fb3d51e611f6e910b5040d4b6b2ad92489
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M .ci/generate-buildkite-pipeline-premerge
M .github/workflows/docs.yml
M .github/workflows/llvm-project-tests.yml
M bolt/include/bolt/Core/BinaryContext.h
M bolt/include/bolt/Core/BinaryFunction.h
M bolt/include/bolt/Core/BinarySection.h
M bolt/include/bolt/Core/DIEBuilder.h
M bolt/include/bolt/Core/DynoStats.h
M bolt/include/bolt/Core/Exceptions.h
M bolt/include/bolt/Passes/ADRRelaxationPass.h
M bolt/include/bolt/Passes/Aligner.h
M bolt/include/bolt/Passes/AllocCombiner.h
M bolt/include/bolt/Passes/AsmDump.h
M bolt/include/bolt/Passes/BinaryPasses.h
M bolt/include/bolt/Passes/CMOVConversion.h
M bolt/include/bolt/Passes/CacheMetrics.h
M bolt/include/bolt/Passes/FixRISCVCallsPass.h
M bolt/include/bolt/Passes/FixRelaxationPass.h
M bolt/include/bolt/Passes/FrameOptimizer.h
M bolt/include/bolt/Passes/Hugify.h
M bolt/include/bolt/Passes/IdenticalCodeFolding.h
M bolt/include/bolt/Passes/IndirectCallPromotion.h
M bolt/include/bolt/Passes/Inliner.h
M bolt/include/bolt/Passes/Instrumentation.h
M bolt/include/bolt/Passes/JTFootprintReduction.h
M bolt/include/bolt/Passes/LongJmp.h
M bolt/include/bolt/Passes/LoopInversionPass.h
M bolt/include/bolt/Passes/PLTCall.h
M bolt/include/bolt/Passes/PatchEntries.h
M bolt/include/bolt/Passes/RegReAssign.h
M bolt/include/bolt/Passes/ReorderData.h
M bolt/include/bolt/Passes/ReorderFunctions.h
M bolt/include/bolt/Passes/RetpolineInsertion.h
M bolt/include/bolt/Passes/ShrinkWrapping.h
M bolt/include/bolt/Passes/SplitFunctions.h
M bolt/include/bolt/Passes/StokeInfo.h
M bolt/include/bolt/Passes/TailDuplication.h
M bolt/include/bolt/Passes/ThreeWayBranch.h
M bolt/include/bolt/Passes/ValidateInternalCalls.h
M bolt/include/bolt/Passes/ValidateMemRefs.h
M bolt/include/bolt/Passes/VeneerElimination.h
M bolt/include/bolt/Profile/BoltAddressTranslation.h
M bolt/include/bolt/Rewrite/BinaryPassManager.h
M bolt/include/bolt/Rewrite/RewriteInstance.h
M bolt/lib/Core/BinaryBasicBlock.cpp
M bolt/lib/Core/BinaryContext.cpp
M bolt/lib/Core/BinaryEmitter.cpp
M bolt/lib/Core/BinaryFunction.cpp
M bolt/lib/Core/BinarySection.cpp
M bolt/lib/Core/DIEBuilder.cpp
M bolt/lib/Core/DebugData.cpp
M bolt/lib/Core/DynoStats.cpp
M bolt/lib/Core/Exceptions.cpp
M bolt/lib/Core/ParallelUtilities.cpp
M bolt/lib/Passes/ADRRelaxationPass.cpp
M bolt/lib/Passes/Aligner.cpp
M bolt/lib/Passes/AllocCombiner.cpp
M bolt/lib/Passes/AsmDump.cpp
M bolt/lib/Passes/BinaryFunctionCallGraph.cpp
M bolt/lib/Passes/BinaryPasses.cpp
M bolt/lib/Passes/CMOVConversion.cpp
M bolt/lib/Passes/CacheMetrics.cpp
M bolt/lib/Passes/FixRISCVCallsPass.cpp
M bolt/lib/Passes/FixRelaxationPass.cpp
M bolt/lib/Passes/FrameAnalysis.cpp
M bolt/lib/Passes/FrameOptimizer.cpp
M bolt/lib/Passes/Hugify.cpp
M bolt/lib/Passes/IdenticalCodeFolding.cpp
M bolt/lib/Passes/IndirectCallPromotion.cpp
M bolt/lib/Passes/Inliner.cpp
M bolt/lib/Passes/Instrumentation.cpp
M bolt/lib/Passes/JTFootprintReduction.cpp
M bolt/lib/Passes/LongJmp.cpp
M bolt/lib/Passes/LoopInversionPass.cpp
M bolt/lib/Passes/PLTCall.cpp
M bolt/lib/Passes/PatchEntries.cpp
M bolt/lib/Passes/RegAnalysis.cpp
M bolt/lib/Passes/RegReAssign.cpp
M bolt/lib/Passes/ReorderData.cpp
M bolt/lib/Passes/ReorderFunctions.cpp
M bolt/lib/Passes/RetpolineInsertion.cpp
M bolt/lib/Passes/ShrinkWrapping.cpp
M bolt/lib/Passes/SplitFunctions.cpp
M bolt/lib/Passes/StokeInfo.cpp
M bolt/lib/Passes/TailDuplication.cpp
M bolt/lib/Passes/ThreeWayBranch.cpp
M bolt/lib/Passes/ValidateInternalCalls.cpp
M bolt/lib/Passes/ValidateMemRefs.cpp
M bolt/lib/Passes/VeneerElimination.cpp
M bolt/lib/Profile/BoltAddressTranslation.cpp
M bolt/lib/Rewrite/BinaryPassManager.cpp
M bolt/lib/Rewrite/BoltDiff.cpp
M bolt/lib/Rewrite/DWARFRewriter.cpp
M bolt/lib/Rewrite/MachORewriteInstance.cpp
M bolt/lib/Rewrite/RewriteInstance.cpp
M bolt/lib/Target/X86/X86MCSymbolizer.cpp
M bolt/lib/Target/X86/X86MCSymbolizer.h
M bolt/test/X86/dwarf4-subprogram-single-gc-ranges.test
A bolt/test/X86/dwarf5-empty-function-ranges.s
A bolt/test/X86/dwarf5-loclist-out-of-order.s
M bolt/test/X86/dwarf5-subprogram-single-gc-ranges.test
A bolt/test/X86/fatal-error.s
A bolt/test/X86/log.test
M bolt/tools/bat-dump/bat-dump.cpp
M bolt/tools/driver/llvm-bolt.cpp
M bolt/unittests/Core/BinaryContext.cpp
M bolt/unittests/Core/MCPlusBuilder.cpp
M clang-tools-extra/clang-tidy/bugprone/UnusedLocalNonTrivialVariableCheck.cpp
M clang-tools-extra/clang-tidy/modernize/UseOverrideCheck.cpp
M clang-tools-extra/clang-tidy/readability/RedundantInlineSpecifierCheck.cpp
M clang-tools-extra/clangd/ClangdLSPServer.cpp
M clang-tools-extra/clangd/ClangdLSPServer.h
M clang-tools-extra/clangd/Protocol.cpp
M clang-tools-extra/clangd/Protocol.h
M clang-tools-extra/clangd/index/SymbolCollector.cpp
M clang-tools-extra/clangd/refactor/Rename.cpp
M clang-tools-extra/clangd/refactor/Rename.h
M clang-tools-extra/clangd/test/rename.test
M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
M clang-tools-extra/clangd/unittests/RenameTests.cpp
M clang-tools-extra/clangd/unittests/SymbolCollectorTests.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/bugprone/unused-local-non-trivial-variable.rst
M clang-tools-extra/test/clang-tidy/checkers/bugprone/unused-local-non-trivial-variable.cpp
M clang-tools-extra/test/clang-tidy/checkers/modernize/use-override.cpp
M clang-tools-extra/test/clang-tidy/checkers/readability/redundant-inline-specifier.cpp
M clang/docs/ClangFormatStyleOptions.rst
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang-c/Index.h
M clang/include/clang/AST/OperationKinds.def
M clang/include/clang/AST/RecursiveASTVisitor.h
A clang/include/clang/AST/StmtOpenACC.h
M clang/include/clang/AST/StmtVisitor.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h
M clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
M clang/include/clang/Analysis/FlowSensitive/DataflowAnalysisContext.h
M clang/include/clang/Analysis/FlowSensitive/DataflowEnvironment.h
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/Builtins.td
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Basic/DiagnosticDriverKinds.td
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticLexKinds.td
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/FileManager.h
M clang/include/clang/Basic/IdentifierTable.h
M clang/include/clang/Basic/OpenACCKinds.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Basic/TargetInfo.h
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Basic/TokenKinds.h
M clang/include/clang/Driver/Action.h
M clang/include/clang/Driver/ClangOptionDocs.td
M clang/include/clang/Driver/Options.td
M clang/include/clang/Driver/Types.def
M clang/include/clang/Format/Format.h
M clang/include/clang/Frontend/CompilerInstance.h
M clang/include/clang/Frontend/CompilerInvocation.h
M clang/include/clang/Frontend/FrontendActions.h
M clang/include/clang/Frontend/FrontendOptions.h
A clang/include/clang/Frontend/InstallAPIOptions.h
A clang/include/clang/InstallAPI/Context.h
M clang/include/clang/Parse/Parser.h
M clang/include/clang/Parse/RAIIObjectsForParser.h
M clang/include/clang/Sema/DeclSpec.h
M clang/include/clang/Sema/Overload.h
M clang/include/clang/Sema/Sema.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/ASTStructuralEquivalence.cpp
M clang/lib/AST/CMakeLists.txt
M clang/lib/AST/DeclBase.cpp
M clang/lib/AST/Expr.cpp
M clang/lib/AST/ExprConstant.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/lib/AST/Interp/ByteCodeExprGen.h
M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
M clang/lib/AST/Interp/Context.cpp
M clang/lib/AST/Interp/EvalEmitter.cpp
M clang/lib/AST/Interp/EvalEmitter.h
M clang/lib/AST/Interp/EvaluationResult.h
M clang/lib/AST/Interp/Function.h
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/InterpFrame.cpp
M clang/lib/AST/Interp/InterpFrame.h
M clang/lib/AST/Interp/Opcodes.td
M clang/lib/AST/Interp/Pointer.cpp
M clang/lib/AST/Interp/Program.cpp
M clang/lib/AST/Interp/Program.h
M clang/lib/AST/Interp/Source.cpp
M clang/lib/AST/Stmt.cpp
A clang/lib/AST/StmtOpenACC.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
M clang/lib/Analysis/FlowSensitive/Transfer.cpp
M clang/lib/Analysis/UnsafeBufferUsage.cpp
M clang/lib/Basic/FileManager.cpp
M clang/lib/Basic/IdentifierTable.cpp
M clang/lib/Basic/TargetInfo.cpp
M clang/lib/Basic/Targets.cpp
M clang/lib/Basic/Targets/AArch64.cpp
M clang/lib/Basic/Targets/AArch64.h
M clang/lib/Basic/Targets/AMDGPU.cpp
M clang/lib/Basic/Targets/ARM.cpp
M clang/lib/Basic/Targets/ARM.h
M clang/lib/CMakeLists.txt
M clang/lib/CodeGen/BackendConsumer.h
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/CodeGen/CGBuiltin.cpp
M clang/lib/CodeGen/CGCall.cpp
M clang/lib/CodeGen/CGExpr.cpp
M clang/lib/CodeGen/CGExprAgg.cpp
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/lib/CodeGen/CGExprConstant.cpp
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/CodeGen/CodeGenAction.cpp
M clang/lib/CodeGen/CodeGenFunction.h
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenPGO.cpp
M clang/lib/CodeGen/CodeGenPGO.h
M clang/lib/CodeGen/CoverageMappingGen.cpp
M clang/lib/CodeGen/CoverageMappingGen.h
M clang/lib/CodeGen/LinkInModulesPass.cpp
A clang/lib/CodeGen/MCDCState.h
M clang/lib/CodeGen/TargetInfo.h
M clang/lib/CodeGen/Targets/AArch64.cpp
M clang/lib/Driver/Action.cpp
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChain.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Driver/ToolChains/Flang.cpp
M clang/lib/Driver/ToolChains/Flang.h
M clang/lib/Edit/RewriteObjCFoundationAPI.cpp
M clang/lib/Format/ContinuationIndenter.cpp
M clang/lib/Format/Format.cpp
M clang/lib/Format/FormatTokenLexer.cpp
M clang/lib/Format/FormatTokenLexer.h
M clang/lib/Format/IntegerLiteralSeparatorFixer.cpp
M clang/lib/Format/TokenAnalyzer.cpp
M clang/lib/Format/TokenAnalyzer.h
M clang/lib/Format/TokenAnnotator.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Frontend/CMakeLists.txt
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Frontend/InitPreprocessor.cpp
A clang/lib/Frontend/InstallAPIConsumer.cpp
M clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
M clang/lib/Headers/hlsl/hlsl_basic_types.h
M clang/lib/Headers/hlsl/hlsl_intrinsics.h
A clang/lib/InstallAPI/CMakeLists.txt
A clang/lib/InstallAPI/Context.cpp
M clang/lib/Lex/LiteralSupport.cpp
M clang/lib/Parse/ParseDecl.cpp
M clang/lib/Parse/ParseDeclCXX.cpp
M clang/lib/Parse/ParseOpenACC.cpp
M clang/lib/Parse/ParseTentative.cpp
M clang/lib/Sema/AnalysisBasedWarnings.cpp
M clang/lib/Sema/CMakeLists.txt
M clang/lib/Sema/DeclSpec.cpp
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclAttr.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaExprCXX.cpp
M clang/lib/Sema/SemaInit.cpp
A clang/lib/Sema/SemaOpenACC.cpp
M clang/lib/Sema/SemaOverload.cpp
M clang/lib/Sema/SemaTemplateDeduction.cpp
M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReader.cpp
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriter.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp
M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
M clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp
M clang/lib/StaticAnalyzer/Core/BugSuppression.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp
M clang/test/AST/Interp/c.c
M clang/test/AST/Interp/cxx20.cpp
M clang/test/AST/Interp/functions.cpp
M clang/test/AST/Interp/literals.cpp
M clang/test/AST/Interp/records.cpp
A clang/test/Analysis/Checkers/WebKit/assignment-to-refptr.cpp
R clang/test/Analysis/Checkers/WebKit/call-args-dynamic-downcast.cpp
A clang/test/Analysis/Checkers/WebKit/call-args-protected-return-value.cpp
A clang/test/Analysis/Checkers/WebKit/call-args-safe-functions.cpp
M clang/test/Analysis/Checkers/WebKit/call-args.cpp
A clang/test/Analysis/Checkers/WebKit/implicit-cast-to-base-class-with-deref-in-superclass.cpp
M clang/test/Analysis/Checkers/WebKit/mock-types.h
M clang/test/Analysis/Checkers/WebKit/ref-cntbl-base-virtual-dtor.cpp
A clang/test/Analysis/Checkers/WebKit/ref-countable-default-arg-nullptr.cpp
A clang/test/Analysis/Checkers/WebKit/ref-ptr-accessor.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-lambda-captures.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-local-vars.cpp
M clang/test/Analysis/Checkers/WebKit/uncounted-members.cpp
A clang/test/Analysis/Checkers/WebKit/uncounted-obj-arg.cpp
M clang/test/Analysis/ObjCRetSigs.m
M clang/test/Analysis/objc_invalidation.m
M clang/test/Analysis/scan-build/html_output.test
M clang/test/Analysis/suppression-attr-doc.cpp
A clang/test/Analysis/suppression-attr.cpp
M clang/test/Analysis/suppression-attr.m
M clang/test/Analysis/unused-ivars.m
A clang/test/C/C2x/n2549.c
M clang/test/C/C2x/n2934.c
M clang/test/CMakeLists.txt
M clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p3.cpp
A clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p4.cpp
M clang/test/CXX/drs/dr12xx.cpp
M clang/test/CXX/drs/dr16xx.cpp
M clang/test/CXX/drs/dr18xx.cpp
A clang/test/CXX/drs/dr201.cpp
M clang/test/CXX/drs/dr20xx.cpp
A clang/test/CXX/drs/dr210.cpp
M clang/test/CXX/drs/dr2335.cpp
M clang/test/CXX/drs/dr23xx.cpp
M clang/test/CXX/drs/dr24xx.cpp
M clang/test/CXX/drs/dr25xx.cpp
A clang/test/CXX/drs/dr292.cpp
M clang/test/CXX/drs/dr2xx.cpp
M clang/test/CXX/drs/dr4xx.cpp
M clang/test/CXX/over/over.match/over.match.best/p1-2a.cpp
M clang/test/CXX/temp/temp.decls/temp.class/temp.mem.enum/p1.cpp
M clang/test/CodeGen/RISCV/ntlh-intrinsics/riscv32-zihintntl.c
A clang/test/CodeGen/RISCV/riscv-metadata-arch.c
M clang/test/CodeGen/aarch64-ABI-align-packed-assembly.c
M clang/test/CodeGen/aarch64-ABI-align-packed.c
M clang/test/CodeGen/aarch64-fix-cortex-a53-835769.c
M clang/test/CodeGen/aarch64-ls64-inline-asm.c
M clang/test/CodeGen/aarch64-ls64.c
M clang/test/CodeGen/aarch64-matmul.cpp
M clang/test/CodeGen/aarch64-neon-ldst-one-rcpc3.c
A clang/test/CodeGen/aarch64-soft-float-abi.c
M clang/test/CodeGen/aarch64-targetattr-arch.c
M clang/test/CodeGen/aarch64-targetattr-crypto.c
M clang/test/CodeGen/aarch64-targetattr.c
M clang/test/CodeGen/aarch64-tme.cpp
M clang/test/CodeGen/arm64-mte.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-bitcast.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-call.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-cast.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-codegen.c
M clang/test/CodeGen/attr-riscv-rvv-vector-bits-globals.c
M clang/test/CodeGen/attr-target-clones-aarch64.c
M clang/test/CodeGen/builtins.c
M clang/test/CodeGen/fp128_complex.c
M clang/test/CodeGen/fp16-ops-strictfp.c
M clang/test/CodeGen/fp16-ops.c
M clang/test/CodeGenCXX/debug-info-structured-binding-bitfield.cpp
A clang/test/CodeGenHLSL/BasicFeatures/standard_conversion_sequences.hlsl
M clang/test/CodeGenHLSL/builtins/ScalarSwizzles.hlsl
M clang/test/CodeGenHLSL/builtins/abs.hlsl
M clang/test/CodeGenHLSL/builtins/ceil.hlsl
M clang/test/CodeGenHLSL/builtins/cos.hlsl
M clang/test/CodeGenHLSL/builtins/floor.hlsl
M clang/test/CodeGenHLSL/builtins/log.hlsl
M clang/test/CodeGenHLSL/builtins/log10.hlsl
M clang/test/CodeGenHLSL/builtins/log2.hlsl
M clang/test/CodeGenHLSL/builtins/max.hlsl
M clang/test/CodeGenHLSL/builtins/min.hlsl
M clang/test/CodeGenHLSL/builtins/pow.hlsl
M clang/test/CodeGenHLSL/builtins/reversebits.hlsl
M clang/test/CodeGenHLSL/builtins/sin.hlsl
M clang/test/CodeGenHLSL/builtins/sqrt.hlsl
M clang/test/CodeGenHLSL/builtins/trunc.hlsl
M clang/test/Driver/aarch64-fix-cortex-a53-835769.c
M clang/test/Driver/aarch64-mgeneral_regs_only.c
M clang/test/Driver/aarch64-pauth-lr.c
A clang/test/Driver/aarch64-soft-float-abi.c
M clang/test/Driver/aarch64-target-as-march.s
M clang/test/Driver/amdgpu-macros.cl
M clang/test/Driver/amdgpu-mcpu.cl
M clang/test/Driver/arm-alignment.c
M clang/test/Driver/arm-no-neg-immediates.c
M clang/test/Driver/autocomplete.c
A clang/test/Driver/installapi.h
M clang/test/Driver/linux-ld.c
M clang/test/FixIt/fixit-c++11.cpp
M clang/test/Frontend/embed-bitcode.ll
M clang/test/Frontend/gnu-mcount.c
M clang/test/Headers/__clang_hip_math.hip
M clang/test/Headers/arm-acle-header.c
M clang/test/Headers/xmmintrin-unsupported.c
A clang/test/InstallAPI/installapi-basic.test
M clang/test/Lexer/gnu-flags.c
M clang/test/Misc/target-invalid-cpu-note.c
M clang/test/Parser/c2x-alignas.c
M clang/test/Parser/cxx-decl.cpp
M clang/test/Parser/cxx0x-decl.cpp
M clang/test/ParserOpenACC/parse-cache-construct.c
M clang/test/ParserOpenACC/parse-cache-construct.cpp
M clang/test/ParserOpenACC/parse-clauses.c
M clang/test/ParserOpenACC/parse-clauses.cpp
M clang/test/ParserOpenACC/parse-constructs.c
M clang/test/ParserOpenACC/parse-constructs.cpp
M clang/test/ParserOpenACC/parse-wait-clause.c
M clang/test/ParserOpenACC/parse-wait-construct.c
M clang/test/ParserOpenACC/unimplemented.c
M clang/test/ParserOpenACC/unimplemented.cpp
M clang/test/Preprocessor/aarch64-target-features.c
M clang/test/Preprocessor/arm-target-features.c
A clang/test/Preprocessor/fixed-point.c
A clang/test/Preprocessor/no-fixed-point.c
A clang/test/Sema/aarch64-soft-float-abi.c
M clang/test/Sema/aarch64-tme-errors.c
M clang/test/Sema/aarch64-tme-tcancel-errors.c
M clang/test/Sema/warn-char-subscripts.c
M clang/test/SemaCXX/PR40395.cpp
M clang/test/SemaCXX/attr-suppress.cpp
M clang/test/SemaCXX/builtins-overflow.cpp
M clang/test/SemaCXX/concept-crash-on-diagnostic.cpp
M clang/test/SemaCXX/cxx98-compat.cpp
M clang/test/SemaCXX/enum-scoped.cpp
M clang/test/SemaCXX/ms-uuid.cpp
M clang/test/SemaCXX/warn-overaligned-type-thrown.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-array.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-debug.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-array-assign-to-ptr.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-local-var-array.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-pointer-access.cpp
A clang/test/SemaCXX/warn-unsafe-buffer-usage-fixits-pointer-arg-to-func-ptr-call.cpp
M clang/test/SemaCXX/warn-unsafe-buffer-usage.cpp
M clang/test/SemaHLSL/BuiltIns/vector-constructors-erros.hlsl
A clang/test/SemaHLSL/OverloadResolutionBugs.hlsl
M clang/test/SemaHLSL/Types/BuiltinVector/ScalarSwizzles.hlsl
A clang/test/SemaHLSL/VectorOverloadResolution.hlsl
A clang/test/SemaHLSL/standard_conversion_sequences.hlsl
M clang/test/SemaObjC/attr-suppress.m
M clang/test/lit.cfg.py
M clang/tools/clang-offload-packager/ClangOffloadPackager.cpp
M clang/tools/driver/cc1_main.cpp
M clang/tools/libclang/CIndex.cpp
M clang/tools/libclang/CXCursor.cpp
M clang/tools/scan-build/bin/scan-build
M clang/tools/scan-build/share/scan-build/sorttable.js
M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
M clang/unittests/Format/ConfigParseTest.cpp
M clang/unittests/Format/DefinitionBlockSeparatorTest.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/FormatTestCSharp.cpp
M clang/utils/TableGen/ClangOptionDocEmitter.cpp
M clang/www/cxx_dr_status.html
M clang/www/make_cxx_dr_status
M compiler-rt/lib/asan_abi/asan_abi_shim.cpp
M compiler-rt/lib/ubsan/ubsan_signals_standalone.cpp
M compiler-rt/test/CMakeLists.txt
M compiler-rt/test/profile/instrprof-block-coverage.c
M compiler-rt/test/profile/instrprof-entry-coverage.c
M compiler-rt/test/ubsan/TestCases/Misc/Linux/static-link.cpp
M flang/docs/FlangOptionsDocs.td
M flang/docs/FortranLLVMTestSuite.md
M flang/docs/index.md
M flang/include/flang/Lower/OpenMP.h
M flang/include/flang/Optimizer/Dialect/FIRAttr.td
M flang/include/flang/Optimizer/Dialect/FIRDialect.h
M flang/include/flang/Optimizer/Dialect/FIROpsSupport.h
M flang/include/flang/Optimizer/Support/InitFIR.h
M flang/include/flang/Optimizer/Support/Utils.h
A flang/include/flang/Optimizer/Transforms/Utils.h
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/OpenMP.cpp
M flang/lib/Optimizer/Dialect/CMakeLists.txt
M flang/lib/Optimizer/Dialect/FIRAttr.cpp
M flang/lib/Optimizer/Dialect/FIRDialect.cpp
M flang/lib/Optimizer/HLFIR/Transforms/BufferizeHLFIR.cpp
M flang/lib/Optimizer/HLFIR/Transforms/CMakeLists.txt
M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
M flang/lib/Semantics/canonicalize-omp.cpp
M flang/module/iso_c_binding.f90
M flang/runtime/assign.cpp
M flang/runtime/copy.cpp
M flang/runtime/derived.cpp
A flang/test/Driver/masm.f90
A flang/test/Driver/predefined-macros-powerpc.f90
M flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
M flang/test/Lower/CUDA/cuda-proc-attribute.cuf
A flang/test/Lower/HLFIR/issue80884.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-add.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-iand.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-ieor.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-ior.f90
R flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-and.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-eqv.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-neqv.f90
R flang/test/Lower/OpenMP/FIR/wsloop-reduction-logical-or.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-max.f90
M flang/test/Lower/OpenMP/FIR/wsloop-reduction-min.f90
R flang/test/Lower/OpenMP/FIR/wsloop-reduction-mul.f90
M flang/test/Lower/OpenMP/default-clause.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add-hlfir.f90
M flang/test/Lower/OpenMP/wsloop-reduction-add.f90
M flang/test/Lower/OpenMP/wsloop-reduction-iand.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ieor.f90
M flang/test/Lower/OpenMP/wsloop-reduction-ior.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-and.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv.f90
M flang/test/Lower/OpenMP/wsloop-reduction-logical-or.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-2.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max-hlfir.f90
M flang/test/Lower/OpenMP/wsloop-reduction-max.f90
M flang/test/Lower/OpenMP/wsloop-reduction-min.f90
M flang/test/Lower/OpenMP/wsloop-reduction-mul.f90
M libc/cmake/modules/CheckCompilerFeatures.cmake
M libc/cmake/modules/LLVMLibCObjectRules.cmake
A libc/cmake/modules/compiler_features/check_fixed_point.cpp
M libc/config/linux/aarch64/entrypoints.txt
M libc/config/linux/api.td
M libc/config/linux/riscv/entrypoints.txt
M libc/config/linux/x86_64/entrypoints.txt
M libc/config/linux/x86_64/headers.txt
M libc/docs/math/index.rst
A libc/docs/math/stdfix.rst
M libc/docs/stdbit.rst
M libc/include/CMakeLists.txt
M libc/include/llvm-libc-macros/CMakeLists.txt
M libc/include/llvm-libc-macros/stdbit-macros.h
A libc/include/llvm-libc-macros/stdfix-macros.h
A libc/include/stdfix.h.def
M libc/spec/spec.td
M libc/spec/stdc.td
A libc/spec/stdc_ext.td
M libc/src/__support/CMakeLists.txt
M libc/src/__support/CPP/CMakeLists.txt
M libc/src/__support/CPP/array.h
M libc/src/__support/CPP/bit.h
M libc/src/__support/CPP/type_traits.h
A libc/src/__support/CPP/type_traits/is_fixed_point.h
M libc/src/__support/FPUtil/BasicOperations.h
M libc/src/__support/FPUtil/CMakeLists.txt
M libc/src/__support/FPUtil/FPBits.h
M libc/src/__support/FPUtil/ManipulationFunctions.h
M libc/src/__support/FPUtil/dyadic_float.h
M libc/src/__support/GPU/amdgpu/utils.h
M libc/src/__support/GPU/generic/utils.h
M libc/src/__support/GPU/nvptx/utils.h
M libc/src/__support/RPC/rpc.h
M libc/src/__support/RPC/rpc_util.h
M libc/src/__support/UInt.h
A libc/src/__support/fixed_point/CMakeLists.txt
A libc/src/__support/fixed_point/fx_rep.h
M libc/src/__support/float_to_string.h
A libc/src/__support/integer_literals.h
M libc/src/__support/integer_utils.h
M libc/src/__support/math_extras.h
M libc/src/__support/number_pair.h
M libc/src/math/CMakeLists.txt
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/acoshf.cpp
M libc/src/math/generic/asinhf.cpp
A libc/src/math/generic/ldexpf128.cpp
A libc/src/math/ldexpf128.h
M libc/src/stdbit/CMakeLists.txt
A libc/src/stdbit/stdc_first_leading_one_uc.cpp
A libc/src/stdbit/stdc_first_leading_one_uc.h
A libc/src/stdbit/stdc_first_leading_one_ui.cpp
A libc/src/stdbit/stdc_first_leading_one_ui.h
A libc/src/stdbit/stdc_first_leading_one_ul.cpp
A libc/src/stdbit/stdc_first_leading_one_ul.h
A libc/src/stdbit/stdc_first_leading_one_ull.cpp
A libc/src/stdbit/stdc_first_leading_one_ull.h
A libc/src/stdbit/stdc_first_leading_one_us.cpp
A libc/src/stdbit/stdc_first_leading_one_us.h
A libc/src/stdbit/stdc_first_trailing_one_uc.cpp
A libc/src/stdbit/stdc_first_trailing_one_uc.h
A libc/src/stdbit/stdc_first_trailing_one_ui.cpp
A libc/src/stdbit/stdc_first_trailing_one_ui.h
A libc/src/stdbit/stdc_first_trailing_one_ul.cpp
A libc/src/stdbit/stdc_first_trailing_one_ul.h
A libc/src/stdbit/stdc_first_trailing_one_ull.cpp
A libc/src/stdbit/stdc_first_trailing_one_ull.h
A libc/src/stdbit/stdc_first_trailing_one_us.cpp
A libc/src/stdbit/stdc_first_trailing_one_us.h
A libc/src/stdbit/stdc_first_trailing_zero_uc.cpp
A libc/src/stdbit/stdc_first_trailing_zero_uc.h
A libc/src/stdbit/stdc_first_trailing_zero_ui.cpp
A libc/src/stdbit/stdc_first_trailing_zero_ui.h
A libc/src/stdbit/stdc_first_trailing_zero_ul.cpp
A libc/src/stdbit/stdc_first_trailing_zero_ul.h
A libc/src/stdbit/stdc_first_trailing_zero_ull.cpp
A libc/src/stdbit/stdc_first_trailing_zero_ull.h
A libc/src/stdbit/stdc_first_trailing_zero_us.cpp
A libc/src/stdbit/stdc_first_trailing_zero_us.h
M libc/src/time/gpu/nanosleep.cpp
M libc/src/time/gpu/time_utils.h
M libc/test/UnitTest/CMakeLists.txt
M libc/test/UnitTest/LibcTest.cpp
M libc/test/UnitTest/LibcTest.h
M libc/test/include/stdbit_test.cpp
M libc/test/src/__support/CMakeLists.txt
M libc/test/src/__support/CPP/bit_test.cpp
M libc/test/src/__support/FPUtil/CMakeLists.txt
M libc/test/src/__support/FPUtil/dyadic_float_test.cpp
M libc/test/src/__support/FPUtil/fpbits_test.cpp
M libc/test/src/__support/RPC/rpc_smoke_test.cpp
A libc/test/src/__support/integer_literals_test.cpp
M libc/test/src/__support/uint_test.cpp
M libc/test/src/math/smoke/CMakeLists.txt
M libc/test/src/math/smoke/LdExpTest.h
M libc/test/src/math/smoke/ldexp_test.cpp
A libc/test/src/math/smoke/ldexpf128_test.cpp
M libc/test/src/math/smoke/ldexpf_test.cpp
M libc/test/src/math/smoke/ldexpl_test.cpp
M libc/test/src/stdbit/CMakeLists.txt
A libc/test/src/stdbit/stdc_first_leading_one_uc_test.cpp
A libc/test/src/stdbit/stdc_first_leading_one_ui_test.cpp
A libc/test/src/stdbit/stdc_first_leading_one_ul_test.cpp
A libc/test/src/stdbit/stdc_first_leading_one_ull_test.cpp
A libc/test/src/stdbit/stdc_first_leading_one_us_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_one_uc_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_one_ui_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_one_ul_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_one_ull_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_one_us_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_zero_uc_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_zero_ui_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_zero_ul_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_zero_ull_test.cpp
A libc/test/src/stdbit/stdc_first_trailing_zero_us_test.cpp
M libc/utils/HdrGen/PublicAPICommand.cpp
M libc/utils/HdrGen/PublicAPICommand.h
M libc/utils/gpu/server/rpc_server.cpp
M libcxx/docs/Modules.rst
M libcxx/docs/Status/RangesAlgorithms.csv
M libcxx/include/CMakeLists.txt
A libcxx/include/__algorithm/ranges_contains_subrange.h
M libcxx/include/__format/parser_std_format_spec.h
M libcxx/include/__random/linear_congruential_engine.h
M libcxx/include/algorithm
M libcxx/include/libcxx.imp
M libcxx/include/module.modulemap.in
M libcxx/include/sstream
M libcxx/modules/CMakeLists.txt
A libcxx/modules/CMakeLists.txt.in
M libcxx/modules/std/algorithm.inc
M libcxx/test/libcxx/algorithms/ranges_robust_against_copying_projections.pass.cpp
M libcxx/test/libcxx/diagnostics/ranges.nodiscard_extensions.compile.pass.cpp
M libcxx/test/libcxx/diagnostics/ranges.nodiscard_extensions.verify.cpp
A libcxx/test/std/algorithms/alg.nonmodifying/alg.contains/ranges.contains_subrange.pass.cpp
M libcxx/test/std/containers/container.adaptors/container.adaptors.format/format.functions.tests.h
M libcxx/test/std/containers/sequences/vector.bool/vector.bool.fmt/format.functions.tests.h
A libcxx/test/std/input.output/string.streams/istringstream/types.compile.pass.cpp
R libcxx/test/std/input.output/string.streams/istringstream/types.pass.cpp
A libcxx/test/std/input.output/string.streams/ostringstream/types.compile.pass.cpp
R libcxx/test/std/input.output/string.streams/ostringstream/types.pass.cpp
A libcxx/test/std/input.output/string.streams/stringbuf/types.compile.pass.cpp
R libcxx/test/std/input.output/string.streams/stringbuf/types.pass.cpp
A libcxx/test/std/input.output/string.streams/stringstream/types.compile.pass.cpp
R libcxx/test/std/input.output/string.streams/stringstream/types.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new.size_align.except.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/new.size_align_nothrow.except.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.size_align.except.pass.cpp
M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/new.size_align_nothrow.except.pass.cpp
M libcxx/test/std/library/description/conventions/customization.point.object/niebloid.compile.pass.cpp
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/alg.pass.cpp
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/assign.pass.cpp
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/copy.pass.cpp
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/default.pass.cpp
M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/values.pass.cpp
M libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtmap/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtset/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.fmtstr/format.functions.tests.h
M libcxx/test/std/utilities/format/format.range/format.range.formatter/format.functions.tests.h
M libcxx/test/std/utilities/format/format.tuple/format.functions.tests.h
M lld/ELF/Arch/LoongArch.cpp
A lld/ELF/Arch/SystemZ.cpp
M lld/ELF/CMakeLists.txt
M lld/ELF/Driver.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/InputSection.cpp
M lld/ELF/Relocations.cpp
M lld/ELF/Relocations.h
M lld/ELF/ScriptParser.cpp
M lld/ELF/SyntheticSections.cpp
M lld/ELF/Target.cpp
M lld/ELF/Target.h
M lld/ELF/Thunks.cpp
M lld/ELF/Writer.cpp
M lld/MinGW/Driver.cpp
M lld/MinGW/Options.td
A lld/test/ELF/Inputs/systemz-init.s
M lld/test/ELF/arm-thumb-thunk-v6m-xo.s
A lld/test/ELF/basic-systemz.s
A lld/test/ELF/emulation-systemz.s
A lld/test/ELF/lto/systemz.ll
A lld/test/ELF/systemz-got.s
A lld/test/ELF/systemz-gotent-relax-align.s
A lld/test/ELF/systemz-gotent-relax-und-dso.s
A lld/test/ELF/systemz-gotent-relax.s
A lld/test/ELF/systemz-ifunc-nonpreemptible.s
A lld/test/ELF/systemz-init-padding.s
A lld/test/ELF/systemz-pie.s
A lld/test/ELF/systemz-plt.s
A lld/test/ELF/systemz-reloc-abs.s
A lld/test/ELF/systemz-reloc-disp12.s
A lld/test/ELF/systemz-reloc-disp20.s
A lld/test/ELF/systemz-reloc-got.s
A lld/test/ELF/systemz-reloc-gotrel.s
A lld/test/ELF/systemz-reloc-pc16.s
A lld/test/ELF/systemz-reloc-pc32.s
A lld/test/ELF/systemz-reloc-pcdbl.s
A lld/test/ELF/systemz-tls-gd.s
A lld/test/ELF/systemz-tls-ie.s
A lld/test/ELF/systemz-tls-ld.s
A lld/test/ELF/systemz-tls-le.s
A lld/test/ELF/unsupported-emachine.test
M lld/test/ELF/x86-64-section-layout.s
M lld/test/MinGW/driver.test
M lld/test/lit.cfg.py
M lldb/bindings/python/CMakeLists.txt
M lldb/bindings/python/python-wrapper.swig
M lldb/examples/python/cmdtemplate.py
A lldb/examples/python/templates/parsed_cmd.py
M lldb/include/lldb/DataFormatters/ValueObjectPrinter.h
M lldb/include/lldb/Interpreter/CommandObject.h
M lldb/include/lldb/Interpreter/ScriptInterpreter.h
M lldb/include/lldb/Target/StopInfo.h
M lldb/include/lldb/Target/Thread.h
M lldb/packages/Python/lldbsuite/test/concurrent_base.py
M lldb/packages/Python/lldbsuite/test/configuration.py
M lldb/packages/Python/lldbsuite/test/decorators.py
M lldb/packages/Python/lldbsuite/test/dotest.py
M lldb/packages/Python/lldbsuite/test/lldbtest.py
M lldb/packages/Python/lldbsuite/test/test_result.py
M lldb/source/Commands/CommandObjectCommands.cpp
M lldb/source/Commands/CommandObjectFrame.cpp
M lldb/source/Commands/CommandObjectProcess.cpp
M lldb/source/Commands/Options.td
M lldb/source/Core/ValueObject.cpp
M lldb/source/DataFormatters/TypeSummary.cpp
M lldb/source/DataFormatters/ValueObjectPrinter.cpp
M lldb/source/Expression/DWARFExpression.cpp
M lldb/source/Interpreter/CommandObject.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteAppleXR.h
M lldb/source/Plugins/Process/Utility/StopInfoMachException.cpp
M lldb/source/Plugins/Process/Utility/StopInfoMachException.h
M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
M lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
M lldb/source/Plugins/SymbolFile/DWARF/DWARFDeclContext.h
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp
M lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.h
M lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
M lldb/source/Target/Thread.cpp
A lldb/test/API/commands/command/script/add/TestAddParsedCommand.py
A lldb/test/API/commands/command/script/add/test_commands.py
M lldb/test/API/commands/expression/test/TestExprs.py
M lldb/test/API/commands/platform/sdk/TestPlatformSDK.py
M lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py
M lldb/test/API/functionalities/breakpoint/thread_plan_user_breakpoint/TestThreadPlanUserBreakpoint.py
M lldb/test/API/functionalities/jitloader_gdb/TestJITLoaderGDB.py
M lldb/test/API/functionalities/launch_stop_at_entry/TestStopAtEntry.py
M lldb/test/API/functionalities/thread/state/TestThreadStates.py
M lldb/test/API/functionalities/tty/TestTerminal.py
M lldb/test/API/lang/c/shared_lib/TestSharedLib.py
M lldb/test/API/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py
M lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
M lldb/test/API/lang/cpp/reference-to-outer-type/TestCppReferenceToOuterClass.py
M lldb/test/API/lang/cpp/thread_local/TestThreadLocal.py
M lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py
M lldb/test/API/lldbtest.py
M lldb/test/API/macosx/universal/TestUniversal.py
M lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
M lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
M lldb/test/API/tools/lldb-server/test/test_lldbgdbserverutils.py
A lldb/tools/lldb-dap/Breakpoint.cpp
A lldb/tools/lldb-dap/Breakpoint.h
M lldb/tools/lldb-dap/BreakpointBase.cpp
M lldb/tools/lldb-dap/BreakpointBase.h
M lldb/tools/lldb-dap/CMakeLists.txt
M lldb/tools/lldb-dap/FunctionBreakpoint.cpp
M lldb/tools/lldb-dap/FunctionBreakpoint.h
M lldb/tools/lldb-dap/JSONUtils.cpp
M lldb/tools/lldb-dap/JSONUtils.h
M lldb/tools/lldb-dap/SourceBreakpoint.cpp
M lldb/tools/lldb-dap/SourceBreakpoint.h
M lldb/tools/lldb-dap/lldb-dap.cpp
M lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
M lldb/unittests/SymbolFile/DWARF/CMakeLists.txt
A lldb/unittests/SymbolFile/DWARF/DWARFDebugNamesIndexTest.cpp
M llvm/CMakeLists.txt
M llvm/docs/AMDGPUUsage.rst
M llvm/docs/CodingStandards.rst
M llvm/include/llvm/ADT/APFixedPoint.h
M llvm/include/llvm/ADT/BitVector.h
M llvm/include/llvm/Analysis/ConstantFolding.h
M llvm/include/llvm/Analysis/TargetLibraryInfo.h
M llvm/include/llvm/Analysis/ValueTracking.h
M llvm/include/llvm/Analysis/VecFuncs.def
M llvm/include/llvm/BinaryFormat/Wasm.h
M llvm/include/llvm/CodeGen/AccelTable.h
M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
M llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
M llvm/include/llvm/CodeGen/ISDOpcodes.h
M llvm/include/llvm/CodeGen/SelectionDAG.h
M llvm/include/llvm/CodeGenTypes/LowLevelType.h
M llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h
M llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h
M llvm/include/llvm/DebugInfo/GSYM/ObjectFileTransformer.h
A llvm/include/llvm/DebugInfo/GSYM/OutputAggregator.h
M llvm/include/llvm/Frontend/Driver/CodeGenOptions.h
M llvm/include/llvm/IR/Intrinsics.td
M llvm/include/llvm/IR/Metadata.h
M llvm/include/llvm/Object/COFFImportFile.h
M llvm/include/llvm/Object/Wasm.h
M llvm/include/llvm/Passes/CodeGenPassBuilder.h
M llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h
A llvm/include/llvm/ProfileData/Coverage/MCDCTypes.h
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/Support/CommandLine.h
A llvm/include/llvm/Support/ExponentialBackoff.h
M llvm/include/llvm/Support/PGOOptions.h
M llvm/include/llvm/Support/TargetOpcodes.def
M llvm/include/llvm/Target/GenericOpcodes.td
M llvm/include/llvm/Target/GlobalISel/Combine.td
M llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td
M llvm/include/llvm/Target/TargetSelectionDAG.td
M llvm/include/llvm/TargetParser/ARMTargetParser.h
A llvm/include/llvm/TextAPI/FileTypes.h
M llvm/include/llvm/TextAPI/InterfaceFile.h
M llvm/include/llvm/TextAPI/RecordsSlice.h
M llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
A llvm/include/llvm/Transforms/Instrumentation/PGOForceFunctionAttrs.h
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/DomConditionCache.cpp
M llvm/lib/Analysis/IVDescriptors.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/TargetLibraryInfo.cpp
M llvm/lib/Analysis/ValueTracking.cpp
M llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp
M llvm/lib/CodeGen/BasicBlockSections.cpp
M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
M llvm/lib/CodeGen/IntrinsicLowering.cpp
M llvm/lib/CodeGen/MachineSink.cpp
M llvm/lib/CodeGen/MachineVerifier.cpp
M llvm/lib/CodeGen/SelectOptimize.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/lib/CodeGen/TypePromotion.cpp
M llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
M llvm/lib/DebugInfo/GSYM/GsymCreator.cpp
M llvm/lib/DebugInfo/GSYM/ObjectFileTransformer.cpp
M llvm/lib/Frontend/Driver/CodeGenOptions.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/DebugInfo.cpp
M llvm/lib/IR/IntrinsicInst.cpp
M llvm/lib/LTO/LTOBackend.cpp
M llvm/lib/Object/COFFImportFile.cpp
M llvm/lib/Object/ELFObjectFile.cpp
M llvm/lib/Object/WasmObjectFile.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassBuilderPipelines.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
M llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
M llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/Support/APFixedPoint.cpp
M llvm/lib/Support/CMakeLists.txt
M llvm/lib/Support/DeltaAlgorithm.cpp
A llvm/lib/Support/ExponentialBackoff.cpp
M llvm/lib/Support/LockFileManager.cpp
M llvm/lib/Support/PGOOptions.cpp
M llvm/lib/Target/AArch64/AArch64.td
M llvm/lib/Target/AArch64/AArch64Combine.td
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/AArch64SchedA53.td
M llvm/lib/Target/AArch64/AArch64SchedA57.td
M llvm/lib/Target/AArch64/AArch64SchedA64FX.td
A llvm/lib/Target/AArch64/AArch64SchedAmpere1B.td
M llvm/lib/Target/AArch64/AArch64SchedCyclone.td
M llvm/lib/Target/AArch64/AArch64SchedExynosM3.td
M llvm/lib/Target/AArch64/AArch64SchedExynosM4.td
M llvm/lib/Target/AArch64/AArch64SchedExynosM5.td
M llvm/lib/Target/AArch64/AArch64SchedFalkor.td
M llvm/lib/Target/AArch64/AArch64SchedKryo.td
M llvm/lib/Target/AArch64/AArch64SchedNeoverseN1.td
M llvm/lib/Target/AArch64/AArch64SchedNeoverseN2.td
M llvm/lib/Target/AArch64/AArch64SchedNeoverseV1.td
M llvm/lib/Target/AArch64/AArch64SchedNeoverseV2.td
M llvm/lib/Target/AArch64/AArch64SchedTSV110.td
M llvm/lib/Target/AArch64/AArch64SchedThunderX.td
M llvm/lib/Target/AArch64/AArch64SchedThunderX2T99.td
M llvm/lib/Target/AArch64/AArch64SchedThunderX3T110.td
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp
M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPU.td
M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp
M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
M llvm/lib/Target/AMDGPU/DSDIRInstructions.td
M llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
M llvm/lib/Target/AMDGPU/EXPInstructions.td
M llvm/lib/Target/AMDGPU/GCNProcessors.td
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
M llvm/lib/Target/AMDGPU/SIDefines.h
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIInsertHardClauses.cpp
M llvm/lib/Target/AMDGPU/SIInstrFormats.td
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/SIMemoryLegalizer.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.td
M llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
M llvm/lib/Target/AMDGPU/SMInstructions.td
M llvm/lib/Target/AMDGPU/SOPInstructions.td
M llvm/lib/Target/AMDGPU/VOP1Instructions.td
M llvm/lib/Target/AMDGPU/VOP3PInstructions.td
M llvm/lib/Target/AMDGPU/VOPInstructions.td
M llvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp
M llvm/lib/Target/BPF/BPFInstrInfo.td
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/Hexagon/HexagonPatterns.td
M llvm/lib/Target/Mips/AsmParser/MipsAsmParser.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/RISCV/RISCVFeatures.td
M llvm/lib/Target/RISCV/RISCVFoldMasks.cpp
M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
M llvm/lib/Target/RISCV/RISCVFrameLowering.h
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
M llvm/lib/Target/RISCV/RISCVRegisterInfo.h
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
M llvm/lib/Target/SPIRV/Analysis/CMakeLists.txt
M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
M llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.h
M llvm/lib/Target/SPIRV/SPIRVSubtarget.cpp
M llvm/lib/Target/SPIRV/SPIRVSymbolicOperands.td
M llvm/lib/Target/Sparc/SparcISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86InstrSystem.td
M llvm/lib/Target/X86/X86SchedIceLake.td
M llvm/lib/TargetParser/ARMTargetParser.cpp
M llvm/lib/TargetParser/TargetParser.cpp
M llvm/lib/TextAPI/BinaryReader/DylibReader.cpp
M llvm/lib/TextAPI/InterfaceFile.cpp
M llvm/lib/TextAPI/RecordsSlice.cpp
M llvm/lib/TextAPI/TextAPIContext.h
M llvm/lib/TextAPI/TextStubCommon.h
M llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp
M llvm/lib/ToolDrivers/llvm-dlltool/Options.td
M llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
M llvm/lib/ToolDrivers/llvm-lib/Options.td
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/lib/Transforms/IPO/GlobalOpt.cpp
M llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/lib/Transforms/Instrumentation/CMakeLists.txt
M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
A llvm/lib/Transforms/Instrumentation/PGOForceFunctionAttrs.cpp
M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
M llvm/lib/Transforms/Scalar/LICM.cpp
M llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
M llvm/lib/Transforms/Utils/MemoryTaggingSupport.cpp
M llvm/lib/Transforms/Utils/ValueMapper.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
M llvm/lib/Transforms/Vectorize/VPlan.h
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
M llvm/test/Analysis/CostModel/AArch64/cast.ll
M llvm/test/Analysis/CostModel/AArch64/fptoi_sat.ll
M llvm/test/Analysis/CostModel/RISCV/rvv-shuffle.ll
A llvm/test/Analysis/CostModel/RISCV/rvv-vectorextract.ll
A llvm/test/Analysis/CostModel/RISCV/rvv-vectorinsert.ll
M llvm/test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll
M llvm/test/Analysis/LoopAccessAnalysis/reverse-memcheck-bounds.ll
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-xtn.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
M llvm/test/CodeGen/AArch64/Redundantstore.ll
M llvm/test/CodeGen/AArch64/aarch64-a57-fp-load-balancing.ll
M llvm/test/CodeGen/AArch64/aarch64-addv.ll
M llvm/test/CodeGen/AArch64/aarch64-gep-opt.ll
M llvm/test/CodeGen/AArch64/aarch64-tbz.ll
M llvm/test/CodeGen/AArch64/aarch64-unroll-and-jam.ll
M llvm/test/CodeGen/AArch64/aarch64-vcvtfp2fxs-combine.ll
M llvm/test/CodeGen/AArch64/arm64-build-vector.ll
M llvm/test/CodeGen/AArch64/arm64-movi.ll
M llvm/test/CodeGen/AArch64/arm64-popcnt.ll
M llvm/test/CodeGen/AArch64/arm64-rev.ll
M llvm/test/CodeGen/AArch64/asm-large-immediate.ll
A llvm/test/CodeGen/AArch64/basic-block-sections-cold.ll
A llvm/test/CodeGen/AArch64/basic-block-sections-unsafe.ll
M llvm/test/CodeGen/AArch64/bf16-shuffle.ll
M llvm/test/CodeGen/AArch64/bf16.ll
M llvm/test/CodeGen/AArch64/bitreverse.ll
M llvm/test/CodeGen/AArch64/cmpwithshort.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i16-add-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i16-mul-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i32-add-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i32-mul-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i64-add-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i64-mul-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-i8-add-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-splat-scalable.ll
M llvm/test/CodeGen/AArch64/complex-deinterleaving-splat.ll
M llvm/test/CodeGen/AArch64/cond-br-tuning.ll
M llvm/test/CodeGen/AArch64/consthoist-gep.ll
A llvm/test/CodeGen/AArch64/dbg-assign-tag-offset-mix-loc.ll
A llvm/test/CodeGen/AArch64/dbg-assign-tag-offset.ll
M llvm/test/CodeGen/AArch64/extbinopload.ll
M llvm/test/CodeGen/AArch64/extract-sext-zext.ll
M llvm/test/CodeGen/AArch64/fabs-combine.ll
M llvm/test/CodeGen/AArch64/fabs.ll
M llvm/test/CodeGen/AArch64/faddsub.ll
M llvm/test/CodeGen/AArch64/fcmp.ll
M llvm/test/CodeGen/AArch64/fcopysign.ll
M llvm/test/CodeGen/AArch64/fcvt.ll
M llvm/test/CodeGen/AArch64/fcvt_combine.ll
M llvm/test/CodeGen/AArch64/fdiv.ll
M llvm/test/CodeGen/AArch64/fence-singlethread.ll
M llvm/test/CodeGen/AArch64/fexplog.ll
M llvm/test/CodeGen/AArch64/fminimummaximum.ll
M llvm/test/CodeGen/AArch64/fminmax.ll
M llvm/test/CodeGen/AArch64/fmla.ll
M llvm/test/CodeGen/AArch64/fmul.ll
M llvm/test/CodeGen/AArch64/fneg.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_lane.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_scalar_1op.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_scalar_2op.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_scalar_3op.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_vector_1op.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_vector_2op.ll
M llvm/test/CodeGen/AArch64/fp16_intrinsic_vector_3op.ll
M llvm/test/CodeGen/AArch64/fpext.ll
M llvm/test/CodeGen/AArch64/fpow.ll
M llvm/test/CodeGen/AArch64/fpowi.ll
M llvm/test/CodeGen/AArch64/fptoi.ll
M llvm/test/CodeGen/AArch64/fptrunc.ll
M llvm/test/CodeGen/AArch64/frem.ll
M llvm/test/CodeGen/AArch64/frintn.ll
M llvm/test/CodeGen/AArch64/fsincos.ll
M llvm/test/CodeGen/AArch64/fsqrt.ll
M llvm/test/CodeGen/AArch64/hints.ll
M llvm/test/CodeGen/AArch64/icmp.ll
M llvm/test/CodeGen/AArch64/insertextract.ll
M llvm/test/CodeGen/AArch64/intrinsics-memory-barrier.ll
M llvm/test/CodeGen/AArch64/itofp.ll
M llvm/test/CodeGen/AArch64/ldp-stp-scaled-unscaled-pairs.ll
M llvm/test/CodeGen/AArch64/legalize-bug-bogus-cpu.ll
M llvm/test/CodeGen/AArch64/merge-scoped-aa-store.ll
M llvm/test/CodeGen/AArch64/merge-store-dependency.ll
M llvm/test/CodeGen/AArch64/merge-store.ll
M llvm/test/CodeGen/AArch64/min-max-combine.ll
M llvm/test/CodeGen/AArch64/min-max.ll
M llvm/test/CodeGen/AArch64/misched-fusion-addadrp.ll
M llvm/test/CodeGen/AArch64/misched-fusion-addr.ll
M llvm/test/CodeGen/AArch64/misched-fusion-aes.ll
M llvm/test/CodeGen/AArch64/mul_pow2.ll
M llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll
M llvm/test/CodeGen/AArch64/neon-extadd-extract.ll
M llvm/test/CodeGen/AArch64/neon-mov.ll
M llvm/test/CodeGen/AArch64/neon_rbit.ll
M llvm/test/CodeGen/AArch64/no-quad-ldp-stp.ll
M llvm/test/CodeGen/AArch64/nzcv-save.ll
M llvm/test/CodeGen/AArch64/pacbti-module-attrs.ll
M llvm/test/CodeGen/AArch64/postra-mi-sched.ll
M llvm/test/CodeGen/AArch64/rbit.ll
M llvm/test/CodeGen/AArch64/rcpc3-sve.ll
M llvm/test/CodeGen/AArch64/rcpc3.ll
M llvm/test/CodeGen/AArch64/rem_crash.ll
M llvm/test/CodeGen/AArch64/rotate.ll
M llvm/test/CodeGen/AArch64/setcc_knownbits.ll
M llvm/test/CodeGen/AArch64/sls-stackprotector-outliner.ll
A llvm/test/CodeGen/AArch64/soft-float-abi.ll
M llvm/test/CodeGen/AArch64/srem-seteq-vec-nonsplat.ll
M llvm/test/CodeGen/AArch64/stack-probing-64k.ll
M llvm/test/CodeGen/AArch64/stack-probing-dynamic.ll
M llvm/test/CodeGen/AArch64/stack-probing-sve.ll
M llvm/test/CodeGen/AArch64/stack-probing.ll
M llvm/test/CodeGen/AArch64/sve-fcopysign.ll
M llvm/test/CodeGen/AArch64/sve2-fcopysign.ll
M llvm/test/CodeGen/AArch64/tailmerging_in_mbp.ll
M llvm/test/CodeGen/AArch64/tbz-tbnz.ll
M llvm/test/CodeGen/AArch64/urem-seteq-vec-nonzero.ll
M llvm/test/CodeGen/AArch64/urem-vector-lkk.ll
M llvm/test/CodeGen/AArch64/v3f-to-int.ll
M llvm/test/CodeGen/AArch64/v8.5a-neon-frint3264-intrinsic.ll
M llvm/test/CodeGen/AArch64/v8.5a-scalar-frint3264-intrinsic.ll
M llvm/test/CodeGen/AArch64/vecreduce-add.ll
M llvm/test/CodeGen/AArch64/vecreduce-fadd-strict.ll
M llvm/test/CodeGen/AArch64/vecreduce-fadd.ll
M llvm/test/CodeGen/AArch64/vecreduce-fmul-strict.ll
M llvm/test/CodeGen/AArch64/vecreduce-fmul.ll
M llvm/test/CodeGen/AArch64/xar.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_udec_wrap.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/atomicrmw_uinc_wrap.ll
A llvm/test/CodeGen/AMDGPU/GlobalISel/bitcast_38_i16.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-build-vector.mir
M llvm/test/CodeGen/AMDGPU/GlobalISel/memory-legalizer-atomic-fence.ll
M llvm/test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
M llvm/test/CodeGen/AMDGPU/atomicrmw-expand.ll
M llvm/test/CodeGen/AMDGPU/av_spill_cross_bb_usage.mir
M llvm/test/CodeGen/AMDGPU/bf16.ll
M llvm/test/CodeGen/AMDGPU/branch-folding-implicit-def-subreg.ll
M llvm/test/CodeGen/AMDGPU/directive-amdgcn-target.ll
M llvm/test/CodeGen/AMDGPU/elf-header-flags-mach.ll
M llvm/test/CodeGen/AMDGPU/function-args.ll
M llvm/test/CodeGen/AMDGPU/generic-targets-require-v6.ll
M llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
M llvm/test/CodeGen/AMDGPU/global-saddr-atomics-min-max-system.ll
M llvm/test/CodeGen/AMDGPU/global-saddr-atomics.ll
M llvm/test/CodeGen/AMDGPU/global-saddr-load.ll
M llvm/test/CodeGen/AMDGPU/hard-clauses.mir
M llvm/test/CodeGen/AMDGPU/hsa-generic-target-features.ll
M llvm/test/CodeGen/AMDGPU/insert-waitcnts-crash.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.d16.dim.ll
M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.dim.ll
M llvm/test/CodeGen/AMDGPU/machine-sink-temporal-divergence-swdev407790.ll
A llvm/test/CodeGen/AMDGPU/max-hard-clause-length.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-fence.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-agent.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-flat-system.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-global-agent.ll
M llvm/test/CodeGen/AMDGPU/memory-legalizer-global-system.ll
M llvm/test/CodeGen/AMDGPU/postra-machine-sink.mir
M llvm/test/CodeGen/AMDGPU/preload-kernarg-header.ll
M llvm/test/CodeGen/AMDGPU/preload-kernargs.ll
A llvm/test/CodeGen/AMDGPU/readsteadycounter.ll
M llvm/test/CodeGen/AMDGPU/select.f16.ll
M llvm/test/CodeGen/AMDGPU/splitkit-getsubrangeformask.ll
M llvm/test/CodeGen/Generic/replace-intrinsics-with-veclib.ll
A llvm/test/CodeGen/Hexagon/vector-zext-v4i8.ll
M llvm/test/CodeGen/Mips/hf1_body.ll
M llvm/test/CodeGen/NVPTX/i8x4-instructions.ll
M llvm/test/CodeGen/NVPTX/intrinsics.ll
M llvm/test/CodeGen/NVPTX/nanosleep.ll
M llvm/test/CodeGen/PowerPC/licm-remat.ll
M llvm/test/CodeGen/RISCV/O3-pipeline.ll
M llvm/test/CodeGen/RISCV/calling-conv-ilp32e.ll
M llvm/test/CodeGen/RISCV/condops.ll
M llvm/test/CodeGen/RISCV/lack-of-signed-truncation-check.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-abs.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bswap.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-calling-conv-fastcc.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-calling-conv.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extload-truncstore.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-extract-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-buildvec.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-conv.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-splat.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp-vrgather.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp2i-sat.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-fp2i.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-i2fp.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-insert-subvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-buildvec.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-exttrunc.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-splat.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int-vrgather.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-int.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-buildvec.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-load-store.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-mask-splat.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-stepvector.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vreductions-mask.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwadd.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwaddu.ll
M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-vwsubu.ll
M llvm/test/CodeGen/RISCV/rvv/vsetvli-insert.mir
M llvm/test/CodeGen/RISCV/signbit-test.ll
M llvm/test/CodeGen/RISCV/signed-truncation-check.ll
A llvm/test/CodeGen/RISCV/typepromotion-overflow.ll
M llvm/test/CodeGen/SPARC/64atomics.ll
M llvm/test/CodeGen/SPARC/atomicrmw-uinc-udec-wrap.ll
M llvm/test/CodeGen/SPIRV/LinkOnceODR.ll
A llvm/test/CodeGen/SPIRV/LinkOnceODRFun.ll
M llvm/test/CodeGen/SPIRV/transcoding/spec_const.ll
M llvm/test/CodeGen/WebAssembly/wasm-eh-prepare.ll
A llvm/test/CodeGen/X86/code-model-elf-merge-sections.ll
M llvm/test/CodeGen/X86/ctpop-mask.ll
M llvm/test/CodeGen/X86/fold-sext-trunc.ll
M llvm/test/CodeGen/X86/fp128-libcalls-strict.ll
M llvm/test/CodeGen/X86/fp128-libcalls.ll
M llvm/test/CodeGen/X86/load-combine.ll
A llvm/test/CodeGen/X86/statepoint-relocate-undef.ll
M llvm/test/CodeGen/X86/vector-reduce-ctpop.ll
A llvm/test/DebugInfo/AArch64/select-optimize-trailing-dbg-records.ll
M llvm/test/DebugInfo/Generic/assignment-tracking/declare-to-assign/hwasan.ll
A llvm/test/DebugInfo/Generic/ipsccp-remap-assign-id.ll
M llvm/test/DebugInfo/X86/debug-names-dwarf64.ll
M llvm/test/DebugInfo/X86/debug-names-types.ll
M llvm/test/DebugInfo/X86/dwarfdump-str-offsets.s
M llvm/test/DebugInfo/X86/skeleton-unit-verify.s
A llvm/test/Instrumentation/HWAddressSanitizer/dbg-assign-tag-offset.ll
A llvm/test/Instrumentation/PGOForceFunctionAttrs/basic.ll
M llvm/test/MC/BPF/insn-unit.s
M llvm/test/MC/Disassembler/AMDGPU/gfx11_dasm_ldsdir.txt
M llvm/test/MC/Disassembler/AMDGPU/gfx12_dasm_vdsdir.txt
M llvm/test/MC/Mips/macro-la-pic.s
M llvm/test/TableGen/GlobalISelCombinerEmitter/builtins/match-table-replacerreg.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-imms.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-intrinsics.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table-patfrag-root.td
M llvm/test/TableGen/GlobalISelCombinerEmitter/match-table.td
M llvm/test/TableGen/GlobalISelEmitter.td
M llvm/test/Transforms/CallSiteSplitting/callsite-split-or-phi.ll
M llvm/test/Transforms/CallSiteSplitting/callsite-split.ll
M llvm/test/Transforms/CalledValuePropagation/simple-arguments.ll
M llvm/test/Transforms/CalledValuePropagation/simple-memory.ll
M llvm/test/Transforms/CalledValuePropagation/simple-select.ll
M llvm/test/Transforms/ConstantHoisting/AArch64/const-hoist-gep.ll
M llvm/test/Transforms/CorrelatedValuePropagation/basic.ll
R llvm/test/Transforms/CorrelatedValuePropagation/switch.ll
M llvm/test/Transforms/DeadStoreElimination/noop-stores.ll
A llvm/test/Transforms/InstCombine/AArch64/sve-intrinsic-opts-uzp1.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-eq-to-icmp-ule.ll
M llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-v4-and-icmp-ne-to-icmp-ugt.ll
M llvm/test/Transforms/InstCombine/fpclass-check-idioms.ll
A llvm/test/Transforms/InstCombine/fpclass-from-dom-cond.ll
M llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-after-truncation-variant-d.ll
M llvm/test/Transforms/InstCombine/partally-redundant-left-shift-input-masking-variant-d.ll
M llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-after-truncation-variant-d.ll
M llvm/test/Transforms/InstCombine/redundant-left-shift-input-masking-variant-d.ll
M llvm/test/Transforms/InstCombine/simplify-demanded-fpclass.ll
M llvm/test/Transforms/InstSimplify/ConstProp/loads.ll
M llvm/test/Transforms/InstSimplify/compare.ll
M llvm/test/Transforms/InstSimplify/gc_relocate.ll
A llvm/test/Transforms/LICM/expr-reassociate-int.ll
M llvm/test/Transforms/LICM/sink-foldable.ll
M llvm/test/Transforms/LoopVectorize/AArch64/arbitrary-induction-step.ll
M llvm/test/Transforms/LoopVectorize/AArch64/backedge-overflow.ll
M llvm/test/Transforms/LoopVectorize/AArch64/interleaved_cost.ll
M llvm/test/Transforms/LoopVectorize/AArch64/low_trip_memcheck_cost.ll
A llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls-finite.ll
A llvm/test/Transforms/LoopVectorize/X86/amdlibm-calls.ll
M llvm/test/Transforms/SLPVectorizer/X86/sin-sqrt.ll
A llvm/test/Transforms/SLPVectorizer/X86/vec3-base.ll
A llvm/test/Transforms/SLPVectorizer/X86/vec3-calls.ll
A llvm/test/Transforms/SLPVectorizer/X86/vec3-gather-some-loads.ll
A llvm/test/Transforms/SLPVectorizer/X86/vec3-reorder-reshuffle.ll
M llvm/test/Transforms/SROA/tbaa-struct3.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/reorder-gep-inbounds.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/reorder-gep.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lower-gep-reorder.ll
A llvm/test/Transforms/SeparateConstOffsetFromGEP/reorder-gep.ll
M llvm/test/Transforms/Util/add-TLI-mappings.ll
M llvm/test/lit.cfg.py
M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_isel.ll.expected
M llvm/test/tools/dsymutil/ARM/dwarf5-dwarf4-combination-macho.test
A llvm/test/tools/llvm-dlltool/arm64ec.test
M llvm/test/tools/llvm-dwarfdump/X86/verify_file_encoding.yaml
M llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf5-macro.test
M llvm/test/tools/llvm-gsymutil/X86/elf-dwo.yaml
M llvm/test/tools/llvm-lib/arm64ec-implib.test
A llvm/test/tools/llvm-mca/AArch64/Ampere/Ampere1B/basic-instructions.s
A llvm/test/tools/llvm-mca/AArch64/Ampere/Ampere1B/cssc-instructions.s
A llvm/test/tools/llvm-mca/AArch64/Ampere/Ampere1B/mte-instructions.s
A llvm/test/tools/llvm-mca/AArch64/Ampere/Ampere1B/neon-instructions.s
A llvm/test/tools/llvm-mca/AArch64/Ampere/Ampere1B/shifted-register.s
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512.s
M llvm/test/tools/llvm-mca/X86/IceLakeServer/resources-avx512dq.s
M llvm/test/tools/llvm-nm/wasm/exports.yaml
M llvm/test/tools/llvm-nm/wasm/weak-symbols.yaml
M llvm/test/tools/llvm-objdump/ELF/AMDGPU/subtarget.ll
M llvm/test/tools/llvm-objdump/wasm/linked-symbol-table-namesec.yaml
A llvm/test/tools/obj2yaml/ELF/bb-addr-map-pgo-analysis-map.yaml
A llvm/test/tools/yaml2obj/ELF/bb-addr-map-pgo-analysis-map.yaml
M llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
M llvm/tools/llvm-gsymutil/llvm-gsymutil.cpp
M llvm/tools/llvm-readobj/ELFDumper.cpp
M llvm/tools/obj2yaml/elf2yaml.cpp
M llvm/tools/opt/NewPMDriver.cpp
M llvm/unittests/ADT/BitVectorTest.cpp
M llvm/unittests/CodeGen/LowLevelTypeTest.cpp
M llvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
M llvm/unittests/ProfileData/CoverageMappingTest.cpp
M llvm/unittests/Support/CMakeLists.txt
A llvm/unittests/Support/ExponentialBackoffTest.cpp
M llvm/unittests/Target/SPIRV/CMakeLists.txt
M llvm/unittests/TargetParser/TargetParserTest.cpp
M llvm/utils/TableGen/AsmMatcherEmitter.cpp
M llvm/utils/TableGen/AsmWriterEmitter.cpp
M llvm/utils/TableGen/CTagsEmitter.cpp
M llvm/utils/TableGen/CodeEmitterGen.cpp
M llvm/utils/TableGen/CodeGenDAGPatterns.cpp
M llvm/utils/TableGen/CodeGenHwModes.cpp
M llvm/utils/TableGen/CodeGenInstAlias.cpp
M llvm/utils/TableGen/CodeGenInstruction.cpp
M llvm/utils/TableGen/CodeGenInstruction.h
M llvm/utils/TableGen/CodeGenRegisters.cpp
M llvm/utils/TableGen/CodeGenRegisters.h
M llvm/utils/TableGen/CodeGenSchedule.cpp
M llvm/utils/TableGen/CodeGenTarget.cpp
M llvm/utils/TableGen/DAGISelMatcherEmitter.cpp
M llvm/utils/TableGen/DAGISelMatcherGen.cpp
M llvm/utils/TableGen/DAGISelMatcherOpt.cpp
M llvm/utils/TableGen/DFAEmitter.cpp
M llvm/utils/TableGen/DXILEmitter.cpp
M llvm/utils/TableGen/DecoderEmitter.cpp
M llvm/utils/TableGen/FastISelEmitter.cpp
M llvm/utils/TableGen/GlobalISelCombinerEmitter.cpp
M llvm/utils/TableGen/GlobalISelEmitter.cpp
M llvm/utils/TableGen/GlobalISelMatchTable.cpp
M llvm/utils/TableGen/GlobalISelMatchTable.h
M llvm/utils/TableGen/InfoByHwMode.cpp
M llvm/utils/TableGen/InfoByHwMode.h
M llvm/utils/TableGen/IntrinsicEmitter.cpp
M llvm/utils/TableGen/OptParserEmitter.cpp
M llvm/utils/TableGen/SearchableTableEmitter.cpp
M llvm/utils/TableGen/SequenceToOffsetTable.h
M llvm/utils/TableGen/SubtargetEmitter.cpp
M llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
M llvm/utils/TableGen/X86CompressEVEXTablesEmitter.cpp
M llvm/utils/TableGen/X86DisassemblerTables.cpp
M llvm/utils/TableGen/X86FoldTablesEmitter.cpp
M llvm/utils/gn/secondary/clang/lib/AST/BUILD.gn
M llvm/utils/gn/secondary/clang/lib/Frontend/BUILD.gn
A llvm/utils/gn/secondary/clang/lib/InstallAPI/BUILD.gn
M llvm/utils/gn/secondary/clang/test/BUILD.gn
M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
M llvm/utils/gn/secondary/lld/ELF/BUILD.gn
M llvm/utils/gn/secondary/lldb/tools/lldb-dap/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Support/BUILD.gn
M llvm/utils/gn/secondary/llvm/lib/Transforms/Instrumentation/BUILD.gn
M llvm/utils/gn/secondary/llvm/unittests/Support/BUILD.gn
M mlir/docs/TargetLLVMIR.md
M mlir/include/mlir-c/BuiltinTypes.h
M mlir/include/mlir-c/Dialect/LLVM.h
M mlir/include/mlir-c/Dialect/SparseTensor.h
M mlir/include/mlir/Analysis/Presburger/Barvinok.h
M mlir/include/mlir/Analysis/Presburger/GeneratingFunction.h
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/include/mlir/Analysis/Presburger/Matrix.h
M mlir/include/mlir/Analysis/Presburger/PresburgerRelation.h
M mlir/include/mlir/Analysis/Presburger/Simplex.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/include/mlir/Dialect/AMDGPU/CMakeLists.txt
A mlir/include/mlir/Dialect/AMDGPU/TransformOps/AMDGPUTransformOps.h
A mlir/include/mlir/Dialect/AMDGPU/TransformOps/AMDGPUTransformOps.td
A mlir/include/mlir/Dialect/AMDGPU/TransformOps/CMakeLists.txt
M mlir/include/mlir/Dialect/AMDGPU/Transforms/Transforms.h
M mlir/include/mlir/Dialect/Affine/Utils.h
M mlir/include/mlir/Dialect/Arith/Utils/Utils.h
M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
M mlir/include/mlir/Dialect/LLVMIR/ROCDLOps.td
M mlir/include/mlir/Dialect/Mesh/IR/MeshOps.h
M mlir/include/mlir/Dialect/Mesh/IR/MeshOps.td
M mlir/include/mlir/Dialect/Mesh/Transforms/Transforms.h
M mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
M mlir/include/mlir/Dialect/SparseTensor/IR/Enums.h
M mlir/include/mlir/Dialect/Vector/Transforms/VectorRewritePatterns.h
M mlir/include/mlir/ExecutionEngine/SparseTensor/Storage.h
M mlir/include/mlir/IR/Builders.h
M mlir/include/mlir/IR/PatternMatch.h
M mlir/include/mlir/InitAllExtensions.h
M mlir/include/mlir/Target/LLVMIR/LLVMTranslationInterface.h
M mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h
M mlir/include/mlir/Transforms/DialectConversion.h
M mlir/lib/Analysis/Presburger/Barvinok.cpp
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/Matrix.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
A mlir/lib/Bindings/Python/DialectLLVM.cpp
M mlir/lib/Bindings/Python/DialectSparseTensor.cpp
M mlir/lib/Bindings/Python/IRTypes.cpp
M mlir/lib/CAPI/Dialect/LLVM.cpp
M mlir/lib/CAPI/Dialect/SparseTensor.cpp
M mlir/lib/CAPI/IR/BuiltinTypes.cpp
M mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
M mlir/lib/Dialect/AMDGPU/CMakeLists.txt
A mlir/lib/Dialect/AMDGPU/TransformOps/AMDGPUTransformOps.cpp
A mlir/lib/Dialect/AMDGPU/TransformOps/CMakeLists.txt
M mlir/lib/Dialect/AMDGPU/Transforms/OptimizeSharedMemory.cpp
M mlir/lib/Dialect/Affine/Utils/Utils.cpp
M mlir/lib/Dialect/Arith/Utils/Utils.cpp
M mlir/lib/Dialect/Async/Transforms/AsyncToAsyncRuntime.cpp
M mlir/lib/Dialect/GPU/Pipelines/GPUToNVVMPipeline.cpp
M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
M mlir/lib/Dialect/Linalg/Transforms/Padding.cpp
M mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
M mlir/lib/Dialect/Mesh/IR/MeshOps.cpp
M mlir/lib/Dialect/Mesh/Transforms/CMakeLists.txt
M mlir/lib/Dialect/Mesh/Transforms/Simplifications.cpp
M mlir/lib/Dialect/Mesh/Transforms/Spmdization.cpp
M mlir/lib/Dialect/Mesh/Transforms/Transforms.cpp
A mlir/lib/Dialect/Mesh/Transforms/TransformsDetail.h
M mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp
M mlir/lib/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Dialect/SCF/IR/SCF.cpp
M mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
M mlir/lib/Dialect/SCF/Utils/Utils.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseAssembler.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseGPUCodegen.cpp
M mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
M mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
M mlir/lib/Dialect/Transform/IR/TransformOps.cpp
M mlir/lib/Dialect/Utils/IndexingUtils.cpp
M mlir/lib/Dialect/Vector/Transforms/CMakeLists.txt
A mlir/lib/Dialect/Vector/Transforms/VectorLinearize.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
M mlir/lib/Dialect/Vector/Transforms/VectorUnroll.cpp
M mlir/lib/ExecutionEngine/SparseTensorRuntime.cpp
M mlir/lib/IR/AsmPrinter.cpp
M mlir/lib/IR/Builders.cpp
M mlir/lib/IR/BuiltinDialectBytecode.cpp
M mlir/lib/IR/Operation.cpp
M mlir/lib/Interfaces/InferIntRangeInterface.cpp
M mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
M mlir/lib/Support/Timing.cpp
M mlir/lib/Target/LLVMIR/AttrKindDetail.h
M mlir/lib/Target/LLVMIR/Dialect/NVVM/NVVMToLLVMIRTranslation.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/lib/Transforms/Utils/DialectConversion.cpp
M mlir/python/CMakeLists.txt
M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
M mlir/python/mlir/dialects/llvm.py
M mlir/test/CAPI/llvm.c
M mlir/test/Conversion/NVGPUToNVVM/nvgpu-to-nvvm.mlir
M mlir/test/Conversion/OpenMPToLLVM/convert-to-llvmir.mlir
M mlir/test/Conversion/SCFToOpenMP/reductions.mlir
M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
A mlir/test/Dialect/AMDGPU/transform_optimize_shmem_reads_writes.mlir
A mlir/test/Dialect/GPU/test-nvvm-pipeline.mlir
M mlir/test/Dialect/LLVMIR/nvvm.mlir
M mlir/test/Dialect/LLVMIR/rocdl.mlir
M mlir/test/Dialect/Linalg/invalid.mlir
M mlir/test/Dialect/Linalg/named-ops.mlir
A mlir/test/Dialect/Linalg/transform-op-mmt4d-to-fma.mlir
A mlir/test/Dialect/Linalg/vectorization-unsupported.mlir
M mlir/test/Dialect/Linalg/vectorization.mlir
A mlir/test/Dialect/Mesh/all-scatter-op-lowering.mlir
M mlir/test/Dialect/Mesh/canonicalization.mlir
M mlir/test/Dialect/Mesh/invalid.mlir
M mlir/test/Dialect/Mesh/ops.mlir
M mlir/test/Dialect/Mesh/resharding-spmdization.mlir
M mlir/test/Dialect/Mesh/spmdization.mlir
M mlir/test/Dialect/NVGPU/tmaload-transform.mlir
M mlir/test/Dialect/OpenMP/invalid.mlir
M mlir/test/Dialect/OpenMP/ops.mlir
A mlir/test/Dialect/OpenMP/roundtrip.mlir
M mlir/test/Dialect/SparseTensor/torch_linalg.mlir
M mlir/test/Dialect/Tensor/canonicalize.mlir
A mlir/test/Dialect/Vector/linearize.mlir
M mlir/test/Dialect/Vector/vector-transfer-collapse-inner-most-dims.mlir
A mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/multi-tile-matmul-mixed-types.mlir
A mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
M mlir/test/Integration/Dialect/SparseTensor/python/test_SDDMM.py
M mlir/test/Integration/Dialect/SparseTensor/python/test_SpMM.py
M mlir/test/Integration/Dialect/SparseTensor/python/test_output.py
M mlir/test/Integration/Dialect/SparseTensor/python/test_stress.py
M mlir/test/Integration/GPU/CUDA/sm90/gemm_f32_f16_f16_128x128x128.mlir
M mlir/test/Integration/GPU/CUDA/sm90/gemm_pred_f32_f16_f16_128x128x128.mlir
M mlir/test/Integration/GPU/CUDA/sm90/tma_load_128x64_swizzle128b.mlir
M mlir/test/Integration/GPU/CUDA/sm90/tma_load_64x64_swizzle128b.mlir
M mlir/test/Integration/GPU/CUDA/sm90/tma_load_64x8_8x128_noswizzle.mlir
M mlir/test/Target/LLVMIR/nvvmir.mlir
M mlir/test/Target/LLVMIR/openmp-reduction.mlir
M mlir/test/Target/LLVMIR/rocdl.mlir
M mlir/test/Transforms/test-legalizer.mlir
M mlir/test/lib/Dialect/Mesh/CMakeLists.txt
A mlir/test/lib/Dialect/Mesh/TestOpLowering.cpp
R mlir/test/lib/Dialect/Mesh/TestProcessMultiIndexOpLowering.cpp
M mlir/test/lib/Dialect/Test/TestPatterns.cpp
M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp
M mlir/test/python/dialects/llvm.py
M mlir/test/python/dialects/sparse_tensor/dialect.py
M mlir/test/python/ir/builtin_types.py
M mlir/tools/mlir-opt/mlir-opt.cpp
M mlir/unittests/Analysis/Presburger/BarvinokTest.cpp
M openmp/runtime/src/kmp_csupport.cpp
M openmp/runtime/src/kmp_gsupport.cpp
M openmp/runtime/src/kmp_lock.cpp
M openmp/runtime/src/kmp_lock.h
M polly/lib/Analysis/ScopBuilder.cpp
M polly/lib/Transform/ScheduleOptimizer.cpp
M polly/test/ScheduleOptimizer/schedule_computeout.ll
M polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_2.ll
M polly/test/ScopInfo/NonAffine/non-affine-loop-condition-dependent-access_3.ll
M polly/test/ScopInfo/int2ptr_ptr2int.ll
M utils/bazel/llvm-project-overlay/clang/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/BUILD.bazel
M utils/bazel/llvm-project-overlay/libc/test/src/__support/FPUtil/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch2/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch3/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch4/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch5/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch6/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/examples/toy/Ch7/BUILD.bazel
M utils/bazel/llvm-project-overlay/mlir/unittests/BUILD.bazel
Log Message:
-----------
Rebase, add scalable vectors
Created using spr 1.3.5
Compare: https://github.com/llvm/llvm-project/compare/de3be41e9ec9...51da92fb3d51
More information about the All-commits
mailing list