Re: [swift-dev] -whole-module-optimization with -Onone

2016-12-02 Thread Ben Asher via swift-dev
Filed the issues I ran into with repro cases here: https://bugs.swift.org/browse/SR-3319 https://bugs.swift.org/browse/SR-3321 SR-3321 covers the SIL verification failure. The assertion failure was in the same file as the one that repro'd the SIL verification failure, but I'm not seeing it anymor

Re: [swift-dev] Questions about ARC

2016-12-02 Thread Joe Groff via swift-dev
> On Dec 1, 2016, at 4:55 PM, Jiho Choi via swift-dev > wrote: > > Thanks for the explanation. > One last question is why non-atomic ARC operations still use atomic load and > store. Wouldn't regular memory operations be enough? According to the C++ memory model, all operations on an atomic