1 # RUN: llvm-mc -triple riscv32 -mattr=+c %s -g -o - -riscv-no-aliases \
2 # RUN: | FileCheck %s -check-prefixes=COMPRESS,BOTH
3 # RUN: llvm-mc -triple riscv32 %s -g -o - -riscv-no-aliases \
4 # RUN: | FileCheck %s -check-prefixes=UNCOMPRESS,BOTH
7 # This file ensures that compressing an instruction preserves its debug info.
13 # BOTH-SAME: "compress-debug-info.s"
15 # BOTH: .loc 1 [[# @LINE + 3 ]] 0
16 # UNCOMPRESS-NEXT: addi a0, a1, 0
17 # COMPRESS-NEXT: c.mv a0, a1
20 # BOTH-LABEL: .debug_info