[PATCH] D146835: [RISCV] Enable usubo formation in CodeGenPrepare.
Liao Chunyu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 25 02:59:56 PDT 2023
liaolucy added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/overflow-intrinsics.ll:781
+; RV32-NEXT: sub a2, a0, a2
+; RV32-NEXT: beq a3, a1, .LBB22_2
; RV32-NEXT: # %bb.1:
----------------
This regression cannot to be solved by adding a special case.
It seems we can modify ExpandIntRes_UADDSUBO by referring to ExpandIntRes_ADDSUB, I'm not sure.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146835/new/
https://reviews.llvm.org/D146835
More information about the llvm-commits
mailing list