https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97204

            Bug ID: 97204
           Summary: [11 Regression] FAIL:
                    gcc.target/i386/sse2-mmx-pinsrw.c execution test
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

This fails due to IPA mod-ref.  early FRE shows

--- a/sse2-mmx-pinsrw.c.036t.fre1       2020-09-25 11:24:23.379570162 +0200
+++ b/sse2-mmx-pinsrw.c.036t.fre1       2020-09-25 11:24:03.335333358 +0200
@@ -343,7 +343,6 @@
   unsigned int i.1_1;
   int r.3_3;
   int ck.4_4;
-  vector(2) int _21;
   long unsigned int _22;
   long unsigned int _23;
   short int * _24;
@@ -355,8 +354,7 @@
   <bb 3> :
   i.1_1 = (unsigned int) i_5;
   test_pinsrw (&y, 4660, i.1_1, &r);
-  _21 = MEM[(__m64 * {ref-all})&y];
-  MEM[(__m64 * {ref-all})&ck] = _21;
+  MEM[(__m64 * {ref-all})&ck] = { -218821384, 287834160 };
   if (i.1_1 <= 3)
     goto <bb 4>; [50.00%]
   else

which has wrong values I think (but that should be unrelated to IPA modref)

Reply via email to