[PATCH] D110862: X86InstrInfo: Look across basic blocks in optimizeCompareInstr

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 30 20:34:46 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/X86/X86InstrInfo.cpp:4291
 
-  // Search backward from CmpInstr for the next instruction defining EFLAGS.
+  // Search backward from CmpInstr for the next instruction producing EFLAGS.
   const TargetRegisterInfo *TRI = &getRegisterInfo();
----------------
Should this be in the first patch where this comment was created?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110862



More information about the llvm-commits mailing list