fhahn accepted this revision. fhahn added a comment. This revision is now accepted and ready to land. LGTM thanks! It would be great if you could also add a simple test case. Repository: rL LLVM https://reviews.llvm.org/D50094