[PATCH] D32277: Replace slow LEA instructions in X86
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 20 12:10:52 PDT 2017
efriedma added inline comments.
================
Comment at: lib/Target/X86/X86FixupLEAs.cpp:296
+static inline bool isInefficientLEAReg(unsigned int Reg) {
+ return Reg == X86::EBP || Reg == X86::RBP || Reg == X86::R13;
+}
----------------
Do you need to check for R13D?
https://reviews.llvm.org/D32277
More information about the llvm-commits
mailing list