[PATCH] D26489: [GVN, OptDiag] Include the value that is forwarded in load elimination
Hal Finkel via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 22 06:20:22 PST 2016
hfinkel accepted this revision.
hfinkel added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/IR/DiagnosticInfo.cpp:190
+ } else if (auto *I = dyn_cast<Instruction>(V))
+ Val = I->getOpcodeName();
}
----------------
In the future, we should try harder here to use debug info to get a real name.
https://reviews.llvm.org/D26489
More information about the llvm-commits
mailing list