[InlineCost] Fix a couple comments. NFC
authorCraig Topper <craig.topper@intel.com>
Tue, 28 May 2019 07:25:27 +0000 (07:25 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 28 May 2019 07:25:27 +0000 (07:25 +0000)
commitab53c5e5ab42c9456bc7eb48532f41aebb2f4a40
tree82e85d6eaccfa450c185c4ea89645dc85af75b56
parent102b4b2486cad450fcfa317156a772586278bd2c
[InlineCost] Fix a couple comments. NFC

Replace "unary operator" with "unary instruction" in visitUnaryInstruction since
we now have a UnaryOperator class which might needs its own visit function.

Fix a copy/paste in visitCastInst that appears to have been copied from
visitPtrToInt.

llvm-svn: 361794
llvm/lib/Analysis/InlineCost.cpp