Fix r318786

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318787 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Hans Wennborg 2017-11-21 18:00:01 +00:00
parent c4d4e4220d
commit a5579c645a

View File

@ -260,10 +260,10 @@ static bool instructionClobbersQuery(MemoryDef *MD,
}
}
/*if (UseCS) {
if (UseCS) {
ModRefInfo I = AA.getModRefInfo(DefInst, UseCS);
return I != MRI_NoModRef;
}*/
}
if (auto *DefLoad = dyn_cast<LoadInst>(DefInst)) {
if (auto *UseLoad = dyn_cast<LoadInst>(UseInst)) {