Cond = Cmp;
addTest = false;
} else {
- if (ConstantSDNode *CSDN = dyn_cast<ConstantSDNode>(CC.getNode())) {
- switch (CSDN->getZExtValue()) {
- default: break;
- case X86::COND_O:
- case X86::COND_C:
- Cond = Cond.getNode()->getOperand(1);
- addTest = false;
- break;
- }
+ ConstantSDNode *CSDN = cast<ConstantSDNode>(CC.getNode());
+
+ switch (CSDN->getZExtValue()) {
+ default: break;
+ case X86::COND_O:
+ case X86::COND_C:
+ Cond = Cond.getNode()->getOperand(1);
+ addTest = false;
+ break;
}
}
// Also, recognize the pattern generated by an FCMP_UNE. We can emit