Skip to content

[LLVM][ExecutionEngine] Add vector ConstantInt/FP support to getConstantValue(). - #182538

Merged
paulwalker-arm merged 3 commits into
llvm:mainfrom
paulwalker-arm:vector-constant-execution-engine
Feb 27, 2026
Merged

paulwalker-arm merged 3 commits into
llvm:mainfrom
paulwalker-arm:vector-constant-execution-engine

Conversation

@paulwalker-arm

Copy link
Copy Markdown
Contributor

No description provided.

@nikic nikic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This whole code looks unnecessarily complicated. Can we just handle everything via getAggregateElement? Plus a getSplatValue() check if we want to retain the fast path.

Unify vector constant handling via calls to getAggregateElement rather
than handling each constant type separately.
@paulwalker-arm
paulwalker-arm merged commit fc69531 into llvm:main Feb 27, 2026
10 checks passed
@paulwalker-arm
paulwalker-arm deleted the vector-constant-execution-engine branch February 27, 2026 12:06
sujianIBM pushed a commit to sujianIBM/llvm-project that referenced this pull request Mar 5, 2026
…antValue(). (llvm#182538)

Unify vector constant handling via calls to getAggregateElement rather
than handling each constant type separately.
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.

2 participants