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

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 2 00:08:13 PDT 2022


pengfei updated this revision to Diff 449198.
pengfei added a comment.

Compared both methods, adding flag in `X86MCInstLower::Lower` seems convenient. Thanks Craig and Shengchen!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130956

Files:
  llvm/lib/Target/X86/X86MCInstLower.cpp
  llvm/test/CodeGen/X86/clz.ll
  llvm/test/CodeGen/X86/dagcombine-select.ll
  llvm/test/CodeGen/X86/peephole-na-phys-copy-folding.ll
  llvm/test/CodeGen/X86/stack-folding-x86_64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130956.449198.patch
Type: text/x-patch
Size: 12072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220802/afd5f6dd/attachment.bin>


More information about the llvm-commits mailing list