llvm/llvm-project

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

Open

#138,334 建立於 2025年5月2日

在 GitHub 查看
 (9 留言) (0 反應) (1 負責人)C++ (10,782 fork)batch import
good first issuellvm:instcombine

倉庫指標

Star
 (26,378 star)
PR 合併指標
 (平均合併 1天 2小時) (30 天內合併 1,000 個 PR)

描述

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

貢獻者指南