[clang] [CIR] Add bitfield offset calculation for big-endian targets (PR #145067)

via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 24 09:26:41 PDT 2025


Andres-Salamanca wrote:

> @Andres-Salamanca Are you expecting the test to be failing?
> 
> Here is what I am seeing:
> 
> ```
> error: ClangIR code gen Not Yet Implemented: NYI AAPCS bit-fields
> error: ClangIR code gen Not Yet Implemented: NYI AAPCS bit-fields
> error: ClangIR code gen Not Yet Implemented: NYI AAPCS bit-fields
> 3 errors generated.
> 
> --
> 
> ********************
> ********************
> Failed Tests (1):
>   Clang :: CIR/CodeGen/bitfields_be.c
> ```

Hey! Sorry about the failing test I just pushed https://github.com/llvm/llvm-project/commit/2767ff49955fc3749d79738820285f152fb55ee9 without rebasing first, so it didn't pick up the recent changes. That's why we're getting the NYI AAPCS bit-fields error in bitfields_be.c.

I'll clean this up now going to remove the error emission and just leave a NYI marker so it behaves as a missing feature, not a hard failure.


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


More information about the cfe-commits mailing list