Modernize comment.
authorNick Lewycky <nicholas@mxc.ca>
Thu, 25 Feb 2010 06:39:10 +0000 (06:39 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 25 Feb 2010 06:39:10 +0000 (06:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97121 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/GlobalOpt.cpp

index d4aaf9e98829cd668f24371b6976b84a76b2ab67..5e140cfd75dc5201915ee46d4d6693125d167de4 100644 (file)
@@ -642,7 +642,7 @@ static bool AllUsesOfValueWillTrapIfNull(Value *V,
         return false;
     } else if (isa<ICmpInst>(*UI) &&
                isa<ConstantPointerNull>(UI->getOperand(1))) {
-      // Ignore setcc X, null
+      // Ignore icmp X, null
     } else {
       //cerr << "NONTRAPPING USE: " << **UI;
       return false;