Skip to content

Conversation

@AmrDeveloper
Copy link
Member

The goal of this PR is to prepare the code for backporting the new implementations of Arith operations for ComplexType and other expressions support

  • Reorder the functions in CIRGenExprComplex similar to upstream and classical codegen.
  • Remove unnecessary functions emitAddrOfRealComponent and emitAddrOfImagComponent.
  • The updated code style is to be similar to upstream.

Copy link
Member

@bcardosolopes bcardosolopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nice, thank you!

@AmrDeveloper AmrDeveloper force-pushed the nfc_cir_reorder_complex_structure branch from 07ced7f to 82b6a05 Compare November 4, 2025 19:17
@bcardosolopes bcardosolopes merged commit 5b0bef4 into llvm:main Nov 6, 2025
9 checks passed
lanza pushed a commit that referenced this pull request Nov 7, 2025
…1965)

The goal of this PR is to prepare the code for backporting the new
implementations of Arith operations for ComplexType and other
expressions support

- Reorder the functions in CIRGenExprComplex similar to upstream and
classical codegen.
- Remove unnecessary functions `emitAddrOfRealComponent` and
`emitAddrOfImagComponent`.
- The updated code style is to be similar to upstream.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants