[X86] Rearrange code in X86InstrInfo.cpp to put all the foldMemoryOperandImpl methods...
authorCraig Topper <craig.topper@intel.com>
Mon, 30 Oct 2017 04:39:18 +0000 (04:39 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 30 Oct 2017 04:39:18 +0000 (04:39 +0000)
commit85bcc297c326e0e9e4e99829256df7d7a8850b94
treee5e378789e7de4932ac674f2af1c6bde3fc27eff
parentc8483553351f34c915eba510801545840e21f1b8
[X86] Rearrange code in X86InstrInfo.cpp to put all the foldMemoryOperandImpl methods together without partial/undef register handling in the middle. NFC

I have a future patch that wants to make use of the one of the partial functions in one of the earlier memory folding methods and the current ordering prevents that.

llvm-svn: 316883
llvm/lib/Target/X86/X86InstrInfo.cpp