[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
Evan Cheng
evan.cheng at apple.com
Thu Jul 27 16:35:56 PDT 2006
Changes in directory llvm/lib/Target/X86:
X86ISelDAGToDAG.cpp updated: 1.79 -> 1.80
---
Log message:
Brain cramp..
---
Diffs of the changes: (+1 -3)
X86ISelDAGToDAG.cpp | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
Index: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
diff -u llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.79 llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.80
--- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.79 Thu Jul 27 17:35:40 2006
+++ llvm/lib/Target/X86/X86ISelDAGToDAG.cpp Thu Jul 27 18:35:40 2006
@@ -281,9 +281,7 @@
void X86DAGToDAGISel::DeterminReachibility(SDNode *f, SDNode *t) {
if (!ReachibilityMatrix) {
DetermineTopologicalOrdering();
- unsigned RMSize = DAGSize * DAGSize / 8;
- if ((DAGSize * DAGSize) % 8)
- RMSize++;
+ unsigned RMSize = (DAGSize * DAGSize + 7) / 8;
ReachibilityMatrix = new unsigned char[RMSize];
memset(ReachibilityMatrix, 0, RMSize);
}
More information about the llvm-commits
mailing list