[PATCH] D12026: Decorating vptr load & stores with !invariant.group
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 15 14:07:45 PDT 2015
rsmith accepted this revision.
This revision is now accepted and ready to land.
================
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(), {});
}
----------------
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.
http://reviews.llvm.org/D12026
More information about the cfe-commits
mailing list