mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 03:23:01 +02:00
f44562707e
Patch by Colin LeMahieu. llvm-svn: 301828
8 lines
215 B
ArmAsm
8 lines
215 B
ArmAsm
# RUN: not llvm-mc -arch=hexagon -filetype=obj -mv5 %s 2>&1 | FileCheck %s
|
|
|
|
# CHECK: 4:1: error: Cannot write to read-only register `PC'
|
|
pc = r0
|
|
|
|
# CHECK: 7:1: error: Cannot write to read-only register `PC'
|
|
c9 = r0
|