scanon added a comment. In https://reviews.llvm.org/D49524#1168723, @ab wrote: > I wouldn't be surprised if it failed on some target that can't even handle half parameters This is a good point. I'll fix this somehow before committing. https://reviews.llvm.org/D49524