Thanks for your interest, and hope you like it!<p>Yes, it is currently incomplete, but I&#x27;d say at least 80% of the optimizations are upstreamed already. Also, folks in the LLVM community are actively working on that. For example, Justin Lebar recently pushed <a href="http:&#x2F;&#x2F;reviews.llvm.org&#x2F;D18626" rel="nofollow">http:&#x2F;&#x2F;reviews.llvm.org&#x2F;D18626</a> that added the speculative execution pass to -O3.<p>Regarding performance, one thing worth noting is that missing one optimization does not necessarily cause significant slowdown on the benchmarks you care about. For example, the memory-space alias analysis only noticeably affects one benchmark in the Rodinia benchmark suite.<p>Regarding your second question, the short answer is no. The Clang&#x2F;LLVM version uses a different architecture (as mentioned in <a href="http:&#x2F;&#x2F;wujingyue.com&#x2F;docs&#x2F;gpucc-talk.pdf" rel="nofollow">http:&#x2F;&#x2F;wujingyue.com&#x2F;docs&#x2F;gpucc-talk.pdf</a>) from the internal version. The LLVM version offers better functionality and compilation time, and is much easier to maintain and improve in the future. It would cost even more effort to upstream the internal version than to make all optimizations work with the new architecture.