[llvm-commits] CVS: llvm/lib/Transforms/Scalar/ScalarReplAggregates.cpp
Chris Lattner
sabre at nondot.org
Wed Mar 7 23:04:12 PST 2007
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);
More information about the llvm-commits
mailing list