[X86] Remove GetLo8XForm and use GetLo32XForm instead. NFCI
authorCraig Topper <craig.topper@intel.com>
Mon, 25 Mar 2019 06:53:44 +0000 (06:53 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 25 Mar 2019 06:53:44 +0000 (06:53 +0000)
commit3810e35d3fa7b9b9d18d7171d3dc9fcc5c151ac9
tree8cfb04ad96a965c99123a195bb51d42573222b8f
parent5b434468313bc070b30cd98624bf00ca0e809b22
[X86] Remove GetLo8XForm and use GetLo32XForm instead. NFCI

We were using this to create an AND32ri8 node from a 64-bit and, but that node
normally still uses a 32-bit immediate. So we should just truncate the existing
immediate to i32. We already verified it has the same value in bits 31:7.

llvm-svn: 356868
llvm/lib/Target/X86/X86InstrCompiler.td