[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: Linux-->
# :penguin: Linux x64 Test Results

* 8420 tests passed
* 630 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
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-cpp /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/Cpp/expressions.mlir | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/Cpp/expressions.mlir -check-prefix=CPP-DEFAULT
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/mlir-translate -mlir-to-cpp /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/test/Target/Cpp/expressions.mlir
# .---command stderr------------
# | /home/gha/actions-runner/_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: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_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:  /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_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