diff options
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index c9152ab..92220f6 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -1030,6 +1030,9 @@ noop_move_p (insn) { rtx pat = PATTERN (insn); + if (INSN_CODE (insn) == NOOP_MOVE_INSN_CODE) + return 1; + /* Insns carrying these notes are useful later on. */ if (find_reg_note (insn, REG_EQUAL, NULL_RTX)) return 0; |