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

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 27 14:50:49 PDT 2019


dmgreen updated this revision to Diff 226592.
dmgreen added a comment.

I've gone with m_isa, which I think with the explicit WithOverflowInst looks OK.


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

https://reviews.llvm.org/D69245

Files:
  llvm/include/llvm/IR/PatternMatch.h
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/overflow_to_sat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69245.226592.patch
Type: text/x-patch
Size: 4779 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191027/6b4b9d9b/attachment.bin>


More information about the llvm-commits mailing list