repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[X86][MC,LLD][NFC] Rename R_X86_64_REX2_GOTPCRELX (#116737)
[llvm-project.git]
/
llvm
/
test
/
MC
/
Hexagon
/
ro-c9.s
blob
5dd3f8320c23d1fb00ea5c97261e814765ec3640
1
# RUN: llvm-mc -triple=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