[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)
commitdd66acef96a4fe37d312916586baf39a0c8fc9b2
tree6171bdc48ba02c9bbc5c6e3582cdad67cb3a945f
parent26676c82e88c07f419cffda99c87d44953b41447
[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.

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