[PATCH] D32277: Replace slow LEA instructions in X86
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 21 02:37:38 PDT 2017
RKSimon added inline comments.
================
Comment at: lib/Target/X86/X86FixupLEAs.cpp:633
+ if (MF.getSubtarget<X86Subtarget>().slowLEA())
+ processInstructionForSNBPlus(I, MFI);
+ else
----------------
Is it a good idea to directly associate a general (and very vague....) feature bit with a specific set of targets like this?
https://reviews.llvm.org/D32277
More information about the llvm-commits
mailing list