[PATCH] D82826: [X86] support .nops directive

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 29 18:02:25 PDT 2020


craig.topper added a comment.

Would it be possible to emit a new Fragment type and leverage the existing NOP emission code in X86AsmBackend.cpp. The code here appears to be copied from X86MCInstLower. Which would mean we would now have 3 places that do almost the same thing.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82826/new/

https://reviews.llvm.org/D82826





More information about the llvm-commits mailing list