samparker accepted this revision. samparker added a comment. This revision is now accepted and ready to land. This LGTM. I don't think there's a problem with solving this niche in the backend. Repository: rL LLVM https://reviews.llvm.org/D49585