[PATCH] D12026: Decorating vptr load & stores with !invariant.group

Piotr Padlewski via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 15 14:13:40 PDT 2015


Prazek marked an inline comment as done.

================
Comment at: lib/CodeGen/CodeGenModule.cpp:3859
@@ -3848,4 +3858,3 @@
   } else {
-    InternalId = llvm::MDNode::getDistinct(getLLVMContext(),
-                                           llvm::ArrayRef<llvm::Metadata *>());
+    InternalId = llvm::MDNode::getDistinct(getLLVMContext(), {});
   }
----------------
rsmith wrote:
> I think this may break the MSVC build, and it looks unrelated to the other changes. Revert this bit, or use `llvm::None`. In the latter case, commit this separately.
ok


http://reviews.llvm.org/D12026





More information about the cfe-commits mailing list