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

LemonBoy via All-commits all-commits at lists.llvm.org
Wed Jun 9 02:48:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 905f4eb537c118783969fded19e96fe6504c2956
      https://github.com/llvm/llvm-project/commit/905f4eb537c118783969fded19e96fe6504c2956
  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

  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