1# RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 2>%t1 2# RUN: FileCheck %s < %t1 -check-prefix=ASM 3 4 .text 5 .option pic2 6 .set reorder 7 .cpload $25 8# ASM: :[[@LINE-1]]:9: warning: .cpload in reorder section 9 .set noreorder 10 .cpload $32 11# ASM: :[[@LINE-1]]:17: error: invalid register 12 .cpload $foo 13# ASM: :[[@LINE-1]]:17: error: expected register containing function address 14 .cpload bar 15# ASM: :[[@LINE-1]]:17: error: expected register containing function address 16