mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6715633: when matching a memory node the adr_type should not change
Verify the adr_type of a mach node was not changed Reviewed-by: rasbold, never
This commit is contained in:
parent
694776b297
commit
0a077d276e
10 changed files with 90 additions and 27 deletions
|
@ -729,6 +729,7 @@ bool InstructForm::captures_bottom_type() const {
|
|||
!strcmp(_matrule->_rChild->_opType,"DecodeN") ||
|
||||
!strcmp(_matrule->_rChild->_opType,"EncodeP") ||
|
||||
!strcmp(_matrule->_rChild->_opType,"LoadN") ||
|
||||
!strcmp(_matrule->_rChild->_opType,"LoadNKlass") ||
|
||||
!strcmp(_matrule->_rChild->_opType,"CreateEx") || // type of exception
|
||||
!strcmp(_matrule->_rChild->_opType,"CheckCastPP")) ) return true;
|
||||
else if ( is_ideal_load() == Form::idealP ) return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue