Add PPC64 mulli pattern
authorHal Finkel <hfinkel@anl.gov>
Tue, 6 Aug 2013 17:03:03 +0000 (17:03 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 6 Aug 2013 17:03:03 +0000 (17:03 +0000)
commit0e910d2cb5feac287c2a3050c1945a3c4a3d2dd5
treeb95cfdb041b35430cb612d9e4d5986f9566f403a
parent62d6fa5e8f9a3ffd270a6b08230ff61cae849dcf
Add PPC64 mulli pattern

The PPC backend had been missing a pattern to generate mulli for 64-bit
multiples. We had been generating it only for 32-bit multiplies. Unfortunately,
generating li + mulld unnecessarily increases register pressure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187807 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstr64Bit.td
test/CodeGen/PowerPC/mulli64.ll [new file with mode: 0644]