diff options
Diffstat (limited to 'gcc/config/rs6000/rs6000.md')
-rw-r--r-- | gcc/config/rs6000/rs6000.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md index 8176dd758a3..3323976a35d 100644 --- a/gcc/config/rs6000/rs6000.md +++ b/gcc/config/rs6000/rs6000.md @@ -954,7 +954,7 @@ (set (match_dup 0) (sign_extend:EXTHI (match_dup 2)))] { - operands[2] = gen_rtx_REG (HImode, REGNO (operands[1])); + operands[2] = gen_rtx_REG (HImode, REGNO (operands[0])); }) (define_insn "*extendhi<mode>2_noload" |