[all-commits] [llvm/llvm-project] d9f306: [LV] Fix crash when generating remarks with multi-...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Jan 1 05:57:47 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d9f306aa52fe233a711af2d5baa0d6536f164b10
      https://github.com/llvm/llvm-project/commit/d9f306aa52fe233a711af2d5baa0d6536f164b10
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-01-01 (Fri, 01 Jan 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
    A llvm/test/Transforms/LoopVectorize/remarks-multi-exit-loops.ll

  Log Message:
  -----------
  [LV] Fix crash when generating remarks with multi-exit loops.

If DoExtraAnalysis is true (e.g. because remarks are enabled), we
continue with the analysis rather than exiting. Update code to
conditionally check if the ExitBB has phis or not a single predecessor.
Otherwise a nullptr is dereferenced with DoExtraAnalysis.


  Commit: 4a17b9a39b706f267837375370950a029130354e
      https://github.com/llvm/llvm-project/commit/4a17b9a39b706f267837375370950a029130354e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-01-01 (Fri, 01 Jan 2021)

  Changed paths:
    M llvm/test/Analysis/LoopAccessAnalysis/pointer-with-unknown-bounds.ll
    A llvm/test/Analysis/LoopAccessAnalysis/uncomputable-backedge-taken-count.ll

  Log Message:
  -----------
  [LAA] Add tests with uncomputable BTCs.


  Commit: 890079ef18e1868e5b962675eeb9faac2b28d94e
      https://github.com/llvm/llvm-project/commit/890079ef18e1868e5b962675eeb9faac2b28d94e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-01-01 (Fri, 01 Jan 2021)

  Changed paths:
    A llvm/test/Transforms/LoopLoadElim/uncomputable-backedge-taken-count.ll

  Log Message:
  -----------
  [LoopLoadElim] Add tests with uncomputable BTCs.


  Commit: 068a23f05f94ae5573c885e832b3e6e95d298ac0
      https://github.com/llvm/llvm-project/commit/068a23f05f94ae5573c885e832b3e6e95d298ac0
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-01-01 (Fri, 01 Jan 2021)

  Changed paths:
    A llvm/test/Transforms/LoopDistribute/uncomputable-backedge-taken-count.ll

  Log Message:
  -----------
  [LoopDistribute] Add tests with uncomputable BTCs.


Compare: https://github.com/llvm/llvm-project/compare/da1bd953faaf...068a23f05f94


More information about the All-commits mailing list