[PATCH] D18897: [X86] Restrict max long nop length for Lakemont
Bruno Cardoso Lopes via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 8 09:32:37 PDT 2016
bruno accepted this revision.
bruno added a comment.
This revision is now accepted and ready to land.
LGTM, one comment below
================
Comment at: lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp:75
@@ -74,3 +74,3 @@
X86AsmBackend(const Target &T, StringRef CPU)
- : MCAsmBackend(), CPU(CPU), MaxNopLength(CPU == "slm" ? 7 : 15) {
+ : MCAsmBackend(), CPU(CPU), MaxNopLength((CPU == "slm" || CPU == "lakemont") ? 7 : 15) {
HasNopl = CPU != "generic" && CPU != "i386" && CPU != "i486" &&
----------------
clang-format this one.
http://reviews.llvm.org/D18897
More information about the llvm-commits
mailing list