llvm/llvm/test/CodeGen/RISCV/graalcc.ll

; RUN: llc -mtriple=riscv32 -o - %s | FileCheck %s
; RUN: llc -mtriple=riscv64 -o - %s | FileCheck %s

@var = global [30 x i64] zeroinitializer

define graalcc void @keep_live() {
  %val = load volatile [30 x i64], ptr @var
  store volatile [30 x i64] %val, ptr @var
; CHECK-NOT: lw s7,
; CHECK-NOT: ld s7,
; CHECK-NOT: lw s11,
; CHECK-NOT: ld s11,
  ret void
}