search for: getdagpattern

Displaying 2 results from an estimated 2 matches for "getdagpattern".

Did you mean: getdagpatterns
2009 Apr 15
2
[LLVMdev] Error w/ Tablegen + Intrinsics
...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; Or here: CodeGenDAGPatterns.h:524 const CodeGenIntrinsic &getIntrinsicInfo(unsigned IID) const { assert(IID-1 < Intrinsics.size() && "Bad intrinsic ID!"); return Intrinsics[IID-1]; } These are the only locations where I can...
2009 Apr 15
0
[LLVMdev] Error w/ Tablegen + Intrinsics
...t = 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; > Or here: > CodeGenDAGPatterns.h:524 > const CodeGenIntrinsic &getIntrinsicInfo(unsigned IID) const { > assert(IID-1 < Intrinsics.size() && "Bad intrinsic ID!"); > return Intrinsics[IID-1]; > } > > These are...