[llvm] [ObjCARC] Change autorelease to release when the pool state is not changed between the autorelease and the pool pop (PR #152353)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 22 18:07:48 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 130101 tests passed
* 2880 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### LLVM
<details>
<summary>LLVM.Transforms/ObjCARC/test_autorelease_pool.ll</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 3
c:\_work\llvm-project\llvm-project\build\bin\opt.exe -passes=objc-arc < C:\_work\llvm-project\llvm-project\llvm\test\Transforms\ObjCARC\test_autorelease_pool.ll -S | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\ObjCARC\test_autorelease_pool.ll
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -passes=objc-arc -S
# .---command stderr------------
# | c:\_work\llvm-project\llvm-project\build\bin\opt.exe: <stdin>:326:3: error: instruction expected to be numbered '%1' or greater
# |   %0 = call ptr @llvm.objc.autoreleaseReturnValue(ptr %obj)
# |   ^
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\llvm\test\Transforms\ObjCARC\test_autorelease_pool.ll'
# .---command stderr------------
# | FileCheck error: '<stdin>' is empty.
# | FileCheck command line:  c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\llvm\test\Transforms\ObjCARC\test_autorelease_pool.ll
# `-----------------------------
# error: command failed with exit status: 2

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-commits mailing list