Implement a convenience method to construct a ConstantInt directly from an
authorReid Spencer <rspencer@reidspencer.com>
Wed, 28 Feb 2007 19:50:21 +0000 (19:50 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Wed, 28 Feb 2007 19:50:21 +0000 (19:50 +0000)
commitf57fc81faebf3eb81fb30fe17c4295d46060e03f
tree26506571b863ad9dbf43377ac1d6ec234704c169
parentdc5c1597014fa5c47c94db2b9fd424d2266053db
Implement a convenience method to construct a ConstantInt directly from an
APInt. The implied type is the integer type that corresponds to the bit
width of the APInt.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34757 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Constants.h
lib/VMCore/Constants.cpp