[all-commits] [llvm/llvm-project] d3faef: [SROA] Avoid splitting loads/stores with irregular...

LemonBoy via All-commits all-commits at lists.llvm.org
Wed Jun 9 07:37:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3faef6eefe51a8f231898a4eda9130c8ba01bb5
      https://github.com/llvm/llvm-project/commit/d3faef6eefe51a8f231898a4eda9130c8ba01bb5
  Author: LemonBoy <thatlemon at gmail.com>
  Date:   2021-06-09 (Wed, 09 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp
    A llvm/test/Transforms/SROA/irregular-type.ll
    M llvm/test/Transforms/SROA/slice-width.ll

  Log Message:
  -----------
  [SROA] Avoid splitting loads/stores with irregular type

Upon encountering loads/stores on types whose size is not a multiple of 8 bits the SROA pass would either trip an assertion or use logic that was not meant to work with such irregularly-sized types.

Reviewed By: aeubanks

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




More information about the All-commits mailing list