[all-commits] [llvm/llvm-project] 31be9f: Fix clone_constant_impl to correctly deal with nul...
Juneyoung Lee via All-commits
all-commits at lists.llvm.org
Mon Nov 4 20:53:58 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 31be9f3f7dee80c586d3beac9a65663d5628cf96
https://github.com/llvm/llvm-project/commit/31be9f3f7dee80c586d3beac9a65663d5628cf96
Author: aqjune <aqjune at gmail.com>
Date: 2019-11-05 (Tue, 05 Nov 2019)
Changed paths:
M llvm/test/Bindings/llvm-c/echo.ll
M llvm/tools/llvm-c-test/echo.cpp
Log Message:
-----------
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
More information about the All-commits
mailing list