evandro planned changes to this revision. evandro added a comment. New information concerning PR36369 came up that requires me to work further on this fix. Will update this patch then. Repository: rL LLVM https://reviews.llvm.org/D43364