[all-commits] [llvm/llvm-project] b33a67: [RISCV] Allow libunwind to build for rv32e (#98855)
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Sat Aug 3 08:44:38 PDT 2024
Branch: refs/heads/users/vitalybuka/spr/nfcasan-switch-from-list-to-dyninitglobalsbymodule
Home: https://github.com/llvm/llvm-project
Commit: b33a675e3f5710bd56715e8058b541c21c325de0
https://github.com/llvm/llvm-project/commit/b33a675e3f5710bd56715e8058b541c21c325de0
Author: R <rqou at berkeley.edu>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M libunwind/src/UnwindRegistersRestore.S
M libunwind/src/UnwindRegistersSave.S
Log Message:
-----------
[RISCV] Allow libunwind to build for rv32e (#98855)
Don't try to save x16-x31 when using rv32e ISA
Note that I haven't actually tested yet whether or not unwinding
actually works on rv32e, but the code as-is doesn't even build.
Commit: e9c20b9132c93baaaf78a070fa4cd0a853ca5e65
https://github.com/llvm/llvm-project/commit/e9c20b9132c93baaaf78a070fa4cd0a853ca5e65
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Linux/odr_indicator_unregister.cpp
Log Message:
-----------
[test][asan] Disabled a new test on Android
Will investigate soon.
The test is from #100923.
Commit: eef1d7e3776a4eb235012076f40b8ecc0723afce
https://github.com/llvm/llvm-project/commit/eef1d7e3776a4eb235012076f40b8ecc0723afce
Author: Alexander Pivovarov <pivovaa at amazon.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M mlir/include/mlir-c/BuiltinTypes.h
M mlir/include/mlir/IR/Builders.h
M mlir/include/mlir/IR/BuiltinTypes.h
M mlir/include/mlir/IR/BuiltinTypes.td
M mlir/include/mlir/IR/CommonTypeConstraints.td
M mlir/include/mlir/IR/Types.h
M mlir/lib/AsmParser/TokenKinds.def
M mlir/lib/AsmParser/TypeParser.cpp
M mlir/lib/Bindings/Python/IRTypes.cpp
M mlir/lib/CAPI/IR/BuiltinTypes.cpp
M mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
M mlir/lib/IR/AsmPrinter.cpp
M mlir/lib/IR/Builders.cpp
M mlir/lib/IR/BuiltinTypes.cpp
M mlir/lib/IR/MLIRContext.cpp
M mlir/lib/IR/Types.cpp
M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
M mlir/python/mlir/extras/types.py
M mlir/test/IR/attribute.mlir
M mlir/test/Target/LLVMIR/llvmir.mlir
M mlir/test/python/ir/builtin_types.py
M mlir/utils/lldb-scripts/mlirDataFormatters.py
M mlir/utils/tree-sitter-mlir/grammar.js
Log Message:
-----------
[MLIR] Add f8E3M4 IEEE 754 type (#101230)
This PR adds `f8E3M4` type to mlir.
`f8E3M4` type follows IEEE 754 convention
```c
f8E3M4 (IEEE 754)
- Exponent bias: 3
- Maximum stored exponent value: 6 (binary 110)
- Maximum unbiased exponent value: 6 - 3 = 3
- Minimum stored exponent value: 1 (binary 001)
- Minimum unbiased exponent value: 1 − 3 = −2
- Precision specifies the total number of bits used for the significand (mantissa),
including implicit leading integer bit = 4 + 1 = 5
- Follows IEEE 754 conventions for representation of special values
- Has Positive and Negative zero
- Has Positive and Negative infinity
- Has NaNs
Additional details:
- Max exp (unbiased): 3
- Min exp (unbiased): -2
- Infinities (+/-): S.111.0000
- Zeros (+/-): S.000.0000
- NaNs: S.111.{0,1}⁴ except S.111.0000
- Max normal number: S.110.1111 = +/-2^(6-3) x (1 + 15/16) = +/-2^3 x 31 x 2^(-4) = +/-15.5
- Min normal number: S.001.0000 = +/-2^(1-3) x (1 + 0) = +/-2^(-2)
- Max subnormal number: S.000.1111 = +/-2^(-2) x 15/16 = +/-2^(-2) x 15 x 2^(-4) = +/-15 x 2^(-6)
- Min subnormal number: S.000.0001 = +/-2^(-2) x 1/16 = +/-2^(-2) x 2^(-4) = +/-2^(-6)
```
Related PRs:
- [PR-99698](https://github.com/llvm/llvm-project/pull/99698) [APFloat]
Add support for f8E3M4 IEEE 754 type
- [PR-97118](https://github.com/llvm/llvm-project/pull/97118) [MLIR] Add
f8E4M3 IEEE 754 type
Commit: 10df3207434e603be5f7e9b3036d821dd5623d3a
https://github.com/llvm/llvm-project/commit/10df3207434e603be5f7e9b3036d821dd5623d3a
Author: Kareem Ergawy <kareem.ergawy at amd.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/test/Integration/OpenMP/copyprivate.f90
M flang/test/Lower/OpenMP/Todo/omp-default-clause-inner-loop.f90
M flang/test/Lower/OpenMP/associate.f90
M flang/test/Lower/OpenMP/copyprivate.f90
M flang/test/Lower/OpenMP/copyprivate2.f90
M flang/test/Lower/OpenMP/critical.f90
M flang/test/Lower/OpenMP/default-clause-byref.f90
M flang/test/Lower/OpenMP/default-clause.f90
M flang/test/Lower/OpenMP/firstprivate-allocatable.f90
M flang/test/Lower/OpenMP/hlfir-seqloop-parallel.f90
M flang/test/Lower/OpenMP/implicit-dsa.f90
M flang/test/Lower/OpenMP/parallel-firstprivate-clause-scalar.f90
M flang/test/Lower/OpenMP/parallel-private-clause-fixes.f90
M flang/test/Lower/OpenMP/parallel-private-clause-str.f90
M flang/test/Lower/OpenMP/parallel-private-clause.f90
M flang/test/Lower/OpenMP/parallel-reduction-mixed.f90
M flang/test/Lower/OpenMP/parallel-wsloop.f90
M flang/test/Lower/OpenMP/unstructured.f90
Log Message:
-----------
[flang][OpenMP] Enable delayed privatization for `omp parallel` by default (#90945)
Flips the delayed privatization switch to be on by default. After the
recent fixes related to delayed privatization, the gfortran test suite
runs successfully with delayed privatization turned on by defuault for
`omp parallel`.
Commit: 85c5265feae82d8e26869adf4505b448b3a17534
https://github.com/llvm/llvm-project/commit/85c5265feae82d8e26869adf4505b448b3a17534
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Unify and optimize constant folding (NFC) (#101473)
Add a common constantFoldAndGroupOps() helper that takes care of
constant folding and grouping transforms that are common to all nary
ops. This moves the constant folding prior to grouping, which is more
efficient, and excludes any constant from the sort.
The constant folding has hooks for folding, identity constants and
absorber constants.
This gives a compile-time improvement for SCEV-heavy workloads like
lencod.
Commit: 9fa17fea3c2edb5903250b0da8f67861b81527b3
https://github.com/llvm/llvm-project/commit/9fa17fea3c2edb5903250b0da8f67861b81527b3
Author: Owen Pan <owenpiano at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/tools/clang-format/ClangFormat.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/MatchFilePathTest.cpp
Log Message:
-----------
[clang-format] Handle parenthesized list in RemoveParentheses (#100852)
Also, reformat clang-format source to remove redundant parentheses
enclosing single list items.
Fixes #100768.
Commit: e7f9d8e5c3e49e729c69aaa9be3322f7902370b8
https://github.com/llvm/llvm-project/commit/e7f9d8e5c3e49e729c69aaa9be3322f7902370b8
Author: Sam Tebbs <samuel.tebbs at arm.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
A llvm/test/CodeGen/AArch64/whilewr.ll
Log Message:
-----------
[AArch64] Lower alias mask to a whilewr (#100769)
https://github.com/llvm/llvm-project/pull/100579 emits IR that creates a
mask disabling lanes that could alias within a loop iteration, based on
a pair of pointers. This PR lowers that IR to the WHILEWR instruction
for AArch64.
Commit: 3c3851f3ed837aaae7df76e9a4cbb866dbfee3ac
https://github.com/llvm/llvm-project/commit/3c3851f3ed837aaae7df76e9a4cbb866dbfee3ac
Author: Kendal Harland <3987220+kendalharland at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
Log Message:
-----------
[lldb][test][x86_64][win] Split assertion in TestBreakpointConditions (#100487)
This PR splits the test assertion that verifies we're on the correct
line and have the correct value of `val` to make the error message more
clear. At present it just shows `Assertion error: True != False`
Co-authored-by: kendal <kendal at thebrowser.company>
Commit: 08decd20a968ddec459376ef64a4987ef74e15dc
https://github.com/llvm/llvm-project/commit/08decd20a968ddec459376ef64a4987ef74e15dc
Author: Sam Parker <sam.parker at arm.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
M llvm/test/CodeGen/WebAssembly/simd-build-vector.ll
Log Message:
-----------
[WebAssembly] load_zero to initialise build_vector (#100610)
Instead of splatting a single lane, to initialise a build_vector, lower
to scalar_to_vector which can be selected to load_zero.
Also add load_zero and load_lane patterns for f32x4 and f64x2.
Commit: a6a462f09cce77511de037d9cb61e9fc835d4f4d
https://github.com/llvm/llvm-project/commit/a6a462f09cce77511de037d9cb61e9fc835d4f4d
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
Log Message:
-----------
[MLIR][OpenMP] Add omp.target_triples attribute to the OffloadModuleInterface (#100154)
The `OffloadModuleInterface` holds getter/setter methods to access
OpenMP dialect module-level discardable attributes used to hold general
OpenMP compilation information.
This patch adds the `omp.target_triples` attribute, which is intended to
hold the list of offloading target triples linked to the host module in
which it appears. This attribute should be empty when
`omp.is_target_device=true`.
Commit: fb470db7b3a8ce6853e8bf17d235617a2fa79434
https://github.com/llvm/llvm-project/commit/fb470db7b3a8ce6853e8bf17d235617a2fa79434
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/test/Transforms/Inline/AArch64/sme-pstateza-attrs.ll
Log Message:
-----------
[AArch64] Avoid inlining if ZT0 needs preserving. (#101343)
Inlining may result in different behaviour when the callee clobbers ZT0,
because normally the call-site will have code to preserve ZT0. When
inlining the function this code to preserve ZT0 will no longer be
emitted, and so the resulting behaviour of the program is changed.
Commit: 92e18ffd803365c64910760ba20278f875d93681
https://github.com/llvm/llvm-project/commit/92e18ffd803365c64910760ba20278f875d93681
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/Analysis/CostModel/RISCV/int-bit-manip.ll
M llvm/test/CodeGen/ARM/popcnt.ll
M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
M llvm/test/CodeGen/RISCV/ctz_zero_return_test.ll
M llvm/test/CodeGen/RISCV/pr56457.ll
M llvm/test/CodeGen/RISCV/pr95271.ll
M llvm/test/CodeGen/RISCV/rv32xtheadbb.ll
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64xtheadbb.ll
M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zbb.ll
M llvm/test/CodeGen/RISCV/rv64xtheadbb.ll
M llvm/test/CodeGen/RISCV/rv64zbb.ll
M llvm/test/CodeGen/RISCV/sextw-removal.ll
M llvm/test/CodeGen/Thumb2/mve-ctpop.ll
Log Message:
-----------
[SDag][ARM][RISCV] Allow lowering CTPOP into a libcall (#99752)
The main change is adding CTPOP to `RuntimeLibcalls.def` to allow
targets to use LibCall action for CTPOP. DAG legalizers are changed
accordingly.
Commit: 6d2bbba187cd8fdc3e6e46cb753d4d9c6c276103
https://github.com/llvm/llvm-project/commit/6d2bbba187cd8fdc3e6e46cb753d4d9c6c276103
Author: Victor Perez <victor.perez at codeplay.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/Target/LLVMIR/LLVMImportInterface.h
M mlir/include/mlir/Target/LLVMIR/ModuleImport.h
M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Dialect/LLVMIR/func.mlir
A mlir/test/Target/LLVMIR/Import/metadata-kernel.ll
M mlir/test/Target/LLVMIR/llvmir.mlir
Log Message:
-----------
[MLIR][LLVM] Attach kernel metadata representation to `llvm.func` (#101314)
Add optional attributes to `llvm.func` representing LLVM so-called
"kernel" metadata:
-
[`vec_type_hint`](https://clang.llvm.org/docs/AttributeReference.html#vec-type-hint)
-
[`work_group_size_hint`](https://clang.llvm.org/docs/AttributeReference.html#work-group-size-hint)
-
[`reqd_work_group_size`](https://clang.llvm.org/docs/AttributeReference.html#reqd-work-group-size)
-
[`intel_reqd_sub_group_size`](https://clang.llvm.org/docs/AttributeReference.html#intel-reqd-sub-group-size).
---------
Signed-off-by: Victor Perez <victor.perez at codeplay.com>
Commit: 9dadb1f62bb8086a53ba39d188665c4fe3a9c6ec
https://github.com/llvm/llvm-project/commit/9dadb1f62bb8086a53ba39d188665c4fe3a9c6ec
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/include/flang/Frontend/LangOptions.h
M flang/include/flang/Tools/CrossToolHelpers.h
M flang/lib/Frontend/CompilerInvocation.cpp
A flang/test/Lower/OpenMP/offload-targets.f90
M flang/tools/bbc/bbc.cpp
Log Message:
-----------
[Flang][OpenMP] Add frontend support for -fopenmp-targets (#100155)
This patch adds support for the `-fopenmp-targets` option to the `bbc`
and `flang -fc1` tools. It adds an `OMPTargetTriples` property to the
`LangOptions` structure, which is filled with the triples represented by
the compiler option.
This is used to initialize the `omp.target_triples` module attribute for
later use by lowering stages.
Commit: 92fbc963a51683d32f70d0c7f3783bb13983f08d
https://github.com/llvm/llvm-project/commit/92fbc963a51683d32f70d0c7f3783bb13983f08d
Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
A llvm/test/CodeGen/AMDGPU/div-rem-by-constant-64.ll
M llvm/test/CodeGen/AMDGPU/fshr.ll
M llvm/test/CodeGen/AMDGPU/udiv.ll
M llvm/test/CodeGen/AMDGPU/udiv64.ll
M llvm/test/CodeGen/AMDGPU/urem64.ll
Log Message:
-----------
[AMDGPU] Always lower s/udiv64 by constant to MUL (#100723)
Solves #100383
Commit: 99ae2edc2592e602b0eb5a287f4d003aa3902440
https://github.com/llvm/llvm-project/commit/99ae2edc2592e602b0eb5a287f4d003aa3902440
Author: Donát Nagy <donat.nagy at ericsson.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
A clang/test/Analysis/block-in-critical-section-inheritance.cpp
Log Message:
-----------
[analyzer] Restore recognition of mutex methods (#101511)
Before commit 705788c the checker alpha.unix.BlockInCriticalSection
"recognized" the methods `std::mutex::lock` and `std::mutex::unlock`
with an extremely trivial check that accepted any function (or method)
named lock/unlock.
To avoid matching unrelated user-defined function, this was refined to a
check that also requires the presence of "std" and "mutex" as distinct
parts of the qualified name.
However, as #99628 reported, there are standard library implementations
where some methods of `std::mutex` are inherited from an implementation
detail base class and the new code wasn't able to recognize these
methods, which led to emitting false positive reports.
As a workaround, this commit partially restores the old behavior by
omitting the check for the class name.
In the future, it would be good to replace this hack with a solution
which ensures that `CallDescription` understands inherited methods.
Commit: 84b1e59580a44ef8a89198aedc6b01fd7d6775fb
https://github.com/llvm/llvm-project/commit/84b1e59580a44ef8a89198aedc6b01fd7d6775fb
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/test/Integration/OpenMP/map-types-and-sizes.f90
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/test/Target/LLVMIR/omptarget-array-sectioning-host.mlir
M mlir/test/Target/LLVMIR/omptarget-byref-bycopy-generation-host.mlir
A mlir/test/Target/LLVMIR/omptarget-depend-host-only.mlir
M mlir/test/Target/LLVMIR/omptarget-depend.mlir
M mlir/test/Target/LLVMIR/omptarget-fortran-allocatable-types-host.mlir
M mlir/test/Target/LLVMIR/omptarget-fortran-common-block-host.mlir
M mlir/test/Target/LLVMIR/omptarget-nested-record-type-mapping-host.mlir
M mlir/test/Target/LLVMIR/omptarget-record-type-mapping-host.mlir
A mlir/test/Target/LLVMIR/omptarget-region-host-only.mlir
M mlir/test/Target/LLVMIR/omptarget-region-llvm.mlir
Log Message:
-----------
[MLIR][OpenMP][OMPIRBuilder] Add lowering support for omp.target_triples (#100156)
This patch modifies MLIR to LLVM IR lowering of the OpenMP dialect to take into
consideration the contents of the `omp.target_triples` module attribute while
generating code for `omp.target` operations.
It adds the `OpenMPIRBuilderConfig::TargetTriples` field and initializes it
using the `amendOperation` flow of the `OpenMPToLLVMIRTranslation` pass. Some
changes are introduced into the `OpenMPIRBuilder` to allow passing the
information about whether a target region is intended to be offloaded from
outside.
The result of this change is that offloading calls are only generated when the
`--offload-arch` or `-fopenmp-targets` options are given to the compiler.
Otherwise, only the host fallback code is generated. This fixes linker errors
currently triggered by `flang-new` if a source file containing a `target`
construct is compiled without any of the aforementioned options.
Several unit tests impacted by these changes, which are intended to check host
code generated for `omp.target` operations, are updated to contain the new
attribute. Without it, no calls to `__tgt_target_kernel` and associated control
flow operations are generated.
Fixes #100209.
Commit: aa0a33be56f1ef8195eccbca57a103a8e1e302e3
https://github.com/llvm/llvm-project/commit/aa0a33be56f1ef8195eccbca57a103a8e1e302e3
Author: Kai Yan <aklkaiyan at tencent.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/WindowScheduler.cpp
A llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir
Log Message:
-----------
[llvm][CodeGen] Address the issue of multiple resource reservations in window scheduling (#100301)
Address the issue of multiple resource reservations in window scheduling
Commit: 79af6892f8eee1d0fb96c243716c8b03936751c9
https://github.com/llvm/llvm-project/commit/79af6892f8eee1d0fb96c243716c8b03936751c9
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/unittests/Analysis/ScalarEvolutionTest.cpp
Log Message:
-----------
[SCEV] Handle more adds in computeConstantDifference() (#101339)
Currently it only deals with the case where we're subtracting adds with
at most one non-constant operand. This patch extends it to cancel out
common operands for the subtraction of arbitrary add expressions.
The background here is that I want to replace a getMinusSCEV() call in
LAA with computeConstantDifference():
https://github.com/llvm/llvm-project/blob/93fecc2577ece0329f3bbe2719bbc5b4b9b30010/llvm/lib/Analysis/LoopAccessAnalysis.cpp#L1602-L1603
This particular call is very expensive in some cases (e.g. lencod with
LTO) and computeConstantDifference() could achieve this much more
cheaply, because it does not need to construct new SCEV expressions.
However, the current computeConstantDifference() implementation is too
weak for this and misses many basic cases. This is a step towards making
it more powerful while still keeping it pretty fast.
Commit: adac04ffc90adebbaa0661d642f482dab8440df5
https://github.com/llvm/llvm-project/commit/adac04ffc90adebbaa0661d642f482dab8440df5
Author: Pankaj Dwivedi <divedi.pk.117 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/test/CodeGen/AMDGPU/eliminate-frame-index-s-mov-b32.mir
M llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.ll
Log Message:
-----------
[AMDGPU] Fix using wrong register in frame index shift (#101649)
In case of v_mad we have materialized the offset in vgpr and mad is
performed in wave space, later vgpr have to be shifted back in lane
space. [#99556](https://github.com/llvm/llvm-project/pull/99556)
introduces a bug.
Co-authored-by: Pankajdwivedi-25 <pankajkumar.divedi at amd.com>
Commit: db1375f6d907f1af34c03b5174b7e0432f615d21
https://github.com/llvm/llvm-project/commit/db1375f6d907f1af34c03b5174b7e0432f615d21
Author: ivanaivanovska <iivanovska at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/lib/Sema/SemaCoroutine.cpp
M clang/lib/Sema/SemaStmt.cpp
M clang/test/SemaCXX/coroutines.cpp
Log Message:
-----------
Surface error for plain return statement in coroutine earlier (#100985)
When a plain return statement was used in a coroutine, the error "return
statement not allowed in coroutine" was surfaced too late (e.g. after
other errors in the return statement). Surfacing it earlier now, to make
the issue more obvious.
Commit: 1525abb9c94e7daa9295323b6649e289e0e91c7a
https://github.com/llvm/llvm-project/commit/1525abb9c94e7daa9295323b6649e289e0e91c7a
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
M llvm/test/CodeGen/AArch64/fast-isel-branch-uncond-debug.ll
Log Message:
-----------
[FastISel] Don't use sizeWithoutDebug() for debug records (#101648)
sizeWithoutDebug() iterates over the entire block, but all we do is to
check whether the number is not equal to one. In times of debug records,
simply check whether the first and last instructions are equal.
Commit: deb3ecf09fa30391bd22f890d2885c3d4816ca15
https://github.com/llvm/llvm-project/commit/deb3ecf09fa30391bd22f890d2885c3d4816ca15
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
Log Message:
-----------
[SLP][NFC]Add a test with the reduction of strided load, NFC.
Commit: 6c7cb55f8f8dc833fbd3d0e4261a503cf1e41341
https://github.com/llvm/llvm-project/commit/6c7cb55f8f8dc833fbd3d0e4261a503cf1e41341
Author: Andrey Timonin <112198242+EtoAndruwa at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
Log Message:
-----------
[mlir][cf] Fix ControlFlow dialect's operations' summary (#101494)
Ensure that the summary of the operation in the TableGen starts with a capital letter.
This is in line with our [guideline](https://mlir.llvm.org/docs/DefiningDialects/Operations/#operation-arguments)
and the current output of the documentation generator which capitalizes the summary.
Commit: 721aa5dbb965f9f720d788726864a33b695d0141
https://github.com/llvm/llvm-project/commit/721aa5dbb965f9f720d788726864a33b695d0141
Author: Andrey Timonin <112198242+EtoAndruwa at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
Log Message:
-----------
[mlir][emitc] Fix EmitC dialect's operations' summary (#101515)
Ensure that the summary of the operation in the TableGen starts with a capital letter.
This is in line with our [guideline](https://mlir.llvm.org/docs/DefiningDialects/Operations/#operation-arguments)
and the current output of the documentation generator which capitalizes the summary.
Commit: cb58294f86212aeff45f4a303767fcf4ac7d82ba
https://github.com/llvm/llvm-project/commit/cb58294f86212aeff45f4a303767fcf4ac7d82ba
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
A clang/test/C/C11/n1396.c
M clang/www/c_status.html
Log Message:
-----------
[C11] Claim conformance to WG14 N1396 (#101214)
The crux of this paper is that floating point expressions can be
evaluated in a wider format, but the return statement in a function
should still return a value of the function's return type rather than
the wider format type.
Note, this is an Annex F conformance requirement and we do not currently
claim conformance to Annex F, so technically we conform either way.
Commit: 0fd980e1dbed1018c77e7c7c258a08a5bca61955
https://github.com/llvm/llvm-project/commit/0fd980e1dbed1018c77e7c7c258a08a5bca61955
Author: Dmitry Chestnykh <dm.chestnykh at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
Log Message:
-----------
[NFC][Clang] Remove unused arg (#101650)
`BuiltinID` is not used inside `CheckBuiltinTargetInSupported`
Commit: 48d4d4b641702bf6db03a1bac73b7e13dea28349
https://github.com/llvm/llvm-project/commit/48d4d4b641702bf6db03a1bac73b7e13dea28349
Author: Sjoerd Meijer <smeijer at nvidia.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/docs/CommandGuide/clang.rst
Log Message:
-----------
Ofast deprecation clarifications (#101005)
Following up on the RFC discussion, this is clarifying that the main
purpose and effect of the -Ofast deprecation is to discourage its usage
and that everything else is more or less open for discussion, e.g. there
is no timeline yet for removal.
---------
Co-authored-by: Aaron Ballman <aaron at aaronballman.com>
Commit: 58964c84990cebdff9dcfcd33858647bbbf87ad0
https://github.com/llvm/llvm-project/commit/58964c84990cebdff9dcfcd33858647bbbf87ad0
Author: Kai Yan <aklkaiyan at tencent.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/WindowScheduler.cpp
R llvm/test/CodeGen/Hexagon/swp-ws-resource-reserve.mir
Log Message:
-----------
Revert "[llvm][CodeGen] Address the issue of multiple resource reservations in window scheduling (#100301)" (#101658)
This reverts commit aa0a33be56f1ef8195eccbca57a103a8e1e302e3.
Commit: b21df4b1cf718e48259133054caa2ce5966358e9
https://github.com/llvm/llvm-project/commit/b21df4b1cf718e48259133054caa2ce5966358e9
Author: Oleksandr T. <oleksandr.tarasiuk at outlook.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Sema/constexpr.c
Log Message:
-----------
[Clang] prevent assertion failure by avoiding required literal type checking in C context (#101426)
Fixes #101304
Commit: a9eb3fd79b96ea6d954b1aa9a3de81d260d712ae
https://github.com/llvm/llvm-project/commit/a9eb3fd79b96ea6d954b1aa9a3de81d260d712ae
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[SCEV] Fix warning (NFC)
Produces -Wrange-loop-construct on some buildbots.
Commit: 423aec6573df4424f90555468128e17073ddc69e
https://github.com/llvm/llvm-project/commit/423aec6573df4424f90555468128e17073ddc69e
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
Log Message:
-----------
[NFC][AMDGPU] Reformat code for creating AA (#101591)
Commit: b6262880b34629e9d7a72b5a42f315a3c9ed8139
https://github.com/llvm/llvm-project/commit/b6262880b34629e9d7a72b5a42f315a3c9ed8139
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M libcxx/docs/Status/Cxx14Issues.csv
M libcxx/docs/Status/Cxx17Issues.csv
M libcxx/docs/Status/Cxx17Papers.csv
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/docs/Status/Cxx23Issues.csv
M libcxx/docs/Status/Cxx23Papers.csv
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/docs/Status/Cxx2cPapers.csv
Log Message:
-----------
[libc++] Consistency fixes for the CSV status files (#101572)
- Make sure we always have the same number of entries. In particular, I
dropped the "Group" entry that was tracked for papers but not for LWG
issues, since I don't think that added much. The group is already
tracked on the paper itself.
- Add "Label" row to all the CSV files.
This is mechanical, but it's necessary if we want to process our CSV
files uniformly, for example to synchronize their state with Github
issues.
Commit: 3ed4a14fe9f14c6e2ec2652899e6be794b2c5e1c
https://github.com/llvm/llvm-project/commit/3ed4a14fe9f14c6e2ec2652899e6be794b2c5e1c
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M .git-blame-ignore-revs
Log Message:
-----------
[libc++] Add more status file consistency fixes to git-blame-ignore-revs
Commit: 23609a383c3a0a389339ec6f9784d130bf2f0994
https://github.com/llvm/llvm-project/commit/23609a383c3a0a389339ec6f9784d130bf2f0994
Author: Tim Creech <timothy.m.creech at intel.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
R llvm/test/tools/llvm-profgen/Inputs/cmov_3.perfbin
R llvm/test/tools/llvm-profgen/Inputs/cmov_3.perfscript
R llvm/test/tools/llvm-profgen/Inputs/ip-duplication.perfscript
R llvm/test/tools/llvm-profgen/Inputs/noprobe-skid.perfscript
R llvm/test/tools/llvm-profgen/event-filtering.test
R llvm/test/tools/llvm-profgen/iponly-nodupfactor.test
R llvm/test/tools/llvm-profgen/iponly.test
R llvm/test/tools/llvm-profgen/period-scaling.test
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/tools/llvm-profgen/ProfileGenerator.cpp
Log Message:
-----------
[llvm-profgen] Revert #99826 and #99026 (#100147)
Revert #99826 and #99026 to allow for additional input.
Commit: dba3dfa2bdbf8924bf16efcf896664fb91d38295
https://github.com/llvm/llvm-project/commit/dba3dfa2bdbf8924bf16efcf896664fb91d38295
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/fpclass-check-idioms.ll
Log Message:
-----------
[InstCombine] Fold isnan idioms (#101510)
Folds `(icmp ne ((bitcast X) & FractionBits), 0) & (icmp eq ((bitcast X)
& ExpBits), ExpBits) -> fcmp uno X, 0.0` and
`(icmp eq ((bitcast X) & FractionBits), 0) | (icmp ne ((bitcast X) &
ExpBits), ExpBits) -> fcmp ord X, 0.0`
Alive2: https://alive2.llvm.org/ce/z/mrLn_x
Commit: e7ee21fbc96664cf7736194c0ed922753e338989
https://github.com/llvm/llvm-project/commit/e7ee21fbc96664cf7736194c0ed922753e338989
Author: Jannick Kremer <51118500+DeinAlptraum at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/bindings/python/clang/cindex.py
M clang/bindings/python/tests/cindex/test_exception_specification_kind.py
M clang/docs/ReleaseNotes.rst
Log Message:
-----------
[libclang/python] Fix `get_exception_specification_kind` (#101548)
Fix a bug with `get_exception_specification_kind`. The function did not
work before. Also add a test that confirms that it works now.
Commit: 28d4149ba0c1748f570fecb683fb1fda62bfd974
https://github.com/llvm/llvm-project/commit/28d4149ba0c1748f570fecb683fb1fda62bfd974
Author: Pasquale Riello <pas.riello at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/lib/Analysis/FlowSensitive/Models/ChromiumCheckModel.cpp
Log Message:
-----------
[clang][dataflow] Fix casting in `ChromiumCheckModel`. (#101640)
`getDirectCallee()` may return a null pointer if the callee is not a
`FunctionDecl` (for example when using function pointers), this requires
to use `dyn_cast_or_null` instead of `dyn_cast`.
Commit: 411d31ad690707279586ecc636dbe07c400226d6
https://github.com/llvm/llvm-project/commit/411d31ad690707279586ecc636dbe07c400226d6
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/ARM/ARMISelLowering.cpp
M llvm/test/CodeGen/ARM/popcnt.ll
M llvm/test/CodeGen/Thumb2/mve-ctpop.ll
Log Message:
-----------
Partially revert 92e18ffd803365c64910760ba20278f875d93681 (#101673)
It is likely to cause stage2 build failures:
https://lab.llvm.org/buildbot/#/builders/122/builds/389
https://lab.llvm.org/buildbot/#/builders/79/builds/552
I don't have an ARM machine to investigate, so I'm just reverting ARM
changes to see if it helps make the bots green again.
Commit: d40fa2c82afd4767bfa11139214a6b4c00079f1f
https://github.com/llvm/llvm-project/commit/d40fa2c82afd4767bfa11139214a6b4c00079f1f
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M libcxx/docs/Status/Cxx17Issues.csv
Log Message:
-----------
[libc++][NFC] Fix typos in the status-tracking CSV introduced by recent changes
Commit: 4a98f5228170224144da473c25188e23540c55d6
https://github.com/llvm/llvm-project/commit/4a98f5228170224144da473c25188e23540c55d6
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Analysis/StructuralHash.cpp
M llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
Log Message:
-----------
[StructuralHashPrinter] Always print 16-digit hash (#101655)
The hash may contain less than 14 significant digits, which caused the
test to fail.
Commit: 4e93b16f3fce467b2bbda4e5fd8b15fcad2bea93
https://github.com/llvm/llvm-project/commit/4e93b16f3fce467b2bbda4e5fd8b15fcad2bea93
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/include/llvm/Analysis/InstSimplifyFolder.h
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
Log Message:
-----------
[llvm] Make InstSimplifyFolder constructor explicit (NFC) (#101654)
Commit: 07aaab8345f1728815575639821ce581590d8479
https://github.com/llvm/llvm-project/commit/07aaab8345f1728815575639821ce581590d8479
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/www/c_status.html
Log Message:
-----------
Update C status page rationale for Annex F conformance
This is setting expectations that Clang will likely never conform to
Annex F on 32-bit x86 with SSE2 disabled because of the way x87 works.
Commit: 293df8afae3ec1f99e44d6bc015e4edf2c165c8d
https://github.com/llvm/llvm-project/commit/293df8afae3ec1f99e44d6bc015e4edf2c165c8d
Author: Alexis Engelke <engelke at in.tum.de>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/docs/WritingAnLLVMPass.rst
M llvm/include/llvm/Pass.h
M llvm/include/llvm/PassInfo.h
M llvm/include/llvm/PassRegistry.h
M llvm/include/llvm/PassSupport.h
M llvm/lib/IR/LegacyPassManager.cpp
M llvm/lib/IR/Pass.cpp
M llvm/lib/IR/PassRegistry.cpp
Log Message:
-----------
[LegacyPM] Drop analysis groups (#101670)
This improves the performance of recordAvailableAnalysis and freePass so
that they don't need to call getPassInfo(), which acquires a lock on
every call.
The performance-wise interesting part is only in LegacyPassManager.cpp,
everything else is just cleanup.
Commit: b537df973731c4b84fdf6f9f44371c2b50205703
https://github.com/llvm/llvm-project/commit/b537df973731c4b84fdf6f9f44371c2b50205703
Author: Andrea Faulds <andrea.faulds at amd.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp
M mlir/test/Conversion/ArithToSPIRV/arith-to-spirv-unsupported.mlir
M mlir/test/Conversion/ArithToSPIRV/arith-to-spirv.mlir
Log Message:
-----------
[mlir][arith][spirv] Convert arith.truncf rounding mode to SPIR-V (#101547)
Resolves #87050.
Commit: 461126c29c56ec2362dd24c93d64421c8d73d4ef
https://github.com/llvm/llvm-project/commit/461126c29c56ec2362dd24c93d64421c8d73d4ef
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
Log Message:
-----------
[AArch64] Fix incorrectly getting the destination reg of an insn (#101205)
This popped up while investigating
https://github.com/llvm/llvm-project/issues/96950
In a few places where we need the destination reg of an instruction we
were using a call that worked only by accident.
Commit: 8bfa089e5bfb9f26e05b9cefa9065ca7f97406ce
https://github.com/llvm/llvm-project/commit/8bfa089e5bfb9f26e05b9cefa9065ca7f97406ce
Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
Log Message:
-----------
[mlir][vector] Update tests for xfer-flatten (nfc) (#101471)
Updates formatting and variable names in:
* vector-transfer-flatten.mlir
This is primarily to improve consistency, both within this particular
test file as well as across tests.
Overview of changes:
* All memref input arguments are re-named as `%mem`.
* All vector input arguments are re-named as `%vec`.
* All tensor input arguments are re-named as `%dest`.
* LIT variables are update to be consistent with input arguments.
* Renamed all output arguments as `%res`.
* Updated indentation to be more C-like.
Note, similar changes for vector-transfer-permutation-lowering.mlir were
implemented in #101468.
Commit: 12937b1bfb23cca4731fa274f3358f7286cc6784
https://github.com/llvm/llvm-project/commit/12937b1bfb23cca4731fa274f3358f7286cc6784
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
A llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-reductions.ll
Log Message:
-----------
[AArch64] Avoid NEON dot product in streaming[-compatible] functions (#101677)
The NEON dot product is not valid in streaming mode.
A follow-up patch will improve codegen for these operations.
Commit: d96569ecc2807a13dab6495d8cc4e82775b00af1
https://github.com/llvm/llvm-project/commit/d96569ecc2807a13dab6495d8cc4e82775b00af1
Author: Pavel Skripkin <paskripkin at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/lib/StaticAnalyzer/Core/Store.cpp
M clang/test/Analysis/exercise-ps.c
Log Message:
-----------
[analyzer] Fix crash on using `bitcast(<type>, <array>)` as array subscript (#101647)
Current CSA logic does not expect `LazyCompoundValKind` as array index.
This may happen if array is used as subscript to another, in case of
bitcast to integer type.
Catch such cases and return `UnknownVal`, since CSA cannot model
array -> int casts.
Closes #94496
Commit: d02757ce9ee3b439ba8cb7a67676e725a22a8651
https://github.com/llvm/llvm-project/commit/d02757ce9ee3b439ba8cb7a67676e725a22a8651
Author: Volodymyr Sapsai <421892+vsapsai at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/lib/Sema/Sema.cpp
A clang/test/Modules/builtin-vararg.c
Log Message:
-----------
[Modules] Fix using `va_list` with modules and a precompiled header. (#100837)
Fix the false warning
> incompatible pointer types passing 'va_list' (aka '__builtin_va_list')
to parameter of type 'struct __va_list_tag *'
[-Wincompatible-pointer-types]
The warning is wrong because both in the function declaration and at the
call site we are using `va_list`.
When we call `ASTContext::getBuiltinVaListDecl` at a specific moment, we
end up re-entering this function which causes creating 2 instances of
`BuiltinVaListDecl` and 2 instances of `VaListTagDecl` but the stored
instances are unrelated to each other because of the call sequence like
getBuiltinVaListDecl
CreateX86_64ABIBuiltinVaListDecl
VaListTagDecl = TagA
indirectly call getBuiltinVaListDecl
CreateX86_64ABIBuiltinVaListDecl
VaListTagDecl = TagB
BuiltinVaListDecl = ListB
BuiltinVaListDecl = ListA
Now we have `BuiltinVaListDecl == ListA` and `VaListTagDecl == TagB`.
For x86_64 '__builtin_va_list' and 'struct __va_list_tag *' are
compatible because '__builtin_va_list' == '__va_list_tag[1]'. But
because we have unrelated decls for VaListDecl and VaListTagDecl the
types are considered incompatible as we are comparing type pointers.
Fix the error by creating `BuiltinVaListDecl` before
`ASTReader::InitializeSema`, so that during
`ASTContext::getBuiltinVaListDecl` ASTReader doesn't try to de-serialize
'__builtin_va_list' and to call `ASTContext::getBuiltinVaListDecl`
again.
rdar://130947515
Commit: dfda9c5b9ef24b489f4fff30a6ebc0b57b4e7961
https://github.com/llvm/llvm-project/commit/dfda9c5b9ef24b489f4fff30a6ebc0b57b4e7961
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-atomic-fadd.f32.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp64-atomics-gfx90a.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/atomicrmw-expand.ll
M llvm/test/CodeGen/AMDGPU/atomics-hw-remarks-gfx90a.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fsub.ll
M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f32-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fsub.ll
M llvm/test/CodeGen/AMDGPU/global-atomics-fp-wrong-subtarget.ll
M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fadd.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fsub.ll
M llvm/test/CodeGen/AMDGPU/insert_waitcnt_for_precise_memory.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i128.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd-flat-specialization.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-simplify-cfg-CAS-block.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-fp-vector.ll
Log Message:
-----------
AMDGPU: Handle new atomicrmw metadata for fadd case (#96760)
This is the most complex atomicrmw support case. Note we don't have
accurate remarks for all of the cases, which I'm planning on fixing
in a later change with more precise wording.
Continue respecting amdgpu-unsafe-fp-atomics until it's eventual removal.
Also seems to fix a few cases not interpreting amdgpu-unsafe-fp-atomics
appropriately aaggressively.
Commit: 39c7dc7207e76e72da21cf4fedda21b5311bf62d
https://github.com/llvm/llvm-project/commit/39c7dc7207e76e72da21cf4fedda21b5311bf62d
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M libcxx/docs/Status/Cxx14Issues.csv
M libcxx/docs/Status/Cxx14Papers.csv
M libcxx/docs/Status/Cxx17.rst
M libcxx/docs/Status/Cxx17Issues.csv
M libcxx/docs/Status/Cxx17Papers.csv
M libcxx/docs/Status/Cxx20Papers.csv
Log Message:
-----------
[libc++][NFC] More consistency fixes to the CSV entries
- Update note for P0156 which was reverted in Kona, to avoid unusual status.
- Add the LWG issue number for an old C++14 NB comment.
- Fix broken link for LWG2118
- Capitalize paper numbers and links consistently
- Remove weird status '* *' which was likely added by mistake
Commit: 8d5cc015e006616ec818522c966b685bcb4951c2
https://github.com/llvm/llvm-project/commit/8d5cc015e006616ec818522c966b685bcb4951c2
Author: Sopy <doimpt at sopy.one>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/neon-rshrn.ll
A llvm/test/CodeGen/AArch64/optimize_combine_large_shifts.ll
Log Message:
-----------
[AArch64] Optimize two large shifts and a combine into a single combine and shift (#99480)
Addresses a missing optimization in the AArch64 back-end where two large
shifts followed by a combine operation can be optimized into a single
combine operation followed by a shift.
Closes #59502
Commit: 937cbe270e5ee4e2e4d6f5568768a55d5e383076
https://github.com/llvm/llvm-project/commit/937cbe270e5ee4e2e4d6f5568768a55d5e383076
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M .git-blame-ignore-revs
Log Message:
-----------
[libc++] Add last commit to git-blame-ignore-revs
Commit: 60054dcd81d027db72b9ef305184e97c55465458
https://github.com/llvm/llvm-project/commit/60054dcd81d027db72b9ef305184e97c55465458
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/Local.h
M llvm/lib/Transforms/Utils/LoopSimplify.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Log Message:
-----------
[NFC] Lowercase the first letter of functions defined in SimplifyCFG.cpp
Commit: 9d07f43676f03460d913aabd503ae8154cabdda1
https://github.com/llvm/llvm-project/commit/9d07f43676f03460d913aabd503ae8154cabdda1
Author: David Spickett <david.spickett at linaro.org>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
Reland "[lldb] Reland 2402b3213c2f with `/H` to debug the windows build issue (#101672)
This reverts commit 9effefbae8d96006a4dd29bb9ab8532fd408559d.
With the include order in ScriptedProcessPythonInterface.cpp fixed
(though I cannot explain exactly why it works) and removes the /H flag
intended for debugging this issue.
I think it is something to do with Process.h pulling in PosixApi.h
somewhere along the line, and including Process.h after lldb-python.h
means that NO_PID_T is defined to prevent a redefinition of pid_t.
Commit: 4aac78dd4a89f16657c162320e3a720437cb7284
https://github.com/llvm/llvm-project/commit/4aac78dd4a89f16657c162320e3a720437cb7284
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/RISCV/rv64zbb.ll
Log Message:
-----------
[RISCV] Generalize existing SRA combine to fix #101040. (#101610)
We already had a DAG combine for (sra (sext_inreg (shl X, C1), i32), C2)
-> (sra (shl X, C1+32), C2+32) that we used for RV64. This patch
generalizes it to other sext_inregs for both RV32 and RV64.
Fixes #101040.
Commit: 6c367168d6787941df2945528d7414f94a697e60
https://github.com/llvm/llvm-project/commit/6c367168d6787941df2945528d7414f94a697e60
Author: YongKang Zhu <yongzhu at fb.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
A llvm/test/Transforms/InstCombine/skip-opt-void-to-non-void-conversion.ll
Log Message:
-----------
[InstCombine] Remove transformation on call instruction where return value need void to non-void conversion (#98536)
Skip simplification on call instruction where a non-void return value is
expected but the callee returns void, which is undefined behavior and
could lead to non-determinism or crashes.
Commit: bb790b8bf2e9bb57db3313edb4868830213d1079
https://github.com/llvm/llvm-project/commit/bb790b8bf2e9bb57db3313edb4868830213d1079
Author: Shengchen Kan <shengchen.kan at intel.com>
Date: 2024-08-03 (Sat, 03 Aug 2024)
Changed paths:
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Log Message:
-----------
[NFC] Extract the probability check for the hoisted BB into a local function
So that we can early bail out to avoid nested if clauses.
This is to extract the NFC change in #96878 into a separate PR.
Commit: 4b6f4efabc71e86d919add3538fa63ba35906e73
https://github.com/llvm/llvm-project/commit/4b6f4efabc71e86d919add3538fa63ba35906e73
Author: Ian Wood <75152913+IanWood1 at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/test/Dialect/Linalg/canonicalize.mlir
Log Message:
-----------
[mlir][linalg] Canonicalize non-identity `linalg.generic` ops (#101430)
Extend `linalg.generic`'s canonicalization patterns to be able to erase
ops with non-identity indexing maps but that are still noops.
Commit: 1c1b8c20c2d58b6a307e6fdc6db271e81ee8d603
https://github.com/llvm/llvm-project/commit/1c1b8c20c2d58b6a307e6fdc6db271e81ee8d603
Author: Piotr Fusik <p.fusik at samsung.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Support/ARMAttributeParser.cpp
M llvm/lib/Support/CSKYAttributeParser.cpp
M llvm/lib/Support/MSP430AttributeParser.cpp
M llvm/lib/Support/RISCVAttributeParser.cpp
Log Message:
-----------
[ELFAttributeParser][NFC] Make string arrays const (#101460)
Commit: c6ce324fa7fb2438b945fa1205b2a23138327e83
https://github.com/llvm/llvm-project/commit/c6ce324fa7fb2438b945fa1205b2a23138327e83
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M lldb/source/Commands/CommandObjectBreakpoint.cpp
M lldb/source/Commands/CommandObjectBreakpoint.h
M lldb/source/Commands/CommandObjectBreakpointCommand.cpp
M lldb/source/Commands/CommandObjectProcess.cpp
M lldb/source/Commands/CommandObjectSource.cpp
Log Message:
-----------
[lldb] Eliminate more Targer* in favor of Target& in CommandObjects (NFC)
The majority of the replaced Target pointers were already used
unconditionally and the few that were shouldn't even be NULL.
Commit: d6649f2d4871c4535ae0519920e36100748890c4
https://github.com/llvm/llvm-project/commit/d6649f2d4871c4535ae0519920e36100748890c4
Author: Kerry McLaughlin <kerry.mclaughlin at arm.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M compiler-rt/lib/builtins/aarch64/sme-libc-mem-routines.S
Log Message:
-----------
[AArch64][SME] Rewrite __arm_sc_memset to remove invalid instruction (#101522)
The implementation of __arm_sc_memset in compiler-rt contains
a Neon dup instruction which is not valid in streaming mode. This
patch rewrites the function, using an SVE mov instruction if available.
Commit: 1417633943b77365bda70b1ddddd46a0a3c05300
https://github.com/llvm/llvm-project/commit/1417633943b77365bda70b1ddddd46a0a3c05300
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/CMakeLists.txt
A flang/include/flang/Runtime/CUDA/allocator.h
M flang/runtime/CMakeLists.txt
A flang/runtime/CUDA/CMakeLists.txt
A flang/runtime/CUDA/allocator.cpp
M flang/unittests/Runtime/CMakeLists.txt
A flang/unittests/Runtime/CUDA/AllocatorCUF.cpp
A flang/unittests/Runtime/CUDA/CMakeLists.txt
Log Message:
-----------
[flang][cuda] Add CUF allocator (#101216)
Add allocators for CUDA fortran allocation on the device. 3 allocators
are added for pinned, device and managed/unified memory allocation.
`CUFRegisterAllocator()` is called to register the allocators in the
allocator registry added in #100690.
Since this require CUDA, a cmake option `FLANG_CUF_RUNTIME` is added to
conditionally build these.
Commit: bbdccf4c94ff18a0761b03a0e2c8b05805385132
https://github.com/llvm/llvm-project/commit/bbdccf4c94ff18a0761b03a0e2c8b05805385132
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Linux/printf-fortify-5.c
M compiler-rt/test/lit.common.cfg.py
Log Message:
-----------
[asan,test] Disable _FORTIFY_SOURCE test incompatible with glibc 2.40
In terms of bug catching capability, `_FORTIFY_SOURCE` does not perform
as well as some dynamic instrumentation tools. When a sanitizer is used,
generally `_FORTIFY_SOURCE` should be disabled since sanitizer runtime
does not implement most `*_chk` functions. Using `_FORTIFY_SOURCE`
will regress error checking (asan/hwasan/tsan) or cause false positives
(msan).
`*printf_chk` are the most pronounced `_chk` interceptors for
uninstrumented DSOes (https://reviews.llvm.org/D40951).
glibc 2.40 introduced `pass_object_info` style fortified source for some
functions ([1]). `fprintf` will be mangled as
`_ZL7fprintfP8_IO_FILEU17pass_object_size1PKcz`, which has no associated
interceptor, leading to printf-fortify-5.c failure.
Just disable the test. Fix #100877
[1]: https://sourceware.org/pipermail/libc-alpha/2024-February/154531.html
Pull Request: https://github.com/llvm/llvm-project/pull/101566
Commit: b1df554c386c4f9e27e0289be868be20d93cb6a5
https://github.com/llvm/llvm-project/commit/b1df554c386c4f9e27e0289be868be20d93cb6a5
Author: Brandon Wu <brandon.wu at sifive.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/include/clang/Basic/riscv_vector.td
Log Message:
-----------
[RISCV][clang] Remove unused base type in `vfncvt` (#101646)
We don't have `fp8` type supported yet.
Commit: d6cbcf93b227befaad00957a56acd63c837c26ff
https://github.com/llvm/llvm-project/commit/d6cbcf93b227befaad00957a56acd63c837c26ff
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
Log Message:
-----------
[lldb][ClangExpressionParser][NFC] Factor out TargetOpts logic out of ClangExpressionParser (#101681)
Same motivation as https://github.com/llvm/llvm-project/pull/101669. We
plan to eventually use the Clang driver to initialize the
`CompilerInstance`.
This should make refactorings of this code more straightforward.
**Changes**:
* Introduced `SetupTargetOpts`
* Called them from `ClangExpressionParser::ClangExpressionParser`
* Made `GetClangTargetABI` a file-local function since it's not using
any of the state in `ClangExpressionParser`, and isn't used anywhere
outside the source file
Commit: 982cfae465cabac3478f597a63feda64cf5e267c
https://github.com/llvm/llvm-project/commit/982cfae465cabac3478f597a63feda64cf5e267c
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M compiler-rt/test/asan/TestCases/Helpers/initialization-nobug-extra.cpp
M compiler-rt/test/asan/TestCases/initialization-nobug.cpp
Log Message:
-----------
[test][asan] Check for order of DynInitPoison (#101584)
Also make sure we have dynamic init variables with any `-O`.
Commit: 301db3dee53b5afbc9813c5fcd3cce25a0655f5f
https://github.com/llvm/llvm-project/commit/301db3dee53b5afbc9813c5fcd3cce25a0655f5f
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-08-02 (Fri, 02 Aug 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/newhdrgen/yaml/unistd.yaml
M libc/spec/posix.td
M libc/src/__support/threads/CMakeLists.txt
A libc/src/__support/threads/identifier.h
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/rwlock.h
M libc/src/unistd/CMakeLists.txt
A libc/src/unistd/gettid.cpp
A libc/src/unistd/gettid.h
M libc/src/unistd/linux/CMakeLists.txt
M libc/src/unistd/linux/fork.cpp
M libc/test/integration/src/unistd/CMakeLists.txt
M libc/test/integration/src/unistd/fork_test.cpp
Log Message:
-----------
[libc] add simplified tid cache (#101620)
According to discussions on monthly meeting, we probably don't want to
cache `getpid` anymore. glibc removes their cache. bionic is hesitating
whether such cache is to be removed. `getpid` is async-signal-safe, so
we must make sure it always work.
However, for `gettid`, we have more freedom. Moreover, we are using
`gettid` to examine deadlock such that the performance penalty is not
negligible here. Thus, this patch is separated from previous patch to
provide only `tid` caching. It is much more simplified. Hopefully,
previous build issues can be resolved easily.
Commit: ad836c1569de20f793fc88afdc64bece5126d3e4
https://github.com/llvm/llvm-project/commit/ad836c1569de20f793fc88afdc64bece5126d3e4
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/docs/OpenMPSupport.rst
Log Message:
-----------
[OpenMP][Doc] Add `ompx_bare` entry in `OpenMPSupport.rst` (#101711)
Commit: e14356a61764ab864fe43efbba4a303697115774
https://github.com/llvm/llvm-project/commit/e14356a61764ab864fe43efbba4a303697115774
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M libc/src/__support/threads/identifier.h
Log Message:
-----------
[libc] small fix for overlay mode build (#101724)
Commit: 7a7cb8156b0a85f1eca772329644cae5989d4ed1
https://github.com/llvm/llvm-project/commit/7a7cb8156b0a85f1eca772329644cae5989d4ed1
Author: jimingham <jingham at apple.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M lldb/include/lldb/Target/Process.h
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
A lldb/source/Plugins/SystemRuntime/MacOSX/AbortWithPayloadFrameRecognizer.cpp
A lldb/source/Plugins/SystemRuntime/MacOSX/AbortWithPayloadFrameRecognizer.h
M lldb/source/Plugins/SystemRuntime/MacOSX/CMakeLists.txt
M lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
M lldb/source/Target/Process.cpp
A lldb/test/API/macosx/abort_with_payload/Makefile
A lldb/test/API/macosx/abort_with_payload/TestAbortWithPayload.py
A lldb/test/API/macosx/abort_with_payload/main.c
Log Message:
-----------
[LLDB] Add a StackFrameRecognizer for the Darwin specific abort_with_payload… (#101365)
This is used by various system routines (the capabilities checker and
dyld to name a few) to add extra color to an abort. This patch adds a
frame recognizer so people can easily see the details, and also adds the
information to the ExtendedCrashInformation dictionary.
I also had to rework how the dictionary is held; previously it was
created on demand, but that was inconvenient since it meant all the
entries had to be produced at that same time. That didn't work for the
recognizer.
Commit: 1fcddc0dfa1b371bc0b278438d5f47cf8d03b511
https://github.com/llvm/llvm-project/commit/1fcddc0dfa1b371bc0b278438d5f47cf8d03b511
Author: Kazu Hirata <kazu at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M lldb/source/Plugins/SystemRuntime/MacOSX/AbortWithPayloadFrameRecognizer.cpp
Log Message:
-----------
[lldb] Fix a warning
This patch fixes:
lldb/source/Plugins/SystemRuntime/MacOSX/AbortWithPayloadFrameRecognizer.cpp:177:10:
error: unused variable 'str_len' [-Werror,-Wunused-variable]
Commit: 5c1d7689738d144613e7915c0b6ec850dd5c3956
https://github.com/llvm/llvm-project/commit/5c1d7689738d144613e7915c0b6ec850dd5c3956
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
Log Message:
-----------
[lldb][ClangExpressionParser] Log and assert on failure to create TargetInfo (#101697)
`CreateTargetInfo` can return a `nullptr` in a couple cases. So we
should log that and let the user know something is wrong (hence the
`lldbassert`).
I didn't actually run into this. Just stumbled upon it from reading the
code.
Commit: 46425b8d0fac3c529aa4a716d19abd7032e452f3
https://github.com/llvm/llvm-project/commit/46425b8d0fac3c529aa4a716d19abd7032e452f3
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/runtime/CUDA/allocator.cpp
Log Message:
-----------
[flang][cuda] Fix allocator-registry header path (#101727)
File was moved in #101212
Commit: bba491f895ad12ac4847cce5e7e819110b87246a
https://github.com/llvm/llvm-project/commit/bba491f895ad12ac4847cce5e7e819110b87246a
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/include/flang/Optimizer/CodeGen/CGOps.td
M flang/include/flang/Optimizer/Dialect/FIROps.td
Log Message:
-----------
[flang][NFC] Add missing sourceBox documentation in embox ops (#101221)
Just noticed that `sourceDoc` was not documented in embox operations
description. this patch just add the documentation.
Commit: 737c387f8be15cf3d6004d3f58a3ce5763f7f9e8
https://github.com/llvm/llvm-project/commit/737c387f8be15cf3d6004d3f58a3ce5763f7f9e8
Author: Med Ismail Bennani <ismail at bennani.ma>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
A lldb/test/Shell/Commands/command-scripting-template-list.test
Log Message:
-----------
[lldb/test] Add test for the `scripting template list` command (#101726)
Commit: dd7a4c3e5ee3300588b7c12631f3305553d8ea6c
https://github.com/llvm/llvm-project/commit/dd7a4c3e5ee3300588b7c12631f3305553d8ea6c
Author: Qiongsi Wu <qwu at ibm.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/include/clang/Lex/PreprocessorOptions.h
M clang/lib/Driver/ToolChains/AIX.cpp
M clang/test/Preprocessor/pragma_mc_func.c
Log Message:
-----------
Revert "[AIX] Turn on `#pragma mc_func` check by default (#101336)"
This reverts commit b9335176db718bf64c72d48107eb9dff28ed979e.
Commit: ca305337ff84385bf23acddcaf173a8847f86752
https://github.com/llvm/llvm-project/commit/ca305337ff84385bf23acddcaf173a8847f86752
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/include/flang/Evaluate/expression.h
M flang/lib/Semantics/expression.cpp
M flang/test/Evaluate/logical-args.f90
Log Message:
-----------
[flang] Fix -fdefault-integer-8 result kind of relations (#101234)
The result of a relational operator is a default logical, which is
LOGICAL(8) under the -fdefault-integer-8 option.
Fixes https://github.com/llvm/llvm-project/issues/101161.
Commit: b1a1d4e08e0dae54a0d60af4784a30f9d6849ebb
https://github.com/llvm/llvm-project/commit/b1a1d4e08e0dae54a0d60af4784a30f9d6849ebb
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/runtime/edit-output.cpp
M flang/unittests/Runtime/NumericalFormatTest.cpp
Log Message:
-----------
[flang][runtime] Don't emit excess digits for ES0.0E0 or EN0.0E0 (#101238)
Don't emit any digits after the decimal point.
Commit: c2a95ad25c65acede2492ac83039150f9522c3ae
https://github.com/llvm/llvm-project/commit/c2a95ad25c65acede2492ac83039150f9522c3ae
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/runtime/format-implementation.h
M flang/runtime/internal-unit.cpp
M flang/runtime/internal-unit.h
M flang/runtime/io-stmt.cpp
M flang/runtime/io-stmt.h
M flang/runtime/unit.cpp
M flang/runtime/unit.h
M flang/runtime/utf.cpp
M flang/runtime/utf.h
Log Message:
-----------
[flang][runtime] Handle multi-byte characters while tabbing (#101388)
When repositioning within the current record with control edit
descriptors (Xn, Tn, TLn, TRn), deal with multiple-byte character
encodings. This affects only external I/O to units with UTF-8 encoding.
Commit: 90617e99bb17303b351351681a70394c312e0e58
https://github.com/llvm/llvm-project/commit/90617e99bb17303b351351681a70394c312e0e58
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/real.cpp
M flang/test/Evaluate/fold-nearest.f90
Log Message:
-----------
[flang] Fix folding edge cases with IEEE_NEXT_{UP/DOWN/AFTER} & NEAREST (#101424)
The generation of 80-bit x87 floating-point infinities was incorrect in
Normalize(), the comparison for IEEE_NEXT_AFTER needs to use the most
precise type of its arguments, and we don't need to warn about overflows
from +/-HUGE() to infinity. Warnings about NaN arguments remain in
place, and enabled by default, as their usage may or may not be
portable, and their appearance in a real code seems most likely to
signify an earlier error.
Commit: 858bea86be709ec84757d98da16fbf3a05579b76
https://github.com/llvm/llvm-project/commit/858bea86be709ec84757d98da16fbf3a05579b76
Author: Joshua Cranmer <joshua.cranmer at intel.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/docs/LangRef.rst
Log Message:
-----------
[LangRef] Adjust the documentation of some fast-math flags. (#99557)
The first change is the clarification of rewrite-based semantics, and
the fact that when doing the rewrite, all of the instructions involved
need to have the rewrite. This is not a change in semantics: there is
wide agreement that this behavior is true for most flags. But it is
necessary to clarify this, and also clarify that there is a fundamental
difference between a flag like `nnan` and a flag like `contract`. Note
that several InstCombine transforms do not correctly check this behavior
at the moment.
The second change is a specific clarification of the rewrites performed
by arcp. These rewrites capture what is necessary to enable the
transformations that currently require just arcp, none of which are
using the flag incorrectly right now.
Commit: 4ac24b388a5d812c57d50ed8ce336f1d516450cc
https://github.com/llvm/llvm-project/commit/4ac24b388a5d812c57d50ed8ce336f1d516450cc
Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M libc/src/__support/threads/thread.cpp
M libc/src/__support/threads/thread.h
Log Message:
-----------
[libc] inline thread self (#101739)
The codegen for non-inlined version is "quite ugly" as it emits some
checks to make sure the initialization routine is properly executed
because the compiler does not see how the TLS object is initialized.
This leads to some `callq 0x0` junk in the final outputs.
For codegen details, see https://godbolt.org/z/rb5qYj3vY.
Commit: 5edb49355a37b9e4168c4c07fdc0c6623107a735
https://github.com/llvm/llvm-project/commit/5edb49355a37b9e4168c4c07fdc0c6623107a735
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/PackedVector.h
Log Message:
-----------
ADT: Add non-const overload of PackedVector::raw_bits() (#101742)
This is convenient when operating on vectors in a bulk, bit-manipulating
fashion. I plan to use this in a future change.
Commit: 3e4af616334eae532f308605b89ff158dd195180
https://github.com/llvm/llvm-project/commit/3e4af616334eae532f308605b89ff158dd195180
Author: Jacob Lalonde <jalalonde at fb.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/API/SBSaveCoreOptions.h
M lldb/include/lldb/API/SBThread.h
M lldb/include/lldb/Symbol/SaveCoreOptions.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBSaveCoreOptions.cpp
M lldb/source/API/SBThread.cpp
M lldb/source/Core/PluginManager.cpp
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.h
M lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.cpp
M lldb/source/Symbol/SaveCoreOptions.cpp
M lldb/source/Target/Process.cpp
M lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py
M lldb/test/API/python_api/sbsavecoreoptions/TestSBSaveCoreOptions.py
A lldb/test/API/python_api/sbsavecoreoptions/basic_minidump.yaml
A lldb/test/API/python_api/sbsavecoreoptions/basic_minidump_different_pid.yaml
Log Message:
-----------
[LLDB][SBSaveCore] Implement a selectable threadlist for Core Options. (#100443)
In #98403 I enabled the SBSaveCoreOptions object, which allows users via
the scripting API to define what they want saved into their core file.
As the first option I've added a threadlist, so users can scan and
identify which threads and corresponding stacks they want to save.
In order to support this, I had to add a new method to `Process.h` on
how we identify which threads are to be saved, and I had to change the
book keeping in minidump to ensure we don't double save the stacks.
Important to @jasonmolenda I also changed the MachO coredump to accept
these new APIs.
Commit: a21fc4c0a681000c23089301e8935f579517b96a
https://github.com/llvm/llvm-project/commit/a21fc4c0a681000c23089301e8935f579517b96a
Author: Michael Jones <michaelrj at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M libc/docs/dev/printf_behavior.rst
M libc/src/stdio/printf_core/parser.h
M libc/test/src/stdio/printf_core/parser_test.cpp
M libc/test/src/stdio/snprintf_test.cpp
Log Message:
-----------
[libc] Fix printf handling of INT_MIN width (#101729)
Prevously, if INT_MIN was passed as a wildcard width to a printf
conversion the parser would attempt to negate it to get the positive
width (and set the left justify flag), but it would underflow and the
width would be treated as 0. This patch corrects the issue by instead
treating a width of INT_MIN as identical to -INT_MAX.
Also includes docs changes to explain this behavior and adding b to the
list of int conversions.
Commit: bbdb1e400f54527160f62a69f074f211ff03fab1
https://github.com/llvm/llvm-project/commit/bbdb1e400f54527160f62a69f074f211ff03fab1
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/include/flang/Lower/Allocatable.h
M flang/include/flang/Optimizer/Builder/MutableBox.h
M flang/include/flang/Runtime/CUDA/allocator.h
M flang/include/flang/Runtime/allocator-registry.h
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Optimizer/Builder/MutableBox.cpp
M flang/test/Lower/CUDA/cuda-allocatable.cuf
M flang/unittests/Runtime/CUDA/AllocatorCUF.cpp
Log Message:
-----------
[flang][cuda] Set the allocator on fir.embox operation (#101722)
This patch set the `allocator_idx` attribute for allocatable descriptor
that have specific CUDA attribute.
Commit: 72a514f42722ad6f6e6baee8e2d75150f9369a66
https://github.com/llvm/llvm-project/commit/72a514f42722ad6f6e6baee8e2d75150f9369a66
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M compiler-rt/lib/asan/asan_globals.cpp
M compiler-rt/test/asan/TestCases/initialization-nobug.cpp
Log Message:
-----------
[NFC][asan] Report DynInitUnPoison (#101586)
Commit: 48e624dc2002a4947923ff309a76a3e4deb7d39a
https://github.com/llvm/llvm-project/commit/48e624dc2002a4947923ff309a76a3e4deb7d39a
Author: dyung <douglas.yung at sony.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/lib/Sema/Sema.cpp
R clang/test/Modules/builtin-vararg.c
Log Message:
-----------
Revert "[Modules] Fix using `va_list` with modules and a precompiled header." (#101752)
Reverts llvm/llvm-project#100837
The test Modules/builtin-vararg.c is failing on AArch64 build bots:
- https://lab.llvm.org/buildbot/#/builders/190/builds/3117
- https://lab.llvm.org/buildbot/#/builders/65/builds/2302
- https://lab.llvm.org/buildbot/#/builders/154/builds/2288
Revert to get the bots back to green.
Commit: ab819d7cf86932e4a47b5bf6aadea9d714a313a9
https://github.com/llvm/llvm-project/commit/ab819d7cf86932e4a47b5bf6aadea9d714a313a9
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Attributor.h
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/CodeGen/AMDGPU/direct-indirect-call.ll
M llvm/test/CodeGen/AMDGPU/duplicate-attribute-indirect.ll
A llvm/test/CodeGen/AMDGPU/simple-indirect-call-2.ll
M llvm/test/CodeGen/AMDGPU/simple-indirect-call.ll
Log Message:
-----------
[Attributor][AMDGPU] Enable AAIndirectCallInfo for AMDAttributor (#100952)
Commit: 12e3a06cb7615fbd91031420f3dec2a85d7877d6
https://github.com/llvm/llvm-project/commit/12e3a06cb7615fbd91031420f3dec2a85d7877d6
Author: Michael Buch <michaelbuch12 at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M lldb/include/lldb/Expression/Expression.h
M lldb/include/lldb/Expression/UserExpression.h
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
Log Message:
-----------
[lldb][ClangExpressionParser][NFC] Factor LangOptions logic out of ClangExpressionParser constructor (#101669)
We plan to eventually use the Clang driver to initialize the
`CompilerInstance`.
This should make refactorings of this code more straightforward.
**Changes**:
* Introduced `SetupLangOpts` and `SetupImportStdModuleLangOpts`
* Called them from `ClangExpressionParser::ClangExpressionParser`
Commit: 0b92e70dfb7a3b49c24157d0a1b93d127f622683
https://github.com/llvm/llvm-project/commit/0b92e70dfb7a3b49c24157d0a1b93d127f622683
Author: Fangrui Song <i at maskray.me>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll
R llvm/test/CodeGen/AMDGPU/div-rem-by-constant-64.ll
M llvm/test/CodeGen/AMDGPU/fshr.ll
M llvm/test/CodeGen/AMDGPU/udiv.ll
M llvm/test/CodeGen/AMDGPU/udiv64.ll
M llvm/test/CodeGen/AMDGPU/urem64.ll
Log Message:
-----------
Revert "[AMDGPU] Always lower s/udiv64 by constant to MUL (#100723)"
This reverts commit 92fbc963a51683d32f70d0c7f3783bb13983f08d.
The patch also affected ARM and caused an assertion failure during
CurDAG->Legalize
(https://github.com/llvm/llvm-project/pull/100723#issuecomment-2266154211).
Commit: b0b490634000b68293eca4be67b59738766a8632
https://github.com/llvm/llvm-project/commit/b0b490634000b68293eca4be67b59738766a8632
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Log Message:
-----------
[compiler-rt] Call __sys_mmap in internal_mmap on FreeBSD
Due to the slightly non-standard interface that returns a pointer
rather than just an integer, the __syscall() utility cannot be used
on all architectures. This change is required for example to use the
sanitizers on Arm Morello.
Pull Request: https://github.com/llvm/llvm-project/pull/84438
Commit: 1ae837ab34424a0b81bcc9a4fabc89e36cd57235
https://github.com/llvm/llvm-project/commit/1ae837ab34424a0b81bcc9a4fabc89e36cd57235
Author: Alexander Richardson <alexrichardson at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
Log Message:
-----------
[compiler-rt] Update AllSupportedArchDefs.cmake for FreeBSD
This syncs the list of supported sanitizers with the matching code
in clang (`FreeBSD::getSupportedSanitizers()`),
Reviewed By: emaste, DimitryAndric
Pull Request: https://github.com/llvm/llvm-project/pull/84280
Commit: 35a509dd2d9a90b7582167558a5285b04aab77c1
https://github.com/llvm/llvm-project/commit/35a509dd2d9a90b7582167558a5285b04aab77c1
Author: Youngsuk Kim <youngsuk.kim at hpe.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/docs/NVPTXUsage.rst
Log Message:
-----------
[llvm][docs] Correct named metadata name in example code block (NFC)
llvm.module.flag => llvm.module.flags
Commit: e96687acd23fef6ac2402f6933eb1751e0428a76
https://github.com/llvm/llvm-project/commit/e96687acd23fef6ac2402f6933eb1751e0428a76
Author: OverMighty <its.overmighty at gmail.com>
Date: 2024-08-03 (Sat, 03 Aug 2024)
Changed paths:
M libc/test/src/math/smoke/GetPayloadTest.h
Log Message:
-----------
[libc][math][c23] Fix getpayloadf128 smoke test on RV32 (#101720)
Fixes
https://github.com/llvm/llvm-project/pull/101285#issuecomment-2265765022.
Commit: 6c783e19ef66b88859a21a4cbe1862bded8a090a
https://github.com/llvm/llvm-project/commit/6c783e19ef66b88859a21a4cbe1862bded8a090a
Author: Chao Chen <116223022+chencha3 at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
M mlir/test/Dialect/XeGPU/XeGPUOps.mlir
M mlir/test/Dialect/XeGPU/invalid.mlir
Log Message:
-----------
[MLIR][XeGPU] Refine XeGPU definitions (#100763)
This PR has following changes/fixes to XeGPU definition:
- Fix type print format for atomic_rmw
- removed 2D support for MaskType
- Update LoadNd definition
- Add 1D TensorDesc support
- Replaced vnni_axis attribute with packed attribute
- Update DPAS op definition, limiting A to 2D vector, and B to either 2D/3D vector.
Commit: 8cf85653b6f5c90b83f8a5741baad5725d6c6932
https://github.com/llvm/llvm-project/commit/8cf85653b6f5c90b83f8a5741baad5725d6c6932
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
M llvm/lib/Target/DirectX/DXILOpBuilder.h
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/test/CodeGen/DirectX/acos_error.ll
M llvm/test/CodeGen/DirectX/asin_error.ll
M llvm/test/CodeGen/DirectX/atan_error.ll
M llvm/test/CodeGen/DirectX/ceil_error.ll
M llvm/test/CodeGen/DirectX/cos_error.ll
M llvm/test/CodeGen/DirectX/cosh_error.ll
M llvm/test/CodeGen/DirectX/dot2_error.ll
M llvm/test/CodeGen/DirectX/dot3_error.ll
M llvm/test/CodeGen/DirectX/dot4_error.ll
M llvm/test/CodeGen/DirectX/exp2_error.ll
M llvm/test/CodeGen/DirectX/flattened_thread_id_in_group_error.ll
M llvm/test/CodeGen/DirectX/floor_error.ll
M llvm/test/CodeGen/DirectX/frac_error.ll
M llvm/test/CodeGen/DirectX/group_id_error.ll
M llvm/test/CodeGen/DirectX/isinf_error.ll
M llvm/test/CodeGen/DirectX/log2_error.ll
M llvm/test/CodeGen/DirectX/round_error.ll
M llvm/test/CodeGen/DirectX/rsqrt_error.ll
M llvm/test/CodeGen/DirectX/sin_error.ll
M llvm/test/CodeGen/DirectX/sinh_error.ll
M llvm/test/CodeGen/DirectX/sqrt_error.ll
M llvm/test/CodeGen/DirectX/tan_error.ll
M llvm/test/CodeGen/DirectX/tanh_error.ll
M llvm/test/CodeGen/DirectX/thread_id_error.ll
M llvm/test/CodeGen/DirectX/thread_id_in_group_error.ll
M llvm/test/CodeGen/DirectX/trunc_error.ll
M llvm/utils/TableGen/DXILEmitter.cpp
Log Message:
-----------
[DirectX] Make DXILOpBuilder's API more useable
This adjusts the DXILOpBuilder API in a couple of ways:
1. Remove the need to call `getOverloadTy` before creating Ops
2. Introduce `tryCreateOp` to parallel `createOp` but propagate errors
3. Introduce specialized createOp methods for each DXIL Op
This will simplify usage of the builder in upcoming changes, and also allows us
to propagate errors via DiagnosticInfo rather than using fatal errors.
Pull Request: https://github.com/llvm/llvm-project/pull/101250
Commit: d9f786fd13fe03256ef0f2983ecd379d0e7e8c93
https://github.com/llvm/llvm-project/commit/d9f786fd13fe03256ef0f2983ecd379d0e7e8c93
Author: Volodymyr Sapsai <vsapsai at apple.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/lib/Sema/Sema.cpp
A clang/test/Modules/builtin-vararg.c
Log Message:
-----------
Reland "[Modules] Fix using `va_list` with modules and a precompiled header. (#100837)"
Fix the false warning
> incompatible pointer types passing 'va_list' (aka '__builtin_va_list')
to parameter of type 'struct __va_list_tag *'
[-Wincompatible-pointer-types]
The warning is wrong because both in the function declaration and at the
call site we are using `va_list`.
When we call `ASTContext::getBuiltinVaListDecl` at a specific moment, we
end up re-entering this function which causes creating 2 instances of
`BuiltinVaListDecl` and 2 instances of `VaListTagDecl` but the stored
instances are unrelated to each other because of the call sequence like
getBuiltinVaListDecl
CreateX86_64ABIBuiltinVaListDecl
VaListTagDecl = TagA
indirectly call getBuiltinVaListDecl
CreateX86_64ABIBuiltinVaListDecl
VaListTagDecl = TagB
BuiltinVaListDecl = ListB
BuiltinVaListDecl = ListA
Now we have `BuiltinVaListDecl == ListA` and `VaListTagDecl == TagB`.
For x86_64 '__builtin_va_list' and 'struct __va_list_tag *' are
compatible because '__builtin_va_list' == '__va_list_tag[1]'. But
because we have unrelated decls for VaListDecl and VaListTagDecl the
types are considered incompatible as we are comparing type pointers.
Fix the error by creating `BuiltinVaListDecl` before
`ASTReader::InitializeSema`, so that during
`ASTContext::getBuiltinVaListDecl` ASTReader doesn't try to de-serialize
'__builtin_va_list' and to call `ASTContext::getBuiltinVaListDecl`
again.
Reland with the requirement to have x86 target to avoid errors like
> error: unable to create target: 'No available targets are compatible
with triple "x86_64-apple-darwin"'
rdar://130947515
Commit: 874cd100a076f3b98aaae09f90ef224682501538
https://github.com/llvm/llvm-project/commit/874cd100a076f3b98aaae09f90ef224682501538
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/include/llvm/Transforms/IPO/Attributor.h
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/test/CodeGen/AMDGPU/direct-indirect-call.ll
M llvm/test/CodeGen/AMDGPU/duplicate-attribute-indirect.ll
R llvm/test/CodeGen/AMDGPU/simple-indirect-call-2.ll
M llvm/test/CodeGen/AMDGPU/simple-indirect-call.ll
Log Message:
-----------
Revert "[Attributor][AMDGPU] Enable AAIndirectCallInfo for AMDAttributor (#100952)"
This reverts commit ab819d7cf86932e4a47b5bf6aadea9d714a313a9.
Commit: 88ef76c4efb11389a9c334c19f751c89c29278d1
https://github.com/llvm/llvm-project/commit/88ef76c4efb11389a9c334c19f751c89c29278d1
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/unittests/Transforms/Utils/ModuleUtilsTest.cpp
Log Message:
-----------
[NFC][ModuleUtils] Rename test function (#101750)
Commit: db1d3b23a37c7a57fa8b9e5bc94e1b22e278d361
https://github.com/llvm/llvm-project/commit/db1d3b23a37c7a57fa8b9e5bc94e1b22e278d361
Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M clang/lib/Headers/__clang_hip_cmath.h
M clang/test/Headers/__clang_hip_cmath.hip
Log Message:
-----------
[HIP] Fix __clang_hip_cmath.hip for ambiguity (#101341)
If there is a type T which can be converted to both float and double etc
but itself is not specialized for __numeric_type, and it is called for
math functions eg. fma, it will cause ambiguity with test function of
__numeric_type.
Since test is not template, this error is not bypassed by SFINAE. This
is a design flaw of __numeric_type. This patch fixes clang wrapper
header to use SFINAE to avoid such ambiguity.
Fixes: SWDEV-461604
Fixes: https://github.com/llvm/llvm-project/issues/101239
Commit: 7e44305041d96b064c197216b931ae3917a34ac1
https://github.com/llvm/llvm-project/commit/7e44305041d96b064c197216b931ae3917a34ac1
Author: Sam James <sam at gentoo.org>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/include/llvm/ADT/SmallVector.h
Log Message:
-----------
[ADT] Add `<cstdint>` to SmallVector (#101761)
SmallVector uses `uint32_t`, `uint64_t` without including `<cstdint>`
which fails to build w/ GCC 15 after a change in libstdc++ [0]
[0] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2
Commit: 26552e47af803321ca9604936294cdea7e8d90c8
https://github.com/llvm/llvm-project/commit/26552e47af803321ca9604936294cdea7e8d90c8
Author: Sam James <sam at gentoo.org>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M compiler-rt/lib/asan/asan_ignorelist.txt
Log Message:
-----------
[ASan] Fix goo.gl link in comment for MSVC bug
goo.gl is going away: https://developers.googleblog.com/en/google-url-shortener-links-will-no-longer-be-available/
Fix goo.gl link from:
- http://goo.gl/L4qqUG
+ https://connect.microsoft.com/VisualStudio/feedback/details/829931/vs2012-and-vs2013-istream-code-reads-off-the-end-of-its-non-null-terminated-stack-copied-string via archive.org
Endilll points out on the bug that the goo.gl link first goes to a dead
redirect to connect.microsoft.com, then to bing, so grab the article
from archive.org.
Committed as obvious.
Bug: https://github.com/llvm/llvm-project/issues/99586
Commit: 4527fba9ad6bc682eceda603150bfaec65ec6916
https://github.com/llvm/llvm-project/commit/4527fba9ad6bc682eceda603150bfaec65ec6916
Author: Sergei Barannikov <barannikov88 at gmail.com>
Date: 2024-08-03 (Sat, 03 Aug 2024)
Changed paths:
M llvm/include/llvm/IR/RuntimeLibcalls.def
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/Analysis/CostModel/RISCV/int-bit-manip.ll
M llvm/test/CodeGen/RISCV/ctlz-cttz-ctpop.ll
M llvm/test/CodeGen/RISCV/ctz_zero_return_test.ll
M llvm/test/CodeGen/RISCV/pr56457.ll
M llvm/test/CodeGen/RISCV/pr95271.ll
M llvm/test/CodeGen/RISCV/rv32xtheadbb.ll
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64xtheadbb.ll
M llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zbb.ll
M llvm/test/CodeGen/RISCV/rv64xtheadbb.ll
M llvm/test/CodeGen/RISCV/rv64zbb.ll
M llvm/test/CodeGen/RISCV/sextw-removal.ll
Log Message:
-----------
Revert "[SDag][ARM][RISCV] Allow lowering CTPOP into a libcall" (#101740)
Reverts the rest of llvm/llvm-project#99752
Commit: 5e2e18b29522217f415de8dd473a87c2e1ea4ebf
https://github.com/llvm/llvm-project/commit/5e2e18b29522217f415de8dd473a87c2e1ea4ebf
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
Log Message:
-----------
[baremetal] Add atan2 to baremetal (#101767)
Co-authored-by: Petr Hosek <phosek at google.com>
Commit: 043ec2feaea763d300246ae723b05477dcb425ab
https://github.com/llvm/llvm-project/commit/043ec2feaea763d300246ae723b05477dcb425ab
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
A llvm/test/Instrumentation/AddressSanitizer/instrument_late_initializer.ll
Log Message:
-----------
[test][asan] Precommit test (#101769)
For #101772
Commit: fca5038597af65d2fd1af0815014440aff055630
https://github.com/llvm/llvm-project/commit/fca5038597af65d2fd1af0815014440aff055630
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
M flang/lib/Optimizer/Transforms/CMakeLists.txt
A flang/lib/Optimizer/Transforms/CufOpConversion.cpp
A flang/test/Fir/CUDA/cuda-allocate.fir
Log Message:
-----------
[flang][cuda] Add conversion pass for cuf.allocate and cuf.deallocate (#101563)
Allocator can be specified in the descriptor. For simple local
allocatable, we can simply convert `cuf.allocate`/`cuf.deallocate` to
their corresponding runtime calls in the standard flang runtime. More
specific cases will require dedicated entry points. Global descriptor
will require sync between host and device copy.
This patch adds a pass to perform this conversion.
Commit: ca529dd65c2d50a056d517e6a14f0a25f35a6ce6
https://github.com/llvm/llvm-project/commit/ca529dd65c2d50a056d517e6a14f0a25f35a6ce6
Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/CMakeLists.txt
Log Message:
-----------
[flang][cuda] Fix libTransforms linking (#101773)
Fix buildbot failure #101563
Commit: a0a9bf5152507beacd2a72dda42d054391494c4a
https://github.com/llvm/llvm-project/commit/a0a9bf5152507beacd2a72dda42d054391494c4a
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/unittests/Transforms/Utils/ModuleUtilsTest.cpp
Log Message:
-----------
[NFC][ModuleUtils] Test appendToGlobalCtors/appendToGlobalDtors (#101753)
Commit: 048cf8857e081fb80d5ac8b24a79f999d632141b
https://github.com/llvm/llvm-project/commit/048cf8857e081fb80d5ac8b24a79f999d632141b
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/include/llvm/Transforms/Utils/ModuleUtils.h
M llvm/lib/Transforms/Utils/ModuleUtils.cpp
M llvm/unittests/Transforms/Utils/ModuleUtilsTest.cpp
Log Message:
-----------
[ModuleUtils] Add transformGlobal{C,D}tors (#101757)
For #101772
Commit: 1c7540c5e1f0c0c435c1ec272fbde23ef416f7ac
https://github.com/llvm/llvm-project/commit/1c7540c5e1f0c0c435c1ec272fbde23ef416f7ac
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-08-02 (Fri, 02 Aug 2024)
Changed paths:
M llvm/test/CodeGen/DirectX/any.ll
M llvm/test/CodeGen/DirectX/lerp.ll
Log Message:
-----------
[DirectX] Add triples to two tests after #97593 (#101779)
As of cdfd884b0ec6 "[DXIL] Add DXIL version-specific TableGen
specification and implementation of DXIL Ops (#97593)", all of these
tests need to specify triples.
Commit: 5f9f43f33534a3463070779abaa27aabc716ddbf
https://github.com/llvm/llvm-project/commit/5f9f43f33534a3463070779abaa27aabc716ddbf
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2024-08-03 (Sat, 03 Aug 2024)
Changed paths:
M .git-blame-ignore-revs
M clang/bindings/python/clang/cindex.py
M clang/bindings/python/tests/cindex/test_exception_specification_kind.py
M clang/docs/CommandGuide/clang.rst
M clang/docs/OpenMPSupport.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/riscv_vector.td
M clang/include/clang/Driver/Options.td
M clang/include/clang/Lex/PreprocessorOptions.h
M clang/lib/Analysis/FlowSensitive/Models/ChromiumCheckModel.cpp
M clang/lib/Driver/ToolChains/AIX.cpp
M clang/lib/Format/UnwrappedLineParser.cpp
M clang/lib/Headers/__clang_hip_cmath.h
M clang/lib/Sema/Sema.cpp
M clang/lib/Sema/SemaChecking.cpp
M clang/lib/Sema/SemaCoroutine.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaStmt.cpp
M clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp
M clang/lib/StaticAnalyzer/Core/Store.cpp
A clang/test/Analysis/block-in-critical-section-inheritance.cpp
M clang/test/Analysis/exercise-ps.c
A clang/test/C/C11/n1396.c
M clang/test/Headers/__clang_hip_cmath.hip
A clang/test/Modules/builtin-vararg.c
M clang/test/Preprocessor/pragma_mc_func.c
M clang/test/Sema/constexpr.c
M clang/test/SemaCXX/coroutines.cpp
M clang/tools/clang-format/ClangFormat.cpp
M clang/unittests/Format/FormatTest.cpp
M clang/unittests/Format/MatchFilePathTest.cpp
M clang/www/c_status.html
M compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
M compiler-rt/lib/asan/asan_ignorelist.txt
M compiler-rt/lib/builtins/aarch64/sme-libc-mem-routines.S
M compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
M compiler-rt/test/asan/TestCases/Linux/odr_indicator_unregister.cpp
M compiler-rt/test/asan/TestCases/Linux/printf-fortify-5.c
M compiler-rt/test/asan/TestCases/initialization-nobug.cpp
M compiler-rt/test/lit.common.cfg.py
M flang/CMakeLists.txt
M flang/include/flang/Evaluate/expression.h
M flang/include/flang/Frontend/LangOptions.h
M flang/include/flang/Lower/Allocatable.h
M flang/include/flang/Optimizer/Builder/MutableBox.h
M flang/include/flang/Optimizer/CodeGen/CGOps.td
M flang/include/flang/Optimizer/Dialect/FIROps.td
M flang/include/flang/Optimizer/Transforms/Passes.h
M flang/include/flang/Optimizer/Transforms/Passes.td
A flang/include/flang/Runtime/CUDA/allocator.h
M flang/include/flang/Runtime/allocator-registry.h
M flang/include/flang/Tools/CrossToolHelpers.h
M flang/lib/Evaluate/fold-real.cpp
M flang/lib/Evaluate/real.cpp
M flang/lib/Frontend/CompilerInvocation.cpp
M flang/lib/Lower/Allocatable.cpp
M flang/lib/Lower/ConvertVariable.cpp
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/lib/Lower/OpenMP/Utils.cpp
M flang/lib/Optimizer/Builder/MutableBox.cpp
M flang/lib/Optimizer/Transforms/CMakeLists.txt
A flang/lib/Optimizer/Transforms/CufOpConversion.cpp
M flang/lib/Semantics/expression.cpp
M flang/runtime/CMakeLists.txt
A flang/runtime/CUDA/CMakeLists.txt
A flang/runtime/CUDA/allocator.cpp
M flang/runtime/edit-output.cpp
M flang/runtime/format-implementation.h
M flang/runtime/internal-unit.cpp
M flang/runtime/internal-unit.h
M flang/runtime/io-stmt.cpp
M flang/runtime/io-stmt.h
M flang/runtime/unit.cpp
M flang/runtime/unit.h
M flang/runtime/utf.cpp
M flang/runtime/utf.h
M flang/test/Evaluate/fold-nearest.f90
M flang/test/Evaluate/logical-args.f90
A flang/test/Fir/CUDA/cuda-allocate.fir
M flang/test/Integration/OpenMP/copyprivate.f90
M flang/test/Integration/OpenMP/map-types-and-sizes.f90
M flang/test/Lower/CUDA/cuda-allocatable.cuf
M flang/test/Lower/OpenMP/Todo/omp-default-clause-inner-loop.f90
M flang/test/Lower/OpenMP/associate.f90
M flang/test/Lower/OpenMP/copyprivate.f90
M flang/test/Lower/OpenMP/copyprivate2.f90
M flang/test/Lower/OpenMP/critical.f90
M flang/test/Lower/OpenMP/default-clause-byref.f90
M flang/test/Lower/OpenMP/default-clause.f90
M flang/test/Lower/OpenMP/firstprivate-allocatable.f90
M flang/test/Lower/OpenMP/hlfir-seqloop-parallel.f90
M flang/test/Lower/OpenMP/implicit-dsa.f90
A flang/test/Lower/OpenMP/offload-targets.f90
M flang/test/Lower/OpenMP/parallel-firstprivate-clause-scalar.f90
M flang/test/Lower/OpenMP/parallel-private-clause-fixes.f90
M flang/test/Lower/OpenMP/parallel-private-clause-str.f90
M flang/test/Lower/OpenMP/parallel-private-clause.f90
M flang/test/Lower/OpenMP/parallel-reduction-mixed.f90
M flang/test/Lower/OpenMP/parallel-wsloop.f90
M flang/test/Lower/OpenMP/unstructured.f90
M flang/tools/bbc/bbc.cpp
M flang/unittests/Runtime/CMakeLists.txt
A flang/unittests/Runtime/CUDA/AllocatorCUF.cpp
A flang/unittests/Runtime/CUDA/CMakeLists.txt
M flang/unittests/Runtime/NumericalFormatTest.cpp
M libc/config/baremetal/arm/entrypoints.txt
M libc/config/baremetal/riscv/entrypoints.txt
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/dev/printf_behavior.rst
M libc/newhdrgen/yaml/unistd.yaml
M libc/spec/posix.td
M libc/src/__support/threads/CMakeLists.txt
A libc/src/__support/threads/identifier.h
M libc/src/__support/threads/linux/CMakeLists.txt
M libc/src/__support/threads/linux/rwlock.h
M libc/src/__support/threads/thread.cpp
M libc/src/__support/threads/thread.h
M libc/src/stdio/printf_core/parser.h
M libc/src/unistd/CMakeLists.txt
A libc/src/unistd/gettid.cpp
A libc/src/unistd/gettid.h
M libc/src/unistd/linux/CMakeLists.txt
M libc/src/unistd/linux/fork.cpp
M libc/test/integration/src/unistd/CMakeLists.txt
M libc/test/integration/src/unistd/fork_test.cpp
M libc/test/src/math/smoke/GetPayloadTest.h
M libc/test/src/stdio/printf_core/parser_test.cpp
M libc/test/src/stdio/snprintf_test.cpp
M libcxx/docs/Status/Cxx14Issues.csv
M libcxx/docs/Status/Cxx14Papers.csv
M libcxx/docs/Status/Cxx17.rst
M libcxx/docs/Status/Cxx17Issues.csv
M libcxx/docs/Status/Cxx17Papers.csv
M libcxx/docs/Status/Cxx20Issues.csv
M libcxx/docs/Status/Cxx20Papers.csv
M libcxx/docs/Status/Cxx23Issues.csv
M libcxx/docs/Status/Cxx23Papers.csv
M libcxx/docs/Status/Cxx2cIssues.csv
M libcxx/docs/Status/Cxx2cPapers.csv
M libunwind/src/UnwindRegistersRestore.S
M libunwind/src/UnwindRegistersSave.S
M lldb/include/lldb/API/SBProcess.h
M lldb/include/lldb/API/SBSaveCoreOptions.h
M lldb/include/lldb/API/SBThread.h
M lldb/include/lldb/Expression/Expression.h
M lldb/include/lldb/Expression/UserExpression.h
M lldb/include/lldb/Symbol/SaveCoreOptions.h
M lldb/include/lldb/Target/Process.h
M lldb/source/API/SBSaveCoreOptions.cpp
M lldb/source/API/SBThread.cpp
M lldb/source/Commands/CommandObjectBreakpoint.cpp
M lldb/source/Commands/CommandObjectBreakpoint.h
M lldb/source/Commands/CommandObjectBreakpointCommand.cpp
M lldb/source/Commands/CommandObjectProcess.cpp
M lldb/source/Commands/CommandObjectSource.cpp
M lldb/source/Core/PluginManager.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.h
M lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.cpp
M lldb/source/Plugins/ObjectFile/Minidump/MinidumpFileBuilder.h
M lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.cpp
M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/CMakeLists.txt
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
R lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.h
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/CMakeLists.txt
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.cpp
A lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface/ScriptedProcessPythonInterface.h
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
A lldb/source/Plugins/SystemRuntime/MacOSX/AbortWithPayloadFrameRecognizer.cpp
A lldb/source/Plugins/SystemRuntime/MacOSX/AbortWithPayloadFrameRecognizer.h
M lldb/source/Plugins/SystemRuntime/MacOSX/CMakeLists.txt
M lldb/source/Plugins/SystemRuntime/MacOSX/SystemRuntimeMacOSX.cpp
M lldb/source/Symbol/SaveCoreOptions.cpp
M lldb/source/Target/Process.cpp
M lldb/test/API/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
M lldb/test/API/functionalities/process_save_core_minidump/TestProcessSaveCoreMinidump.py
A lldb/test/API/macosx/abort_with_payload/Makefile
A lldb/test/API/macosx/abort_with_payload/TestAbortWithPayload.py
A lldb/test/API/macosx/abort_with_payload/main.c
M lldb/test/API/python_api/sbsavecoreoptions/TestSBSaveCoreOptions.py
A lldb/test/API/python_api/sbsavecoreoptions/basic_minidump.yaml
A lldb/test/API/python_api/sbsavecoreoptions/basic_minidump_different_pid.yaml
A lldb/test/Shell/Commands/command-scripting-template-list.test
M llvm/docs/LangRef.rst
M llvm/docs/NVPTXUsage.rst
M llvm/docs/WritingAnLLVMPass.rst
M llvm/include/llvm/ADT/PackedVector.h
M llvm/include/llvm/ADT/SmallVector.h
M llvm/include/llvm/Analysis/InstSimplifyFolder.h
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/include/llvm/Pass.h
M llvm/include/llvm/PassInfo.h
M llvm/include/llvm/PassRegistry.h
M llvm/include/llvm/PassSupport.h
M llvm/include/llvm/Transforms/Utils/Local.h
M llvm/include/llvm/Transforms/Utils/ModuleUtils.h
M llvm/lib/Analysis/ScalarEvolution.cpp
M llvm/lib/Analysis/StructuralHash.cpp
M llvm/lib/CodeGen/AtomicExpandPass.cpp
M llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
M llvm/lib/IR/LegacyPassManager.cpp
M llvm/lib/IR/Pass.cpp
M llvm/lib/IR/PassRegistry.cpp
M llvm/lib/Support/ARMAttributeParser.cpp
M llvm/lib/Support/CSKYAttributeParser.cpp
M llvm/lib/Support/MSP430AttributeParser.cpp
M llvm/lib/Support/RISCVAttributeParser.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
M llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
M llvm/lib/Target/DirectX/DXILOpBuilder.h
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/lib/Target/RISCV/RISCVGatherScatterLowering.cpp
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h
M llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/Utils/LoopSimplify.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Utils/ModuleUtils.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
M llvm/test/Analysis/StructuralHash/structural-hash-printer.ll
M llvm/test/CodeGen/AArch64/fast-isel-branch-uncond-debug.ll
M llvm/test/CodeGen/AArch64/neon-rshrn.ll
A llvm/test/CodeGen/AArch64/optimize_combine_large_shifts.ll
A llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-reductions.ll
A llvm/test/CodeGen/AArch64/whilewr.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-atomic-fadd.f32.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/flat-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/fp64-atomics-gfx90a.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/global-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/atomicrmw-expand.ll
M llvm/test/CodeGen/AMDGPU/atomics-hw-remarks-gfx90a.ll
M llvm/test/CodeGen/AMDGPU/buffer-fat-pointer-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/eliminate-frame-index-s-mov-b32.mir
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f32.ll
M llvm/test/CodeGen/AMDGPU/flat-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/flat-atomicrmw-fsub.ll
M llvm/test/CodeGen/AMDGPU/fp-atomics-gfx940.ll
M llvm/test/CodeGen/AMDGPU/fp64-atomics-gfx90a.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f32-no-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f32-rtn.ll
M llvm/test/CodeGen/AMDGPU/global-atomic-fadd.f64.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd-wrong-subtarget.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fadd.ll
M llvm/test/CodeGen/AMDGPU/global-atomicrmw-fsub.ll
M llvm/test/CodeGen/AMDGPU/global-atomics-fp-wrong-subtarget.ll
M llvm/test/CodeGen/AMDGPU/global_atomic_optimizer_fp_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_optimizer_fp_no_rtn.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fadd.ll
M llvm/test/CodeGen/AMDGPU/global_atomics_scan_fsub.ll
M llvm/test/CodeGen/AMDGPU/insert_waitcnt_for_precise_memory.ll
M llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.ll
M llvm/test/CodeGen/DirectX/acos_error.ll
M llvm/test/CodeGen/DirectX/any.ll
M llvm/test/CodeGen/DirectX/asin_error.ll
M llvm/test/CodeGen/DirectX/atan_error.ll
M llvm/test/CodeGen/DirectX/ceil_error.ll
M llvm/test/CodeGen/DirectX/cos_error.ll
M llvm/test/CodeGen/DirectX/cosh_error.ll
M llvm/test/CodeGen/DirectX/dot2_error.ll
M llvm/test/CodeGen/DirectX/dot3_error.ll
M llvm/test/CodeGen/DirectX/dot4_error.ll
M llvm/test/CodeGen/DirectX/exp2_error.ll
M llvm/test/CodeGen/DirectX/flattened_thread_id_in_group_error.ll
M llvm/test/CodeGen/DirectX/floor_error.ll
M llvm/test/CodeGen/DirectX/frac_error.ll
M llvm/test/CodeGen/DirectX/group_id_error.ll
M llvm/test/CodeGen/DirectX/isinf_error.ll
M llvm/test/CodeGen/DirectX/lerp.ll
M llvm/test/CodeGen/DirectX/log2_error.ll
M llvm/test/CodeGen/DirectX/round_error.ll
M llvm/test/CodeGen/DirectX/rsqrt_error.ll
M llvm/test/CodeGen/DirectX/sin_error.ll
M llvm/test/CodeGen/DirectX/sinh_error.ll
M llvm/test/CodeGen/DirectX/sqrt_error.ll
M llvm/test/CodeGen/DirectX/tan_error.ll
M llvm/test/CodeGen/DirectX/tanh_error.ll
M llvm/test/CodeGen/DirectX/thread_id_error.ll
M llvm/test/CodeGen/DirectX/thread_id_in_group_error.ll
M llvm/test/CodeGen/DirectX/trunc_error.ll
M llvm/test/CodeGen/RISCV/rv32zbb.ll
M llvm/test/CodeGen/RISCV/rv64zbb.ll
M llvm/test/CodeGen/WebAssembly/simd-build-vector.ll
A llvm/test/Instrumentation/AddressSanitizer/instrument_late_initializer.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f32-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-f64-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-i128.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd-flat-specialization.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-rmw-fadd.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-simplify-cfg-CAS-block.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2bf16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-agent.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomic-v2f16-system.ll
M llvm/test/Transforms/AtomicExpand/AMDGPU/expand-atomicrmw-fp-vector.ll
M llvm/test/Transforms/Inline/AArch64/sme-pstateza-attrs.ll
M llvm/test/Transforms/InstCombine/fpclass-check-idioms.ll
A llvm/test/Transforms/InstCombine/skip-opt-void-to-non-void-conversion.ll
M llvm/test/Transforms/SLPVectorizer/RISCV/reductions.ll
R llvm/test/tools/llvm-profgen/Inputs/cmov_3.perfbin
R llvm/test/tools/llvm-profgen/Inputs/cmov_3.perfscript
R llvm/test/tools/llvm-profgen/Inputs/ip-duplication.perfscript
R llvm/test/tools/llvm-profgen/Inputs/noprobe-skid.perfscript
R llvm/test/tools/llvm-profgen/event-filtering.test
R llvm/test/tools/llvm-profgen/iponly-nodupfactor.test
R llvm/test/tools/llvm-profgen/iponly.test
R llvm/test/tools/llvm-profgen/period-scaling.test
M llvm/tools/llvm-profgen/PerfReader.cpp
M llvm/tools/llvm-profgen/ProfileGenerator.cpp
M llvm/unittests/Analysis/ScalarEvolutionTest.cpp
M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
M llvm/unittests/Transforms/Utils/ModuleUtilsTest.cpp
M llvm/utils/TableGen/DXILEmitter.cpp
M mlir/include/mlir-c/BuiltinTypes.h
M mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
M mlir/include/mlir/Dialect/OpenMP/OpenMPOpsInterfaces.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUTypes.td
M mlir/include/mlir/IR/Builders.h
M mlir/include/mlir/IR/BuiltinTypes.h
M mlir/include/mlir/IR/BuiltinTypes.td
M mlir/include/mlir/IR/CommonTypeConstraints.td
M mlir/include/mlir/IR/Types.h
M mlir/include/mlir/Target/LLVMIR/LLVMImportInterface.h
M mlir/include/mlir/Target/LLVMIR/ModuleImport.h
M mlir/lib/AsmParser/TokenKinds.def
M mlir/lib/AsmParser/TypeParser.cpp
M mlir/lib/Bindings/Python/IRTypes.cpp
M mlir/lib/CAPI/IR/BuiltinTypes.cpp
M mlir/lib/Conversion/ArithToSPIRV/ArithToSPIRV.cpp
M mlir/lib/Conversion/LLVMCommon/TypeConverter.cpp
M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
M mlir/lib/Dialect/XeGPU/IR/XeGPUOps.cpp
M mlir/lib/IR/AsmPrinter.cpp
M mlir/lib/IR/Builders.cpp
M mlir/lib/IR/BuiltinTypes.cpp
M mlir/lib/IR/MLIRContext.cpp
M mlir/lib/IR/Types.cpp
M mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMIRToLLVMTranslation.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
M mlir/lib/Target/LLVMIR/ModuleImport.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
M mlir/python/mlir/extras/types.py
M mlir/test/Conversion/ArithToSPIRV/arith-to-spirv-unsupported.mlir
M mlir/test/Conversion/ArithToSPIRV/arith-to-spirv.mlir
M mlir/test/Dialect/LLVMIR/func.mlir
M mlir/test/Dialect/Linalg/canonicalize.mlir
M mlir/test/Dialect/Vector/vector-transfer-flatten.mlir
M mlir/test/Dialect/XeGPU/XeGPUOps.mlir
M mlir/test/Dialect/XeGPU/invalid.mlir
M mlir/test/IR/attribute.mlir
A mlir/test/Target/LLVMIR/Import/metadata-kernel.ll
M mlir/test/Target/LLVMIR/llvmir.mlir
M mlir/test/Target/LLVMIR/omptarget-array-sectioning-host.mlir
M mlir/test/Target/LLVMIR/omptarget-byref-bycopy-generation-host.mlir
A mlir/test/Target/LLVMIR/omptarget-depend-host-only.mlir
M mlir/test/Target/LLVMIR/omptarget-depend.mlir
M mlir/test/Target/LLVMIR/omptarget-fortran-allocatable-types-host.mlir
M mlir/test/Target/LLVMIR/omptarget-fortran-common-block-host.mlir
M mlir/test/Target/LLVMIR/omptarget-nested-record-type-mapping-host.mlir
M mlir/test/Target/LLVMIR/omptarget-record-type-mapping-host.mlir
A mlir/test/Target/LLVMIR/omptarget-region-host-only.mlir
M mlir/test/Target/LLVMIR/omptarget-region-llvm.mlir
M mlir/test/python/ir/builtin_types.py
M mlir/utils/lldb-scripts/mlirDataFormatters.py
M mlir/utils/tree-sitter-mlir/grammar.js
Log Message:
-----------
rebase
Created using spr 1.3.4
Compare: https://github.com/llvm/llvm-project/compare/6f38ab699e04...5f9f43f33534
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list