[llvm] [GISel] Combine out-of-range shifts with value to 0 or -1 (PR #123510)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 01:54:03 PST 2025


jayfoad wrote:

> [GISel] Combine out-of-range shifts with value to 0 or -1

Should not call these "out-of-range" shifts. They are just shifts that can be folded to a constant based on the known bits of the operands.

https://github.com/llvm/llvm-project/pull/123510


More information about the llvm-commits mailing list