[all-commits] [llvm/llvm-project] fd6ebe: [MemLoc] Support memcmp in MemoryLocation::getForA...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Aug 28 02:30:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: fd6ebea50db5257381d44258c1ff76a9b5da0f0b
      https://github.com/llvm/llvm-project/commit/fd6ebea50db5257381d44258c1ff76a9b5da0f0b
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-08-28 (Fri, 28 Aug 2020)

  Changed paths:
    M llvm/lib/Analysis/MemoryLocation.cpp
    M llvm/test/Analysis/BasicAA/libfuncs.ll
    M llvm/test/Transforms/DeadStoreElimination/MSSA/libcalls.ll

  Log Message:
  -----------
  [MemLoc] Support memcmp in MemoryLocation::getForArgument.

This patch adds support for memcmp in MemoryLocation::getForArgument.
memcmp reads from the first 2 arguments up to the number of bytes of the
third argument.

Reviewed By: efriedma

Differential Revision: https://reviews.llvm.org/D86725




More information about the All-commits mailing list