llvm/llvm-project

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

Open

#138.334 aperta il 2 mag 2025

Vedi su GitHub
 (9 commenti) (0 reazioni) (1 assegnatario)C++ (10.782 fork)batch import
good first issuellvm:instcombine

Metriche repository

Star
 (26.378 star)
Metriche merge PR
 (Merge medio 1g 2h) (1000 PR mergiate in 30 g)

Descrizione

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

Guida contributor