[X86] Add R13D to the isInefficientLEAReg in FixupLEAs.
authorCraig Topper <craig.topper@intel.com>
Fri, 3 Aug 2018 03:45:19 +0000 (03:45 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 3 Aug 2018 03:45:19 +0000 (03:45 +0000)
commitb2cc9a1d44ea5d606bad4ca597a61606b0c53d35
tree02fa466352a960867d78a292f76b92371387fb8c
parent4b06ffe3e4bd92d3feed902675dc2c1f952323f2
[X86] Add R13D to the isInefficientLEAReg in FixupLEAs.

I'm assuming the R13 restriction extends to R13D. Guessing this restriction is related to the funny encoding of this register as base always requiring a displacement to be encoded.

llvm-svn: 338806
llvm/lib/Target/X86/X86FixupLEAs.cpp