aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/ISDOpcodes.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-01-07 23:50:32 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-01-07 23:50:32 +0000
commitc36b7069b42bece963b7e6adf020353ce990ef76 (patch)
treefdbe6e1cede36ae3485403b9165bfdc039056eeb /include/llvm/CodeGen/ISDOpcodes.h
parent067a16c974fef473fd3bca1d58db0d50c59882ce (diff)
downloadexternal_llvm-c36b7069b42bece963b7e6adf020353ce990ef76.zip
external_llvm-c36b7069b42bece963b7e6adf020353ce990ef76.tar.gz
external_llvm-c36b7069b42bece963b7e6adf020353ce990ef76.tar.bz2
Do not model all INLINEASM instructions as having unmodelled side effects.
Instead encode llvm IR level property "HasSideEffects" in an operand (shared with IsAlignStack). Added MachineInstrs::hasUnmodeledSideEffects() to check the operand when the instruction is an INLINEASM. This allows memory instructions to be moved around INLINEASM instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123044 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/ISDOpcodes.h')
-rw-r--r--include/llvm/CodeGen/ISDOpcodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/ISDOpcodes.h b/include/llvm/CodeGen/ISDOpcodes.h
index 7236bd5..ac3d87c 100644
--- a/include/llvm/CodeGen/ISDOpcodes.h
+++ b/include/llvm/CodeGen/ISDOpcodes.h
@@ -482,7 +482,7 @@ namespace ISD {
// Operand #0 : Input chain.
// Operand #1 : a ExternalSymbolSDNode with a pointer to the asm string.
// Operand #2 : a MDNodeSDNode with the !srcloc metadata.
- // Operand #3 : IsAlignStack bit.
+ // Operand #3 : HasSideEffect, IsAlignStack bits.
// After this, it is followed by a list of operands with this format:
// ConstantSDNode: Flags that encode whether it is a mem or not, the
// of operands that follow, etc. See InlineAsm.h.