[all-commits] [llvm/llvm-project] 203f29: [MemoryLocation] Use getForArgument in getForSourc...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Dec 5 03:13:34 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 203f29b40ca3a248307ab75af04577f10173591f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-12-05 (Sun, 05 Dec 2021)

  Changed paths:
    M llvm/lib/Analysis/MemoryLocation.cpp

  Log Message:
  [MemoryLocation] Use getForArgument in getForSource/getForDest. (NFC)

getForArgument already knows how to extract a memory location for all
memory intrinsics. Use it instead of duplicating the logic.

More information about the All-commits mailing list