[PATCH] D26895: [X86][LMT] Restrict nop length to one
Zvi Rackover via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 27 07:20:33 PST 2016
zvi added inline comments.
================
Comment at: lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp:80
+ MaxNopLength((CPU == "slm") ? 7 : 15) {
HasNopl = CPU != "generic" && CPU != "i386" && CPU != "i486" &&
CPU != "i586" && CPU != "pentium" && CPU != "pentium-mmx" &&
----------------
Not related to this patch, but as a follow-up work, consider replacing this big condition with string compares with a new subtarget feature (in X86.td).
Repository:
rL LLVM
https://reviews.llvm.org/D26895
More information about the llvm-commits
mailing list