Use a simpler constructor when constructing ConstantInt. Also, replace
authorReid Spencer <rspencer@reidspencer.com>
Thu, 1 Mar 2007 19:32:01 +0000 (19:32 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 1 Mar 2007 19:32:01 +0000 (19:32 +0000)
commitaf1aacd91a3194dc3894cc84ea0982f364ebb762
treeb5cb23c0f1f869d82df622997b65b90d047d4c39
parentef2185b4d2784d25c0fc6849b298a61e90541096
Use a simpler constructor when constructing ConstantInt. Also, replace
verbose code to sext/trunc or zext/trunc and APInt with new methods on
that class.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34794 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AsmParser/llvmAsmParser.y