Skip to content

[AArch64][GISel] Optimize bitreverse intrinsic for vector types #120878

@madhur13490

Description

@madhur13490

2 x s32, 2 x i64, 4 x s16, 4 x s32, 8 x s16 types are going through suboptimal lowering. Looking at SDAG, revXX followed by rbit is more optimal.
godbolt: https://godbolt.org/z/nP8jssKh8

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions