Skip to content

Commit 2b9a9e4

Browse files
committed
LLVMPasses: adapt to ba664d9
Adapt to API changes in ba664d9, where `AAQueryInfo` now requires the capturing information. Switch to the new `SimpleAAQueryInfo` which maintains the status quo for alias analysis.
1 parent 9d3b759 commit 2b9a9e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/LLVMPasses/Passes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace swift {
3434
using AAResultBase::getModRefInfo;
3535
llvm::ModRefInfo getModRefInfo(const llvm::CallBase *Call,
3636
const llvm::MemoryLocation &Loc) {
37-
llvm::AAQueryInfo AAQI;
37+
llvm::SimpleAAQueryInfo AAQI;
3838
return getModRefInfo(Call, Loc, AAQI);
3939
}
4040
llvm::ModRefInfo getModRefInfo(const llvm::CallBase *Call,

0 commit comments

Comments
 (0)