[all-commits] [llvm/llvm-project] ce48f4: [SelectionDAG] Require UADDO_CARRY carryin and car...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Apr 19 15:42:12 PDT 2024


  Branch: refs/heads/users/vitalybuka/spr/testsancov-regenerate-with-update_test_checks
  Home:   https://github.com/llvm/llvm-project
  Commit: ce48f43f054f396fec50287cf8c7624bfaa5842a
      https://github.com/llvm/llvm-project/commit/ce48f43f054f396fec50287cf8c7624bfaa5842a
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SelectionDAG] Require UADDO_CARRY carryin and carryout to have the same type. (#89255)

This requires type legalization to keep them the same. This means we no
longer need to legalize the operand since it will be legalized when we
legalize the second result.


  Commit: 016ce9ed5cd3694cbff72a768a593714913822ea
      https://github.com/llvm/llvm-project/commit/016ce9ed5cd3694cbff72a768a593714913822ea
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp

  Log Message:
  -----------
  [RISCV] Rename FeatureRVE to FeatureStdExtE. NFC (#89174)

Planning to declare all extensions in tablegen so we can generate the
tables for RISCVISAInfo.cpp. This requires making "e" consistent with
other extensions.


  Commit: 8e2060bf210e83d6cc34f61185918ca67b54f6f1
      https://github.com/llvm/llvm-project/commit/8e2060bf210e83d6cc34f61185918ca67b54f6f1
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/utils/TableGen/X86FoldTablesEmitter.cpp

  Log Message:
  -----------
  [X86][TableGen] Remove unnecessary use of formatted_raw_ostream. NFC (#89343)

This code used to use the PadToColumn feature of formatted_raw_ostream,
but no longer does. formatted_raw_ostream is slower than regular
raw_ostream because it has to keep track of the number of character
since the last new line character.


  Commit: 3ea5dff0efdbb4bf5590d882810aa42f9ec26e4e
      https://github.com/llvm/llvm-project/commit/3ea5dff0efdbb4bf5590d882810aa42f9ec26e4e
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Lex/HeaderSearchOptions.h
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    M clang/test/ClangScanDeps/modules-full.cpp
    R clang/test/Modules/add-remove-irrelevant-module-map.m
    A clang/test/Modules/prune-non-affecting-module-map-files.m

  Log Message:
  -----------
  [clang][modules] Only avoid pruning module maps when asked to (#89428)

Pruning non-affecting module maps is useful even when passing module
maps explicitly via `-fmodule-map-file=<path>`. For this situation, this
patch reinstates the behavior we had prior to #87849. For the situation
where the explicit module map file arguments were generated by the
dependency scanner (which already pruned the non-affecting ones), this
patch introduces new `-cc1` flag
`-fno-modules-prune-non-affecting-module-map-files` that avoids the
extra work.


  Commit: aa7c104124ac4a8da12fbd25c797bc8ab438c545
      https://github.com/llvm/llvm-project/commit/aa7c104124ac4a8da12fbd25c797bc8ab438c545
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Semantics/cuf03.cuf

  Log Message:
  -----------
  [flang][cuda] Allow fixed size array with the managed attribute (#89436)

Fixed size array and scalar should be allowed with the `managed`
attribute.


  Commit: c32712d1763d74329b42c1cd68a24d4c0075b596
      https://github.com/llvm/llvm-project/commit/c32712d1763d74329b42c1cd68a24d4c0075b596
  Author: Bill Wendling <5993918+bwendling at users.noreply.github.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp
    A clang/test/CodeGen/attr-counted-by-pr88931.c
    A clang/test/CodeGen/attr-counted-by-pr88931.cpp

  Log Message:
  -----------
  [Clang] Handle structs with inner structs and no fields (#89126)

A struct that declares an inner struct, but no fields, won't have a
field count. So getting the offset of the inner struct fails. This
happens in both C and C++:

  struct foo {
    struct bar {
      int Quantizermatrix[];
    };
  };

Here 'struct foo' has no fields.

Closes: https://github.com/llvm/llvm-project/issues/88931


  Commit: 0c455ee34823cb991a35e33ff020bb7cc4e44c8a
      https://github.com/llvm/llvm-project/commit/0c455ee34823cb991a35e33ff020bb7cc4e44c8a
  Author: Jan Leyonberg <jan_sjodin at yahoo.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
    M flang/test/Lower/OpenMP/FIR/wsloop-reduction-max-byref.f90
    M flang/test/Lower/OpenMP/FIR/wsloop-reduction-max.f90
    M flang/test/Lower/OpenMP/FIR/wsloop-reduction-min-byref.f90
    M flang/test/Lower/OpenMP/FIR/wsloop-reduction-min.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-min.f90

  Log Message:
  -----------
  [flang][OpenMP] Use maxnum/minnum for lowering of max/min reduction operators (#89258)

This patch changes the lowering of max and min to be lowered to
arith::MaxNumFop and arith::MinNumFOp instead of using arith::MaximumFOp
and arith::MinimumFOp. The arith::MaximumFOp and arith::MinimumFOp map
to the corresponding intrinsics llvm.maximum.* and llvm.minimum.*
intrinsics which conform to the semantics specified in the draft of IEEE
754-2019, which is not supported by all hardware. Instead using
arith::MaximumFOp and arith::MinimumFOp will allow code generation for
more targets and match the code generated by clang OpenMP.

fixes #87955


  Commit: cee7d994b94db625177cdfebcb8a6ce1ed677f85
      https://github.com/llvm/llvm-project/commit/cee7d994b94db625177cdfebcb8a6ce1ed677f85
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/gather-node-same-reduced.ll

  Log Message:
  -----------
  [SLP]Fix PR89438: Check for same vectorized node in MinBWs, not user.

Need to check if the buildvector node has perfect diamond match in the
graph and the matched node is resized.


  Commit: c8e65e193d542464421ad4f9a9965d45b302ac0c
      https://github.com/llvm/llvm-project/commit/c8e65e193d542464421ad4f9a9965d45b302ac0c
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [clang] CTAD: Fix require-clause is not transformed. (#89378)

Fixes https://github.com/llvm/llvm-project/issues/89013

When building the deduction guide, we use the
TemplateArgsForBuildingFPrime to transform the require-clause from the
underlying class deduction guide. However, we do this at the wrong place
where not all elements of TemplateArgsForBuildingFPrime are initialized.
The fix involves rearranging the transformRequireClause call to the
correct location.

As part of the fix, we extend the TemplateInstantiator to support more
types in the template-rewrite mode. Otherwise, we will encounter an
assertion error when attempting to rewrite the template type parameter
type like D with a complex type like Derived<U>.


  Commit: 08163cd9d82690e808c28515523b5fd0923d7b38
      https://github.com/llvm/llvm-project/commit/08163cd9d82690e808c28515523b5fd0923d7b38
  Author: Adrian Prantl <adrian-prantl at users.noreply.github.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M lldb/source/Expression/IRExecutionUnit.cpp
    M lldb/test/API/lang/cpp/constructors/TestCppConstructors.py

  Log Message:
  -----------
  [lldb] Provide a better error message for missing symbols (#89433)

This adds a hint to the missing symbols error message to make it easier
to understand what this means to users.


  Commit: d634b233640dc38cf5f673a9cfcd1fe55124430a
      https://github.com/llvm/llvm-project/commit/d634b233640dc38cf5f673a9cfcd1fe55124430a
  Author: Samira Bazuzi <bazuzi at google.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
    M clang/lib/Analysis/FlowSensitive/ASTOps.cpp

  Log Message:
  -----------
  [clang][dataflow] Expose getReferencedDecls for a Stmt. (#89444)


  Commit: 5232cec8f947ed8bff4ca57f990954228d58e66d
      https://github.com/llvm/llvm-project/commit/5232cec8f947ed8bff4ca57f990954228d58e66d
  Author: Nicolas van Kempen <nvankemp at gmail.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M clang-tools-extra/clang-doc/Representation.cpp
    M lldb/unittests/Host/FileSystemTest.cpp
    M llvm/unittests/Support/VirtualFileSystemTest.cpp

  Log Message:
  -----------
  Apply modernize-use-starts-ends-with on llvm-project (#89140)

Run `modernize-use-starts-ends-with` on llvm-project. Two instances are
flagged, minor readability improvements, extremely minor performance
improvements.

```
python3 clang-tools-extra/clang-tidy/tool/run-clang-tidy.py \
    -clang-tidy-binary="build/bin/clang-tidy" \
    -clang-apply-replacements-binary="build/bin/clang-apply-replacements" \
    -checks="-*,modernize-use-starts-ends-with" \
    -header-filter=".*" \
    -fix -format
```

I am working on some additions to this check, but they don't seem to
flag any additional cases anyway.


  Commit: 45432eec0ae6a7f7452196eb099814d1a7dc2c0f
      https://github.com/llvm/llvm-project/commit/45432eec0ae6a7f7452196eb099814d1a7dc2c0f
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/cl-options.c

  Log Message:
  -----------
  [ARM64EC] Add softintrin.lib as an implicit dependency to object files. (#89171)

This copies MSVC behavior, and avoids weird link errors in certain
cases.


  Commit: 5bcf31ebfad8b32aed20dd47be6238cc19710e63
      https://github.com/llvm/llvm-project/commit/5bcf31ebfad8b32aed20dd47be6238cc19710e63
  Author: Bill Wendling <5993918+bwendling at users.noreply.github.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp

  Log Message:
  -----------
  [Clang] Loop over FieldDecls instead of all Decls (#89453)

Only FieldDecls are of importance here. A struct defined within another
struct has the same semantics as if it were defined outside of the
struct. So there's no need to look into RecordDecls that aren't a field.


  Commit: 2a632d3d9f5c70db38c617b0816deb37ef722a7b
      https://github.com/llvm/llvm-project/commit/2a632d3d9f5c70db38c617b0816deb37ef722a7b
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M flang/include/flang/Lower/Allocatable.h
    M flang/lib/Lower/Allocatable.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/test/Lower/CUDA/cuda-allocatable.cuf

  Log Message:
  -----------
  [flang][cuda] Use fir.cuda_deallocate for automatic deallocation (#89450)

Automatic deallocation of allocatable that are cuda device variable must
use the fir.cuda_deallocate operation. This patch update the automatic
deallocation code generation to use this operation when the variable is
a cuda variable.


  Commit: 7c3dfb29dc4b5345da6a7fb25f92bf8d2919bce9
      https://github.com/llvm/llvm-project/commit/7c3dfb29dc4b5345da6a7fb25f92bf8d2919bce9
  Author: Maksim Levental <maksim.levental at gmail.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M mlir/python/mlir/dialects/memref.py

  Log Message:
  -----------
  [mlir][python] fix memref._is_constant_int_like (#89447)


  Commit: 16e3464852efe3001060ff7feb3261dd397bfe84
      https://github.com/llvm/llvm-project/commit/16e3464852efe3001060ff7feb3261dd397bfe84
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M flang/lib/Semantics/check-allocate.cpp
    M flang/test/Semantics/cuf07.cuf

  Log Message:
  -----------
  [flang][cuda] Enforce PINNED attribute when ALLOCATE with PINNED option (#89455)

When the PINNED option is specified on an ALLOCATE statement, the object
must have the PINNED attribute.


  Commit: 4523a267829c807f3fc8fab8e5e9613985a51565
      https://github.com/llvm/llvm-project/commit/4523a267829c807f3fc8fab8e5e9613985a51565
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M flang/lib/Semantics/check-allocate.cpp
    M flang/test/Lower/CUDA/cuda-allocatable.cuf
    M flang/test/Parser/cuf-sanity-common
    M flang/test/Parser/cuf-sanity-tree.CUF
    M flang/test/Parser/cuf-sanity-unparse.CUF
    M flang/test/Semantics/cuf07.cuf

  Log Message:
  -----------
  [flang][cuda] Enforce DEVICE attribute when ALLOCATE with STREAM option (#89459)

When the STREAM option is specified on an ALLOCATE statement, the object
must have the DEVICE attribute.


  Commit: d9169ffaf7c01691644537d3443240748b107359
      https://github.com/llvm/llvm-project/commit/d9169ffaf7c01691644537d3443240748b107359
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M bolt/test/AArch64/constant_island_pie_update.s

  Log Message:
  -----------
  [BOLT,test] Update AArch64/constant_island_pie_update.s after llvm-readelf -r RELR change


  Commit: 46a63d4c0a7652b6a3b9406e91ce5be33c97a6e9
      https://github.com/llvm/llvm-project/commit/46a63d4c0a7652b6a3b9406e91ce5be33c97a6e9
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2024-04-19 (Fri, 19 Apr 2024)

  Changed paths:
    M bolt/test/AArch64/constant_island_pie_update.s
    M clang-tools-extra/clang-doc/Representation.cpp
    M clang/include/clang/Analysis/FlowSensitive/ASTOps.h
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Lex/HeaderSearchOptions.h
    M clang/lib/Analysis/FlowSensitive/ASTOps.cpp
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Tooling/DependencyScanning/ModuleDepCollector.cpp
    M clang/test/ClangScanDeps/modules-full.cpp
    A clang/test/CodeGen/attr-counted-by-pr88931.c
    A clang/test/CodeGen/attr-counted-by-pr88931.cpp
    M clang/test/Driver/cl-options.c
    R clang/test/Modules/add-remove-irrelevant-module-map.m
    A clang/test/Modules/prune-non-affecting-module-map-files.m
    M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp
    M flang/include/flang/Lower/Allocatable.h
    M flang/lib/Lower/Allocatable.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Lower/OpenMP/ReductionProcessor.cpp
    M flang/lib/Semantics/check-allocate.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/test/Lower/CUDA/cuda-allocatable.cuf
    M flang/test/Lower/OpenMP/FIR/wsloop-reduction-max-byref.f90
    M flang/test/Lower/OpenMP/FIR/wsloop-reduction-max.f90
    M flang/test/Lower/OpenMP/FIR/wsloop-reduction-min-byref.f90
    M flang/test/Lower/OpenMP/FIR/wsloop-reduction-min.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-min.f90
    M flang/test/Parser/cuf-sanity-common
    M flang/test/Parser/cuf-sanity-tree.CUF
    M flang/test/Parser/cuf-sanity-unparse.CUF
    M flang/test/Semantics/cuf03.cuf
    M flang/test/Semantics/cuf07.cuf
    M lldb/source/Expression/IRExecutionUnit.cpp
    M lldb/test/API/lang/cpp/constructors/TestCppConstructors.py
    M lldb/unittests/Host/FileSystemTest.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/gather-node-same-reduced.ll
    M llvm/unittests/Support/VirtualFileSystemTest.cpp
    M llvm/utils/TableGen/X86FoldTablesEmitter.cpp
    M mlir/python/mlir/dialects/memref.py

  Log Message:
  -----------
  rebase

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/e134762652ea...46a63d4c0a76

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