[all-commits] [llvm/llvm-project] 87ddf1: [Attributor] Simple casts preserve no-alias property

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Sun Feb 9 23:12:25 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 87ddf1f4fad01bccb70f10a3ee5c5ad5b20e4de4
      https://github.com/llvm/llvm-project/commit/87ddf1f4fad01bccb70f10a3ee5c5ad5b20e4de4
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/noalias.ll

  Log Message:
  -----------
  [Attributor] Simple casts preserve no-alias property

This is a minimal but important advancement over the existing code. A
cast with an operand that is only used in the cast retains the no-alias
property of the operand.




More information about the All-commits mailing list