diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-29 14:14:06 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-04-29 14:14:06 +0000 |
commit | a432997745f668e85e45826106430f69238b1d1e (patch) | |
tree | 2b47cfbfe43e144dc1c21c8185a2f0f349cd8778 /include/llvm/CodeGen/AsmPrinter.h | |
parent | ce3a022b8c07339b31aadb56288a8e02c76b40e3 (diff) | |
download | external_llvm-a432997745f668e85e45826106430f69238b1d1e.zip external_llvm-a432997745f668e85e45826106430f69238b1d1e.tar.gz external_llvm-a432997745f668e85e45826106430f69238b1d1e.tar.bz2 |
Factor some code to needsCFIMoves. Avoid printing moves when we don't have to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/AsmPrinter.h')
-rw-r--r-- | include/llvm/CodeGen/AsmPrinter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h index 600b218..58395ba 100644 --- a/include/llvm/CodeGen/AsmPrinter.h +++ b/include/llvm/CodeGen/AsmPrinter.h @@ -185,6 +185,8 @@ namespace llvm { void emitPrologLabel(const MachineInstr &MI); + bool needsCFIMoves(); + /// EmitConstantPool - Print to the current output stream assembly /// representations of the constants in the constant pool MCP. This is /// used to print out constants which have been "spilled to memory" by |