]> granicus.if.org Git - llvm/commit
[X86] Allow FixupLEAs to form INC/DEC under OptSize not just MinSize
authorCraig Topper <craig.topper@intel.com>
Tue, 2 Apr 2019 17:13:03 +0000 (17:13 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 2 Apr 2019 17:13:03 +0000 (17:13 +0000)
commitcb181675d0e674f57f9cc6f173f2dbfea4ae731f
treeda743a092d3b41f323a20105affa0d30e540fa60
parentd5258b698543a4be4accefa5356fe7c2168b8346
[X86] Allow FixupLEAs to form INC/DEC under OptSize not just MinSize

This matches our usual INC/DEC heuristic used during isel.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357497 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FixupLEAs.cpp
test/CodeGen/X86/fixup-lea.ll