[X86] Allow LowerSELECT and LowerBRCOND to directly lower i8 UMULO/SMULO.
authorCraig Topper <craig.topper@intel.com>
Wed, 2 Jan 2019 05:46:03 +0000 (05:46 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 2 Jan 2019 05:46:03 +0000 (05:46 +0000)
commitd4db1224830f41d61a1f2e4185d4942560130b20
tree6061776187780b5690c35e7e3afef0efd50a386c
parent89697207871aea1078ce5a045171eff6a244c4bb
[X86] Allow LowerSELECT and LowerBRCOND to directly lower i8 UMULO/SMULO.

These require a different X86ISD node to be created than i16/i32/i64. I guess no one wanted to add the special code for that except in LowerXALUO. But now LowerXALUO, LowerSELECT, and LowerBRCOND all use a common helper function so they all share the special code.

Unfortunately, there are no test changes because we seem to correct the miss in a DAG combine later. I did verify it manually using test cases from xmulo.ll

llvm-svn: 350205
llvm/lib/Target/X86/X86ISelLowering.cpp