[llvm] [RISCV] Add a pass to eliminate special copies in order to facilitate shrink-wrap optimization (PR #140716)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue May 20 23:00:18 PDT 2025


================
@@ -361,28 +361,29 @@ define void @li_straightline_b(i32 zeroext %a, i32 zeroext %b) {
 ;
 ; RV64I-SW-LABEL: li_straightline_b:
 ; RV64I-SW:       # %bb.0:
+; RV64I-SW-NEXT:    li a2, 57
----------------
topperc wrote:

Can the FIXME on this function be removed now?

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


More information about the llvm-commits mailing list