[all-commits] [llvm/llvm-project] 38d58c: [GlobalOpt] Bail out of GlobalOpt SROA if a Scalab...

Cameron McInally via All-commits all-commits at lists.llvm.org
Wed Aug 24 13:22:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38d58c1b376d5781f0d293c9811dd3f2d9b3afcf
      https://github.com/llvm/llvm-project/commit/38d58c1b376d5781f0d293c9811dd3f2d9b3afcf
  Author: Cameron McInally <cmcinally at nvidia.com>
  Date:   2022-08-24 (Wed, 24 Aug 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    A llvm/test/Transforms/GlobalOpt/2022-08-23-ScalableVectorCrash.ll

  Log Message:
  -----------
  [GlobalOpt] Bail out of GlobalOpt SROA if a Scalable Vector is seen

The SROA algorithm won't work for Scalable Vectors, since we don't
know how many bytes are loaded/stored. Bail out if a Scalable
Vector is seen.

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




More information about the All-commits mailing list