[all-commits] [llvm/llvm-project] 4c8c10: [InstCombine] try to narrow more shifted bswap-of-...
ZCBing via All-commits
all-commits at lists.llvm.org
Thu May 5 19:48:20 PDT 2022
Author: Chenbing Zheng <Chenbing.Zheng at streamcomputing.com>
Date: 2022-05-06 (Fri, 06 May 2022)
[InstCombine] try to narrow more shifted bswap-of-zext
Try to narrow more bswap, if the shift amount is less than the zext
(bswap (zext X)) >> C --> (zext (bswap X)) << C'
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D124598
More information about the All-commits