[all-commits] [llvm/llvm-project] c3b80a: Fix StackSafetyAnalysis crash with scalable vector...

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Mon Jan 27 15:23:18 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c3b80adceef7258bf8b174f104859626a85d59dd
      https://github.com/llvm/llvm-project/commit/c3b80adceef7258bf8b174f104859626a85d59dd
  Author: Evgenii Stepanov <eugenis at google.com>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M llvm/lib/Analysis/StackSafetyAnalysis.cpp
    M llvm/test/Analysis/StackSafetyAnalysis/local.ll

  Log Message:
  -----------
  Fix StackSafetyAnalysis crash with scalable vector types.

Summary:
Treat scalable allocas as if they have storage size of 0, and
scalable-typed memory accesses as if their range is unlimited.

This is not a proper support of scalable vector types in the analysis -
we can do better, but not today.

Reviewers: vitalybuka

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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


  Commit: 34ab56904e303c6bbe77f4232341b73dd0f2443d
      https://github.com/llvm/llvm-project/commit/34ab56904e303c6bbe77f4232341b73dd0f2443d
  Author: Evgenii Stepanov <eugenis at google.com>
  Date:   2020-01-27 (Mon, 27 Jan 2020)

  Changed paths:
    M llvm/lib/Analysis/StackSafetyAnalysis.cpp
    M llvm/test/Analysis/StackSafetyAnalysis/local.ll

  Log Message:
  -----------
  Support zero size types in StackSafetyAnalysis.

Reviewers: vitalybuka

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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


Compare: https://github.com/llvm/llvm-project/compare/8e3f59b45ae1...34ab56904e30


More information about the All-commits mailing list