[llvm-commits] [llvm] r76043 - /llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.cpp
Anton Korobeynikov
asl at math.spbu.ru
Thu Jul 16 07:27:29 PDT 2009
Author: asl
Date: Thu Jul 16 09:27:26 2009
New Revision: 76043
URL: http://llvm.org/viewvc/llvm-project?rev=76043&view=rev
Log:
Add missed condbranch opcodes
Modified:
llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.cpp
Modified: llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.cpp?rev=76043&r1=76042&r2=76043&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZInstrInfo.cpp Thu Jul 16 09:27:26 2009
@@ -347,24 +347,48 @@
switch (CC) {
default:
assert(0 && "Unknown condition code!");
- case SystemZCC::E:
- Opc = SystemZ::JE;
- break;
- case SystemZCC::NE:
- Opc = SystemZ::JNE;
+ case SystemZCC::O:
+ Opc = SystemZ::JO;
break;
case SystemZCC::H:
Opc = SystemZ::JH;
break;
+ case SystemZCC::NLE:
+ Opc = SystemZ::JNLE;
+ break;
case SystemZCC::L:
Opc = SystemZ::JL;
break;
+ case SystemZCC::NHE:
+ Opc = SystemZ::JNHE;
+ break;
+ case SystemZCC::LH:
+ Opc = SystemZ::JLH;
+ break;
+ case SystemZCC::NE:
+ Opc = SystemZ::JNE;
+ break;
+ case SystemZCC::E:
+ Opc = SystemZ::JE;
+ break;
+ case SystemZCC::NLH:
+ Opc = SystemZ::JNLH;
+ break;
case SystemZCC::HE:
Opc = SystemZ::JHE;
break;
+ case SystemZCC::NL:
+ Opc = SystemZ::JNL;
+ break;
case SystemZCC::LE:
Opc = SystemZ::JLE;
break;
+ case SystemZCC::NH:
+ Opc = SystemZ::JNH;
+ break;
+ case SystemZCC::NO:
+ Opc = SystemZ::JNO;
+ break;
}
return get(Opc);
More information about the llvm-commits
mailing list