This re-enables commit 107d19eb01 with bug fixes. Differential Revision: https://reviews.llvm.org/D99354
107d19eb01