FailedChanges

Summary

  1. Fix clone_constant_impl to correctly deal with null pointers (details)
Commit 31be9f3f7dee80c586d3beac9a65663d5628cf96 by aqjune
Fix clone_constant_impl to correctly deal with null pointers
Summary: This patch resolves llvm-c-test's following error
``` LLVM ERROR: LLVMGetValueKind returned incorrect type
```
which arises when the input bitcode contains a null pointer.
Reviewers: jdoerfert, CodaFi, deadalnix
Reviewed By: jdoerfert
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D68928
The file was modifiedllvm/test/Bindings/llvm-c/echo.ll
The file was modifiedllvm/tools/llvm-c-test/echo.cpp