OSDN Git Service

[SimplifyCFG] Pass AggressiveInsts to DominatesMergePoint by reference. Remove null...
authorCraig Topper <craig.topper@intel.com>
Thu, 4 Oct 2018 23:40:31 +0000 (23:40 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 4 Oct 2018 23:40:31 +0000 (23:40 +0000)
commitc801f2612660953e689406ed46cb831ce7ffd9b2
tree319fd827e60af6722fd05f512f4e1ae9f8db82a6
parent9c4d2a20d7eda576c366e2bd5c20eccd287bf065
[SimplifyCFG] Pass AggressiveInsts to DominatesMergePoint by reference. Remove null check.

Summary:
At some point in the past the recursion in DominatesMergePoint used to pass null for AggressiveInsts as part of the recursion. It no longer does this. So there is no way for AggressiveInsts to be null.

This passes it by reference and removes the null check to make this explicit.

Reviewers: efriedma, reames

Reviewed By: efriedma

Subscribers: xbolva00, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343828 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp