1. [SDAG] Fold umul_lohi with 0 or 1 multiplicand (details)
Commit aa71c977ba9828496270f53edd66665c8244f679 by nikita.ppv
[SDAG] Fold umul_lohi with 0 or 1 multiplicand
These can turn up during multiplication legalization. In principle these
should also apply to smul_lohi, but I wasn't able to figure out how to
produce those with the necessary operands.
Differential Revision:
llvm-svn: 369864
The file was modifiedllvm/test/CodeGen/X86/overflow.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mul-i1024.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/umulo-128-legalisation-lowering.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mul128.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/imul.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mul-i512.ll (diff)
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (diff)
The file was modifiedllvm/test/CodeGen/X86/i128-mul.ll (diff)
The file was modifiedllvm/test/CodeGen/X86/mul-i256.ll (diff)