Skip to content

[ModelBuilder] Fix leak when using llvm::createLowerMatrixIntrinsicsPass - #2499

Merged
ScottTodd merged 1 commit into
iree-org:mainfrom
nicolasvasilache:modelrunner-leak
Jul 13, 2020
Merged

ScottTodd merged 1 commit into
iree-org:mainfrom
nicolasvasilache:modelrunner-leak

Conversation

@nicolasvasilache

Copy link
Copy Markdown
Contributor

Unlike MLIR, LLVM createXXX pass creation functions return a raw pointer.
Wraper this pointer into a unique_ptr to cleanup on scope exit.

Unlike MLIR, LLVM `createXXX` pass creation functions return a raw pointer.
Wraper this pointer into a unique_ptr to cleanup on scope exit.
@ScottTodd
ScottTodd merged commit afa7d8e into iree-org:main Jul 13, 2020
@ScottTodd ScottTodd mentioned this pull request Jul 14, 2020
copybara-service Bot pushed a commit that referenced this pull request Jul 14, 2020
* f4f2fec Update Bazel version in docs workflow (#2511)
* 19e6574 Add lint action for PR title length (#2481)
* 57a9ae3 Moved CompiledModule and BackendInfo to `tf_utils.py` (#2509)
* 7d50357 Update Bazel to 3.3.1 (#2496)
* afa7d8e [ModelBuilder] Fix leak when using llvm::createLowerMatrixIntrinsicsPass (#2499)
* 90ffb71 [ci] Enable build tests for Android cross compilation (#2507)
* 62490cb Add Bazel 3.3.1 to docker images (#2497)
* 028a883 [ci] Run cmake --build twice to temporary fix the flaky build (#2501)
* 8096658 Start creating $async functions as part of public ABI generation. (#2411)
* 27a1f3d Removed gather lowering test (#2503)
* 02cc1e3 Merge google -> main (#2505)
* 6706f3d Add GitHub action to create PRs merging google -> main (#2482)
* 645a88b Add buildifier lint action (#2243)
* fc812fe Support iree-run-mlir to read input values from a file. (#2352)
* 8078fc6 Use iree_py_binary in keras test binaries (#2488)
* 9f22404 Treat warnings as errors and silence them in third party code (#2489)
* cb000c7 Avoid unused result warning (#2469)
* b06a482 Fix some minor typos (#2486)
* ce6c171 Create cooperative matrix performance test (#2443)
* 0880ee9 Add android build badge to README (#2473)
* 8e14d1f [vulkan] Guard against 0-byte buffer allocation (#2467)
* ef019df Improve TF submodule bump action descriptions (#2471)
* c53ad00 Refactors tf_test_utils, creating tf_utils and simplifying module specificatio..
* a90df48 Merge google -> main (#2468)

PiperOrigin-RevId: 321174064
@copybara-service copybara-service Bot mentioned this pull request Jul 14, 2020
@nicolasvasilache
nicolasvasilache deleted the modelrunner-leak branch November 30, 2020 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants