[all-commits] [llvm/llvm-project] 3b8ffe: [Attributor][FIX] Relax assertion in IRPosition::v...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Tue Feb 1 00:26:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b8ffe668db208016665c5af1da1ae4514f9921e
      https://github.com/llvm/llvm-project/commit/3b8ffe668db208016665c5af1da1ae4514f9921e
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-02-01 (Tue, 01 Feb 2022)

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

  Log Message:
  -----------
  [Attributor][FIX] Relax assertion in IRPosition::verify

A call base can be a floating value if we talk about the instruction and
not the return value. This distinction was not made before but is
important for liveness, e.g., a call site return value might be unused
(=dead) but the call site is not.




More information about the All-commits mailing list