aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2015-08-18 12:33:54 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2015-08-18 12:33:54 +0000
commita6994440942c48a23e8b41a64fe8c27f75101464 (patch)
tree58b416413e0a45a05e197da67a2a97d3ff8a3ccb /llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
parentc1c9f8a0d5560876f1a44b149f77b2beb02d91aa (diff)
downloadllvm-a6994440942c48a23e8b41a64fe8c27f75101464.zip
llvm-a6994440942c48a23e8b41a64fe8c27f75101464.tar.gz
llvm-a6994440942c48a23e8b41a64fe8c27f75101464.tar.bz2
[mips] Make the MipsAsmParser capable of knowing whether PIC mode is enabled or not.
Summary: This information is needed to decide whether we do the PIC-only JAL expansions or not. It's also needed for an upcoming patch which implements the .cprestore assembler directive (which can only be used effectively in PIC mode). By making this information available to the MipsAsmParser, we will know when to insert the instructions mandated by the .cprestore assembler directive and we will be able to give some useful warnings when we encounter a potential misuse of this directive. Patch by Toma Tabacu Reviewers: dsanders, seanbruno Subscribers: brooks, seanbruno, rafael, llvm-commits Differential Revision: http://reviews.llvm.org/D5626 llvm-svn: 245291
Diffstat (limited to 'llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions