[all-commits] [llvm/llvm-project] 90095a: [DSE] Remove unnecessary check in getLocForWrite()...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Dec 24 01:50:40 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90095a0b65bdbb56165937d5b7c44e1bd2c251d6
      https://github.com/llvm/llvm-project/commit/90095a0b65bdbb56165937d5b7c44e1bd2c251d6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-24 (Fri, 24 Dec 2021)

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

  Log Message:
  -----------
  [DSE] Remove unnecessary check in getLocForWrite() (NFC)

MemoryLocation::getForDest() checks this itself, call it directly.




More information about the All-commits mailing list