fix bug
[c11llvm.git] / CDSPass.cpp
index 6ec6dd2aac73a40aa28ec491a6a06004dfc112a3..432d98f2d0cd0c23e4b31c148f2fc86888320058 100644 (file)
@@ -746,7 +746,7 @@ bool CDSPass::instrumentAtomicCall(CallInst *CI, const DataLayout &DL) {
 
                return true;
        } else if (funName.contains("atomic") && 
-                                       funName.contains("EEEE5store") ) {
+                                       funName.contains("store") ) {
                // does this version of call always have an atomic order as an argument?
                Value *OrigVal = parameters[1];