[PATCH] D122051: [RISCV] The immediate version of sgt/ugt lowering to slti/sltiu + xori

Ben Shi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 25 03:13:03 PDT 2022


benshi001 added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/i32-icmp.ll:179
+  %2 = zext i1 %1 to i32
+  ret i32 %2
+}
----------------
We need a more test case of -2050, which is the lower bound of simm12_sub1_exc0 


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

https://reviews.llvm.org/D122051



More information about the llvm-commits mailing list