[Mlir-commits] [mlir] [mlir][emitc] Fix hasSideEffects of emitc.cast (PR #208607)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Thu Jul 9 20:17:32 PDT 2026


github-actions[bot] wrote:

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

* 3906 tests passed
* 440 tests skipped
* 1 test failed

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

### MLIR
<details>
<summary>MLIR.Target/Cpp/expressions.mlir</summary>

```
Exit Code: 2

Command Output (stdout):
--
# RUN: at line 1
c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe -mlir-to-cpp C:\_work\llvm-project\llvm-project\mlir\test\Target\Cpp\expressions.mlir | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\mlir\test\Target\Cpp\expressions.mlir -check-prefix=CPP-DEFAULT
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\mlir-translate.exe' -mlir-to-cpp 'C:\_work\llvm-project\llvm-project\mlir\test\Target\Cpp\expressions.mlir'
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\mlir\test\Target\Cpp\expressions.mlir:121:31: error: custom op 'emitc.expression' expected function type
# |   %0 = emitc.expression : f32 {
# |                               ^
# `-----------------------------
# 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\mlir\test\Target\Cpp\expressions.mlir' -check-prefix=CPP-DEFAULT
# .---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\mlir\test\Target\Cpp\expressions.mlir -check-prefix=CPP-DEFAULT
# `-----------------------------
# 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/208607


More information about the Mlir-commits mailing list