1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

NewGVN: Fix a small formatting issue in performSymbolicLoadEvaluation.

llvm-svn: 299683
This commit is contained in:
Daniel Berlin 2017-04-06 18:52:53 +00:00
parent 174ad08d23
commit 4fa43561c2

View File

@ -1079,9 +1079,9 @@ const Expression *NewGVN::performSymbolicLoadEvaluation(Instruction *I) {
// defining access has a different type, or it is a pointer produced by
// certain memory operations that cause the memory to have a fixed value
// (IE things like calloc).
const Expression *CoercionResult = performSymbolicLoadCoercion(
LI->getType(), LoadAddressLeader, LI, DefiningInst, DefiningAccess);
if (CoercionResult)
if (const auto *CoercionResult =
performSymbolicLoadCoercion(LI->getType(), LoadAddressLeader, LI,
DefiningInst, DefiningAccess))
return CoercionResult;
}
}