diff options
author | Joey Gouly <joey.gouly@arm.com> | 2013-07-08 19:52:51 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@arm.com> | 2013-07-08 19:52:51 +0000 |
commit | 881b0b5c77ec3f6849e32b7763b6c75057b81501 (patch) | |
tree | 5550bf995be1440c509f03ef5aaf9e58f3b3e64e /lib/Target/ARM/ARMISelDAGToDAG.cpp | |
parent | f856249d496663b72b9eac37cdabb52932abd0e0 (diff) | |
download | llvm-881b0b5c77ec3f6849e32b7763b6c75057b81501.tar.gz llvm-881b0b5c77ec3f6849e32b7763b6c75057b81501.tar.bz2 llvm-881b0b5c77ec3f6849e32b7763b6c75057b81501.tar.xz |
Add a comment to this change, requested by Eric Christopher.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185853 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelDAGToDAG.cpp')
-rw-r--r-- | lib/Target/ARM/ARMISelDAGToDAG.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelDAGToDAG.cpp b/lib/Target/ARM/ARMISelDAGToDAG.cpp index da0fe2cf7d..4eda5dc9e6 100644 --- a/lib/Target/ARM/ARMISelDAGToDAG.cpp +++ b/lib/Target/ARM/ARMISelDAGToDAG.cpp @@ -3491,6 +3491,10 @@ SDNode *ARMDAGToDAGISel::SelectInlineAsm(SDNode *N){ else continue; + // Immediate operands to inline asm in the SelectionDAG are modeled with + // two operands. The first is a constant of value InlineAsm::Kind_Imm, and + // the second is a constant with the value of the immediate. If we get here + // and we have a Kind_Imm, skip the next operand, and continue. if (Kind == InlineAsm::Kind_Imm) { SDValue op = N->getOperand(++i); AsmNodeOperands.push_back(op); |