[SCCP] Clarify a comment about unhandled instructions.

llvm-svn: 305579
This commit is contained in:
Davide Italiano 2017-06-16 20:27:17 +00:00
parent a2493b6ad9
commit 0b1190aa8d
1 changed files with 3 additions and 2 deletions

View File

@ -536,9 +536,10 @@ private:
void visitUnreachableInst(TerminatorInst &I) { /*returns void*/ }
void visitFenceInst (FenceInst &I) { /*returns void*/ }
void visitInstruction(Instruction &I) {
// If a new instruction is added to LLVM that we don't handle.
// All the instructions we don't do any special handling for just
// go to overdefined.
DEBUG(dbgs() << "SCCP: Don't know how to handle: " << I << '\n');
markOverdefined(&I); // Just in case
markOverdefined(&I);
}
};