[X86] Move stack folding test for MULX to a MIR test. Add a MULX32 case as well
authorCraig Topper <craig.topper@intel.com>
Wed, 12 Dec 2018 20:50:24 +0000 (20:50 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 12 Dec 2018 20:50:24 +0000 (20:50 +0000)
commitcd7d7ac0fd8786b3e79d39433b3b0d7cec59bd3d
treed607c9162a210816eaa8bb021abf47b6de879dcc
parent729309cc8956da3b105da0f5c42197c0f5792ef0
[X86] Move stack folding test for MULX to a MIR test. Add a MULX32 case as well

A future patch may stop using MULX by default so use MIR to ensure we're always testing MULX.

Add the 32-bit case that we couldn't do in the 64-bit mode IR test due to it being promoted to a 64-bit mul.

llvm-svn: 348972
llvm/test/CodeGen/X86/stack-folding-bmi2.ll
llvm/test/CodeGen/X86/stack-folding-bmi2.mir [new file with mode: 0644]