[PATCH] D17245: Add support for memory operations (load/store/gep) in C API echo test

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 14:13:40 PST 2016


joker.eph added inline comments.

================
Comment at: include/llvm-c/Core.h:2568
@@ +2567,3 @@
+LLVMBool LLVMIsInBounds(LLVMValueRef GEP);
+void LLVMSetIsInBounds(LLVMValueRef GEP, LLVMBool b);
+
----------------
Doxygen.

================
Comment at: tools/llvm-c-test/echo.cpp:243
@@ +242,3 @@
+  if (LLVMIsAConstantAggregateZero(Cst))
+    return LLVMConstNull(TypeCloner(M).Clone(Cst));
+
----------------
Is it related to the C API addition/modification done in this patch?


http://reviews.llvm.org/D17245





More information about the llvm-commits mailing list