From: Chenghua Xu Date: Wed, 13 Jun 2018 06:50:12 +0000 (+0000) Subject: re PR tree-optimization/86076 (ICE: verify_gimple failed (error: location references... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a723d822a17e697f3a02abf40fb2d3415302985;p=gcc.git re PR tree-optimization/86076 (ICE: verify_gimple failed (error: location references block not in block tree)) 2018-06-13 Chenghua Xu PR target/86076 * config/mips/loongson.md (vec_setv4hi): Gen_lowpart for operands[2] instead of operands[1]. From-SVN: r261538 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0cb7cfd91da..93e02df51b8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2018-06-13 Chenghua Xu + + PR target/86076 + * config/mips/loongson.md (vec_setv4hi): Gen_lowpart for + operands[2] instead of operands[1]. + + 2018-06-12 Richard Sandiford * lra-constraints.c (simplify_operand_subreg): In the paradoxical diff --git a/gcc/config/mips/loongson.md b/gcc/config/mips/loongson.md index 38912acc839..14794d3671f 100644 --- a/gcc/config/mips/loongson.md +++ b/gcc/config/mips/loongson.md @@ -381,8 +381,8 @@ "TARGET_HARD_FLOAT && TARGET_LOONGSON_VECTORS" { rtx ext = gen_reg_rtx (SImode); - emit_move_insn (ext, gen_lowpart (SImode, operands[1])); - operands[1] = ext; + emit_move_insn (ext, gen_lowpart (SImode, operands[2])); + operands[2] = ext; }) ;; Multiply and add packed integers.