-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
when it is compiled under llvm14, there is a error. How should fix it?
/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp: In member function ‘void pdg::DataDependencyGraph::addAliasEdges(llvm::Instruction&)’:
/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp:44:25: error: ‘NoAlias’ was not declared in this scope
44 | if (alias_result != NoAlias)
| ^~~~~~~
/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp: In member function ‘llvm::AliasResult pdg::DataDependencyGraph::queryAliasUnderApproximate(llvm::Value&, llvm::Value&)’:
/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp:97:12: error: ‘NoAlias’ was not declared in this scope
97 | return NoAlias;
| ^~~~~~~
/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp:102:14: error: ‘MustAlias’ was not declared in this scope
102 | return MustAlias;
| ^~~~~~~~~
/home/xli399/libs/program-dependence-graph/src/DataDependencyGraph.cpp:115:20: error: ‘MustAlias’ was not declared in this scope
115 | return MustAlias;
| ^~~~~~~~~
At global scope:
Metadata
Metadata
Assignees
Labels
No labels