[all-commits] [llvm/llvm-project] ffdace: [SROA] Add new test cases to cover existing SROA b...

minglotus-6 via All-commits all-commits at lists.llvm.org
Fri Nov 19 10:18:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ffdace4892bd1f43121d365c22eb9c3fe79aeb6c
      https://github.com/llvm/llvm-project/commit/ffdace4892bd1f43121d365c22eb9c3fe79aeb6c
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    A llvm/test/Transforms/SROA/alloca-struct.ll

  Log Message:
  -----------
  [SROA] Add new test cases to cover existing SROA behavior that structs will be scalarized.

Add an IR in unit test directory, which demonstrate the scalarization for struct allocations.
This is added to pave the way for an SROA change to skip scalarization for some cases.

Reviewed By: davidxl

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




More information about the All-commits mailing list