LukeCheeseman added a comment. I would specifically like some feedback on the duplicated code. I couldn't find a way of adding vendor specific extensions and this seems like it may be a large change for a small result. Repository: rL LLVM https://reviews.llvm.org/D50136