< prev index next >

src/share/vm/adlc/formssel.cpp

Print this page
rev 12113 : 8166561: [s390] Adaptions needed for s390 port in C1 and C2.

@@ -720,10 +720,15 @@
         // unique def, no uses
       } else {
         // // unique def, some uses
         // // must return bottom unless all uses match def
         // unique = NULL;
+#ifdef S390
+        // This case is important for move instructions on s390x.
+        // On other platforms (e.g. x86), all uses always match the def.
+        unique = NULL;
+#endif
       }
     } else if( DEF_of_memory > 0 ) {
       // multiple defs, don't care about uses
       unique = NULL;
     } else if( USE_of_memory == 1) {
< prev index next >