8218468: Load barrier slow path node should be MachTypeNode
Reviewed-by: shade, pliden, kvn
--- a/src/hotspot/share/adlc/formssel.cpp Wed Apr 17 09:29:25 2019 +0200
+++ b/src/hotspot/share/adlc/formssel.cpp Wed Apr 17 09:54:37 2019 +0200
@@ -774,10 +774,16 @@
!strcmp(_matrule->_rChild->_opType,"CheckCastPP") ||
!strcmp(_matrule->_rChild->_opType,"GetAndSetP") ||
!strcmp(_matrule->_rChild->_opType,"GetAndSetN") ||
+#if INCLUDE_ZGC
+ !strcmp(_matrule->_rChild->_opType,"LoadBarrierSlowReg") ||
+ !strcmp(_matrule->_rChild->_opType,"LoadBarrierWeakSlowReg") ||
+#endif
+#if INCLUDE_SHENANDOAHGC
+ !strcmp(_matrule->_rChild->_opType,"ShenandoahCompareAndExchangeP") ||
+ !strcmp(_matrule->_rChild->_opType,"ShenandoahCompareAndExchangeN") ||
+#endif
!strcmp(_matrule->_rChild->_opType,"CompareAndExchangeP") ||
- !strcmp(_matrule->_rChild->_opType,"CompareAndExchangeN") ||
- !strcmp(_matrule->_rChild->_opType,"ShenandoahCompareAndExchangeP") ||
- !strcmp(_matrule->_rChild->_opType,"ShenandoahCompareAndExchangeN"))) return true;
+ !strcmp(_matrule->_rChild->_opType,"CompareAndExchangeN"))) return true;
else if ( is_ideal_load() == Form::idealP ) return true;
else if ( is_ideal_store() != Form::none ) return true;