Displaying 2 results from an estimated 2 matches for "getinsttypepair".
2013 Jan 18
0
[LLVMdev] llvm getDependency() for ICMP instructions is UNKNOWN
...yDependenceAnalysis::getDependency ( Instruction *
QueryInst )
When I running my pass
if ( !(Inst->getOpcode() == Instruction::ICmp) )
continue;
......
MemDepResult Res = MDA.getDependency(Inst);
.....
if (!Res.isNonLocal()) {
Deps[Inst].insert(std::make_pair(getInstTypePair(Res),
static_cast<BasicBlock *>(0)));
} else //it does not enter here
.....
.....
errs()<<*Inst;
errs() << DepTypeStr[type];
if (DepBB) {
errs() << DepBB;
}
if (DepInst) {
errs() << *DepInst...
2016 May 30
0
Fwd: Assertion failing on LLVM intrinsics instruction
...remotely
resembled alias or dependency analysis, I ended up trying to run opt over
part of the code of bzip2 from SPEC 2006, but unfortunately an assertion
fail prevents it from finishing the analysis:
Assertion failed: (dep.isUnknown() && "unexpected dependence type"),
function getInstTypePair, file
/Developer/llvm/lib/Analysis/MemDepPrinter.cpp, line 70.
Stack dump:
0. Program arguments: /Developer/llvm/build/bin/opt -aa -aa-eval -basicaa
-cfl-aa -external-aa -globals-aa -objc-arc-aa -print-alias-sets -scev-aa
-scoped-noalias -tbaa -da -memdep -print-memdeps
build_base_yosemite.0000/blo...