hotspot/src/share/vm/adlc/formssel.cpp
changeset 42063 dca9294d9f59
parent 41323 ddd5600d4762
child 42080 1e906304457b
equal deleted inserted replaced
42062:473286891dd8 42063:dca9294d9f59
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   720         // unique def, no uses
   720         // unique def, no uses
   721       } else {
   721       } else {
   722         // // unique def, some uses
   722         // // unique def, some uses
   723         // // must return bottom unless all uses match def
   723         // // must return bottom unless all uses match def
   724         // unique = NULL;
   724         // unique = NULL;
       
   725 #ifdef S390
       
   726         // This case is important for move instructions on s390x.
       
   727         // On other platforms (e.g. x86), all uses always match the def.
       
   728         unique = NULL;
       
   729 #endif
   725       }
   730       }
   726     } else if( DEF_of_memory > 0 ) {
   731     } else if( DEF_of_memory > 0 ) {
   727       // multiple defs, don't care about uses
   732       // multiple defs, don't care about uses
   728       unique = NULL;
   733       unique = NULL;
   729     } else if( USE_of_memory == 1) {
   734     } else if( USE_of_memory == 1) {