[PATCH] D18729: [llvm-c] Improve IR Introspection: Add ValueKind

Nicole Mazzuca via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 4 11:30:34 PDT 2016


ubsan added inline comments.

================
Comment at: include/llvm-c/Core.h:252
@@ +251,3 @@
+#define HANDLE_VALUE(Name) LLVM##Name##ValueKind,
+#include "llvm/IR/Value.def"
+} LLVMValueKind;
----------------
deadalnix wrote:
> Are these value stable ?
No... hmm, you're right. We could still do this, but we would not be able to use Value.def, because we have to make LLVMInstructionValueKind the last.


http://reviews.llvm.org/D18729





More information about the llvm-commits mailing list