summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-09-17 16:08:39 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-09-17 16:08:39 +0000
commite2982adc0b61aeb74c9e6fb9efe258525707f91e (patch)
treeab5843cc9d4ef12363321080dc6e9afabce41102 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent30618f978e4b78410d263cd788060dba878f54e6 (diff)
downloadbcm5719-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/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud