[PATCH] D86709: [GlobalISel] Extend not_cmp_fold to work on conditional expressions

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 13:27:37 PDT 2020


aemerson accepted this revision.
aemerson added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:2242
+bool CombinerHelper::matchNotCmp(MachineInstr &MI,
+                                 SmallVector<Register, 4> &RegsToNegate) {
   assert(MI.getOpcode() == TargetOpcode::G_XOR);
----------------
SmallVectorImpl?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86709



More information about the llvm-commits mailing list