[all-commits] [llvm/llvm-project] 13ea36: Fix UPCAddressofArraySubscriptGadget::getClaimedVa...

darkbuck via All-commits all-commits at lists.llvm.org
Tue Apr 16 14:17:32 PDT 2024


  Branch: refs/heads/users/darkbuck/spr/main.sparc-fix-instr-desc-of-special-register-stores
  Home:   https://github.com/llvm/llvm-project
  Commit: 13ea36db166b7007f8b1e84e0827faaf24eb448e
      https://github.com/llvm/llvm-project/commit/13ea36db166b7007f8b1e84e0827faaf24eb448e
  Author: juan.vazquez <juan.vazquez.test at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/lib/Analysis/UnsafeBufferUsage.cpp
    A clang/test/SemaCXX/warn-unsafe-buffer-usage-suggestions-crashes.cpp

  Log Message:
  -----------
  Fix UPCAddressofArraySubscriptGadget::getClaimedVarUseSites() (#88406)

UPCAddressofArraySubscriptGadget::getClaimedVarUseSites should skip
parentheses when accessing the DeclRefExpr, otherwise a crash happens
with parenthesized references.


  Commit: f430e374462efd94d891fcf9fa09d606343c780f
      https://github.com/llvm/llvm-project/commit/f430e374462efd94d891fcf9fa09d606343c780f
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/InstrProfReader.h
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/lib/MC/MCPseudoProbe.cpp
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/lib/ProfileData/MemProf.cpp
    M llvm/lib/ProfileData/MemProfReader.cpp
    M llvm/lib/ProfileData/SampleProfReader.cpp

  Log Message:
  -----------
  [llvm] Drop unaligned from calls to readNext (NFC) (#88841)

Now readNext defaults to unaligned accesses.  This patch drops
unaligned to improve readability.


  Commit: 281d71604f418eb952e967d9dc4b26241b7f96aa
      https://github.com/llvm/llvm-project/commit/281d71604f418eb952e967d9dc4b26241b7f96aa
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/test/CodeGen/X86/code-model-elf-text-sections.ll

  Log Message:
  -----------
  [X86] Change how we treat functions with explicit sections as small/large (#88172)

Following #78348, we should treat functions with an explicit section as
small, unless the section name is (or has the prefix) ".ltext".

Clang emits global initializers into a ".text.startup" section on Linux.
If we mix small/medium code model object files with large code model
object files, we'll end up mixing sections with and without the large
section flag.

Reland of #87838 with a check for non-ELF platforms in
TargetMachine::isLargeGlobalValue(), otherwise MCJIT on Windows tests
fail.


  Commit: 191be2a8a8531129c779bf23c4eec86f32c69bf9
      https://github.com/llvm/llvm-project/commit/191be2a8a8531129c779bf23c4eec86f32c69bf9
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/stable_ir_values_funcs.ll
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/stable_ir_values_funcs.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_test_checks/stable_ir_values_funcs.test

  Log Message:
  -----------
  update_test_checks: pre-commit a new test

The test shows that name preservation doesn't work properly when
--include-generated-funcs is used.


  Commit: e770249d955e06f205e91017cd394d8670996168
      https://github.com/llvm/llvm-project/commit/e770249d955e06f205e91017cd394d8670996168
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/phi-labels.ll
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/phi-labels.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_test_checks/phi-labels.test

  Log Message:
  -----------
  update_test_checks: add new test

This test is meant to demonstrate an upcoming change that replaces basic
block labels by FileCheck patterns.


  Commit: 377a2767a9951659b5ec7309abb78da719a4f93b
      https://github.com/llvm/llvm-project/commit/377a2767a9951659b5ec7309abb78da719a4f93b
  Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/utils/UpdateTestChecks/common.py

  Log Message:
  -----------
  update_test_checks: remove an unused function


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

  Changed paths:
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/test/Fir/cuf-invalid.fir
    M flang/test/Fir/cuf.mlir

  Log Message:
  -----------
  [flang][cuda] Add fir.deallocate operation (#88839)

Add the fir.cuda_deallocate operation that perform device deallocation
of data hold by a descriptor. This will replace the call to
AllocatableDeallocate from the runtime.

This is a companion operation to the one added in #88586


  Commit: 34777c238b117b52dd41a9d12e8b54fb83677a12
      https://github.com/llvm/llvm-project/commit/34777c238b117b52dd41a9d12e8b54fb83677a12
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    A llvm/test/Transforms/LoopVectorize/blend-in-header.ll

  Log Message:
  -----------
  [VPlan] Don't mark VPBlendRecipe as phi-like.

VPBlendRecipes don't get lowered to phis and usually do not appear at
the beginning of blocks, due to their masks appearing before them.

This effectively relaxes an over-eager verifier message.

Fixes https://github.com/llvm/llvm-project/issues/88297.
Fixes https://github.com/llvm/llvm-project/issues/88804.


  Commit: b6bd41db31c798f3fc82368381fad6d42795f512
      https://github.com/llvm/llvm-project/commit/b6bd41db31c798f3fc82368381fad6d42795f512
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/test/Headers/__clang_hip_math.hip
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/add-sitofp.ll
    M llvm/test/Transforms/InstCombine/binop-itofp.ll
    M llvm/test/Transforms/InstCombine/clamp-to-minmax.ll
    M llvm/test/Transforms/InstCombine/fpcast.ll
    M llvm/test/Transforms/InstCombine/minmax-fold.ll
    M llvm/test/Transforms/InstCombine/minmax-fp.ll
    M llvm/test/Transforms/InstCombine/pr27236.ll
    M llvm/test/Transforms/InstCombine/sitofp.ll
    M llvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll
    M llvm/test/Transforms/LoopVectorize/float-induction.ll

  Log Message:
  -----------
  [InstCombine] Add canonicalization of `sitofp` -> `uitofp nneg`

This is essentially the same as #82404 but has the `nneg` flag which
allows the backend to reliably undo the transform.

Closes #88299


  Commit: 885b8d9bb5192267cb2449a9ddec28e20ac9300e
      https://github.com/llvm/llvm-project/commit/885b8d9bb5192267cb2449a9ddec28e20ac9300e
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rv64xtheadba.ll

  Log Message:
  -----------
  [RISCV] Enable mul strength reduction for XTheadBa

This vendor extension has the same shift_add as zba, and most of the same
patterns are duplicated.  Enable it here too so the configurations don't
diverge.


  Commit: c6e01627acf8591830ee1d211cff4d5388095f3d
      https://github.com/llvm/llvm-project/commit/c6e01627acf8591830ee1d211cff4d5388095f3d
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/LoopUtils.h
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-select-cmp.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/select-cmp-reduction.ll
    M llvm/test/Transforms/LoopVectorize/epilog-vectorization-any-of-reductions.ll
    M llvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
    M llvm/test/Transforms/LoopVectorize/select-cmp.ll
    M llvm/test/Transforms/LoopVectorize/select-reduction-start-value-may-be-undef-or-poison.ll

  Log Message:
  -----------
  Revert "Reapply "[LV] Improve AnyOf reduction codegen. (#78304)""

This reverts commit c6e38b928c56f562aea68a8e90f02dbdf0eada85.

Causes miscompiles, see comments on #78304.


  Commit: 266b2a26408c42ed1ac84ef38dfc41695423d9da
      https://github.com/llvm/llvm-project/commit/266b2a26408c42ed1ac84ef38dfc41695423d9da
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    A llvm/test/Transforms/InstCombine/known-fpclass-reduce-signbit.ll
    M llvm/test/Transforms/InstSimplify/known-never-infinity.ll

  Log Message:
  -----------
  [ValueTracking] Add tests for `computeKnownFPClass` of `llvm.vector.reduce.{fmin,fmax,fmaximum,fminimum}`; NFC


  Commit: 9eeae4421198b99eab3ae9a4ff678fda26bbda2a
      https://github.com/llvm/llvm-project/commit/9eeae4421198b99eab3ae9a4ff678fda26bbda2a
  Author: Noah Goldstein <goldstein.w.n at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/test/Transforms/InstCombine/known-fpclass-reduce-signbit.ll
    M llvm/test/Transforms/InstSimplify/known-never-infinity.ll

  Log Message:
  -----------
  [ValueTracking] Implement `computeKnownFPClass` for `llvm.vector.reduce.{fmin,fmax,fmaximum,fminimum}`

Closes #88408


  Commit: b94e5bc480a0b268854556ca8bf7804ca22570ec
      https://github.com/llvm/llvm-project/commit/b94e5bc480a0b268854556ca8bf7804ca22570ec
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/lib/Analysis/UnsafeBufferUsage.cpp
    M clang/test/Headers/__clang_hip_math.hip
    A clang/test/SemaCXX/warn-unsafe-buffer-usage-suggestions-crashes.cpp
    M flang/include/flang/Optimizer/Dialect/FIROps.td
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/test/Fir/cuf-invalid.fir
    M flang/test/Fir/cuf.mlir
    M llvm/include/llvm/ProfileData/InstrProfReader.h
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/include/llvm/Transforms/Utils/LoopUtils.h
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/MC/MCPseudoProbe.cpp
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/ProfileData/InstrProfReader.cpp
    M llvm/lib/ProfileData/MemProf.cpp
    M llvm/lib/ProfileData/MemProfReader.cpp
    M llvm/lib/ProfileData/SampleProfReader.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    M llvm/test/CodeGen/RISCV/rv64xtheadba.ll
    M llvm/test/CodeGen/X86/code-model-elf-text-sections.ll
    M llvm/test/Transforms/InstCombine/add-sitofp.ll
    M llvm/test/Transforms/InstCombine/binop-itofp.ll
    M llvm/test/Transforms/InstCombine/clamp-to-minmax.ll
    M llvm/test/Transforms/InstCombine/fpcast.ll
    A llvm/test/Transforms/InstCombine/known-fpclass-reduce-signbit.ll
    M llvm/test/Transforms/InstCombine/minmax-fold.ll
    M llvm/test/Transforms/InstCombine/minmax-fp.ll
    M llvm/test/Transforms/InstCombine/pr27236.ll
    M llvm/test/Transforms/InstCombine/sitofp.ll
    M llvm/test/Transforms/InstSimplify/known-never-infinity.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-select-cmp.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/select-cmp-reduction.ll
    M llvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll
    A llvm/test/Transforms/LoopVectorize/blend-in-header.ll
    M llvm/test/Transforms/LoopVectorize/epilog-vectorization-any-of-reductions.ll
    M llvm/test/Transforms/LoopVectorize/float-induction.ll
    M llvm/test/Transforms/LoopVectorize/select-cmp-predicated.ll
    M llvm/test/Transforms/LoopVectorize/select-cmp.ll
    M llvm/test/Transforms/LoopVectorize/select-reduction-start-value-may-be-undef-or-poison.ll
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/phi-labels.ll
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/phi-labels.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/stable_ir_values_funcs.ll
    A llvm/test/tools/UpdateTestChecks/update_test_checks/Inputs/stable_ir_values_funcs.ll.expected
    A llvm/test/tools/UpdateTestChecks/update_test_checks/phi-labels.test
    A llvm/test/tools/UpdateTestChecks/update_test_checks/stable_ir_values_funcs.test
    M llvm/utils/UpdateTestChecks/common.py

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

Created using spr 1.3.4

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/16f418326fcf...b94e5bc480a0

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