< prev index next >
src/share/vm/adlc/formssel.cpp
Print this page
rev 12121 : [mq]: all_changes.patch
*** 1,7 ****
/*
! * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 720,729 ****
--- 720,734 ----
// 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 >