Skip to content

DX-113970 Backport "GH-48160 Pass CPU attributes to LLVM"#118

Merged
lriggs merged 1 commit intodremio:dremio_26.1_18.1.0from
akravchukdremio:DX-113970-26.1
Feb 10, 2026
Merged

DX-113970 Backport "GH-48160 Pass CPU attributes to LLVM"#118
lriggs merged 1 commit intodremio:dremio_26.1_18.1.0from
akravchukdremio:DX-113970-26.1

Conversation

@akravchukdremio
Copy link

No description provided.

@akravchukdremio akravchukdremio self-assigned this Feb 7, 2026
)

The CPU attributes are not passed to the LLVM layer, which means potential optimizations could be missed leading to inefficient code. This feature was lost as part of the refactoring in apache@83cba25

I also discovered a bug with decimal alignments that was exposed by this change and was only reproducible in our test environment.

Pass the CPU attributes to the LLVM code generation, and a unit test.
Fix the 16 bit vs 8 bit decimal alignment problem. This was causing a crash sometimes on certain architectures with certain queries. Added a unit test.

Yes.

No.

* GitHub Issue: apache#48160

Lead-authored-by: Logan Riggs <logan.riggs@dremio.com>
Co-authored-by: lriggs <logan.riggs@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
@akravchukdremio akravchukdremio marked this pull request as ready for review February 10, 2026 15:59
@lriggs lriggs merged commit 011d73e into dremio:dremio_26.1_18.1.0 Feb 10, 2026
8 of 28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants