mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-16 08:29:08 +00:00
This appears correct, enable it so we can see perf changes on testers
llvm-svn: 35024
This commit is contained in:
parent
049f21257d
commit
66843dbef9
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user