On 10/22/15 09:17, Jakub Jelinek wrote:
On Thu, Oct 22, 2015 at 09:08:30AM -0400, Nathan Sidwell wrote:
I agree with Richard that it would be better to write more about what kind of IL changes are acceptable with IFN_UNIQUE in the IL and what are not. E.g. is inlining ok (I'd hope yes)? Is function splitting ok (bet as long as all IFN_UNIQUE calls stay in one or the other part, but not both)?
Essentially, yes. a set of IFN_UNIQUE form a group which must not be separated from each other. The set is discovered implicitly by following the CFG (though I suppose we could add an identifying INT_CST operand or something equivalent).
nathan