[all-commits] [llvm/llvm-project] 703920: [DAG] Matched FixedWidth pattern for ISD::AVGFLOOR...

martinboehme via All-commits all-commits at lists.llvm.org
Tue Mar 19 05:05:26 PDT 2024


  Branch: refs/heads/users/wangpc-pp/spr/main.macrofusion-add-singlefusion-that-accepts-a-single-instruction-pair-1
  Home:   https://github.com/llvm/llvm-project
  Commit: 703920d4138d02bde4f4bf70ba809b63bef25c37
      https://github.com/llvm/llvm-project/commit/703920d4138d02bde4f4bf70ba809b63bef25c37
  Author: Shourya Goel <shouryagoel10000 at gmail.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/hadd-combine.ll

  Log Message:
  -----------
  [DAG] Matched FixedWidth pattern for ISD::AVGFLOORU (#84903)

Fixes: #84749


  Commit: 6aaf9c83099b80e73ef2208ae9f7f300c7808659
      https://github.com/llvm/llvm-project/commit/6aaf9c83099b80e73ef2208ae9f7f300c7808659
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Sanitize collectBaseOffset parameters


  Commit: a747e86caacf0ba3d5272474da8c10eb0b67dbc2
      https://github.com/llvm/llvm-project/commit/a747e86caacf0ba3d5272474da8c10eb0b67dbc2
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/fpcast.ll

  Log Message:
  -----------
  [InstCombine] Fold `fpto{s|u}i non-norm` to zero (#85569)

This patch enables more optimization after canonicalizing `fmul X, 0.0`
into a copysign.
I decide to implement this fold in InstCombine because
`computeKnownFPClass` may be expensive.

Alive2: https://alive2.llvm.org/ce/z/ASM8tQ


  Commit: 1a6953a75d3120a4f9196911e6a6b79fcc315553
      https://github.com/llvm/llvm-project/commit/1a6953a75d3120a4f9196911e6a6b79fcc315553
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/Attributor/nofpclass-implied-by-fcmp.ll

  Log Message:
  -----------
  ValueTracking: Fix bug with fcmp false to nan constant

If we had a comparison to a literal nan with a false predicate,
we were incorrectly treating it as an unordered compare. This was
correct for fcmp true, but not fcmp false. I noticed this in the
review for e44d3b3e503fa12fdaead2936b28844aa36237c1 but misdiagnosed
the reason. Also change the test for the fcmp true case to be more
useful, but it wasn't wrong previously.


  Commit: 0d40de754a8fc34e606d0a83902f950606f42385
      https://github.com/llvm/llvm-project/commit/0d40de754a8fc34e606d0a83902f950606f42385
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M clang/lib/AST/Interp/Disasm.cpp
    M clang/lib/AST/Interp/InterpFrame.h

  Log Message:
  -----------
  [clang][Interp][NFC] Add InterpFrame::dump()


  Commit: 29849d589c1969f6a07a69ef0d7a19896d358bc5
      https://github.com/llvm/llvm-project/commit/29849d589c1969f6a07a69ef0d7a19896d358bc5
  Author: nicebert <110385235+nicebert at users.noreply.github.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp

  Log Message:
  -----------
  [OpenMP] Fix ompx_dump_mapping_tables lit test (#85754)

Fixes ompx_dump_mapping_tables test by only using one device after
breaking built bots


  Commit: db6049112790f6bee51883b6aa99d0660f17e3a5
      https://github.com/llvm/llvm-project/commit/db6049112790f6bee51883b6aa99d0660f17e3a5
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp

  Log Message:
  -----------
  [mlir][bufferization] Check OpFilter before casting to BufferizableOpInterface (#85690)

This doesn't change functionality, but lets us avoid attaching all the
interfaces after 513cdb82223a106f183b49a40d9acb1f7efbbe7e turned casting
without loading into an error.


  Commit: 5e379b63fcd942017593d278c8c2313744413904
      https://github.com/llvm/llvm-project/commit/5e379b63fcd942017593d278c8c2313744413904
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp

  Log Message:
  -----------
  [AMDGPU][PromoteAlloca] Drop bitcast handling (#85747)

This is no longer needed with opaque pointers.


  Commit: a4b23638d23d603001c19285a7c7535a8ce81317
      https://github.com/llvm/llvm-project/commit/a4b23638d23d603001c19285a7c7535a8ce81317
  Author: Felix Schneider <fx.schn at gmail.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M mlir/lib/IR/AffineExpr.cpp
    A mlir/unittests/IR/AffineExprTest.cpp
    M mlir/unittests/IR/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Don't assert when simplifying certain `AffineExpr`s (#78855)

Currently, `simplifyMul()` asserts that either `lhs` or `rhs` is
symbolic or constant. This method is called by the overloaded `*`
operator for `AffineExpr`s which leads to a crash when building a
multiplication expression where neither operand is symbolic or constant.
This patch returns a `nullptr` from `simplifyMul()` to signal that the
expression could not be simplified instead.

Fix https://github.com/llvm/llvm-project/issues/75770


  Commit: e85bfa65651eb45aefc8a9233e160f27af55f894
      https://github.com/llvm/llvm-project/commit/e85bfa65651eb45aefc8a9233e160f27af55f894
  Author: Jonathan Thackray <jonathan.thackray at arm.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/test/Driver/aarch64-mcpu.c
    M clang/test/Misc/target-invalid-cpu-note.c
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/Target/AArch64/AArch64.td
    M llvm/lib/TargetParser/Host.cpp
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [AArch64] Add support for Cortex-A520AE and Cortex-A720AE CPUs (#85401)

[AArch64] Add support for Cortex-A520AE and Cortex-A720AE CPUs

Cortex-A520AE and Cortex-A720AE are Armv9.2 AArch64 CPUs.

Technical Reference Manual for Cortex-A520AE:
   https://developer.arm.com/documentation/107726/latest/

Technical Reference Manual for Cortex-A720AE:
   https://developer.arm.com/documentation/102828/latest/


  Commit: 29cde04c3972a54efeb6d09b1580b275f39c315a
      https://github.com/llvm/llvm-project/commit/29cde04c3972a54efeb6d09b1580b275f39c315a
  Author: Hirofumi Nakamura <k.nakamura.hirofumi at gmail.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/include/clang/Format/Format.h

  Log Message:
  -----------
  [clang-format] Fixed the warning in building document for TableGenBreakingDAGArgOperators. (#85760)

Intend to fix the `Test documentation build `, degraded here
https://github.com/llvm/llvm-project/pull/83149 .


  Commit: 6bc6e1ace9fa8453e164fa04b5d9acd5a77e089a
      https://github.com/llvm/llvm-project/commit/6bc6e1ace9fa8453e164fa04b5d9acd5a77e089a
  Author: serge-sans-paille <sguelton at mozilla.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M compiler-rt/test/tsan/signal_thread.cpp

  Log Message:
  -----------
  [tsan][test] Switch setitimer(ITIMER_REAL, ...) to setitimer(ITIMER_VIRTUAL, ...)

Followup to #85188.


  Commit: d9c31ee9568277e4303715736b40925e41503596
      https://github.com/llvm/llvm-project/commit/d9c31ee9568277e4303715736b40925e41503596
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/test/CodeGen/SystemZ/int-usub-12.ll
    M llvm/test/CodeGen/SystemZ/int-usub-13.ll

  Log Message:
  -----------
  Fix overflow flag for i128 USUBO

We use the VSCBIQ/VSBIQ/VSBCBIQ family of instructions to implement
USUBO/USUBO_CARRY for the i128 data type.  However, these instructions
use an inverted sense of the borrow indication flag (a value of 1
indicates *no* borrow, while a value of 0 indicated borrow).  This
does not match the semantics of the boolean "overflow" flag of the
USUBO/USUBO_CARRY ISD nodes.

Fix this by generating code to explicitly invert the flag.  These
cancel out of the result of USUBO feeds into an USUBO_CARRY.

To avoid unnecessary zero-extend operations, also improve the
DAGCombine handling of ZERO_EXTEND to optimize (zext (xor (trunc)))
sequences where appropriate.

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


  Commit: 8eee236021f72821d628ec31d8e8d1f92e7821d3
      https://github.com/llvm/llvm-project/commit/8eee236021f72821d628ec31d8e8d1f92e7821d3
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M flang/include/flang/Evaluate/characteristics.h
    M flang/include/flang/Lower/CallInterface.h
    M flang/include/flang/Lower/ConvertVariable.h
    M flang/lib/Lower/CallInterface.cpp
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    A flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90

  Log Message:
  -----------
  [flang] Lower sequence associated argument passed by descriptor (#85696)

The current lowering did not handle sequence associated argument passed
by descriptor. This case is special because sequence association implies
that the actual and dummy argument need to to agree in rank and shape.
Usually, arguments that can be sequence associated are passed by raw
address, and the shape mistmatch is transparent. But there are three
cases of explicit and assumed-size arrays passed by descriptors:
 - polymorphic arguments
 - BIND(C) assumed-length arguments (F'2023 18.3.7 (5)).
 - length parametrized derived types (TBD)

The callee side is expecting a descriptor containing the dummy rank and
shape. This was not the case. This patch fix that by evaluating the
dummy shape on the caller side using the interface (that has to be
available when arguments are passed by descriptors).


  Commit: 9f6b6636c77ad4736c66efd0119b3be4541e9af4
      https://github.com/llvm/llvm-project/commit/9f6b6636c77ad4736c66efd0119b3be4541e9af4
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M flang/include/flang/Semantics/openmp-directive-sets.h

  Log Message:
  -----------
  [Flang][OpenMP] Complete and organize directive sets (#85219)

This patch adds a couple of new directive sets for composite constructs,
completes some of the existing ones with missing values, refactors all*
sets to always build on the corresponding top* set and reorders sets and
directives alphabetically.

No functional change intended.


  Commit: 577306133e14fc4f448b010920dc446607fcabaf
      https://github.com/llvm/llvm-project/commit/577306133e14fc4f448b010920dc446607fcabaf
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h

  Log Message:
  -----------
  [mlir][bufferization] Fix OpFilter not to crash on unloaded dialects


  Commit: d1c37959686db3303f6d5ffaeee12be12facc640
      https://github.com/llvm/llvm-project/commit/d1c37959686db3303f6d5ffaeee12be12facc640
  Author: Ulrich Weigand <ulrich.weigand at de.ibm.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
    M llvm/test/CodeGen/SystemZ/int-usub-12.ll
    M llvm/test/CodeGen/SystemZ/int-usub-13.ll

  Log Message:
  -----------
  Revert "Fix overflow flag for i128 USUBO"

This reverts commit d9c31ee9568277e4303715736b40925e41503596.


  Commit: d0829fbdeda0a2faa8cf684e1396e579691bdfa2
      https://github.com/llvm/llvm-project/commit/d0829fbdeda0a2faa8cf684e1396e579691bdfa2
  Author: jeanPerier <jperier at nvidia.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Lower/LoweringOptions.def
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Lower/CallInterface.cpp
    M flang/lib/Lower/ConvertType.cpp
    M flang/test/Driver/driver-help-hidden.f90
    R flang/test/Driver/flang-experimental-polymorphism-flag.f90
    M flang/test/Driver/frontend-forwarding.f90
    M flang/test/Fir/dispatch.f90
    M flang/test/HLFIR/assumed-type-actual-args.f90
    M flang/test/HLFIR/boxchar_emboxing.f90
    M flang/test/HLFIR/call_with_poly_dummy.f90
    M flang/test/Lower/HLFIR/actual_target_for_dummy_pointer.f90
    M flang/test/Lower/HLFIR/allocatable-return.f90
    M flang/test/Lower/HLFIR/array-ctor-derived.f90
    M flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
    M flang/test/Lower/HLFIR/calls-assumed-shape.f90
    M flang/test/Lower/HLFIR/calls-constant-expr-arg-polymorphic.f90
    M flang/test/Lower/HLFIR/calls-optional.f90
    M flang/test/Lower/HLFIR/calls-poly-to-assumed-type.f90
    M flang/test/Lower/HLFIR/convert-mbox-to-value.f90
    M flang/test/Lower/HLFIR/designators-component-ref.f90
    M flang/test/Lower/HLFIR/designators-parameter-array-slice.f90
    M flang/test/Lower/HLFIR/elemental-array-ops.f90
    M flang/test/Lower/HLFIR/elemental-polymorphic-merge.f90
    M flang/test/Lower/HLFIR/elemental-user-procedure-ref-polymorphic.f90
    M flang/test/Lower/HLFIR/function-return-as-expr.f90
    M flang/test/Lower/HLFIR/function-return-destroy.f90
    M flang/test/Lower/HLFIR/ignore-rank-unlimited-polymorphic.f90
    M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
    M flang/test/Lower/HLFIR/intentout-allocatable-components.f90
    M flang/test/Lower/HLFIR/internal-procedures-polymorphic.f90
    M flang/test/Lower/HLFIR/intrinsic-assumed-type.f90
    M flang/test/Lower/HLFIR/parent-component-ref.f90
    M flang/test/Lower/HLFIR/poly_expr_for_nonpoly_dummy.f90
    M flang/test/Lower/HLFIR/polymorphic-expressions.f90
    M flang/test/Lower/HLFIR/proc-pointer-comp-nopass.f90
    M flang/test/Lower/HLFIR/proc-pointer-comp-pass.f90
    M flang/test/Lower/HLFIR/select-type-selector.f90
    M flang/test/Lower/HLFIR/transpose.f90
    M flang/test/Lower/HLFIR/type-bound-call-mismatch.f90
    M flang/test/Lower/HLFIR/vector-subscript-as-value.f90
    M flang/test/Lower/Intrinsics/extends_type_of.f90
    M flang/test/Lower/Intrinsics/same_type_as.f90
    M flang/test/Lower/Intrinsics/sizeof.f90
    M flang/test/Lower/Intrinsics/spread.f90
    M flang/test/Lower/Intrinsics/storage_size.f90
    M flang/test/Lower/allocatable-polymorphic.f90
    M flang/test/Lower/allocatable-return.f90
    M flang/test/Lower/assumed-type.f90
    M flang/test/Lower/default-initialization.f90
    M flang/test/Lower/derived-type-finalization.f90
    M flang/test/Lower/dispatch-table.f90
    M flang/test/Lower/dispatch.f90
    M flang/test/Lower/intentout-deallocate.f90
    M flang/test/Lower/io-derived-type-2.f90
    M flang/test/Lower/io-derived-type.f90
    M flang/test/Lower/nullify-polymorphic.f90
    M flang/test/Lower/pass-null-for-class-arg.f90
    M flang/test/Lower/pointer-association-polymorphic.f90
    M flang/test/Lower/pointer-disassociate.f90
    M flang/test/Lower/polymorphic-temp.f90
    M flang/test/Lower/polymorphic-types.f90
    M flang/test/Lower/polymorphic.f90
    M flang/test/Lower/select-type-2.f90
    M flang/test/Lower/select-type.f90
    M flang/tools/bbc/bbc.cpp

  Log Message:
  -----------
  [flang] Enable polymorphic lowering by default (#83285)

Polymorphic entity lowering status is good. The main remaining TODO is
to allow lowering of vector subscripted polymorphic entity, but this
does not deserve blocking all application using polymorphism.

Remove experimental option and enable lowering of polymorphic entity by
default.


  Commit: d671ebe46ce6bb542ab81ea120751c985f3fe4a3
      https://github.com/llvm/llvm-project/commit/d671ebe46ce6bb542ab81ea120751c985f3fe4a3
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Lower/OpenMP/Utils.h

  Log Message:
  -----------
  [Flang][Lower] NFC: Replace SmallVector with more suitable alternatives (#85227)

In this patch some uses of `llvm::SmallVector` in Flang's lowering to
MLIR are replaced by other types (i.e. `llvm::ArrayRef` and
`llvm::SmallVectorImpl`) which are intended for these uses. This
generally prevents relying on always passing small vectors with a
particular number of elements in the stack.


  Commit: aeb4dd14440dd7a0f11cb9a97a733b08323f56c9
      https://github.com/llvm/llvm-project/commit/aeb4dd14440dd7a0f11cb9a97a733b08323f56c9
  Author: Janek van Oirschot <5994977+JanekvO at users.noreply.github.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/include/llvm/Support/AMDHSAKernelDescriptor.h
    M llvm/test/MC/AMDGPU/hsa-gfx12-v4.s

  Log Message:
  -----------
  Fix macro expansion for AMDHSA_BITS_SET (#85661)

Corrects the `AMDHSA_BITS_SET` macro.


  Commit: 953c13b5c90bed1e24fe95e90137c4e226ac2d09
      https://github.com/llvm/llvm-project/commit/953c13b5c90bed1e24fe95e90137c4e226ac2d09
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    A llvm/test/CodeGen/AMDGPU/promote-alloca-scoring.ll

  Log Message:
  -----------
  [AMDGPU][PromoteAlloca] Whole-function alloca promotion to vector (#84735)

Update PromoteAllocaToVector so it considers the whole function before promoting allocas.
Allocas are scored & sorted so the highest value ones are seen first. The budget is now per function instead of per alloca.

Passed internal performance testing.


  Commit: ccf042e90e1b987d69f01378ed89b832f86d434a
      https://github.com/llvm/llvm-project/commit/ccf042e90e1b987d69f01378ed89b832f86d434a
  Author: Kai Sasaki <lewuathe at gmail.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir

  Log Message:
  -----------
  [mlir][complex] Make CPU runner test platform agnostic (#85607)


  Commit: c9bdeabdf4b46fbf1f6a9fcbf9cd61d460b18c08
      https://github.com/llvm/llvm-project/commit/c9bdeabdf4b46fbf1f6a9fcbf9cd61d460b18c08
  Author: serge-sans-paille <sguelton at mozilla.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M compiler-rt/test/tsan/signal_sync.cpp

  Log Message:
  -----------
  [tsan][test] Switch setitimer(ITIMER_REAL, ...) to setitimer(ITIMER_VIRTUAL, ...)

Followup to #85188


  Commit: 00ca80938b732ee43deb2a94bec1c7efef3025d4
      https://github.com/llvm/llvm-project/commit/00ca80938b732ee43deb2a94bec1c7efef3025d4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/icmp-global.ll

  Log Message:
  -----------
  [ConstantFold] Fix comparison between special pointer constants

This code was assuming that the LHS would always be one of
GlobalVariable, BlockAddress or ConstantExpr. However, it can
also be a special constant like dso_local_equivalent or no_cfi.
Make sure this is handled gracefully.


  Commit: 7edfbf2af2253297f48ff8adaba99373f67e8dca
      https://github.com/llvm/llvm-project/commit/7edfbf2af2253297f48ff8adaba99373f67e8dca
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxSliceArray.cpp

  Log Message:
  -----------
  [lldb][DataFormatter] Fix format specifiers in LibCxxSliceArray summary provider (#85763)

This caused following warnings in an LLDB build:
```
[237/1072] Building CXX object tools/l...lusLanguage.dir/LibCxxSliceArray.cpp.o
/Volumes/Data/llvm-project/lldb/source/Plugins/Language/CPlusPlus/LibCxxSliceArray.cpp:38:53: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
   38 |   stream.Printf("stride=%" PRIu64 " size=%" PRIu64, stride, size);
      |                         ~~~~~~~~~                   ^~~~~~
/Volumes/Data/llvm-project/lldb/source/Plugins/Language/CPlusPlus/LibCxxSliceArray.cpp:38:61: warning: format specifies type 'unsigned long long' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
   38 |   stream.Printf("stride=%" PRIu64 " size=%" PRIu64, stride, size);
      |                                          ~~~~~~~~~          ^~~~
2 warnings generated.
```

This patch simply changes the format specifiers to use the `%zu` for
`size_t`s.


  Commit: 078aaf1f78e5df55618b71f1fe75993e4ccb6a72
      https://github.com/llvm/llvm-project/commit/078aaf1f78e5df55618b71f1fe75993e4ccb6a72
  Author: wanglei <wanglei at loongson.cn>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/test/MC/LoongArch/Macros/macros-li-bad.s

  Log Message:
  -----------
  [LoongArch] Add diagnostics for PseudoLI_D instruction (#85742)

Simultaneously improved diagnostic testing for the `PseudoLI_W`
instruction.


  Commit: 2f2f16f32bb2a6c250b19adbc229d9dc3b38640c
      https://github.com/llvm/llvm-project/commit/2f2f16f32bb2a6c250b19adbc229d9dc3b38640c
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Lower/OpenMP/Utils.cpp
    M flang/lib/Lower/OpenMP/Utils.h

  Log Message:
  -----------
  [Flang][OpenMP][Lower] NFC: Move clause processing helpers into the ClauseProcessor (#85258)

This patch moves some code in PFT to MLIR OpenMP lowering to the
`ClauseProcessor` class. This is so that some behavior that is related
to certain clauses stays within the `ClauseProcessor` and it's not the
caller the one responsible for always doing this when the clause is
present.


  Commit: d712c5ed8fab4940ae0480e01fc72a944cbb79e6
      https://github.com/llvm/llvm-project/commit/d712c5ed8fab4940ae0480e01fc72a944cbb79e6
  Author: martinboehme <mboehme at google.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
    M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Make optional checker work for types derived from optional. (#84138)

`llvm::MaybeAlign` does this, for example.

It's not an option to simply ignore these derived classes because they
get cast
back to the optional classes (for example, simply when calling the
optional
member functions), and our transfer functions will then run on those
optional
classes and therefore require them to be properly initialized.


  Commit: 577e9369feadac0958daa05eedbdbe9612af381c
      https://github.com/llvm/llvm-project/commit/577e9369feadac0958daa05eedbdbe9612af381c
  Author: martinboehme <mboehme at google.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Format/Format.h
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Disasm.cpp
    M clang/lib/AST/Interp/InterpFrame.h
    M clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccessModel.cpp
    M clang/lib/Driver/ToolChains/Flang.cpp
    M clang/test/Driver/aarch64-mcpu.c
    M clang/test/Misc/target-invalid-cpu-note.c
    M clang/unittests/Analysis/FlowSensitive/UncheckedOptionalAccessModelTest.cpp
    M compiler-rt/test/tsan/signal_sync.cpp
    M compiler-rt/test/tsan/signal_thread.cpp
    M flang/include/flang/Evaluate/characteristics.h
    M flang/include/flang/Lower/CallInterface.h
    M flang/include/flang/Lower/ConvertVariable.h
    M flang/include/flang/Lower/LoweringOptions.def
    M flang/include/flang/Semantics/openmp-directive-sets.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Lower/CallInterface.cpp
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Lower/ConvertType.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp
    M flang/lib/Lower/OpenMP/ClauseProcessor.h
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M flang/lib/Lower/OpenMP/Utils.cpp
    M flang/lib/Lower/OpenMP/Utils.h
    M flang/test/Driver/driver-help-hidden.f90
    R flang/test/Driver/flang-experimental-polymorphism-flag.f90
    M flang/test/Driver/frontend-forwarding.f90
    M flang/test/Fir/dispatch.f90
    M flang/test/HLFIR/assumed-type-actual-args.f90
    M flang/test/HLFIR/boxchar_emboxing.f90
    M flang/test/HLFIR/call_with_poly_dummy.f90
    M flang/test/Lower/HLFIR/actual_target_for_dummy_pointer.f90
    M flang/test/Lower/HLFIR/allocatable-return.f90
    M flang/test/Lower/HLFIR/array-ctor-derived.f90
    A flang/test/Lower/HLFIR/call-sequence-associated-descriptors.f90
    M flang/test/Lower/HLFIR/calls-assumed-shape.f90
    M flang/test/Lower/HLFIR/calls-constant-expr-arg-polymorphic.f90
    M flang/test/Lower/HLFIR/calls-optional.f90
    M flang/test/Lower/HLFIR/calls-poly-to-assumed-type.f90
    M flang/test/Lower/HLFIR/convert-mbox-to-value.f90
    M flang/test/Lower/HLFIR/designators-component-ref.f90
    M flang/test/Lower/HLFIR/designators-parameter-array-slice.f90
    M flang/test/Lower/HLFIR/elemental-array-ops.f90
    M flang/test/Lower/HLFIR/elemental-polymorphic-merge.f90
    M flang/test/Lower/HLFIR/elemental-user-procedure-ref-polymorphic.f90
    M flang/test/Lower/HLFIR/function-return-as-expr.f90
    M flang/test/Lower/HLFIR/function-return-destroy.f90
    M flang/test/Lower/HLFIR/ignore-rank-unlimited-polymorphic.f90
    M flang/test/Lower/HLFIR/ignore-type-assumed-shape.f90
    M flang/test/Lower/HLFIR/intentout-allocatable-components.f90
    M flang/test/Lower/HLFIR/internal-procedures-polymorphic.f90
    M flang/test/Lower/HLFIR/intrinsic-assumed-type.f90
    M flang/test/Lower/HLFIR/parent-component-ref.f90
    M flang/test/Lower/HLFIR/poly_expr_for_nonpoly_dummy.f90
    M flang/test/Lower/HLFIR/polymorphic-expressions.f90
    M flang/test/Lower/HLFIR/proc-pointer-comp-nopass.f90
    M flang/test/Lower/HLFIR/proc-pointer-comp-pass.f90
    M flang/test/Lower/HLFIR/select-type-selector.f90
    M flang/test/Lower/HLFIR/transpose.f90
    M flang/test/Lower/HLFIR/type-bound-call-mismatch.f90
    M flang/test/Lower/HLFIR/vector-subscript-as-value.f90
    M flang/test/Lower/Intrinsics/extends_type_of.f90
    M flang/test/Lower/Intrinsics/same_type_as.f90
    M flang/test/Lower/Intrinsics/sizeof.f90
    M flang/test/Lower/Intrinsics/spread.f90
    M flang/test/Lower/Intrinsics/storage_size.f90
    M flang/test/Lower/allocatable-polymorphic.f90
    M flang/test/Lower/allocatable-return.f90
    M flang/test/Lower/assumed-type.f90
    M flang/test/Lower/default-initialization.f90
    M flang/test/Lower/derived-type-finalization.f90
    M flang/test/Lower/dispatch-table.f90
    M flang/test/Lower/dispatch.f90
    M flang/test/Lower/intentout-deallocate.f90
    M flang/test/Lower/io-derived-type-2.f90
    M flang/test/Lower/io-derived-type.f90
    M flang/test/Lower/nullify-polymorphic.f90
    M flang/test/Lower/pass-null-for-class-arg.f90
    M flang/test/Lower/pointer-association-polymorphic.f90
    M flang/test/Lower/pointer-disassociate.f90
    M flang/test/Lower/polymorphic-temp.f90
    M flang/test/Lower/polymorphic-types.f90
    M flang/test/Lower/polymorphic.f90
    M flang/test/Lower/select-type-2.f90
    M flang/test/Lower/select-type.f90
    M flang/tools/bbc/bbc.cpp
    M lldb/source/Plugins/Language/CPlusPlus/LibCxxSliceArray.cpp
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/Support/AMDHSAKernelDescriptor.h
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/lib/Target/AArch64/AArch64.td
    M llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
    M llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp
    M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
    M llvm/lib/TargetParser/Host.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/CodeGen/AArch64/hadd-combine.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    A llvm/test/CodeGen/AMDGPU/promote-alloca-scoring.ll
    M llvm/test/MC/AMDGPU/hsa-gfx12-v4.s
    M llvm/test/MC/LoongArch/Macros/macros-li-bad.s
    M llvm/test/Transforms/Attributor/nofpclass-implied-by-fcmp.ll
    M llvm/test/Transforms/InstCombine/fpcast.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/icmp-global.ll
    M llvm/unittests/TargetParser/TargetParserTest.cpp
    M mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
    M mlir/lib/Dialect/Bufferization/IR/BufferizableOpInterface.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
    M mlir/lib/IR/AffineExpr.cpp
    M mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
    A mlir/unittests/IR/AffineExprTest.cpp
    M mlir/unittests/IR/CMakeLists.txt
    M openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/f43f2e853295...577e9369fead

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