mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-21 03:32:21 +00:00
remove dead code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31398 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
02cb49ee67
commit
ffa0a9b7ea
@ -1146,19 +1146,6 @@ Relation::KnownResult CEE::getSetCCResult(SetCondInst *SCI,
|
|||||||
// Relation Implementation
|
// Relation Implementation
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// CheckCondition - Return true if the specified condition is false. Bound may
|
|
||||||
// be null.
|
|
||||||
static bool CheckCondition(Constant *Bound, Constant *C,
|
|
||||||
Instruction::BinaryOps BO) {
|
|
||||||
assert(C != 0 && "C is not specified!");
|
|
||||||
if (Bound == 0) return false;
|
|
||||||
|
|
||||||
Constant *Val = ConstantExpr::get(BO, Bound, C);
|
|
||||||
if (ConstantBool *CB = dyn_cast<ConstantBool>(Val))
|
|
||||||
return !CB->getValue(); // Return true if the condition is false...
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// contradicts - Return true if the relationship specified by the operand
|
// contradicts - Return true if the relationship specified by the operand
|
||||||
// contradicts already known information.
|
// contradicts already known information.
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user