[all-commits] [llvm/llvm-project] 2baf00: [Attributor] `byval` arguments are always `noalias`

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Thu Jan 23 16:14:54 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2baf000ecc06209c70e46e19cf947a8f77cf0cad
      https://github.com/llvm/llvm-project/commit/2baf000ecc06209c70e46e19cf947a8f77cf0cad
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2020-01-23 (Thu, 23 Jan 2020)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp
    M llvm/test/Transforms/Attributor/ArgumentPromotion/attrs.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/byval-2.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/fp80.ll
    M llvm/test/Transforms/Attributor/ArgumentPromotion/tail.ll
    M llvm/test/Transforms/Attributor/IPConstantProp/2009-09-24-byval-ptr.ll
    M llvm/test/Transforms/Attributor/readattrs.ll
    M llvm/test/Transforms/Attributor/value-simplify.ll

  Log Message:
  -----------
  [Attributor] `byval` arguments are always `noalias`

`byval` introduces a local copy of the argument. That copy cannot alias
anything.




More information about the All-commits mailing list