[all-commits] [llvm/llvm-project] 6aa672: [IR] Take operand bundles into account for call ar...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Nov 1 01:38:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6aa672f14197e84520671de4ce3fcc724bbfe8d9
      https://github.com/llvm/llvm-project/commit/6aa672f14197e84520671de4ce3fcc724bbfe8d9
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-11-01 (Tue, 01 Nov 2022)

  Changed paths:
    M llvm/lib/IR/Instructions.cpp
    M llvm/test/Analysis/BasicAA/deoptimize.ll
    M llvm/test/Transforms/FunctionAttrs/readattrs.ll
    M llvm/test/Transforms/FunctionAttrs/writeonly.ll

  Log Message:
  -----------
  [IR] Take operand bundles into account for call argument readonly/writeonly

We currently only take operand bundle effects into account when
querying the function-level memory attributes. However, I believe
that we also need to do the same for parameter attributes. For
example, a call with deopt bundle to a function with readnone
parameter attribute cannot treat that parameter as readnone,
because the deopt bundle may read it.

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




More information about the All-commits mailing list