(redundant_insn_p): Fix typo in testing for types of insns by using

GET_RTX_CLASS.

From-SVN: r3534
This commit is contained in:
Richard Kenner 1993-02-25 18:29:31 -05:00
parent c8c1bde3bb
commit 009f614621

View File

@ -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);