[clang] [CIR] Upstream ExtractMemberOp (PR #173512)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 6 11:45:32 PST 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 86207 tests passed
* 756 tests skipped
* 2 tests failed

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

### Clang
<details>
<summary>Clang.CIR/IR/invalid-struct.cir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-struct.cir -verify-diagnostics -split-input-file
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-struct.cir -verify-diagnostics -split-input-file
# .---command stdout------------
# | // -----
# | // -----
# `-----------------------------
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-struct.cir:40:10: error: unexpected error: cir.extract_member currently does not support unions
# |     %1 = cir.extract_member %0[2] : !rec_U -> !u32i
# |          ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-struct.cir:39:5: error: expected error "cir.extract_member currently does not work on unions" was not produced
# |         // expected-error @below {{cir.extract_member currently does not work on unions}}
# |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>
<details>
<summary>Clang.CIR/IR/invalid-struct.cir</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-struct.cir -verify-diagnostics -split-input-file
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/cir-opt /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-struct.cir -verify-diagnostics -split-input-file
# .---command stdout------------
# | // -----
# | // -----
# `-----------------------------
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-struct.cir:40:10: error: unexpected error: cir.extract_member currently does not support unions
# |     %1 = cir.extract_member %0[2] : !rec_U -> !u32i
# |          ^
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/CIR/IR/invalid-struct.cir:39:5: error: expected error "cir.extract_member currently does not work on unions" was not produced
# |         // expected-error @below {{cir.extract_member currently does not work on unions}}
# |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# `-----------------------------
# error: command failed with exit status: 1

--

```
</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/173512


More information about the cfe-commits mailing list