mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
This was not meant to be committed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13565 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
82fec4e31d
commit
fa28bb4601
@ -1475,13 +1475,6 @@ Instruction *InstCombiner::visitSetCondInst(BinaryOperator &I) {
|
||||
// integers at the end of their ranges...
|
||||
//
|
||||
if (ConstantInt *CI = dyn_cast<ConstantInt>(Op1)) {
|
||||
if (Instruction *LHSI = dyn_cast<Instruction>(Op0))
|
||||
if (LHSI->getOpcode() == Instruction::Div && LHSI->hasOneUse() &&
|
||||
isa<ConstantInt>(LHSI->getOperand(1))) {
|
||||
std::cerr << "COULD FOLD: " << *LHSI;
|
||||
std::cerr << "COULD FOLD: " << I << "\n";
|
||||
}
|
||||
|
||||
// Simplify seteq and setne instructions...
|
||||
if (I.getOpcode() == Instruction::SetEQ ||
|
||||
I.getOpcode() == Instruction::SetNE) {
|
||||
|
Loading…
Reference in New Issue
Block a user