Closed VictorYing closed 5 years ago
Weird, the failing CircleCI build failing in a place that seems unrelated to my change, when the CircleCI tests passed on the previous commit: https://circleci.com/gh/wsmoses/Tapir-LLVM/725
Thanks for the pull request. We definitely should fix this issue.
The CI seems to fail here, which is related to your change:
/root/project/lib/Analysis/AliasAnalysis.cpp:675:26: error: no match for 'operator*' (operand type is 'const llvm::Instruction')
if (isa<SyncInst>(&*I) || isa<DetachInst>(&*I))
^
Oops, thanks for pointing out my mistake.
This addresses https://github.com/wsmoses/Tapir-LLVM/issues/92
This ensures getModRefInfo runs in linear time, and avoids unbounded stack growth.