[Sparc] Implement UMUL_LOHI and SMUL_LOHI instead of MULHS/MULHU/MUL.
authorJames Y Knight <jyknight@google.com>
Wed, 5 Oct 2016 20:54:17 +0000 (20:54 +0000)
committerJames Y Knight <jyknight@google.com>
Wed, 5 Oct 2016 20:54:17 +0000 (20:54 +0000)
commitb0a473aaf84a5c0fca4a0292341de313bece37fc
tree640fcf6689e934ef7213976993000b8e77db7563
parent9c69bc9776110df35cb538d6709bf2f20a98b35c
[Sparc] Implement UMUL_LOHI and SMUL_LOHI instead of MULHS/MULHU/MUL.

This is what the instruction-set actually provides, and the default
expansions of the others into the lohi opcodes are good.

llvm-svn: 283381
llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
llvm/lib/Target/Sparc/SparcISelLowering.cpp
llvm/lib/Target/Sparc/SparcInstrInfo.td
llvm/test/CodeGen/SPARC/basictest.ll