Add support for MULHS and MULHU nodes
authorNate Begeman <natebegeman@mac.com>
Wed, 6 Apr 2005 00:25:27 +0000 (00:25 +0000)
committerNate Begeman <natebegeman@mac.com>
Wed, 6 Apr 2005 00:25:27 +0000 (00:25 +0000)
commit815d6dac1ecc6ad661cebb308f9c06583fcd3cf0
tree16a1d8f9c6cf3d3983f6292b833f5689a2f663a8
parentc105e19864f2792c52bc6bb765d365308f38f461
Add support for MULHS and MULHU nodes
Have LegalizeDAG handle SREM and UREM for us
Codegen SDIV and UDIV by constant as a multiply by magic constant instead
of integer divide, which is very slow.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21104 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPC64ISelPattern.cpp
lib/Target/PowerPC/PPCISelPattern.cpp
lib/Target/PowerPC/PPCInstrInfo.td