OSDN Git Service

[X86FixupLEAs] Hoist the calls to isLEA out of the 3 separate functions and put it...
authorCraig Topper <craig.topper@intel.com>
Wed, 1 May 2019 06:53:03 +0000 (06:53 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 1 May 2019 06:53:03 +0000 (06:53 +0000)
commit570034ca114fa2284a2a5211f04f4955ea68c035
treec813eab51660d575a9a01c229b3b83a4f48ab9dd
parent6a1ce946d768d22bf1f24691e4bd9a158db9daad
[X86FixupLEAs] Hoist the calls to isLEA out of the 3 separate functions and put it in the basic block instruction loop. NFC

Now need to check it 3 different times. Just do it once at the top of the loop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359658 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FixupLEAs.cpp