Properly handle divides. As a bonus - implement memory versions of them.
authorAnton Korobeynikov <asl@math.spbu.ru>
Thu, 16 Jul 2009 14:14:33 +0000 (14:14 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Thu, 16 Jul 2009 14:14:33 +0000 (14:14 +0000)
commit0a42d2b4376526dbef25834b29a39fa684f9a902
treec9c5317374d4b023274b75988216493ed967de0c
parentd20af96f5b1c528af2dad59ac0c9cc4f2a968d2d
Properly handle divides. As a bonus - implement memory versions of them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76003 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
lib/Target/SystemZ/SystemZISelLowering.cpp
lib/Target/SystemZ/SystemZInstrInfo.td
lib/Target/SystemZ/SystemZRegisterInfo.td
test/CodeGen/SystemZ/08-DivRem.ll
test/CodeGen/SystemZ/08-DivRemMemOp.ll [new file with mode: 0644]