aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/InstSelectSimple.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-11-21 16:19:42 +0000
committerChris Lattner <sabre@nondot.org>2002-11-21 16:19:42 +0000
commit4b4e9dd93794a871e7a27ab8db2b0720e970efc5 (patch)
tree8b4224fc6d5bd0c4fc702ab43eb1bd472ea57f81 /lib/Target/X86/InstSelectSimple.cpp
parent05093a51b4b3bfaff33ee17b92ccab1711dc10ab (diff)
Rename the SetCC X86 instructions to reflect the fact that they are the
register versions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstSelectSimple.cpp')
-rw-r--r--lib/Target/X86/InstSelectSimple.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/X86/InstSelectSimple.cpp b/lib/Target/X86/InstSelectSimple.cpp
index d174699a10..c3da2fe914 100644
--- a/lib/Target/X86/InstSelectSimple.cpp
+++ b/lib/Target/X86/InstSelectSimple.cpp
@@ -257,8 +257,8 @@ void ISel::visitSetCCInst(SetCondInst &I, unsigned OpNum) {
// setge -> setge setae
static const unsigned OpcodeTab[2][6] = {
- { X86::SETE, X86::SETNE, X86::SETB, X86::SETA, X86::SETBE, X86::SETAE },
- { X86::SETE, X86::SETNE, X86::SETL, X86::SETG, X86::SETLE, X86::SETGE },
+ {X86::SETEr, X86::SETNEr, X86::SETBr, X86::SETAr, X86::SETBEr, X86::SETAEr},
+ {X86::SETEr, X86::SETNEr, X86::SETLr, X86::SETGr, X86::SETLEr, X86::SETGEr},
};
BuildMI(BB, OpcodeTab[CompTy->isSigned()][OpNum], 0, X86::AL);