Skip to content

Commit b43b22d

Browse files
committed
[NFC] Remove dead call to getFirstNonPHI in MergeBB
1 parent 5652b58 commit b43b22d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/MergeBB.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ bool MergeBB::mergeDuplicatedBlock(BasicBlock *BB1,
164164
const PHINode *PN = dyn_cast<PHINode>(II);
165165
Value *InValBB1 = nullptr;
166166
Instruction *InInstBB1 = nullptr;
167-
BBSucc->getFirstNonPHI();
167+
168168
if (nullptr != PN) {
169169
// Do not optimize if multiple PHI instructions exist in the successor (to
170170
// keep things relatively simple)

0 commit comments

Comments
 (0)