]> granicus.if.org Git - llvm/commit
[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)
commit52df471d08be47a70f4c7fa48059ef98f562038b
tree9f2e3f66408ec98b3d6f26582337a86e6fe6ba03
parent78b7d4a492023c21a3c602598785b4048c74997a
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356868 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrCompiler.td