[PATCH] D87379: [ARM] Selects SSAT/USAT from LLVM IR of min/max patterns

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 00:18:18 PDT 2020


mstorsjo added a comment.

The main difference in code, in the function that show the error in one of the testcases that broke, looks like this:

  -       movs    r1, #9
  -       cmp     r0, #9
  -       it      lt
  -       movlt   r1, r0
  -       bic.w   r0, r1, r1, asr #31
  +       usat    r0, #1, r0


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

https://reviews.llvm.org/D87379



More information about the llvm-commits mailing list