[llvm] [RISCV] Prefer li over pli in RISCVMatInt. (PR #172778)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 17 19:03:28 PST 2025


================
@@ -25,3 +25,12 @@ define i64 @abs_i64(i64 %x) {
   %abs = tail call i64 @llvm.abs.i64(i64 %x, i1 true)
   ret i64 %abs
 }
+
+; FIXME: Prefer li over pli
----------------
jrtc27 wrote:

Second commit should drop these? (Definitely never made that mistake myself...)

https://github.com/llvm/llvm-project/pull/172778


More information about the llvm-commits mailing list