[PATCH] D144614: [LegalizeTypes][RISCV] Add a special case to ExpandIntRes_UADDSUBO for (uaddo X, 1).

Liao Chunyu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 05:01:37 PST 2023


liaolucy added a comment.

LGTM. For optbranch_64, D144614 <https://reviews.llvm.org/D144614> and D143646 <https://reviews.llvm.org/D143646> get the same instruction after isel, but D144614 <https://reviews.llvm.org/D144614> has one less assembly instruction (ret) than D143646 <https://reviews.llvm.org/D143646>, so D144614 <https://reviews.llvm.org/D144614> is better


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144614



More information about the llvm-commits mailing list