HomePhabricator

Functions with differing phis should not be merged.

Authored by rudkx on May 20 2016, 11:39 AM.

Description

Functions with differing phis should not be merged.

Check that the incoming blocks of phi nodes are identical, and block
function merging if they are not.

rdar://problem/26255167

Differential Revision: http://reviews.llvm.org/D20462

llvm-svn: 270250

Details

Committed
rudkxMay 20 2016, 11:39 AM
Differential Revision
D20462: Functions with differing phis should not be merged.
Parents
rG79fe1bea6bde: [RegBankSelect] Look for the best mapping in greedy mode.
Branches
Unknown
Tags
Unknown