[PATCH] D9400: llvm.noalias - Use noalias intrinsics when inlining (and update them when cloning metadata)

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 9 15:16:05 PDT 2016


majnemer added a subscriber: majnemer.

================
Comment at: lib/Transforms/Utils/InlineFunction.cpp:843-844
@@ +842,4 @@
+                          II->getOperand(1))->getMetadata())) {
+	  // If the metadata is not in the map, it could be a new intrinsic
+	  // that was just added.
+          auto MI = MDMap.find(M);
----------------
Formatting looks like it got weird.


http://reviews.llvm.org/D9400





More information about the llvm-commits mailing list