[all-commits] [llvm/llvm-project] cb5eb1: [Attributor] Add helper to change an instruction t...

Hideto Ueno via All-commits all-commits at lists.llvm.org
Thu Dec 26 09:44:56 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cb5eb13eafdcf2d6ad8dc3a2c7b25eea3948839d
      https://github.com/llvm/llvm-project/commit/cb5eb13eafdcf2d6ad8dc3a2c7b25eea3948839d
  Author: Hideto Ueno <uenoku.tokotoko at gmail.com>
  Date:   2019-12-27 (Fri, 27 Dec 2019)

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

  Log Message:
  -----------
  [Attributor] Add helper to change an instruction to `unreachable` inst

Summary: Calling `changeToUnreachable` in `manifest` from different places might cause really unpredictable problems. As other deleting functions are doing, we need to change these instructions after all `manifest`.

Reviewers: jdoerfert, sstefan1

Reviewed By: jdoerfert

Subscribers: hiraditya, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list