See the corresponding upstream llvm issue: https://bugs.llvm.org/show_bug.cgi?id=42656