[PATCH] D26628: Integer legalization: fix MUL expansion

Paweł Bylica via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 12:20:44 PST 2016


chfast created this revision.
chfast added a reviewer: hfinkel.
chfast added a subscriber: llvm-commits.

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.


https://reviews.llvm.org/D26628

Files:
  lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
  test/CodeGen/X86/mul-i1024.ll
  test/CodeGen/X86/mul-i256.ll
  test/CodeGen/X86/mul-i512.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26628.77860.patch
Type: text/x-patch
Size: 468351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161114/a8b75e95/attachment-0001.bin>


More information about the llvm-commits mailing list