We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9d9420 commit 781d7aeCopy full SHA for 781d7ae
llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
@@ -255,6 +255,9 @@ void WebAssemblyDAGToDAGISel::Select(SDNode *Node) {
255
SmallVector<MVT, 4> Returns;
256
257
bool IsParam = false;
258
+ // Operand 0 is the return register, Operand 1 is the function pointer.
259
+ // The remaining operands encode the type of the function we are testing
260
+ // for.
261
for (unsigned I = 2, E = Node->getNumOperands(); I < E; ++I) {
262
MVT VT = Node->getOperand(I).getValueType().getSimpleVT();
263
if (VT == MVT::Untyped) {
0 commit comments