[all-commits] [llvm/llvm-project] f12955: [DSE] Move removePartiallyOverlappedStores() into ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Nov 18 12:19:36 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1295563f13ecceeb1aa25d6a5be8ea084c436c4
      https://github.com/llvm/llvm-project/commit/f1295563f13ecceeb1aa25d6a5be8ea084c436c4
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-11-18 (Thu, 18 Nov 2021)

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

  Log Message:
  -----------
  [DSE] Move removePartiallyOverlappedStores() into DSEState (NFC)

So it can use getLocForWriteEx().


  Commit: 46c26991ae63fd47ed11f8420cf6382989baf6bb
      https://github.com/llvm/llvm-project/commit/46c26991ae63fd47ed11f8420cf6382989baf6bb
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-11-18 (Thu, 18 Nov 2021)

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

  Log Message:
  -----------
  [DSE] Remove getLocForWrite() (NFCI)

This implements nearly the same logic as getLocForWriteEx(), and
is only used in one place. In that context, we should also know
that getLocForWriteEx() returns a non-None result. As such,
consolidate everything to use one function.


Compare: https://github.com/llvm/llvm-project/compare/0a8a5902a694...46c26991ae63


More information about the All-commits mailing list