[all-commits] [llvm/llvm-project] 31c0e5: A readonly operand bundle should not prevent infer...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Jan 18 12:56:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31c0e52420bb089291758a11e65e1672244c2e9f
      https://github.com/llvm/llvm-project/commit/31c0e52420bb089291758a11e65e1672244c2e9f
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M llvm/include/llvm/IR/InstrTypes.h
    M llvm/test/Transforms/InstCombine/trivial-dse-calls.ll

  Log Message:
  -----------
  A readonly operand bundle should not prevent inference of readonly from a readnone callee

A readonly operand bundle disallows inference of readnone from the callee, but it should not prevent us from using the readnone fact on the callee to infer readonly for the callsite.

Fixes pr53270.

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




More information about the All-commits mailing list