[PATCH] D41721: [X86] Move HasNOPL to a subtarget feature bit. Plumb MCSubtargetInfo through the MCAsmBackend constructor

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 17:44:59 PST 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.

After https://reviews.llvm.org/D41349, we can no get a MCSubtargetInfo into the MCAsmBackend constructor. This allows us to get NOPL from a subtarget feature rather than a CPU name blacklist.


https://reviews.llvm.org/D41721

Files:
  lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
  lib/Target/X86/X86.td
  lib/Target/X86/X86Subtarget.cpp
  lib/Target/X86/X86Subtarget.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41721.128589.patch
Type: text/x-patch
Size: 15544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180104/69327f2a/attachment-0001.bin>


More information about the llvm-commits mailing list