1 ; RUN: llc -mtriple=riscv32 -mattr=+c -filetype=obj < %s\
2 ; RUN: | llvm-objdump -triple=riscv32 -mattr=+c -d -M no-aliases -\
3 ; RUN: | FileCheck -check-prefix=CHECK %s
5 @ext = external global i32
7 define i32 @compress_test(i32 %a) {
8 ; CHECK-LABEL: compress_test:
11 %1 = load i32, i32* @ext
12 %2 = tail call i32 asm "add $0, $1, $2", "=r,r,r"(i32 %a, i32 %1)