[PATCH] D100470: [LICM][NFC] Fix typo

Marcythm via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 14 05:05:03 PDT 2021


Marcythm added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LICM.cpp:561
 
-      // If the instruction is dead, we would try to sink it because it isn't
+      // If the instruction is dead, we wouldn't try to sink it because it isn't
       // used in the loop, instead, just delete it.
----------------
I'm not sure if this is right, but I think it should be closer to what the author wants to express.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100470/new/

https://reviews.llvm.org/D100470



More information about the llvm-commits mailing list