[PATCH] D130956: [X86][MC] Always emit `rep` prefix for `bsf`
    Craig Topper via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Aug  4 09:38:36 PDT 2022
    
    
  
craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.
LGTM with the comment typo fixed
================
Comment at: llvm/lib/Target/X86/X86MCInstLower.cpp:989
+      // BSF and TZCNT have different interpretations on ZF bit. So make sure
+      // it won't be used latter.
+      const MachineOperand *FlagDef = MI->findRegisterDefOperand(X86::EFLAGS);
----------------
latter -> later
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