diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2018-06-21 05:42:05 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2018-06-21 05:42:05 +0000 |
| commit | e5f1b8e20b9d18f765643a872f650616684859eb (patch) | |
| tree | 06f520bdebd1863b307a3b88de72d9528c299ee4 /llvm/test/CodeGen/RISCV | |
| parent | 336d75cc73ee268d9b4d08b585a5532c3eb54f73 (diff) | |
| download | bcm5719-llvm-e5f1b8e20b9d18f765643a872f650616684859eb.tar.gz bcm5719-llvm-e5f1b8e20b9d18f765643a872f650616684859eb.zip | |
[RISC-V] Fix a test case to not include label names as those aren't
stable in non-asserts builds. This fixes a test failure in release
config.
llvm-svn: 335202
Diffstat (limited to 'llvm/test/CodeGen/RISCV')
| -rw-r--r-- | llvm/test/CodeGen/RISCV/indirectbr.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/RISCV/indirectbr.ll b/llvm/test/CodeGen/RISCV/indirectbr.ll index 7ba63dfe9dc..1d916b8e108 100644 --- a/llvm/test/CodeGen/RISCV/indirectbr.ll +++ b/llvm/test/CodeGen/RISCV/indirectbr.ll @@ -8,7 +8,7 @@ define i32 @indirectbr(i8* %target) nounwind { ; RV32I-NEXT: addi sp, sp, -16 ; RV32I-NEXT: sw ra, 12(sp) ; RV32I-NEXT: jr a0 -; RV32I-NEXT: .LBB0_1: # %ret +; RV32I-NEXT: .LBB0_1: ; RV32I-NEXT: mv a0, zero ; RV32I-NEXT: lw ra, 12(sp) ; RV32I-NEXT: addi sp, sp, 16 @@ -26,7 +26,7 @@ define i32 @indirectbr_with_offset(i8* %a) nounwind { ; RV32I-NEXT: addi sp, sp, -16 ; RV32I-NEXT: sw ra, 12(sp) ; RV32I-NEXT: jalr zero, a0, 1380 -; RV32I-NEXT: .LBB1_1: # %ret +; RV32I-NEXT: .LBB1_1: ; RV32I-NEXT: mv a0, zero ; RV32I-NEXT: lw ra, 12(sp) ; RV32I-NEXT: addi sp, sp, 16 |

