[Mlir-commits] [mlir] [flang] [MLIR][OpenMP] Changes to function-filtering pass (PR #71850)

Sergio Afonso llvmlistbot at llvm.org
Fri Nov 10 08:09:44 PST 2023


================
@@ -2496,8 +2496,6 @@ convertDeclareTargetAttr(Operation *op, mlir::omp::DeclareTargetAttr attribute,
       if (declareType == omp::DeclareTargetDeviceType::host) {
         llvm::Function *llvmFunc =
             moduleTranslation.lookupFunction(funcOp.getName());
-        llvmFunc->replaceAllUsesWith(
----------------
skatrak wrote:

Ah I see, thanks for clarifying!

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


More information about the Mlir-commits mailing list