llvm-for-llvmta/test/MC/Mips/cprestore-warning-unused.s

11 lines
235 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: llvm-mc %s -triple mips-unknown-linux-gnu --position-independent 2>%t1
# RUN: FileCheck %s < %t1
.text
.set noreorder
.cpload $25
.set reorder
jal $25
# CHECK: :[[@LINE-1]]:3: warning: no .cprestore used in PIC mode