[PATCH] D49497: [DAGCombine] optimizeSetCCOfSignedTruncationCheck(): handle ule, ugt CondCodes.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 24 11:39:20 PDT 2018


lebedev.ri added a comment.

I will probably turn this into post-commit review.

This is a pretty uncontroversial follow-up for my own previous patch, the alive agrees that this is correct,
and the only edge-case which you'd think we can have (`-1` value) we won't get as that is constant-folded, and there is a test that checks that.


Repository:
  rL LLVM

https://reviews.llvm.org/D49497





More information about the llvm-commits mailing list