aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-06-25 14:13:26 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-06-25 14:13:26 +0000
commit179d97cfa3264688ac05a717da91f36bdd2d4373 (patch)
tree2b2fbc90567de8bfdeb4d487e84fa917724dbbd3 /lib
parent9cd94d72b0cc5014c09775f2050cdd868baaa3e3 (diff)
downloadexternal_llvm-179d97cfa3264688ac05a717da91f36bdd2d4373.zip
external_llvm-179d97cfa3264688ac05a717da91f36bdd2d4373.tar.gz
external_llvm-179d97cfa3264688ac05a717da91f36bdd2d4373.tar.bz2
Excise X86-specific comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14403 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/PowerPC/PPC32ISelSimple.cpp10
-rw-r--r--lib/Target/PowerPC/PowerPCISelSimple.cpp10
2 files changed, 0 insertions, 20 deletions
diff --git a/lib/Target/PowerPC/PPC32ISelSimple.cpp b/lib/Target/PowerPC/PPC32ISelSimple.cpp
index 063001d..712a69d 100644
--- a/lib/Target/PowerPC/PPC32ISelSimple.cpp
+++ b/lib/Target/PowerPC/PPC32ISelSimple.cpp
@@ -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;
diff --git a/lib/Target/PowerPC/PowerPCISelSimple.cpp b/lib/Target/PowerPC/PowerPCISelSimple.cpp
index 063001d..712a69d 100644
--- a/lib/Target/PowerPC/PowerPCISelSimple.cpp
+++ b/lib/Target/PowerPC/PowerPCISelSimple.cpp
@@ -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;