[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Aug 21 17:59:25 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelDAGToDAG.cpp updated: 1.18 -> 1.19
---
Log message:
Fix compilation of:
float %test2(float* %P) {
%Q = load float* %P
%R = add float %Q, %Q
ret float %R
}
By returning the right result.
---
Diffs of the changes: (+1 -1)
PPC32ISelDAGToDAG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.18 llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.19
--- llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp:1.18 Sun Aug 21 17:31:09 2005
+++ llvm/lib/Target/PowerPC/PPC32ISelDAGToDAG.cpp Sun Aug 21 19:59:14 2005
@@ -962,7 +962,7 @@
break;
}
}
- return SDOperand(N, 0);
+ return SDOperand(N, Op.ResNo);
}
More information about the llvm-commits
mailing list