diff options
author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-09-17 16:08:39 +0000 |
---|---|---|
committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-09-17 16:08:39 +0000 |
commit | e2982adc0b61aeb74c9e6fb9efe258525707f91e (patch) | |
tree | ab5843cc9d4ef12363321080dc6e9afabce41102 /llvm/lib/Bitcode | |
parent | 30618f978e4b78410d263cd788060dba878f54e6 (diff) | |
download | bcm5719-llvm-e2982adc0b61aeb74c9e6fb9efe258525707f91e.tar.gz bcm5719-llvm-e2982adc0b61aeb74c9e6fb9efe258525707f91e.zip |
[mips] Add assembler support for the .cprestore directive.
Summary:
This assembler directive is used in O32 PIC to restore the current function's $gp after executing JAL's. The $gp is first stored on the stack at a user-specified offset.
It has the following format: ".cprestore 8" (where 8 is the offset).
This fixes llvm.org/PR20967.
Patch by Toma Tabacu.
Reviewers: seanbruno, tomatabacu
Subscribers: brooks, seanbruno, emaste, llvm-commits
Differential Revision: http://reviews.llvm.org/D6267
llvm-svn: 247897
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions