================
@@ -457,6 +457,18 @@ void convertSideEffectForCall(mlir::Operation *callOp, 
bool isNothrow,
     noUnwind = true;
     willReturn = true;
     break;
+
+  case cir::SideEffect::InaccessibleOrErrno:
+    memoryEffect = mlir::LLVM::MemoryEffectsAttr::get(
+        callOp->getContext(), /*other=*/ModRefInfo::NoModRef,
+        /*argMem=*/ModRefInfo::NoModRef,
+        /*inaccessibleMem=*/ModRefInfo::ModRef,
+        /*errnoMem=*/ModRefInfo::Mod,
----------------
RiverDave wrote:

This was partly resolved by: https://github.com/llvm/llvm-project/pull/223890

https://github.com/llvm/llvm-project/pull/221818
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to