llvm/llvm-project

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

开放

#138,334 创建于 2025年5月2日

 (9 条评论) (0 个反应) (1 位负责人)C++ (10,782 个派生)batch import
good first issuellvm:instcombine

仓库指标

星标
 (26,378 个星标)
PR 合并指标
 (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

贡献者指南