[all-commits] [llvm/llvm-project] 75d999: Fix broken invariant

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Mon Feb 3 02:01:18 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 75d9994a51282728e7dd2acba33f50f1cfdf7294
      https://github.com/llvm/llvm-project/commit/75d9994a51282728e7dd2acba33f50f1cfdf7294
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2020-02-03 (Mon, 03 Feb 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/AArch64/memcpy-f128.ll

  Log Message:
  -----------
  Fix broken invariant

Summary:
A Copy with a source that is zeros is the same as a Set of zeros.
This fixes the invariant that SrcAlign should always be non-null.

Reviewers: courbet

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list