[all-commits] [llvm/llvm-project] 4d7e65: [mlir][acc] Fix leaks in cg unit tests (#209339)

Razvan Lupusoru via All-commits all-commits at lists.llvm.org
Mon Jul 13 17:02:28 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d7e653b523027ffb67a6ee7e439392431cbee2d
      https://github.com/llvm/llvm-project/commit/4d7e653b523027ffb67a6ee7e439392431cbee2d
  Author: Razvan Lupusoru <razvan.lupusoru at gmail.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M mlir/unittests/Dialect/OpenACC/OpenACCUtilsCGTest.cpp
    M mlir/unittests/Dialect/OpenACC/OpenACCUtilsGPUTest.cpp
    M mlir/unittests/Dialect/OpenACC/OpenACCUtilsReductionTest.cpp

  Log Message:
  -----------
  [mlir][acc] Fix leaks in cg unit tests (#209339)

Newly added tests are failing valgrind --leak-check=full:
https://github.com/llvm/llvm-project/pull/209313
https://github.com/llvm/llvm-project/pull/209316

This PR resolves the problem by ensuring that the insertion point is set
into an operation that is owned and deleted by the test.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list