[llvm-commits] [PATCH] Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor (issue4749046)

Jeffrey Yasskin jyasskin at google.com
Mon Jul 18 09:57:39 PDT 2011


Here's the patch.

On Sat, Jul 16, 2011 at 10:51 PM,  <jyasskin at gmail.com> wrote:
> Reviewers: eli.friedman_gmail.com,
>
> Message:
> Initial diff at
> http://codereview.appspot.com/download/issue4749046_1.diff
>
> Description:
> Add APInt(numBits, ArrayRef<uint64_t> bigVal) constructor to prevent
> future ambiguity errors like the one corrected by r135261.  Migrate all
> LLVM callers of the old constructor to the new one.
>
>
> Please review this at http://codereview.appspot.com/4749046/
>
> Affected files:
>   M include/llvm/ADT/APInt.h
>   M lib/AsmParser/LLLexer.cpp
>   M lib/Bitcode/Reader/BitcodeReader.cpp
>   M lib/CodeGen/SelectionDAG/FastISel.cpp
>   M lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
>   M lib/CodeGen/SelectionDAG/SelectionDAG.cpp
>   M lib/ExecutionEngine/ExecutionEngine.cpp
>   M lib/Support/APFloat.cpp
>   M lib/Support/APInt.cpp
>   M lib/VMCore/ConstantFold.cpp
>   M lib/VMCore/Core.cpp
>   M unittests/ADT/APIntTest.cpp
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apint_array.diff
Type: application/octet-stream
Size: 15877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110718/84553b40/attachment.obj>


More information about the llvm-commits mailing list