I have created a patch that you can apply to a throw-away branch to track down and fix these invalid multiclass template argument values. https://reviews.llvm.org/D95874 Let me know if I can be of any assistance.