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 6336892 commit 615359aCopy full SHA for 615359a
llvm/lib/YkIR/YkIRWriter.cpp
@@ -423,7 +423,7 @@ class YkIRWriter {
423
// OPERAND 0: What to call.
424
//
425
// In LLVM IR this is the final operand, which is a cause of confusion.
426
- serialiseOperand(I, VLMap, I->getOperand(NumOpers - 1));
+ serialiseOperand(I, VLMap, I->getCalledOperand());
427
428
// Now the rest of the operands.
429
for (unsigned OI = 0; OI < I->arg_size(); OI++) {
0 commit comments