diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2012-03-28 00:22:50 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2012-03-28 00:22:50 +0000 |
commit | f93b86306683f8e860c8824efb717995cb072a70 (patch) | |
tree | 61683945f9b5ab56849b999246250606862cb253 /lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp | |
parent | d0b5c65b16507d10962d4a4c228b755fdcc6d827 (diff) |
Emit all directives except for ".cprestore" during asm printing rather than emit
them as machine instructions. Directives ".set noat" and ".set at" are now
emitted only at the beginning and end of a function except in the case where
they are emitted to enclose .cpload with an immediate operand that doesn't fit
in 16-bit field or unaligned load/stores.
Also, make the following changes:
- Remove function isUnalignedLoadStore and use a switch-case statement to
determine whether an instruction is an unaligned load or store.
- Define helper function CreateMCInst which generates an instance of an MCInst
from an opcode and a list of operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp')
0 files changed, 0 insertions, 0 deletions