[RISCV] Add a test to show the bug in the RA caused by reserved BP.
authorHsiangkai Wang <hsiangkai@google.com>
Thu, 20 Jan 2022 01:32:53 +0000 (01:32 +0000)
committerHsiangkai Wang <hsiangkai@google.com>
Thu, 20 Jan 2022 02:37:29 +0000 (02:37 +0000)
commit34570f4faf4cac654275c809c875fa9a6daf0c66
treed1c66c4f1c9d555f223d154c35e588c286b2a1fa
parent70002a7a62c9911fc37c4f553741a27c2ca03cf5
[RISCV] Add a test to show the bug in the RA caused by reserved BP.

The bug is reported in https://github.com/llvm/llvm-project/issues/53016.

Authored-by: Kito Cheng <kito.cheng@sifive.com>
Differential Revision: https://reviews.llvm.org/D117738
llvm/test/CodeGen/RISCV/rvv/reg-alloc-reserve-bp.ll [new file with mode: 0644]