[all-commits] [llvm/llvm-project] 1ddb3a: [LangRef] Adjust guarantee for llvm.memcpy to also...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Sep 5 11:19:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ddb3a369f7ebdf738486cd60261c3143658c0e6
      https://github.com/llvm/llvm-project/commit/1ddb3a369f7ebdf738486cd60261c3143658c0e6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-09-05 (Sat, 05 Sep 2020)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/lib/Analysis/BasicAliasAnalysis.cpp
    M llvm/test/Analysis/BasicAA/assume.ll
    M llvm/test/Analysis/BasicAA/cs-cs.ll
    M llvm/test/Analysis/BasicAA/guards.ll
    M llvm/test/Analysis/MemorySSA/basicaa-memcpy.ll
    M llvm/test/Transforms/DeadStoreElimination/MSSA/memset-and-memcpy.ll
    M llvm/test/Transforms/DeadStoreElimination/MSSA/simple.ll

  Log Message:
  -----------
  [LangRef] Adjust guarantee for llvm.memcpy to also allow equal arguments.

This adjusts the description of `llvm.memcpy` to also allow operands
to be equal. This is in line with what Clang currently expects.

This change is intended to be temporary and followed by re-introduce
a variant with the non-overlapping guarantee for cases where we can
actually ensure that property in the front-end.

See the links below for more details:
http://lists.llvm.org/pipermail/cfe-dev/2020-August/066614.html
and PR11763.

Reviewed By: nikic

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




More information about the All-commits mailing list