Sign in
swiftshader
/
SwiftShader
/
d5f1489286b828cebfaf32be446b2379b17e925a
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
MC
/
Hexagon
/
ro-c9.s
blob: 6771430cb95ccef454560206576d01b320252c7d [
file
] [
log
] [
blame
]
# 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