[PATCH] D130956: [X86][MC] Always emit `rep` prefix for `bsf`

Kan Shengchen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 1 19:13:50 PDT 2022


skan added a comment.

I believe Linus's suggestion is adding a prefix to BSF rather than changing the encoding.
Maybe you can consider implementing it in `X86MCInstLower::Lower` by using `Flags` of `MCInst`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130956



More information about the llvm-commits mailing list