mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Excise X86-specific comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14403 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9cd94d72b0
commit
179d97cfa3
@ -1120,7 +1120,6 @@ void ISel::visitBranchInst(BranchInst &BI) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
unsigned OpNum = getSetCCNumber(SCI->getOpcode());
|
||||
MachineBasicBlock::iterator MII = BB->end();
|
||||
OpNum = EmitComparison(OpNum, SCI->getOperand(0), SCI->getOperand(1), BB,MII);
|
||||
@ -1128,15 +1127,6 @@ void ISel::visitBranchInst(BranchInst &BI) {
|
||||
const Type *CompTy = SCI->getOperand(0)->getType();
|
||||
bool isSigned = CompTy->isSigned() && getClassB(CompTy) != cFP;
|
||||
|
||||
// LLVM -> X86 signed X86 unsigned
|
||||
// ----- ---------- ------------
|
||||
// seteq -> je je
|
||||
// setne -> jne jne
|
||||
// setlt -> jl jb
|
||||
// setge -> jge jae
|
||||
// setgt -> jg ja
|
||||
// setle -> jle jbe
|
||||
|
||||
static const unsigned BITab[6] = { 2, 2, 0, 0, 1, 1 };
|
||||
unsigned BO_true = (OpNum % 2 == 0) ? 12 : 4;
|
||||
unsigned BO_false = (OpNum % 2 == 0) ? 4 : 12;
|
||||
|
@ -1120,7 +1120,6 @@ void ISel::visitBranchInst(BranchInst &BI) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
unsigned OpNum = getSetCCNumber(SCI->getOpcode());
|
||||
MachineBasicBlock::iterator MII = BB->end();
|
||||
OpNum = EmitComparison(OpNum, SCI->getOperand(0), SCI->getOperand(1), BB,MII);
|
||||
@ -1128,15 +1127,6 @@ void ISel::visitBranchInst(BranchInst &BI) {
|
||||
const Type *CompTy = SCI->getOperand(0)->getType();
|
||||
bool isSigned = CompTy->isSigned() && getClassB(CompTy) != cFP;
|
||||
|
||||
// LLVM -> X86 signed X86 unsigned
|
||||
// ----- ---------- ------------
|
||||
// seteq -> je je
|
||||
// setne -> jne jne
|
||||
// setlt -> jl jb
|
||||
// setge -> jge jae
|
||||
// setgt -> jg ja
|
||||
// setle -> jle jbe
|
||||
|
||||
static const unsigned BITab[6] = { 2, 2, 0, 0, 1, 1 };
|
||||
unsigned BO_true = (OpNum % 2 == 0) ? 12 : 4;
|
||||
unsigned BO_false = (OpNum % 2 == 0) ? 4 : 12;
|
||||
|
Loading…
Reference in New Issue
Block a user