HomePhabricator

Fix mergefunc infinite loop

Description

Fix mergefunc infinite loop

Self-referential constants containing references to a merged function
no longer cause the MergeFunctions pass to infinite loop. Also adds a
reproduction IR which would otherwise fail, which was isolated from a similar
issue in Chromium.

Author: jrkoenig
Reviewers: nlewycky, jfb
Subscribers: llvm-commits, nlewycky, jfb

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

Details

Committed
jfbJul 15 2015, 2:51 PM
Differential Revision
D11208: Fix mergefunc infinite loop
Parents
rL242336: Merging r242301:
Branches
Unknown
Tags
Unknown