changeset 12546:9102f200c421

8172145: C2: anti dependence missed because store hidden by membar Reviewed-by: kvn
author mdoerr
date Tue, 03 Jan 2017 11:22:37 +0100
parents acb3d6fa119b
children 0c6ed760800c
files src/share/vm/adlc/formssel.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/adlc/formssel.cpp	Tue Jan 03 12:25:19 2017 +0100
+++ b/src/share/vm/adlc/formssel.cpp	Tue Jan 03 11:22:37 2017 +0100
@@ -650,6 +650,7 @@
   if( strcmp(_matrule->_opType,"MemBarReleaseLock") == 0 ) return true;
   if( strcmp(_matrule->_opType,"MemBarAcquireLock") == 0 ) return true;
   if( strcmp(_matrule->_opType,"MemBarStoreStore") == 0 ) return true;
+  if( strcmp(_matrule->_opType,"MemBarVolatile") == 0 ) return true;
   if( strcmp(_matrule->_opType,"StoreFence") == 0 ) return true;
   if( strcmp(_matrule->_opType,"LoadFence") == 0 ) return true;