repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
MC
/
Hexagon
/
ro-c9.s
blob
6771430cb95ccef454560206576d01b320252c7d
1
# RUN: llvm-mc -arch=hexagon -filetype=asm %s 2> %t; FileCheck %s < %t
2
3
# Check that changes to a read-only register is caught.
4
5
{
pc
=
r0
}
6
# CHECK: error: Cannot write to read-only register