re PR rtl-optimization/72843 (internal compiler error: in lra_set_insn_recog_data...
authorUros Bizjak <ubizjak@gmail.com>
Tue, 9 Aug 2016 15:35:34 +0000 (17:35 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 9 Aug 2016 15:35:34 +0000 (17:35 +0200)
PR target/72843
* config/i386/i386.md (*movtf_internal): Use
lra_in_progress || reload_completed instead of !can_create_pseudo_p
in the insn constraint.
(*movxf_internal): Ditto.
(*movdf_internal): Ditto.
(*movsf_internal): Ditto.

From-SVN: r239293

gcc/ChangeLog
gcc/config/i386/i386.md

index ff169b580eaf24dd537b61f15c3bfd0a8b978b03..7ae805542e6d2e864185d5216bbbce7e99d73277 100644 (file)
@@ -1,3 +1,13 @@
+2016-08-09  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/72843
+       * config/i386/i386.md (*movtf_internal): Use
+       lra_in_progress || reload_completed instead of !can_create_pseudo_p
+       in the insn constraint.
+       (*movxf_internal): Ditto.
+       (*movdf_internal): Ditto.
+       (*movsf_internal): Ditto.
+
 2016-08-09  Bin Cheng  <bin.cheng@arm.com>
 
        PR tree-optimization/72772
index bb701021f4c0a67a00c14a709e9f697943b64951..25ba1ebce2ca55e607c6aadf5e31caa2778fdf73 100644 (file)
        (match_operand:TF 1 "general_operand"      "C ,vm,v,*roF,*rC"))]
   "(TARGET_64BIT || TARGET_SSE)
    && !(MEM_P (operands[0]) && MEM_P (operands[1]))
-   && (!can_create_pseudo_p ()
+   && (lra_in_progress || reload_completed
        || !CONST_DOUBLE_P (operands[1])
        || ((optimize_function_for_size_p (cfun)
            || (ix86_cmodel == CM_LARGE || ix86_cmodel == CM_LARGE_PIC))
        (match_operand:XF 1 "general_operand"
         "fm,f,G,roF,r , *roF,*r,F ,C,roF,rF"))]
   "!(MEM_P (operands[0]) && MEM_P (operands[1]))
-   && (!can_create_pseudo_p ()
+   && (lra_in_progress || reload_completed
        || !CONST_DOUBLE_P (operands[1])
        || ((optimize_function_for_size_p (cfun)
            || (ix86_cmodel == CM_LARGE || ix86_cmodel == CM_LARGE_PIC))
        (match_operand:DF 1 "general_operand"
     "Yf*fm,Yf*f,G   ,roF,r ,*roF,*r,F ,rm,rC,C ,F ,C,v,m,v,C ,*x,m ,*x,Yj,r ,roF,rF,rmF,rC"))]
   "!(MEM_P (operands[0]) && MEM_P (operands[1]))
-   && (!can_create_pseudo_p ()
+   && (lra_in_progress || reload_completed
        || !CONST_DOUBLE_P (operands[1])
        || ((optimize_function_for_size_p (cfun)
            || (ix86_cmodel == CM_LARGE || ix86_cmodel == CM_LARGE_PIC))
        (match_operand:SF 1 "general_operand"
          "Yf*fm,Yf*f,G   ,rmF,rF,C,v,m,v,Yj,r  ,*y ,m  ,*y,*Yn,r   ,rmF,rF"))]
   "!(MEM_P (operands[0]) && MEM_P (operands[1]))
-   && (!can_create_pseudo_p ()
+   && (lra_in_progress || reload_completed
        || !CONST_DOUBLE_P (operands[1])
        || ((optimize_function_for_size_p (cfun)
            || (ix86_cmodel == CM_LARGE || ix86_cmodel == CM_LARGE_PIC))