- Use patterns instead of creating completely new instruction matching patterns,
authorBill Wendling <isanbard@gmail.com>
Fri, 12 Dec 2008 21:15:41 +0000 (21:15 +0000)
committerBill Wendling <isanbard@gmail.com>
Fri, 12 Dec 2008 21:15:41 +0000 (21:15 +0000)
commitd350e02e19e1b79c3fd6dc70ee3c01ab75c631c1
treee5c17479912ec8f1df32e32174f7d2df441a861b
parente062b076893f96a7485e07ed94a49d6c6644076a
- Use patterns instead of creating completely new instruction matching patterns,
  which are identical to the original patterns.

- Change the multiply with overflow so that we distinguish between signed and
  unsigned multiplication. Currently, unsigned multiplication with overflow
  isn't working!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60963 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86ISelLowering.h
lib/Target/X86/X86Instr64bit.td
lib/Target/X86/X86InstrInfo.td
test/CodeGen/X86/mul-with-overflow.ll [deleted file]
test/CodeGen/X86/smul-with-overflow.ll [new file with mode: 0644]
test/CodeGen/X86/umul-with-carry.ll [new file with mode: 0644]