forked from OSchip/llvm-project
parent
7a4eabef39
commit
c24a2f4ad9
|
@ -181,8 +181,7 @@ template <typename CFLAA> class CFLGraphBuilder {
|
|||
|
||||
static bool hasUsefulEdges(ConstantExpr *CE) {
|
||||
// ConstantExpr doesn't have terminators, invokes, or fences, so only
|
||||
// needs
|
||||
// to check for compares.
|
||||
// needs to check for compares.
|
||||
return CE->getOpcode() != Instruction::ICmp &&
|
||||
CE->getOpcode() != Instruction::FCmp;
|
||||
}
|
||||
|
@ -197,8 +196,8 @@ template <typename CFLAA> class CFLGraphBuilder {
|
|||
}
|
||||
|
||||
// TODO: If the call is indirect, we might be able to enumerate all
|
||||
// potential
|
||||
// targets of the call and return them, rather than just failing.
|
||||
// potential targets of the call and return them, rather than just
|
||||
// failing.
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue