[llvm] [CVP] Implement type narrowing for LShr (PR #119577)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 13 05:35:10 PST 2024


adam-bzowski wrote:

> It is incorrect. You should check that the shift amount is always smaller than `NewWidth`.

Good point. Fixed that and added some LIT tests to check,

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


More information about the llvm-commits mailing list