You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# RUN: llvm-mc -arch=hexagon -filetype=asm %s 2> %t; FileCheck %s < %t
|
|
|
|
# Check that changes to a read-only register is caught.
|
|
|
|
{ pc = r0 }
|
|
# CHECK: error: Cannot write to read-only register
|