Displaying 2 results from an estimated 2 matches for "emit_28".
2009 Apr 15
2
[LLVMdev] Error w/ Tablegen + Intrinsics
...nd(2);
SDValue N3 = N.getOperand(3);
SDValue N4 = N.getOperand(4);
if (N2.getNode()->getValueType(0) == MVT::f32 &&
N3.getNode()->getValueType(0) == MVT::f32 &&
N4.getNode()->getValueType(0) == MVT::f32) {
SDNode *Result = Emit_28(N, AMDIL::MACRO_FMA_f32, MVT::f32);
return Result;
}
}
However, when MACRO_FMA is called, Tmp0->getZExtValue() returns 102!
The section of code where this is probably wrong is:
CodeGenDAGPatterns.cpp:1238 unsigned IID =
getDAGPatterns().getIntrinsicID(Operator)+1;...
2009 Apr 15
0
[LLVMdev] Error w/ Tablegen + Intrinsics
...e N3 = N.getOperand(3);
> SDValue N4 = N.getOperand(4);
> if (N2.getNode()->getValueType(0) == MVT::f32 &&
> N3.getNode()->getValueType(0) == MVT::f32 &&
> N4.getNode()->getValueType(0) == MVT::f32) {
> SDNode *Result = Emit_28(N, AMDIL::MACRO_FMA_f32, MVT::f32);
> return Result;
> }
> }
>
> However, when MACRO_FMA is called, Tmp0->getZExtValue() returns 102!
>
> The section of code where this is probably wrong is:
> CodeGenDAGPatterns.cpp:1238 unsigned IID =
> getDAGPatte...