mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Remove duplicate conditional in if-stmt.
Fixes PR23839. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239751 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1456b12847
commit
e99f30c57b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user