ruiu added a comment. As I wrote in the comment to the other patch, I think I still prefer the current way than the way you are suggesting in this patch. The current approach seems silly but simple. https://reviews.llvm.org/D23872