[PATCH] D117663: [RISCV] Fix the bug in the register allocator caused by reserved BP.

Kito Cheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 19 18:37:15 PST 2022


kito-cheng added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/rvv/reg-alloc-reserve-bp.ll:23
 ; CHECK-NEXT:    mv s1, sp
-; CHECK-NEXT:    mv s1, a0
 ; CHECK-NEXT:    vsetivli zero, 8, e32, m2, ta, mu
----------------
Just highlight the code gen issue here, use use `s1`as `BP` but we use `s1`again here, and that what we want to fix by this patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117663



More information about the llvm-commits mailing list