search for: selectconstantfpsdnodeimmzero

Displaying 1 result from an estimated 1 matches for "selectconstantfpsdnodeimmzero".

2018 Jun 07
2
Matching ConstantFPSDNode tablegen
...ask), (as_i1imm ?:$unorm), (as_i1imm ?:$cachepolicy), (as_i1imm ?:$cachepolicy), 0, 0, 0, { 0 })>; which would be ideal. This seems to be because OPC_CheckInteger only checks for ConstantSDNode and not ConstantFPSDNode. So it was suggested to use ComplexPattern, so given: bool XXXDAGToDAGISel::SelectConstantFPSDNodeImmZero(SDValue In, SDValue &Src) const { if (ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(In)) return C->isZero(); return false; } def ConstantFPSDNodeImmZero : ComplexPattern<f32, 0, "SelectConstantFPSDNodeImmZero">; def : XXXPat<(v4f32 (int_foo i32:$dmask, f...