[PATCH] D117252: [InstCombine] Fold ashr-exact into a icmp-ugt.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 13 14:43:05 PST 2022


lebedev.ri added a comment.

Given exact ashr, this is a valid fold regardless of the predicate.
Non-exact is valid for ult/uge / slt/sge predicates.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117252



More information about the llvm-commits mailing list