summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-24 19:50:58 +0000
committerChris Lattner <sabre@nondot.org>2006-02-24 19:50:58 +0000
commit5af3fdec121d6ac0535546018727bde73c6892a5 (patch)
tree908f65a7b8eb83312f87ae1c1fb4f62738fda01c /llvm/lib/CodeGen/SelectionDAG
parent2f8a794b1363aca27fcb9e48a9895351b54b19a9 (diff)
downloadbcm5719-llvm-5af3fdec121d6ac0535546018727bde73c6892a5.tar.gz
bcm5719-llvm-5af3fdec121d6ac0535546018727bde73c6892a5.zip
Pass all the flags to the asm printer, not just the # operands.
llvm-svn: 26362
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
index b7c7ec37f73..9bc168f7a6d 100644
--- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@ -328,7 +328,7 @@ void ScheduleDAG::EmitNode(NodeInfo *NI) {
unsigned Flags = cast<ConstantSDNode>(Node->getOperand(i))->getValue();
unsigned NumVals = Flags >> 3;
- MI->addZeroExtImm64Operand(NumVals);
+ MI->addZeroExtImm64Operand(Flags);
++i; // Skip the ID value.
switch (Flags & 7) {
OpenPOWER on IntegriCloud