Changes in directory llvm/lib/Transforms/Scalar:

ScalarReplAggregates.cpp updated: 1.77 -> 1.78
---
Log message:

This appears correct, enable it so we can see perf changes on testers


---
Diffs of the changes:  (+1 -1)

 ScalarReplAggregates.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
diff -u llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.77 
llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.78
--- llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp:1.77    Thu Mar  8 
00:36:54 2007
+++ llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp Thu Mar  8 01:03:55 2007
@@ -303,7 +303,7 @@
 ///
 int SROA::isSafeUseOfAllocation(Instruction *User, AllocationInst *AI) {
   if (BitCastInst *C = dyn_cast<BitCastInst>(User))
-    return 0 && (isSafeUseOfBitCastedAllocation(C, AI) ? 3 : 0);
+    return isSafeUseOfBitCastedAllocation(C, AI) ? 3 : 0;
   if (!isa<GetElementPtrInst>(User)) return 0;
 
   GetElementPtrInst *GEPI = cast<GetElementPtrInst>(User);



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to