[PATCH] D47339: [GVN,NewGVN] Keep nonnull if K does not move.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 19 16:03:08 PDT 2018


efriedma added inline comments.


================
Comment at: include/llvm/Transforms/Utils/Local.h:391
+void combineMetadata(Instruction *K, const Instruction *J,
+                     ArrayRef<unsigned> KnownIDs, bool DoesKMove = false);
 
----------------
I think the name DoesKMove is backwards, if you're defaulting it to "false".


https://reviews.llvm.org/D47339





More information about the llvm-commits mailing list