1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

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

llvm-svn: 35024
This commit is contained in:
Chris Lattner 2007-03-08 07:03:55 +00:00
parent 049f21257d
commit 66843dbef9

View File

@ -303,7 +303,7 @@ static bool AllUsersAreLoads(Value *Ptr) {
///
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);