OSDN Git Service

Rewrite the expander for umulo/smulo to remember to sign extend the input
authorEric Christopher <echristo@apple.com>
Wed, 20 Apr 2011 01:19:45 +0000 (01:19 +0000)
committerEric Christopher <echristo@apple.com>
Wed, 20 Apr 2011 01:19:45 +0000 (01:19 +0000)
commitabbbfbd6726c7af8b27479b4311fe6bb6c40b52b
treef4850c27a0e5e47e2fef7471bfc9a29fd80e1d72
parent0ccc0dde33ee78003367cb41a05156c16429dc71
Rewrite the expander for umulo/smulo to remember to sign extend the input
manually and pass all (now) 4 arguments to the mul libcall. Add a new
ExpandLibCall for just this (copied gratuitously from type legalization).

Fixes rdar://9292577

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129842 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
test/CodeGen/ARM/umulo-32.ll