[x86] Minor refactoring of X86TargetLowering::EmitInstrWithCustomInserter
authorNikolai Bozhenov <nikolai.bozhenov@intel.com>
Thu, 24 Nov 2016 13:15:49 +0000 (13:15 +0000)
committerNikolai Bozhenov <nikolai.bozhenov@intel.com>
Thu, 24 Nov 2016 13:15:49 +0000 (13:15 +0000)
commitbb64aa14a3d7e684381e3b9bb7cf832ebf3805e7
treeea41de61084e377b9eedc542fc450ba759cc5fc1
parenta2dabed3b6f343d26877e92219d87ad7050b7971
[x86] Minor refactoring of X86TargetLowering::EmitInstrWithCustomInserter

Move the definitions of three variables out of the switch.

Patch by Alexander Ivchenko <alexander.ivchenko@intel.com>

Differential Revision: https://reviews.llvm.org/D25192

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