summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
diff options
context:
space:
mode:
authorManoj Gupta <manojgupta@google.com>2018-03-29 21:11:15 +0000
committerManoj Gupta <manojgupta@google.com>2018-03-29 21:11:15 +0000
commitcb668d85123796e09ff2672392b3fa0881e5ad89 (patch)
treee36226a8aebb584a425e92927b9d0e925a3af0c7 /llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
parent3f2dbec652f8406a314b76bbb5e715a03393db76 (diff)
downloadbcm5719-llvm-cb668d85123796e09ff2672392b3fa0881e5ad89.tar.gz
bcm5719-llvm-cb668d85123796e09ff2672392b3fa0881e5ad89.zip
[AArch64]: Add support for parsing rN registers.
Summary: Allow rN registers to be simply parsed as correspoing xN registers. The "register ... asm("rN")" is an command to the compiler's register allocator, not an operand to any individual assembly instruction. GCC documents this syntax as "...the name of the register that should be used." This is needed to support the changes in Linux kernel (see https://lkml.org/lkml/2018/3/1/268 ) Note: This will add support only for the limited use case of register ... asm("rN"). Any other uses that make rN leak into assembly are not supported. Reviewers: kristof.beyls, rengolin, peter.smith, t.p.northover Reviewed By: peter.smith Subscribers: javed.absar, eraman, cfe-commits, srhines Differential Revision: https://reviews.llvm.org/D44815 llvm-svn: 328829
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud