[llvm-branch-commits] [flang] [llvm] [mlir] [MLIR][OpenMP] Add OpenMPToLLVMIRTranslation support for is_device_ptr (PR #169367)

Kareem Ergawy via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 24 22:13:15 PST 2025


================
@@ -332,10 +332,7 @@ static LogicalResult checkImplementationStatus(Operation &op) {
         op.getInReductionSyms())
       result = todo("in_reduction");
   };
-  auto checkIsDevicePtr = [&todo](auto op, LogicalResult &result) {
-    if (!op.getIsDevicePtrVars().empty())
-      result = todo("is_device_ptr");
-  };
+  auto checkIsDevicePtr = [](auto, LogicalResult &) {};
----------------
ergawy wrote:

nit: I think we can remove this lambda altogether.

https://github.com/llvm/llvm-project/pull/169367


More information about the llvm-branch-commits mailing list