Remove duplicate conditional in if-stmt.

Fixes PR23839.

llvm-svn: 239751
This commit is contained in:
Eric Christopher 2015-06-15 20:16:53 +00:00
parent f2b1eb9eb2
commit c30eae4567
1 changed files with 1 additions and 2 deletions

View File

@ -394,8 +394,7 @@ unsigned HexagonMCInstrInfo::getDuplexCandidateGroup(MCInst const &MCI) {
Src1Reg = MCI.getOperand(0).getReg();
if (HexagonMCInstrInfo::isIntRegForSubInst(Src1Reg) &&
MCI.getOperand(1).isImm() && isUInt<4>(MCI.getOperand(1).getImm()) &&
MCI.getOperand(2).isImm() && MCI.getOperand(2).isImm() &&
isUInt<1>(MCI.getOperand(2).getImm())) {
MCI.getOperand(2).isImm() && isUInt<1>(MCI.getOperand(2).getImm())) {
return HexagonII::HSIG_S2;
}
break;