llvm/llvm-project

Funnel shift in 64-bit doesn't get matched to an intrinsic

Open

#138.334 aberto em 2 de mai. de 2025

Ver no GitHub
 (9 comments) (0 reactions) (1 assignee)C++ (10.782 forks)batch import
good first issuellvm:instcombine

Métricas do repositório

Stars
 (26.378 stars)
Métricas de merge de PR
 (Mesclagem média 1d 2h) (1.000 fundiu PRs em 30d)

Description

Yes I know this has two cases of subpar optimization: One where the funnel shift is 64-bit based, and the other is left funnel shifts that can be converted to a right funnel shift. This one is about the latter. However, this was lifted from one of gcc's test suites.

https://godbolt.org/z/Yd63ed3sv

Guia do colaborador