]> granicus.if.org Git - llvm/commit
Merging r286998:
authorPawel Bylica <chfast@gmail.com>
Mon, 28 Nov 2016 22:45:01 +0000 (22:45 +0000)
committerPawel Bylica <chfast@gmail.com>
Mon, 28 Nov 2016 22:45:01 +0000 (22:45 +0000)
commitfadb1c1c61e0fefaf578508ddebf6bf3f10b25a7
tree63e1f8c09b877bbf73f15002ea8dcffdc64dfe5f
parent9b2f9c4eed6a3e86557902ced7d70ae27e617149
Merging r286998:
------------------------------------------------------------------------
r286998 | chfast | 2016-11-15 19:29:24 +0100 (wto, 15 lis 2016) | 12 lines

Integer legalization: fix MUL expansion

Summary:
This fixes the runtime results produces by the fallback multiplication expansion introduced in r270720.

For tests I created a fuzz tester that compares the results with Boost.Multiprecision.

Reviewers: hfinkel

Subscribers: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_39@288086 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
test/CodeGen/X86/mul-i1024.ll
test/CodeGen/X86/mul-i256.ll
test/CodeGen/X86/mul-i512.ll