[PATCH] D69244: [InstCombine] Extra combine for uadd_sat

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 08:36:01 PDT 2019


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

LG



================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp:784
   }
+  // With an overflowing add
+  if (match(Cmp0, m_c_Add(m_Specific(Cmp1), m_Value(Y))) &&
----------------
This comment needs rewording.


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

https://reviews.llvm.org/D69244





More information about the llvm-commits mailing list