[PATCH] D21121: IR: Introduce llvm.type.checked.load intrinsic.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 14:27:28 PDT 2016


eugenis accepted this revision.
eugenis added a comment.
This revision is now accepted and ready to land.

I understand these checked.load calls will be generated in the non-diagnostic mode only?


================
Comment at: lib/Analysis/TypeMetadataUtils.cpp:24
@@ -22,2 +23,3 @@
 static void
 findCallsAtConstantOffset(SmallVectorImpl<DevirtCallSite> &DevirtCalls,
+                          bool *HasNonCallUses, Value *FPtr, uint64_t Offset) {
----------------
Thsi function is called findCallsAtConstantOffset but it does not look at Offset at all. Rename to findCalls or something like that?



http://reviews.llvm.org/D21121





More information about the llvm-commits mailing list