Commit 009f6146 by Richard Kenner

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

GET_RTX_CLASS.

From-SVN: r3534
parent c8c1bde3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment