[PATCH] D69245: [InstCombine] Canonicalize uadd.with.overflow to uadd.sat

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 21 11:45:24 PDT 2019


nikic added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp:1744
+  if (!CondVal || !FalseVal)
+    return nullptr;
+
----------------
We might want to add an `m_ExtractValue<0>(Matcher)` matcher...


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

https://reviews.llvm.org/D69245





More information about the llvm-commits mailing list