(redundant_insn_p): Fix typo in testing for types of insns by using
GET_RTX_CLASS. From-SVN: r3534
This commit is contained in:
parent
c8c1bde3bb
commit
009f614621
@ -1576,8 +1576,7 @@ redundant_insn_p (insn, target, delay_list)
|
||||
if (GET_CODE (trial) == CODE_LABEL)
|
||||
return 0;
|
||||
|
||||
if (GET_CODE (trial) != INSN && GET_CODE (trial) != JUMP_INSN
|
||||
&& GET_CODE (trial) != JUMP_INSN)
|
||||
if (GET_RTX_CLASS (GET_CODE (trial)) != 'i')
|
||||
continue;
|
||||
|
||||
pat = PATTERN (trial);
|
||||
|
Loading…
Reference in New Issue
Block a user