SuccessChanges

Summary

  1. [InstSimplify] Report "Changed" also when only deleting dead (details)
Commit d218a3326e7152469f0c6837f682645ffff0fcbc by bjorn.a.pettersson
[InstSimplify] Report "Changed" also when only deleting dead
instructions
Summary: Make sure that we report that changes has been made by
InstSimplify also in situations when only trivially dead instructions
has been removed. If for example a call is removed the call graph must
be updated.
Bug seem to have been introduced by llvm-svn r367173
(commit 02b9e45a7e4b81), since the code in question was rewritten in
that commit.
Reviewers: spatel, chandlerc, foad
Reviewed By: spatel
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65973
llvm-svn: 368401
The file was addedllvm/test/Transforms/InstSimplify/remove-dead-call.ll
The file was modifiedllvm/lib/Transforms/Scalar/InstSimplifyPass.cpp