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

贡献者指南