[all-commits] [llvm/llvm-project] 6599b6: Fix LLDB build on old Linux kernels (pre-4.1)

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Oct 13 01:04:14 PDT 2022


  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 6599b6e5ae9ea95c857aff33b65f5e25e0bf8c27
      https://github.com/llvm/llvm-project/commit/6599b6e5ae9ea95c857aff33b65f5e25e0bf8c27
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M lldb/source/Plugins/Process/Linux/Perf.cpp

  Log Message:
  -----------
  Fix LLDB build on old Linux kernels (pre-4.1)

These fields are guarded elsewhere, but were missing here.

Reviewed By: wallace

Differential Revision: https://reviews.llvm.org/D133778

(chery picked from a9ffb473453519bae158e5d9c72431aa0f6aac2b)


  Commit: f3c5289e78462fb96015f79c954d95a0d527ba55
      https://github.com/llvm/llvm-project/commit/f3c5289e78462fb96015f79c954d95a0d527ba55
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-10-13 (Thu, 13 Oct 2022)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/DependenceAnalysis/lcssa.ll
    M llvm/test/Analysis/ScalarEvolution/cycled_phis.ll
    M llvm/test/Analysis/ScalarEvolution/incorrect-exit-count.ll
    M llvm/test/Analysis/ScalarEvolution/solve-quadratic-i1.ll
    M llvm/test/Analysis/ScalarEvolution/solve-quadratic-overflow.ll
    M llvm/test/Analysis/ScalarEvolution/trivial-phis.ll
    M llvm/test/Transforms/LoopStrengthReduce/funclet.ll
    M llvm/test/Transforms/LoopVectorize/create-induction-resume.ll
    M llvm/test/Transforms/LoopVectorize/pr45259.ll

  Log Message:
  -----------
  Revert "Recommit "[SCEV] Look through single value PHIs." (take 3)"

This reverts commit 20d798bd47ec5191de1b2a8a031da06a04e612e1.

This commit caused crashes in some cases, see github issue #58152.
This is fixed on main, but backporting it requires multiple
nontrivial cherrypicks.

Updating llvm/test/Transforms/LoopVectorize/create-induction-resume.ll
with update_test_checks.py, so this isn't an exact automatic revert,
as that test case was added after the reverted commit.

This fixes #58152 for the release branch.


Compare: https://github.com/llvm/llvm-project/compare/02129eab7d58...f3c5289e7846


More information about the All-commits mailing list