[PATCH] D41126: [SelectionDAG] Fixed f16-from-vector promotion problem

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 13 10:38:10 PST 2017


arsenm added a comment.

In https://reviews.llvm.org/D41126#953997, @tpr wrote:

> > Are you running with asserts disabled? I see:
> >  ScalarizeVectorOperand Op #0: t34: f32 = fp16_to_fp t25
> > 
> > LLVM ERROR: Do not know how to scalarize this operator's operand!
> > 
> > and sure enough ScalarizeVectorOperand doesn't handle this.
>
> Yes; that's the bug I'm fixing. :-)


But your patch is hacking around it in PromoteFloatRes_BITCAST rather than handling the missing scalarization it's complaining about there


https://reviews.llvm.org/D41126





More information about the llvm-commits mailing list