mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
f44562707e
Patch by Colin LeMahieu. llvm-svn: 301828
7 lines
193 B
ArmAsm
7 lines
193 B
ArmAsm
# 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
|