OSDN Git Service

[LLVM-C] Allow Specifying Signedness in Int Cast
authorRobert Widmann <devteam.codafi@gmail.com>
Tue, 8 Jan 2019 06:23:22 +0000 (06:23 +0000)
committerRobert Widmann <devteam.codafi@gmail.com>
Tue, 8 Jan 2019 06:23:22 +0000 (06:23 +0000)
commit655bef92b0cd0d693e2fff0a17a7b1c78b3b95d3
treea8fc662abac4953993c2e2a70911d828ddfe3dbb
parent15c70a3ec3081a4d6a1a35f65be7b6b654a609e1
[LLVM-C] Allow Specifying Signedness in Int Cast

Summary: Fix an old outstanding problem with the int cast builder binding always assuming the cast is signed by introducing a new LLVMBuildIntCast2 operation and deprecating the old prototype.

Reviewers: whitequark, deadalnix

Reviewed By: whitequark

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D56280

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350607 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Core.h
lib/IR/Core.cpp