commit | 1cda61de1b1975ecba1ff69f54d8e777f1905bfd | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Mon Aug 27 06:35:02 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Mon Aug 27 06:35:02 2018 +0000 |
tree | c135d6be7038f77e884a594e27d548661111ce7c | |
parent | 4d181be37947f5e3f179507e934e0e90a33b7e89 [diff] |
[X86] Cleanup the LowerMULH code by hoisting some commonalities between the vXi32 and vXi8 handling. NFCI vXi32 support was recently moved from LowerMUL_LOHI to LowerMULH. This commit shares the getOperand calls, switches both to use common IsSigned flag, and hoists the NumElems/NumElts variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340720 91177308-0d34-0410-b5e6-96231b3b80d8