Check that the incoming blocks of phi nodes are identical, and block function merging if they are not.
rdar://problem/26255167
Differential D20462
Functions with differing phis should not be merged. rudkx on May 20 2016, 1:01 AM. Authored by
Details Check that the incoming blocks of phi nodes are identical, and block function merging if they are not. rdar://problem/26255167
Diff Detail Event Timeline
Comment Actions Update the test to ensure both functions exist rather that grepping the output of -stats. Comment Actions Hi Mark, Yeah, we used to be less strict about the use of FileCheck :). LGTM. Cheers, |
Instead of relying on the debug output I guess it would be possible to check that we still have both functions.
I.e., I would: