[all-commits] [llvm/llvm-project] ddf7cc: [SROA] Remove unnecessary IsStorePastEnd handling ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Sep 19 07:53:43 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddf7cc27f7230164ce888d814ebecd0f266f60c5
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-09-19 (Tue, 19 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SROA.cpp

  Log Message:
  [SROA] Remove unnecessary IsStorePastEnd handling (NFCI)

Unlike the load case, stores past the end of the alloca are
removed by SROA as undefined behavior. As such, there is no need
to handle this case when rewriting stores.

More information about the All-commits mailing list